
    d{iQ!                        d Z ddlmZmZmZmZmZmZmZ ddl	m
Z
 ddlmZ ddlm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 G d de      Z G d de      Zy)a  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Messaging
    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UnionIteratorAsyncIterator)values)ApiResponse)InstanceContext)InstanceResource)ListResource)Version)Pagec                       e Zd Z G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Z G d de      Z	 G d de      Z
 G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z	 	 d/dedeeef   dee   f fdZed0d        Zdefd!Zdefd"Zdefd#Zdefd$Zd1d%Zd1d&Z defd'Z!defd(Z"e#jH                  fd)e%e
ef   dd fd*Z&e#jH                  fd)e%e
ef   dd fd+Z'e#jH                  fd)e%e
ef   defd,Z(e#jH                  fd)e%e
ef   defd-Z)defd.Z* xZ+S )2ChannelsSenderInstancec                   ,    e Zd ZdZdeeef   fdZd Zy)=ChannelsSenderInstance.MessagingV2ChannelsSenderConfiguration)  
        :ivar waba_id: The ID of the WhatsApp Business Account (WABA) to use for this sender.
        :ivar verification_method: The verification method.
        :ivar verification_code: The verification code.
        :ivar voice_application_sid: The SID of the Twilio Voice application.
        payloadc                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y Nwaba_idverification_methodverification_codevoice_application_sidgetr   r   r   r   selfr   s     f/home/sas/my/fyp/ringai/.venv/lib/python3.12/site-packages/twilio/rest/messaging/v2/channels_sender.py__init__zFChannelsSenderInstance.MessagingV2ChannelsSenderConfiguration.__init__#   O    *1++i*@DL12 $ 5<KK@S4TD"8?'9D&    c                 `    | j                   | j                  | j                  | j                  dS Nr   r   r   r   r'   r    s    r!   to_dictzEChannelsSenderInstance.MessagingV2ChannelsSenderConfiguration.to_dict.   .    <<'+'?'?%)%;%;)-)C)C	 r$   N	__name__
__module____qualname____doc__r   strr   r"   r)    r$   r!   &MessagingV2ChannelsSenderConfigurationr           			DcN 			r$   r2   c                   ,    e Zd ZdZdeeef   fdZd Zy)7ChannelsSenderInstance.MessagingV2ChannelsSenderProfile|  
        :ivar name: The name of the sender. Required for WhatsApp senders and must follow [Meta's display name guidelines](https://www.facebook.com/business/help/757569725593362).
        :ivar about: The profile about text for the sender.
        :ivar address: The address of the sender.
        :ivar description: The description of the sender.
        :ivar logo_url: The logo URL of the sender.
        :ivar banner_url: The banner URL of the sender.
        :ivar privacy_url: The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
        :ivar terms_of_service_url: The terms of service URL of the sender.
        :ivar accent_color: The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
        :ivar vertical: The vertical of the sender. Allowed values are: - `Automotive` - `Beauty, Spa and Salon` - `Clothing and Apparel` - `Education` - `Entertainment` - `Event Planning and Service` - `Finance and Banking` - `Food and Grocery` - `Public Service` - `Hotel and Lodging` - `Medical and Health` - `Non-profit` - `Professional Services` - `Shopping and Retail` - `Travel and Transportation` - `Restaurant` - `Other`
        :ivar websites: The websites of the sender.
        :ivar emails: The emails of the sender.
        :ivar phone_numbers: The phone numbers of the sender.
        r   c                 @   |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d	      | _	        |j                  d
      | _
        |j                  d      | _        |j                  d      | _        |j                  d      | _        y Nnameaboutaddressdescriptionlogo_url
banner_urlprivacy_urlterms_of_service_urlaccent_colorverticalwebsitesemailsphone_numbersr   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   r   s     r!   r"   z@ChannelsSenderInstance.MessagingV2ChannelsSenderProfile.__init__G       '.{{6':DI(/G(<DJ*1++i*@DL.5kk-.HD+2;;z+BDM-4[[-FDO.5kk-.HD7>{{&8D% 07{{>/JD+2;;z+BDM9@Z9PDM7>{{87LDK>Ekk?Dr$   c                 &   | j                   | j                  | j                  | j                  | j                  | j
                  | j                  | j                  | j                  | j                  | j                  | j                  | j                  dS Nr9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rJ   r(   s    r!   r)   z?ChannelsSenderInstance.MessagingV2ChannelsSenderProfile.to_dict[   q    		<<#// MM"oo#//(,(A(A $ 1 1 MM MM++!%!3!3 r$   Nr+   r1   r$   r!    MessagingV2ChannelsSenderProfiler5   6        	 	DcN 	(	r$   rL   c                   ,    e Zd ZdZdeeef   fdZd Zy)LChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponseEmails3
        :ivar email:
        :ivar label:
        r   c                 \    |j                  d      | _        |j                  d      | _        y Nemaillabelr   rS   rT   r   s     r!   r"   zUChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponseEmails.__init__r   "    (/G(<DJ(/G(<DJr$   c                 4    | j                   | j                  dS N) rY   rS   rT   r(   s    r!   r)   zTChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponseEmails.to_dictw       JJJJ r$   Nr+   r1   r$   r!   5MessagingV2ChannelsSenderProfileGenericResponseEmailsrO   l        	
	=DcN 	=
	r$   r\   c                   ,    e Zd ZdZdeeef   fdZd Zy)RChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponsePhoneNumbers:
        :ivar phone_number:
        :ivar label:
        r   c                 \    |j                  d      | _        |j                  d      | _        y Nphone_numberrT   r   rc   rT   r   s     r!   r"   z[ChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponsePhoneNumbers.__init__   #    /6{{>/JD(/G(<DJr$   c                 4    | j                   | j                  dS rX   rc   rT   r(   s    r!   r)   zZChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponsePhoneNumbers.to_dict       %%JJ r$   Nr+   r1   r$   r!   ;MessagingV2ChannelsSenderProfileGenericResponsePhoneNumbersr_   }   r]   r$   ri   c                   ,    e Zd ZdZdeeef   fdZd Zy)NChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponseWebsites5
        :ivar website:
        :ivar label:
        r   c                 \    |j                  d      | _        |j                  d      | _        y NwebsiterT   r   ro   rT   r   s     r!   r"   zWChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponseWebsites.__init__   "    *1++i*@DL(/G(<DJr$   c                 4    | j                   | j                  dS rX   ro   rT   r(   s    r!   r)   zVChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponseWebsites.to_dict       LLJJ r$   Nr+   r1   r$   r!   7MessagingV2ChannelsSenderProfileGenericResponseWebsitesrk      r]   r$   ru   c                   ,    e Zd ZdZdeeef   fdZd Zy)>ChannelsSenderInstance.MessagingV2ChannelsSenderRequestsCreate
        :ivar sender_id: The ID of the sender in `whatsapp:<E.164_PHONE_NUMBER>` format.
        :ivar configuration:
        :ivar webhook:
        :ivar profile:
        r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y N	sender_idconfigurationwebhookprofiler   r{   r|   r}   r~   r   s     r!   r"   zGChannelsSenderInstance.MessagingV2ChannelsSenderRequestsCreate.__init__   R    ,3KK,DDN O, 
 I& L
 I& Lr$   c                    | j                   | j                  | j                  j                         nd | j                  | j                  j                         nd | j                  | j                  j                         dS d dS N)r{   r|   r}   r~   r{   r|   r)   r}   r~   r(   s    r!   r)   zFChannelsSenderInstance.MessagingV2ChannelsSenderRequestsCreate.to_dict   ~    !^^ ))5 &&..059\\5M4<<//1SW59\\5M4<<//1	 	 TX	 	r$   Nr+   r1   r$   r!   'MessagingV2ChannelsSenderRequestsCreaterw           		'DcN 	'
	r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy)>ChannelsSenderInstance.MessagingV2ChannelsSenderRequestsUpdateT
        :ivar configuration:
        :ivar webhook:
        :ivar profile:
        r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        y Nr|   r}   r~   r   r|   r}   r~   r   s     r!   r"   zGChannelsSenderInstance.MessagingV2ChannelsSenderRequestsUpdate.__init__   B     O, 
 I& L
 I& Lr$   c                     | j                   | j                   j                         nd | j                  | j                  j                         nd | j                  | j                  j                         dS d dS N)r|   r}   r~   r|   r)   r}   r~   r(   s    r!   r)   zFChannelsSenderInstance.MessagingV2ChannelsSenderRequestsUpdate.to_dict   w     ))5 &&..059\\5M4<<//1SW59\\5M4<<//1  TX r$   Nr+   r1   r$   r!   'MessagingV2ChannelsSenderRequestsUpdater           	
	'DcN 
	'		r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy)7ChannelsSenderInstance.MessagingV2ChannelsSenderWebhook  
        :ivar callback_url: The URL to send the webhook to.
        :ivar callback_method: The HTTP method for the webhook.
        :ivar fallback_url: The URL to send the fallback webhook to.
        :ivar fallback_method: The HTTP method for the fallback webhook.
        :ivar status_callback_url: The URL to send the status callback to.
        :ivar status_callback_method: The HTTP method for the status callback.
        r   c                    |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y Ncallback_urlcallback_methodfallback_urlfallback_methodstatus_callback_urlstatus_callback_methodr   r   r   r   r   r   r   r   s     r!   r"   z@ChannelsSenderInstance.MessagingV2ChannelsSenderWebhook.__init__   x    /6{{>/JDKR;;!LD  07{{>/JDKR;;!LD  7>kkBW6XD$9@(:D'r$   c                     | j                   | j                  | j                  | j                  | j                  | j
                  dS Nr   r   r   r   r   r   r   r(   s    r!   r)   z?ChannelsSenderInstance.MessagingV2ChannelsSenderWebhook.to_dict   B     $ 1 1#'#7#7 $ 1 1#'#7#7'+'?'?*.*E*E r$   Nr+   r1   r$   r!    MessagingV2ChannelsSenderWebhookr           		DcN 		r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy),ChannelsSenderInstance.MessagingV2RcsCarrieru
        :ivar name: The name of the carrier. For example, `Verizon` or `AT&T` for US.
        :ivar status:
        r   c                 \    |j                  d      | _        |j                  d      | _        y Nr9   statusr   r9   r   r   s     r!   r"   z5ChannelsSenderInstance.MessagingV2RcsCarrier.__init__  "    '.{{6':DIAHXAVDKr$   c                 p    | j                   | j                  | j                  j                         dS d dS rX   r9   r   r)   r(   s    r!   r)   z4ChannelsSenderInstance.MessagingV2RcsCarrier.to_dict  9    II-1[[-DDKK'') JN r$   Nr+   r1   r$   r!   MessagingV2RcsCarrierr     "    	
	WDcN 	W
	r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy)>ChannelsSenderInstance.MessagingV2RcsComplianceCountryResponse  
        :ivar country: The ISO 3166-1 alpha-2 country code.
        :ivar registration_sid: The default compliance registration SID (e.g., from CR-Google) that applies to all countries unless overridden in the `countries` array.
        :ivar status:
        :ivar carriers:
        r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y Ncountryregistration_sidr   carriersr   r   r   r   r   r   s     r!   r"   zGChannelsSenderInstance.MessagingV2RcsComplianceCountryResponse.__init__  H    *1++i*@DL3:;;?Q3RD!AHXAVDKCJ;;DDMr$   c                     | j                   | j                  | j                  | j                  j                         nd | j                  *| j                  D cg c]  }|j                          c}dS d dS c c}w N)rY   rY   rY   rY   r   r   r   r)   r   r    r   s     r!   r)   zFChannelsSenderInstance.MessagingV2RcsComplianceCountryResponse.to_dict#  u    LL))-1[[-DDKK'')$ }}0 9=FHX%%'F	 	 	 	
 G   A8
Nr+   r1   r$   r!   'MessagingV2RcsComplianceCountryResponser          		DcN 	
	r$   r   c                   0    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zy
)ChannelsSenderInstance.StatusCREATINGONLINEOFFLINEPENDING_VERIFICATION	VERIFYINGzONLINE:UPDATINGTWILIO_REVIEWDRAFTSTUBBEDN)r,   r-   r.   r   r   r   r   r   ONLINE_UPDATINGr   r   r   r1   r$   r!   Statusr   /  s0    5	+'r$   r   c                   $    e Zd ZdZdZdZdZdZdZy)2ChannelsSenderInstance.MessagingV2RcsCarrierStatusUNKNOWN
UNLAUNCHEDCARRIER_REVIEWAPPROVEDREJECTED	SUSPENDEDN)	r,   r-   r.   r   r   r   r   r   r   r1   r$   r!   MessagingV2RcsCarrierStatusr   :  s     !
)	r$   r   c                       e Zd ZdZdZdZdZy)2ChannelsSenderInstance.MessagingV2RcsCountryStatusr   r   r   r   N)r,   r-   r.   r   r   r   r   r1   r$   r!   MessagingV2RcsCountryStatusr   B  s    '5r$   r   versionr   sidc                    t         |   |       |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _	        |j                  d      | _
        |j                  d	      | _        |j                  d
      | _        d|xs | j                  i| _        d | _        y )Nr   r   r{   r|   r}   r~   
propertiesoffline_reasons
complianceurl)superr"   r   r   r   r{   r|   r}   r~   r   r   r   r   	_solution_context)r    r   r   r   	__class__s       r!   r"   zChannelsSenderInstance.__init__U  s     	!")++e"4AHXAV(/K(@,3KK,H&-kk)&<&-kk)&<)0\)B4;KK@Q4R)0\)B")++e"4 3?$((
 :>r$   returnc                     | j                   )t        | j                  | j                  d         | _         | j                   S )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: ChannelsSenderContext for this ChannelsSenderInstance
        r   r   )r   ChannelsSenderContext_versionr   r(   s    r!   _proxyzChannelsSenderInstance._proxyj  s9     == 1NN5)DM }}r$   c                 6    | j                   j                         S zq
        Deletes the ChannelsSenderInstance


        :returns: True if delete succeeds, False otherwise
        )r   deleter(   s    r!   r   zChannelsSenderInstance.deletey  s     {{!!##r$   c                 R   K   | j                   j                          d{   S 7 wz
        Asynchronous coroutine that deletes the ChannelsSenderInstance


        :returns: True if delete succeeds, False otherwise
        N)r   delete_asyncr(   s    r!   r   z#ChannelsSenderInstance.delete_async  s!      [[--////   '%'c                 6    | j                   j                         S )z
        Deletes the ChannelsSenderInstance with HTTP info


        :returns: ApiResponse with success boolean, status code, and headers
        )r   delete_with_http_infor(   s    r!   r   z,ChannelsSenderInstance.delete_with_http_info  s     {{0022r$   c                 R   K   | j                   j                          d{   S 7 w)z
        Asynchronous coroutine that deletes the ChannelsSenderInstance with HTTP info


        :returns: ApiResponse with success boolean, status code, and headers
        N)r   delete_with_http_info_asyncr(   s    r!   r   z2ChannelsSenderInstance.delete_with_http_info_async  s!      [[<<>>>>r   c                 6    | j                   j                         S )i
        Fetch the ChannelsSenderInstance


        :returns: The fetched ChannelsSenderInstance
        )r   fetchr(   s    r!   r   zChannelsSenderInstance.fetch  s     {{  ""r$   c                 R   K   | j                   j                          d{   S 7 w)
        Asynchronous coroutine to fetch the ChannelsSenderInstance


        :returns: The fetched ChannelsSenderInstance
        N)r   fetch_asyncr(   s    r!   r   z"ChannelsSenderInstance.fetch_async  s!      [[,,....r   c                 6    | j                   j                         S )z
        Fetch the ChannelsSenderInstance with HTTP info


        :returns: ApiResponse with instance, status code, and headers
        )r   fetch_with_http_infor(   s    r!   r  z+ChannelsSenderInstance.fetch_with_http_info  s     {{//11r$   c                 R   K   | j                   j                          d{   S 7 w)z
        Asynchronous coroutine to fetch the ChannelsSenderInstance with HTTP info


        :returns: ApiResponse with instance, status code, and headers
        N)r   fetch_with_http_info_asyncr(   s    r!   r  z1ChannelsSenderInstance.fetch_with_http_info_async  s!      [[;;====r   ,messaging_v2_channels_sender_requests_updatec                 :    | j                   j                  |      S )
        Update the ChannelsSenderInstance

        :param messaging_v2_channels_sender_requests_update:

        :returns: The updated ChannelsSenderInstance
        r  )r   updater    r  s     r!   r  zChannelsSenderInstance.update  s#     {{!!9e " 
 	
r$   c                 V   K   | j                   j                  |       d{   S 7 w)
        Asynchronous coroutine to update the ChannelsSenderInstance

        :param messaging_v2_channels_sender_requests_update:

        :returns: The updated ChannelsSenderInstance
        r  N)r   update_asyncr	  s     r!   r  z#ChannelsSenderInstance.update_async  s1      [[--9e . 
 
 	
 
    )')c                 :    | j                   j                  |      S )z
        Update the ChannelsSenderInstance with HTTP info

        :param messaging_v2_channels_sender_requests_update:

        :returns: ApiResponse with instance, status code, and headers
        r  )r   update_with_http_infor	  s     r!   r  z,ChannelsSenderInstance.update_with_http_info  s#     {{009e 1 
 	
r$   c                 V   K   | j                   j                  |       d{   S 7 w)z
        Asynchronous coroutine to update the ChannelsSenderInstance with HTTP info

        :param messaging_v2_channels_sender_requests_update:

        :returns: ApiResponse with instance, status code, and headers
        r  N)r   update_with_http_info_asyncr	  s     r!   r  z2ChannelsSenderInstance.update_with_http_info_async  s1      [[<<9e = 
 
 	
 
r  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format.0kvs      r!   	<genexpr>z2ChannelsSenderInstance.__repr__.<locals>.<genexpr>       SDAq7>>!Q/S   !z/<Twilio.Messaging.V2.ChannelsSenderInstance {}>joinr   itemsr  r    contexts     r!   __repr__zChannelsSenderInstance.__repr__  s6     ((SDNN<P<P<RSS@GGPPr$   )N)r   r   )r   r   ),r,   r-   r.   objectr2   rL   r\   ri   ru   r   r   r   r   r   r   r   r   r   r   r0   r   r   r"   propertyr   boolr   r   r   r   r   r   r   r  r  r
   unsetr   r  r  r  r  r%  __classcell__r   s   @r!   r   r      s    646 4l "f "& "& B& <!6 !F "& :	 	 f  6f 6 OS>>)-c3h>>Fsm>*  $ $0D 03{ 3?; ?#/2k 2>+ > LL	
6;3V;7


 
"
* LL	
6;3V;7


 
"
* LL	
6;3V;7


 

* LL	
6;3V;7


 

"Q# Qr$   r   c                       e Zd Z G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Z G d de      Z	 G d de      Z
 G d de      Z G d de      Z G d de      Zdedef fdZdefdZdefdZdefdZdefdZdefdZdefdZdefdZdefd Zdefd!Zdefd"Zdefd#Zdefd$Z e!jD                  fd%e#e
ef   defd&Z$e!jD                  fd%e#e
ef   defd'Z%e!jD                  fd%e#e
ef   defd(Z&e!jD                  fd%e#e
ef   defd)Z'e!jD                  fd%e#e
ef   defd*Z(e!jD                  fd%e#e
ef   defd+Z)defd,Z* xZ+S )-r   c                   ,    e Zd ZdZdeeef   fdZd Zy)<ChannelsSenderContext.MessagingV2ChannelsSenderConfigurationr   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r   r   r   s     r!   r"   zEChannelsSenderContext.MessagingV2ChannelsSenderConfiguration.__init__  r#   r$   c                 `    | j                   | j                  | j                  | j                  dS r&   r'   r(   s    r!   r)   zDChannelsSenderContext.MessagingV2ChannelsSenderConfiguration.to_dict$  r*   r$   Nr+   r1   r$   r!   r2   r.    r3   r$   r2   c                   ,    e Zd ZdZdeeef   fdZd Zy)6ChannelsSenderContext.MessagingV2ChannelsSenderProfiler6   r   c                 @   |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d	      | _	        |j                  d
      | _
        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r8   rF   r   s     r!   r"   z?ChannelsSenderContext.MessagingV2ChannelsSenderProfile.__init__=  rG   r$   c                 &   | j                   | j                  | j                  | j                  | j                  | j
                  | j                  | j                  | j                  | j                  | j                  | j                  | j                  dS rI   rJ   r(   s    r!   r)   z>ChannelsSenderContext.MessagingV2ChannelsSenderProfile.to_dictQ  rK   r$   Nr+   r1   r$   r!   rL   r2  ,  rM   r$   rL   c                   ,    e Zd ZdZdeeef   fdZd Zy)KChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponseEmailsrP   r   c                 \    |j                  d      | _        |j                  d      | _        y rR   rU   r   s     r!   r"   zTChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponseEmails.__init__h  rV   r$   c                 4    | j                   | j                  dS rX   rZ   r(   s    r!   r)   zSChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponseEmails.to_dictm  r[   r$   Nr+   r1   r$   r!   r\   r6  b  r]   r$   r\   c                   ,    e Zd ZdZdeeef   fdZd Zy)QChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponsePhoneNumbersr`   r   c                 \    |j                  d      | _        |j                  d      | _        y rb   rd   r   s     r!   r"   zZChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponsePhoneNumbers.__init__y  re   r$   c                 4    | j                   | j                  dS rX   rg   r(   s    r!   r)   zYChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponsePhoneNumbers.to_dict~  rh   r$   Nr+   r1   r$   r!   ri   r:  s  r]   r$   ri   c                   ,    e Zd ZdZdeeef   fdZd Zy)MChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponseWebsitesrl   r   c                 \    |j                  d      | _        |j                  d      | _        y rn   rp   r   s     r!   r"   zVChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponseWebsites.__init__  rq   r$   c                 4    | j                   | j                  dS rX   rs   r(   s    r!   r)   zUChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponseWebsites.to_dict  rt   r$   Nr+   r1   r$   r!   ru   r>    r]   r$   ru   c                   ,    e Zd ZdZdeeef   fdZd Zy)=ChannelsSenderContext.MessagingV2ChannelsSenderRequestsCreaterx   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y rz   r   r   s     r!   r"   zFChannelsSenderContext.MessagingV2ChannelsSenderRequestsCreate.__init__  r   r$   c                    | j                   | j                  | j                  j                         nd | j                  | j                  j                         nd | j                  | j                  j                         dS d dS r   r   r(   s    r!   r)   zEChannelsSenderContext.MessagingV2ChannelsSenderRequestsCreate.to_dict  r   r$   Nr+   r1   r$   r!   r   rB    r   r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy)=ChannelsSenderContext.MessagingV2ChannelsSenderRequestsUpdater   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        y r   r   r   s     r!   r"   zFChannelsSenderContext.MessagingV2ChannelsSenderRequestsUpdate.__init__  r   r$   c                     | j                   | j                   j                         nd | j                  | j                  j                         nd | j                  | j                  j                         dS d dS r   r   r(   s    r!   r)   zEChannelsSenderContext.MessagingV2ChannelsSenderRequestsUpdate.to_dict  r   r$   Nr+   r1   r$   r!   r   rF    r   r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy)6ChannelsSenderContext.MessagingV2ChannelsSenderWebhookr   r   c                    |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r   r   r   s     r!   r"   z?ChannelsSenderContext.MessagingV2ChannelsSenderWebhook.__init__  r   r$   c                     | j                   | j                  | j                  | j                  | j                  | j
                  dS r   r   r(   s    r!   r)   z>ChannelsSenderContext.MessagingV2ChannelsSenderWebhook.to_dict  r   r$   Nr+   r1   r$   r!   r   rJ    r   r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy)+ChannelsSenderContext.MessagingV2RcsCarrierr   r   c                 \    |j                  d      | _        |j                  d      | _        y r   r   r   s     r!   r"   z4ChannelsSenderContext.MessagingV2RcsCarrier.__init__  r   r$   c                 p    | j                   | j                  | j                  j                         dS d dS rX   r   r(   s    r!   r)   z3ChannelsSenderContext.MessagingV2RcsCarrier.to_dict  r   r$   Nr+   r1   r$   r!   r   rN    r   r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy)=ChannelsSenderContext.MessagingV2RcsComplianceCountryResponser   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r   r   r   s     r!   r"   zFChannelsSenderContext.MessagingV2RcsComplianceCountryResponse.__init__  r   r$   c                     | j                   | j                  | j                  | j                  j                         nd | j                  *| j                  D cg c]  }|j                          c}dS d dS c c}w r   r   r   s     r!   r)   zEChannelsSenderContext.MessagingV2RcsComplianceCountryResponse.to_dict  r   r   Nr+   r1   r$   r!   r   rR    r   r$   r   r   r   c                 x    t         |   |       d|i| _         dj                  di | j                  | _        y)z
        Initialize the ChannelsSenderContext

        :param version: Version that contains the resource
        :param sid: The SID of the sender.
        r   z/Channels/Senders/{sid}Nr1   )r   r"   r   r  _uri)r    r   r   r   s      r!   r"   zChannelsSenderContext.__init__%  s@     	! 3
 5-44Ft~~F	r$   r   c                 |    t        j                  i       }| j                  j                  d| j                  |      S )z
        Internal helper for delete operation

        Returns:
            tuple: (success_boolean, status_code, headers)
        DELETEmethoduriheaders)r
   ofr   delete_with_response_inforV  r    r\  s     r!   _deletezChannelsSenderContext._delete4  s8     ))B-}}66G 7 
 	
r$   c                 .    | j                         \  }}}|S r   )r`  r    success_s      r!   r   zChannelsSenderContext.deleteB  s     Ar$   c                 F    | j                         \  }}}t        |||      S )z
        Deletes the ChannelsSenderInstance and return response metadata


        :returns: ApiResponse with success boolean, status code, and headers
        datastatus_coder\  )r`  r   r    rc  rh  r\  s       r!   r   z+ChannelsSenderContext.delete_with_http_infoL  s%     )-%g['RRr$   c                    K   t        j                  i       }| j                  j                  d| j                  |       d{   S 7 w)z
        Internal async helper for delete operation

        Returns:
            tuple: (success_boolean, status_code, headers)
        rX  rY  N)r
   r]  r   delete_with_response_info_asyncrV  r_  s     r!   _delete_asyncz#ChannelsSenderContext._delete_asyncV  sG      ))B-]]BBG C 
 
 	
 
s   AA
AA
c                 J   K   | j                          d{   \  }}}|S 7 
wr   )rl  rb  s      r!   r   z"ChannelsSenderContext.delete_asyncd  s)      #0022A 3s   #!#c                 b   K   | j                          d{   \  }}}t        |||      S 7 w)z
        Asynchronous coroutine that deletes the ChannelsSenderInstance and return response metadata


        :returns: ApiResponse with success boolean, status code, and headers
        Nrf  )rl  r   ri  s       r!   r   z1ChannelsSenderContext.delete_with_http_info_asyncn  s5      /3.@.@.B(B%g['RR )Cs   /-/c                     t        j                  i       }d|d<   | j                  j                  d| j                  |      S )zz
        Internal helper for fetch operation

        Returns:
            tuple: (payload, status_code, headers)
        application/jsonAcceptGETrY  )r
   r]  r   fetch_with_response_inforV  r_  s     r!   _fetchzChannelsSenderContext._fetchx  sB     ))B-.}}55dii 6 
 	
r$   c                 t    | j                         \  }}}t        | j                  || j                  d         S )r   r   r   )rt  r   r   r   r    r   rd  s      r!   r   zChannelsSenderContext.fetch  s8     A%MMu%
 	
r$   c                     | j                         \  }}}t        | j                  || j                  d         }t	        |||      S )z
        Fetch the ChannelsSenderInstance and return response metadata


        :returns: ApiResponse with instance, status code, and headers
        r   r   rf  )rt  r   r   r   r   r    r   rh  r\  instances        r!   r  z*ChannelsSenderContext.fetch_with_http_info  sG     )-%g)MMu%

 k7SSr$   c                    K   t        j                  i       }d|d<   | j                  j                  d| j                  |       d{   S 7 w)z
        Internal async helper for fetch operation

        Returns:
            tuple: (payload, status_code, headers)
        rp  rq  rr  rY  N)r
   r]  r   fetch_with_response_info_asyncrV  r_  s     r!   _fetch_asyncz"ChannelsSenderContext._fetch_async  sQ      ))B-.]]AAdii B 
 
 	
 
s   AAA	Ac                    K   | j                          d{   \  }}}t        | j                  || j                  d         S 7 -w)r   Nr   r   )r|  r   r   r   rv  s      r!   r   z!ChannelsSenderContext.fetch_async  sG      #//11A%MMu%
 	
 2s   AA.Ac                    K   | j                          d{   \  }}}t        | j                  || j                  d         }t	        |||      S 7 ;w)z
        Asynchronous coroutine to fetch the ChannelsSenderInstance and return response metadata


        :returns: ApiResponse with instance, status code, and headers
        Nr   r   rf  )r|  r   r   r   r   rx  s        r!   r  z0ChannelsSenderContext.fetch_with_http_info_async  sW      /3.?.?.A(A%g)MMu%

 k7SS )Bs   AA<Ar  c                     |j                         }t        j                  i       }d|d<   d|d<   | j                  j	                  d| j
                  ||      S )z{
        Internal helper for update operation

        Returns:
            tuple: (payload, status_code, headers)
        rp  Content-Typerq  POSTrZ  r[  rg  r\  )r)   r
   r]  r   update_with_response_inforV  r    r  rg  r\  s       r!   _updatezChannelsSenderContext._update  s\     <CCE))B-"4.}}66tyytW 7 
 	
r$   c                 x    | j                  |      \  }}}t        | j                  || j                  d         S )r  r  r   r   )r  r   r   r   r    r  r   rd  s       r!   r  zChannelsSenderContext.update  s?     9e % 
A &dmmW$..QVBWXXr$   c                     | j                  |      \  }}}t        | j                  || j                  d         }t	        |||      S )z
        Update the ChannelsSenderInstance and return response metadata

        :param messaging_v2_channels_sender_requests_update:

        :returns: ApiResponse with instance, status code, and headers
        r  r   r   rf  )r  r   r   r   r   r    r  r   rh  r\  ry  s         r!   r  z+ChannelsSenderContext.update_with_http_info  sR     )-9e )5 )
%g *MM7u(=
 k7SSr$   c                    K   |j                         }t        j                  i       }d|d<   d|d<   | j                  j	                  d| j
                  ||       d{   S 7 w)z
        Internal async helper for update operation

        Returns:
            tuple: (payload, status_code, headers)
        rp  r  rq  r  r  N)r)   r
   r]  r   update_with_response_info_asyncrV  r  s       r!   _update_asyncz#ChannelsSenderContext._update_async  sk      <CCE))B-"4.]]BBtyytW C 
 
 	
 
s   AA%A#A%c                    K   | j                  |       d{   \  }}}t        | j                  || j                  d         S 7 -w)r  r  Nr   r   )r  r   r   r   r  s       r!   r  z"ChannelsSenderContext.update_async)  sO      #009e 1 
 
A &dmmW$..QVBWXX
s   AA.Ac                    K   | j                  |       d{   \  }}}t        | j                  || j                  d         }t	        |||      S 7 ;w)z
        Asynchronous coroutine to update the ChannelsSenderInstance and return response metadata

        :param messaging_v2_channels_sender_requests_update:

        :returns: ApiResponse with instance, status code, and headers
        r  Nr   r   rf  )r  r   r   r   r   r  s         r!   r  z1ChannelsSenderContext.update_with_http_info_async;  sc      /3.@.@9e /A /
 )
%g *MM7u(=
 k7SS)
s   AA<Ac                     dj                  d | j                  j                         D              }dj                  |      S )r  r  c              3   F   K   | ]  \  }}d j                  ||        ywr  r  r  s      r!   r  z1ChannelsSenderContext.__repr__.<locals>.<genexpr>V  r  r  z.<Twilio.Messaging.V2.ChannelsSenderContext {}>r   r#  s     r!   r%  zChannelsSenderContext.__repr__P  s6     ((SDNN<P<P<RSS?FFwOOr$   ),r,   r-   r.   r&  r2   rL   r\   ri   ru   r   r   r   r   r   r   r0   r"   tupler`  r(  r   r   r   rl  r   r   rt  r   r   r  r|  r   r  r
   r)  r   r  r  r  r  r  r  r%  r*  r+  s   @r!   r   r     sV    646 4l "f "& "& B& <!6 !F "& :G Gc G
 
 S{ S
U 
D S; S
 
 
- 
Tk T
E 
 
#9 
T+ T& LL	
6;3V;7


 

8 LL	Y6;3V;7
Y
 
 Y, LL	T6;3V;7
T
 
T2 LL	
6;3V;7


 

8 LL	Y6;3V;7
Y
 
 Y, LL	T6;3V;7
T
 
T*P# Pr$   r   c                   2    e Zd Zdeeef   defdZdefdZy)ChannelsSenderPager   r   c                 .    t        | j                  |      S )zt
        Build an instance of ChannelsSenderInstance

        :param payload: Payload response from the API
        )r   r   r   s     r!   get_instancezChannelsSenderPage.get_instance\  s     &dmmW==r$   c                      y)r  z(<Twilio.Messaging.V2.ChannelsSenderPage>r1   r(   s    r!   r%  zChannelsSenderPage.__repr__d       :r$   N)	r,   r-   r.   r   r0   r   r   r  r%  r1   r$   r!   r  r  Z  s*    >DcN >7M >:# :r$   r  c                       e Zd Z G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Z G d de      Z	 G d de      Z
 G d de      Z G d de      Z G d de      Zdef fdZde	defdZde	defdZde	defdZde	defdZde	defdZde	defdZej4                  ddfd eeef   d!ee   d"ee   dee   fd#Z ej4                  ddfd eeef   d!ee   d"ee   de!e   fd$Z"ej4                  ddfd eeef   d!ee   d"ee   defd%Z#ej4                  ddfd eeef   d!ee   d"ee   defd&Z$ej4                  ddfd eeef   d!ee   d"ee   de%e   fd'Z&ej4                  ddfd eeef   d!ee   d"ee   de%e   fd(Z'ej4                  ddfd eeef   d!ee   d"ee   defd)Z(ej4                  ddfd eeef   d!ee   d"ee   defd*Z)ej4                  ej4                  ej4                  ej4                  fd eeef   d+eeef   d,eeef   d"eeef   de*f
d-Z+ej4                  ej4                  ej4                  ej4                  fd eeef   d+eeef   d,eeef   d"eeef   de*f
d.Z,ej4                  ej4                  ej4                  ej4                  fd eeef   d+eeef   d,eeef   d"eeef   def
d/Z-ej4                  ej4                  ej4                  ej4                  fd eeef   d+eeef   d,eeef   d"eeef   def
d0Z.d1ede*fd2Z/d1ede*fd3Z0d4ede1fd5Z2d4ede1fd6Z3defd7Z4 xZ5S )8ChannelsSenderListc                   ,    e Zd ZdZdeeef   fdZd Zy)9ChannelsSenderList.MessagingV2ChannelsSenderConfigurationr   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r   r   r   s     r!   r"   zBChannelsSenderList.MessagingV2ChannelsSenderConfiguration.__init__w  r#   r$   c                 `    | j                   | j                  | j                  | j                  dS r&   r'   r(   s    r!   r)   zAChannelsSenderList.MessagingV2ChannelsSenderConfiguration.to_dict  r*   r$   Nr+   r1   r$   r!   r2   r  o  r3   r$   r2   c                   ,    e Zd ZdZdeeef   fdZd Zy)3ChannelsSenderList.MessagingV2ChannelsSenderProfiler6   r   c                 @   |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d	      | _	        |j                  d
      | _
        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r8   rF   r   s     r!   r"   z<ChannelsSenderList.MessagingV2ChannelsSenderProfile.__init__  rG   r$   c                 &   | j                   | j                  | j                  | j                  | j                  | j
                  | j                  | j                  | j                  | j                  | j                  | j                  | j                  dS rI   rJ   r(   s    r!   r)   z;ChannelsSenderList.MessagingV2ChannelsSenderProfile.to_dict  rK   r$   Nr+   r1   r$   r!   rL   r    rM   r$   rL   c                   ,    e Zd ZdZdeeef   fdZd Zy)HChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponseEmailsrP   r   c                 \    |j                  d      | _        |j                  d      | _        y rR   rU   r   s     r!   r"   zQChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponseEmails.__init__  rV   r$   c                 4    | j                   | j                  dS rX   rZ   r(   s    r!   r)   zPChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponseEmails.to_dict  r[   r$   Nr+   r1   r$   r!   r\   r    r]   r$   r\   c                   ,    e Zd ZdZdeeef   fdZd Zy)NChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponsePhoneNumbersr`   r   c                 \    |j                  d      | _        |j                  d      | _        y rb   rd   r   s     r!   r"   zWChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponsePhoneNumbers.__init__  re   r$   c                 4    | j                   | j                  dS rX   rg   r(   s    r!   r)   zVChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponsePhoneNumbers.to_dict  rh   r$   Nr+   r1   r$   r!   ri   r    r]   r$   ri   c                   ,    e Zd ZdZdeeef   fdZd Zy)JChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponseWebsitesrl   r   c                 \    |j                  d      | _        |j                  d      | _        y rn   rp   r   s     r!   r"   zSChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponseWebsites.__init__  rq   r$   c                 4    | j                   | j                  dS rX   rs   r(   s    r!   r)   zRChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponseWebsites.to_dict  rt   r$   Nr+   r1   r$   r!   ru   r    r]   r$   ru   c                   ,    e Zd ZdZdeeef   fdZd Zy):ChannelsSenderList.MessagingV2ChannelsSenderRequestsCreaterx   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y rz   r   r   s     r!   r"   zCChannelsSenderList.MessagingV2ChannelsSenderRequestsCreate.__init__  r   r$   c                    | j                   | j                  | j                  j                         nd | j                  | j                  j                         nd | j                  | j                  j                         dS d dS r   r   r(   s    r!   r)   zBChannelsSenderList.MessagingV2ChannelsSenderRequestsCreate.to_dict  r   r$   Nr+   r1   r$   r!   r   r    r   r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy):ChannelsSenderList.MessagingV2ChannelsSenderRequestsUpdater   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        y r   r   r   s     r!   r"   zCChannelsSenderList.MessagingV2ChannelsSenderRequestsUpdate.__init__  r   r$   c                     | j                   | j                   j                         nd | j                  | j                  j                         nd | j                  | j                  j                         dS d dS r   r   r(   s    r!   r)   zBChannelsSenderList.MessagingV2ChannelsSenderRequestsUpdate.to_dict'  r   r$   Nr+   r1   r$   r!   r   r    r   r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy)3ChannelsSenderList.MessagingV2ChannelsSenderWebhookr   r   c                    |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r   r   r   s     r!   r"   z<ChannelsSenderList.MessagingV2ChannelsSenderWebhook.__init__<  r   r$   c                     | j                   | j                  | j                  | j                  | j                  | j
                  dS r   r   r(   s    r!   r)   z;ChannelsSenderList.MessagingV2ChannelsSenderWebhook.to_dictK  r   r$   Nr+   r1   r$   r!   r   r  2  r   r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy)(ChannelsSenderList.MessagingV2RcsCarrierr   r   c                 \    |j                  d      | _        |j                  d      | _        y r   r   r   s     r!   r"   z1ChannelsSenderList.MessagingV2RcsCarrier.__init__[  r   r$   c                 p    | j                   | j                  | j                  j                         dS d dS rX   r   r(   s    r!   r)   z0ChannelsSenderList.MessagingV2RcsCarrier.to_dict`  r   r$   Nr+   r1   r$   r!   r   r  U  r   r$   r   c                   ,    e Zd ZdZdeeef   fdZd Zy):ChannelsSenderList.MessagingV2RcsComplianceCountryResponser   r   c                     |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y r   r   r   s     r!   r"   zCChannelsSenderList.MessagingV2RcsComplianceCountryResponse.__init__n  r   r$   c                     | j                   | j                  | j                  | j                  j                         nd | j                  *| j                  D cg c]  }|j                          c}dS d dS c c}w r   r   r   s     r!   r)   zBChannelsSenderList.MessagingV2RcsComplianceCountryResponse.to_dictw  r   r   Nr+   r1   r$   r!   r   r  f  r   r$   r   r   c                 2    t         |   |       d| _        y)zp
        Initialize the ChannelsSenderList

        :param version: Version that contains the resource

        z/Channels/SendersN)r   r"   rV  )r    r   r   s     r!   r"   zChannelsSenderList.__init__  s     	!'	r$   ,messaging_v2_channels_sender_requests_creater   c                     |j                         }t        j                  ddi      }d|d<   d|d<   | j                  j	                  d| j
                  ||      S )z{
        Internal helper for create operation

        Returns:
            tuple: (payload, status_code, headers)
        r  !application/x-www-form-urlencodedrp  rq  r  r  )r)   r
   r]  r   create_with_response_inforV  r    r  rg  r\  s       r!   _createzChannelsSenderList._create  sc     <CCE))^-PQR"4.}}66tyytW 7 
 	
r$   c                 Z    | j                  |      \  }}}t        | j                  |      S )z
        Create the ChannelsSenderInstance

        :param messaging_v2_channels_sender_requests_create:

        :returns: The created ChannelsSenderInstance
        r  )r  r   r   r    r  r   rd  s       r!   createzChannelsSenderList.create  s3     9e % 
A &dmmW==r$   c                 v    | j                  |      \  }}}t        | j                  |      }t        |||      S )z
        Create the ChannelsSenderInstance and return response metadata

        :param messaging_v2_channels_sender_requests_create:

        :returns: ApiResponse with instance, status code, and headers
        r  rf  )r  r   r   r   r    r  r   rh  r\  ry  s         r!   create_with_http_infoz(ChannelsSenderList.create_with_http_info  sB     )-9e )5 )
%g *$--Ak7SSr$   c                    K   |j                         }t        j                  ddi      }d|d<   d|d<   | j                  j	                  d| j
                  ||       d{   S 7 w)z
        Internal async helper for create operation

        Returns:
            tuple: (payload, status_code, headers)
        r  r  rp  rq  r  r  N)r)   r
   r]  r   create_with_response_info_asyncrV  r  s       r!   _create_asyncz ChannelsSenderList._create_async  sr      <CCE))^-PQR"4.]]BBtyytW C 
 
 	
 
s   AA' A%!A'c                 v   K   | j                  |       d{   \  }}}t        | j                  |      S 7 w)z
        Asynchronously create the ChannelsSenderInstance

        :param messaging_v2_channels_sender_requests_create:

        :returns: The created ChannelsSenderInstance
        r  N)r  r   r   r  s       r!   create_asynczChannelsSenderList.create_async  sC      #009e 1 
 
A &dmmW==
s   979c                    K   | j                  |       d{   \  }}}t        | j                  |      }t        |||      S 7 ,w)z
        Asynchronously create the ChannelsSenderInstance and return response metadata

        :param messaging_v2_channels_sender_requests_create:

        :returns: ApiResponse with instance, status code, and headers
        r  Nrf  )r  r   r   r   r  s         r!   create_with_http_info_asyncz.ChannelsSenderList.create_with_http_info_async  sS      /3.@.@9e /A /
 )
%g *$--Ak7SS	)
s   AA-ANchannellimit	page_sizec                     | j                   j                  ||      }| j                  ||d         }| j                   j                  ||d         S )a  
        Streams ChannelsSenderInstance records from the API as a generator stream.
        This operation lazily loads records as efficiently as possible until the limit
        is reached.
        The results are returned as a generator, so this operation is memory efficient.

        :param str channel:
        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: Generator that will yield up to limit results
        r  r  r  r  )r   read_limitspagestreamr    r  r  r  limitsr  s         r!   r  zChannelsSenderList.stream  sL    , **5)<yyF;4GyH}}##D&/::r$   c                    K   | j                   j                  ||      }| j                  ||d          d{   }| j                   j                  ||d         S 7 #w)a  
        Asynchronously streams ChannelsSenderInstance records from the API as a generator stream.
        This operation lazily loads records as efficiently as possible until the limit
        is reached.
        The results are returned as a generator, so this operation is memory efficient.

        :param str channel:
        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: Generator that will yield up to limit results
        r  r  Nr  )r   r  
page_asyncstream_asyncr  s         r!   r  zChannelsSenderList.stream_async  sY     , **5)<__W{@S_TT}}))$w@@ Us   6AA$Ac                     | j                   j                  ||      }| j                  ||d         }| j                   j                  |j                  |d         }||j
                  |j                  fS )a  
        Streams ChannelsSenderInstance and returns headers from first page


        :param str channel:
        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: tuple of (generator, status_code, headers) where generator yields instances
        r  r  r  )r   r  page_with_http_infor  rg  rh  r\  r    r  r  r  r  page_response	generators          r!   stream_with_http_infoz(ChannelsSenderList.stream_with_http_info2  st    ( **5)<00vk': 1 
 MM((););VG_M	=44m6K6KLLr$   c                   K   | j                   j                  ||      }| j                  ||d          d{   }| j                   j                  |j                  |d         }||j
                  |j                  fS 7 Fw)a  
        Asynchronously streams ChannelsSenderInstance and returns headers from first page


        :param str channel:
        :param limit: Upper limit for the number of records to return. stream()
                      guarantees to never return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, stream() will attempt to read the
                          limit with the most efficient page size, i.e. min(limit, 1000)

        :returns: tuple of (generator, status_code, headers) where generator yields instances
        r  r  Nr  )r   r  page_with_http_info_asyncr  rg  rh  r\  r  s          r!   stream_with_http_info_asyncz.ChannelsSenderList.stream_with_http_info_asyncN  s     ( **5)<"<<vk': = 
 
 MM..}/A/A6'?S	=44m6K6KLL
s   6BA?ABc                 <    t        | j                  |||            S )a  
        Lists ChannelsSenderInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str channel:
        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: list that will contain up to limit results
        r  r  r  )listr  )r    r  r  r  s       r!   r  zChannelsSenderList.listj  s+    * KK#  
 	
r$   c                 |   K   | j                  |||       d{   2 cg c3 d{   }|7 7 	6 c}S c c}w w)a,  
        Asynchronously lists ChannelsSenderInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str channel:
        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: list that will contain up to limit results
        r  N)r  )r    r  r  r  records        r!   
list_asynczChannelsSenderList.list_async  sW     . '+&7&7# '8 ' !
 
 !
 
 	
 
s0   </<731
37<37<c                 d    | j                  |||      \  }}}t        |      }t        |||      S )a  
        Lists ChannelsSenderInstance and returns headers from first page


        :param str channel:
        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: ApiResponse with list of instances, status code, and headers
        r  rf  )r  r  r   )r    r  r  r  r  rh  r\  r"  s           r!   list_with_http_infoz&ChannelsSenderList.list_with_http_info  sD    ( +/*D*D +E +
'	;
 Y;PPr$   c                    K   | j                  |||       d{   \  }}}|2 cg c3 d{   }|7 7 	6 nc c}w }}t        |||      S w)a  
        Asynchronously lists ChannelsSenderInstance and returns headers from first page


        :param str channel:
        :param limit: Upper limit for the number of records to return. list() guarantees
                      never to return more than limit.  Default is no limit
        :param page_size: Number of records to fetch per request, when not set will use
                          the default value of 50 records.  If no page_size is defined
                          but a limit is defined, list() will attempt to read the limit
                          with the most efficient page size, i.e. min(limit, 1000)

        :returns: ApiResponse with list of instances, status code, and headers
        r  Nrf  )r  r   )	r    r  r  r  r  rh  r\  r  r"  s	            r!   list_with_http_info_asyncz,ChannelsSenderList.list_with_http_info_async  si     ( 150P0P 1Q 1
 +
'	;
 -666&+

 7666;PPs4   A5A;97
9;A9;A
page_tokenpage_numberc                     t        j                  ||||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||      }t        | j                  |      S )a  
        Retrieve a single page of ChannelsSenderInstance records from the API.
        Request is executed immediately

        :param channel:
        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: Page of ChannelsSenderInstance
        Channel	PageTokenr   PageSizer  r  rp  rq  rr  rZ  r[  paramsr\  )r
   r]  r   r  rV  r  r    r  r  r  r  rg  r\  responses           r!   r  zChannelsSenderList.page  s|    $ yy"'#%	
 ))^-PQR.==%%diig & 
 "$--::r$   c                   K   t        j                  ||||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||       d{   }t        | j                  |      S 7 w)	a  
        Asynchronously retrieve a single page of ChannelsSenderInstance records from the API.
        Request is executed immediately

        :param channel:
        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: Page of ChannelsSenderInstance
        r  r  r  rp  rq  rr  r  N)r
   r]  r   r  rV  r  r   s           r!   r  zChannelsSenderList.page_async  s     $ yy"'#%	
 ))^-PQR.11diig 2 
 
 "$--::
s   A#B%B &Bc                    t        j                  ||||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||      \  }}}	t        | j                  |      }
t        |
||	      S )	ax  
        Retrieve a single page with response metadata


        :param channel:
        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: ApiResponse with ChannelsSenderPage, status code, and headers
        r  r  r  rp  rq  rr  r  rf  )r
   r]  r   page_with_response_inforV  r  r   r    r  r  r  r  rg  r\  r  rh  response_headersr  s              r!   r  z&ChannelsSenderList.page_with_http_info%  s    $ yy"'#%	
 ))^-PQR.26--2W2Wdiig 3X 3
/+/ "$--:+GWXXr$   c                 ,  K   t        j                  ||||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||       d{   \  }}}	t        | j                  |      }
t        |
||		      S 7 ,w)
a  
        Asynchronously retrieve a single page with response metadata


        :param channel:
        :param page_token: PageToken provided by the API
        :param page_number: Page Number, this value is simply for client state
        :param page_size: Number of records to return, defaults to 50

        :returns: ApiResponse with ChannelsSenderPage, status code, and headers
        r  r  r  rp  rq  rr  r  Nrf  )r
   r]  r   page_with_response_info_asyncrV  r  r   r  s              r!   r  z,ChannelsSenderList.page_with_http_info_asyncJ  s     $ yy"'#%	
 ))^-PQR. --==$))D' >   	0+/
 "$--:+GWXXs   A#B%B&-B
target_urlc                     | j                   j                  j                  j                  d|      }t	        | j                   |      S )a  
        Retrieve a specific page of ChannelsSenderInstance records from the API.
        Request is executed immediately

        :param target_url: API-generated URL for the requested results page

        :returns: Page of ChannelsSenderInstance
        rr  )r   domaintwiliorequestr  r    r	  r  s      r!   get_pagezChannelsSenderList.get_pageq  s7     ==''..66ujI!$--::r$   c                    K   | j                   j                  j                  j                  d|       d{   }t	        | j                   |      S 7 w)a  
        Asynchronously retrieve a specific page of ChannelsSenderInstance records from the API.
        Request is executed immediately

        :param target_url: API-generated URL for the requested results page

        :returns: Page of ChannelsSenderInstance
        rr  N)r   r  r  request_asyncr  r  s      r!   get_page_asyncz!ChannelsSenderList.get_page_async}  sD      --44BB5*UU!$--:: Vs   4AAAr   c                 0    t        | j                  |      S z`
        Constructs a ChannelsSenderContext

        :param sid: The SID of the sender.
        r   r   r   r    r   s     r!   r   zChannelsSenderList.get       %T]]<<r$   c                 0    t        | j                  |      S r  r  r  s     r!   __call__zChannelsSenderList.__call__  r  r$   c                      y)r  z(<Twilio.Messaging.V2.ChannelsSenderList>r1   r(   s    r!   r%  zChannelsSenderList.__repr__  r  r$   )6r,   r-   r.   r&  r2   rL   r\   ri   ru   r   r   r   r   r   r   r"   r  r  r   r  r   r  r  r  r  r
   r)  r   r0   r   intr   r  r	   r  r  r  r   r  r  r  r  r  r  r  r  r  r  r  r   r   r  r%  r*  r+  s   @r!   r  r  m  s    646 4l "f "& "& B& <!6 !F "& :	( 	(
6]
 

,>6]> 
 > T6]T 
T"
6]
 

,>6]> 
 > T6]T 
T& '-ll##'	;sF{#; }; C=	;
 
(	);: '-ll##'	AsF{#A }A C=	A
 
-	.A: '-ll##'	MsF{#M }M C=	M
 
M< '-ll##'	MsF{#M }M C=	M
 
M< '-ll##'	
sF{#
 }
 C=	

 
$	%
> '-ll##'	
sF{#
 }
 C=	

 
$	%
@ '-ll##'	QsF{#Q }Q C=	Q
 
Q< '-ll##'	QsF{#Q }Q C=	Q
 
Q< '-ll)/*0,,(.";sF{#"; #v+&"; 3;'	";
 f%"; 
";L '-ll)/*0,,(.";sF{#"; #v+&"; 3;'	";
 f%"; 
";L '-ll)/*0,,(.#YsF{##Y #v+&#Y 3;'	#Y
 f%#Y 
#YN '-ll)/*0,,(.%YsF{#%Y #v+&%Y 3;'	%Y
 f%%Y 
%YN
;3 
;+= 
;
;s 
;7I 
;=s =4 ==C =$9 =:# :r$   r  N)r/   typingr   r   r   r   r   r   r	   twilio.baser
   twilio.base.api_responser   twilio.base.instance_contextr   twilio.base.instance_resourcer   twilio.base.list_resourcer   twilio.base.versionr   twilio.base.pager   r   r   r  r  r1   r$   r!   <module>r$     sh    M L L  0 8 : 2 ' !sQ- sQlH	PO H	PV: :&r: r:r$   