
    d{i                         d Z ddlmZ ddlmZmZmZ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 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.
    )datetime)AnyDictListOptionalUnionIteratorAsyncIterator)deserializevalues)ApiResponse)InstanceContext)InstanceResource)ListResource)Version)Pagec            
            e Zd ZdZ	 ddedeeef   dedee   f fdZ	e
dd       Zdefd	Zdefd
ZdefdZdefdZddZddZdefdZdefdZdefdZ xZS )AlphaSenderInstancea  
    :ivar sid: The unique string that we created to identify the AlphaSender resource.
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the AlphaSender resource.
    :ivar service_sid: The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) the resource is associated with.
    :ivar date_created: The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    :ivar date_updated: The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    :ivar alpha_sender: The Alphanumeric Sender ID string.
    :ivar capabilities: An array of values that describe whether the number can receive calls or messages. Can be: `SMS`.
    :ivar url: The absolute URL of the AlphaSender resource.
    versionpayloadservice_sidsidc                    t         |   |       |j                  d      | _        |j                  d      | _        |j                  d      | _        t        j                  |j                  d            | _        t        j                  |j                  d            | _	        |j                  d      | _
        |j                  d      | _        |j                  d      | _        ||xs | j                  d	| _        d | _        y )
Nr   account_sidr   date_createddate_updatedalpha_sendercapabilitiesurlr   r   )super__init__getr   r   r   r   iso8601_datetimer   r   r   r   r   	_solution_context)selfr   r   r   r   	__class__s        k/home/sas/my/fyp/ringai/.venv/lib/python3.12/site-packages/twilio/rest/messaging/v1/service/alpha_sender.pyr"   zAlphaSenderInstance.__init__&   s     	!")++e"4*1++m*D*1++m*D0;0L0LKK'1
 1<0L0LKK'1
 ,3;;~+F18^1L")++e"4 '?$((
 7;    returnc                     | j                   7t        | j                  | j                  d   | 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: AlphaSenderContext for this AlphaSenderInstance
        r   r   r    )r&   AlphaSenderContext_versionr%   r'   s    r)   _proxyzAlphaSenderInstance._proxyB   sE     == . NN=9NN5)DM
 }}r*   c                 6    | j                   j                         S zn
        Deletes the AlphaSenderInstance


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


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


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


        :returns: ApiResponse with success boolean, status code, and headers
        N)r0   delete_with_http_info_asyncr/   s    r)   r;   z/AlphaSenderInstance.delete_with_http_info_asyncm   s!      [[<<>>>>r7   c                 6    | j                   j                         S )c
        Fetch the AlphaSenderInstance


        :returns: The fetched AlphaSenderInstance
        )r0   fetchr/   s    r)   r>   zAlphaSenderInstance.fetchv   s     {{  ""r*   c                 R   K   | j                   j                          d{   S 7 w)}
        Asynchronous coroutine to fetch the AlphaSenderInstance


        :returns: The fetched AlphaSenderInstance
        N)r0   fetch_asyncr/   s    r)   rA   zAlphaSenderInstance.fetch_async   s!      [[,,....r7   c                 6    | j                   j                         S )z
        Fetch the AlphaSenderInstance with HTTP info


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


        :returns: ApiResponse with instance, status code, and headers
        N)r0   fetch_with_http_info_asyncr/   s    r)   rE   z.AlphaSenderInstance.fetch_with_http_info_async   s!      [[;;====r7   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>z/AlphaSenderInstance.__repr__.<locals>.<genexpr>        SDAq7>>!Q/S   !z,<Twilio.Messaging.V1.AlphaSenderInstance {}>joinr%   itemsrL   r'   contexts     r)   __repr__zAlphaSenderInstance.__repr__   s6     ((SDNN<P<P<RSS=DDWMMr*   )N)r+   r-   )r+   r   )__name__
__module____qualname____doc__r   r   strr   r   r"   propertyr0   boolr3   r6   r   r9   r;   r>   rA   rC   rE   rY   __classcell__r(   s   @r)   r   r      s    	  ";; c3h; 	;
 c];8  $ $0D 03{ 3?; ?#/2k 2>+ >N# Nr*   r   c                        e Zd Zde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defdZ xZS )r-   r   r   r   c                 z    t         |   |       ||d| _         dj                  di | j                  | _        y)a:  
        Initialize the AlphaSenderContext

        :param version: Version that contains the resource
        :param service_sid: The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the resource from.
        :param sid: The SID of the AlphaSender resource to fetch.
        r    z*/Services/{service_sid}/AlphaSenders/{sid}N r!   r"   r%   rL   _uri)r'   r   r   r   r(   s       r)   r"   zAlphaSenderContext.__init__   sG     	! '
 H@GG 
nn
	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_inforg   r'   rm   s     r)   _deletezAlphaSenderContext._delete   s8     ))B-}}66G 7 
 	
r*   c                 .    | j                         \  }}}|S r2   )rq   r'   success_s      r)   r3   zAlphaSenderContext.delete   s     Ar*   c                 F    | j                         \  }}}t        |||      S )z
        Deletes the AlphaSenderInstance and return response metadata


        :returns: ApiResponse with success boolean, status code, and headers
        datastatus_coderm   )rq   r   r'   rt   ry   rm   s       r)   r9   z(AlphaSenderContext.delete_with_http_info   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)
        ri   rj   N)r   rn   r.   delete_with_response_info_asyncrg   rp   s     r)   _delete_asyncz AlphaSenderContext._delete_async   sG      ))B-]]BBG C 
 
 	
 
s   AA
AA
c                 J   K   | j                          d{   \  }}}|S 7 
wr5   )r}   rs   s      r)   r6   zAlphaSenderContext.delete_async   s)      #0022A 3s   #!#c                 b   K   | j                          d{   \  }}}t        |||      S 7 w)z
        Asynchronous coroutine that deletes the AlphaSenderInstance and return response metadata


        :returns: ApiResponse with success boolean, status code, and headers
        Nrw   )r}   r   rz   s       r)   r;   z.AlphaSenderContext.delete_with_http_info_async   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GETrj   )r   rn   r.   fetch_with_response_inforg   rp   s     r)   _fetchzAlphaSenderContext._fetch   sB     ))B-.}}55dii 6 
 	
r*   c                     | j                         \  }}}t        | j                  || j                  d   | j                  d         S )r=   r   r   r    )r   r   r.   r%   r'   r   ru   s      r)   r>   zAlphaSenderContext.fetch  sD     A"MM}5u%	
 	
r*   c                     | j                         \  }}}t        | j                  || j                  d   | j                  d         }t	        |||      S )z
        Fetch the AlphaSenderInstance and return response metadata


        :returns: ApiResponse with instance, status code, and headers
        r   r   r    rw   )r   r   r.   r%   r   r'   r   ry   rm   instances        r)   rC   z'AlphaSenderContext.fetch_with_http_info  sS     )-%g&MM}5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)
        r   r   r   rj   N)r   rn   r.   fetch_with_response_info_asyncrg   rp   s     r)   _fetch_asynczAlphaSenderContext._fetch_async,  sQ      ))B-.]]AAdii B 
 
 	
 
s   AAA	Ac                    K   | j                          d{   \  }}}t        | j                  || j                  d   | j                  d         S 7 ;w)r@   Nr   r   r    )r   r   r.   r%   r   s      r)   rA   zAlphaSenderContext.fetch_async<  sS      #//11A"MM}5u%	
 	
 2s   AA<Ac                    K   | j                          d{   \  }}}t        | j                  || j                  d   | j                  d         }t	        |||      S 7 Iw)z
        Asynchronous coroutine to fetch the AlphaSenderInstance and return response metadata


        :returns: ApiResponse with instance, status code, and headers
        Nr   r   r    rw   )r   r   r.   r%   r   r   s        r)   rE   z-AlphaSenderContext.fetch_with_http_info_asyncK  sc      /3.?.?.A(A%g&MM}5u%	
 k7SS )Bs   A"A A
A"c                     dj                  d | j                  j                         D              }dj                  |      S )rG   rH   c              3   F   K   | ]  \  }}d j                  ||        ywrJ   rK   rM   s      r)   rQ   z.AlphaSenderContext.__repr__.<locals>.<genexpr>a  rR   rS   z+<Twilio.Messaging.V1.AlphaSenderContext {}>rT   rW   s     r)   rY   zAlphaSenderContext.__repr__[  s6     ((SDNN<P<P<RSS<CCGLLr*   )rZ   r[   r\   r   r^   r"   tuplerq   r`   r3   r   r9   r}   r6   r;   r   r   r>   rC   r   rA   rE   rY   ra   rb   s   @r)   r-   r-      s    
 
c 
 
&
 
 S{ S
U 
D S; S
 
 
* 
Tk T 
E 
 
#6 
T+ T M# Mr*   r-   c                   2    e Zd Zdeeef   defdZdefdZy)AlphaSenderPager   r+   c                 L    t        | j                  || j                  d         S )zq
        Build an instance of AlphaSenderInstance

        :param payload: Payload response from the API
        r   r   )r   r.   r%   )r'   r   s     r)   get_instancezAlphaSenderPage.get_instanceg  s%     #MM7}0M
 	
r*   c                      y)rG   z%<Twilio.Messaging.V1.AlphaSenderPage>re   r/   s    r)   rY   zAlphaSenderPage.__repr__q       7r*   N)	rZ   r[   r\   r   r^   r   r   r   rY   re   r*   r)   r   r   e  s*    
DcN 
7J 
7# 7r*   r   c            	           e Zd Zde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	 	 d#dee   dee   dee   fdZ	 	 d#dee   dee   dee   fdZ	 	 d#dee   dee   defdZ	 	 d#dee   dee   defdZ	 	 d#dee   dee   dee   fdZ	 	 d#dee   dee   dee   fdZ	 	 d#dee   dee   de
fdZ	 	 d#dee   dee   de
fdZej:                  ej:                  ej:                  fdeeef   deeef   deeef   de fdZ!ej:                  ej:                  ej:                  fdeeef   deeef   deeef   de fdZ"ej:                  ej:                  ej:                  fdeeef   deeef   deeef   de
fdZ#ej:                  ej:                  ej:                  fdeeef   deeef   deeef   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fd"Z* xZ+S )$AlphaSenderListr   r   c                 x    t         |   |       d|i| _         dj                  di | j                  | _        y)z
        Initialize the AlphaSenderList

        :param version: Version that contains the resource
        :param service_sid: The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the resources from.

        r   z$/Services/{service_sid}/AlphaSendersNre   rf   )r'   r   r   r(   s      r)   r"   zAlphaSenderList.__init__|  sA     	! ;
 B:AASDNNS	r*   r   r+   c                     t        j                  d|i      }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)
        AlphaSenderContent-Type!application/x-www-form-urlencodedr   r   POSTrk   rl   rx   rm   )r   rn   r.   create_with_response_inforg   r'   r   rx   rm   s       r)   _createzAlphaSenderList._create  so     yy|

 ))^-PQR"E.}}66tyytW 7 
 	
r*   c                 x    | j                  |      \  }}}t        | j                  || j                  d         S )aP  
        Create the AlphaSenderInstance

        :param alpha_sender: The Alphanumeric Sender ID string. Can be up to 11 characters long. Valid characters are A-Z, a-z, 0-9, space, hyphen `-`, plus `+`, underscore `_` and ampersand `&`. This value cannot contain only numbers.

        :returns: The created AlphaSenderInstance
        r   r   r   )r   r   r.   r%   r'   r   r   ru   s       r)   createzAlphaSenderList.create  s;     ,?A"MM7}0M
 	
r*   c                     | j                  |      \  }}}t        | j                  || j                  d         }t	        |||      S )a  
        Create the AlphaSenderInstance and return response metadata

        :param alpha_sender: The Alphanumeric Sender ID string. Can be up to 11 characters long. Valid characters are A-Z, a-z, 0-9, space, hyphen `-`, plus `+`, underscore `_` and ampersand `&`. This value cannot contain only numbers.

        :returns: ApiResponse with instance, status code, and headers
        r   r   r   rw   )r   r   r.   r%   r   r'   r   r   ry   rm   r   s         r)   create_with_http_infoz%AlphaSenderList.create_with_http_info  sJ     )-,(O%g&MM7}0M
 k7SSr*   c                    K   t        j                  d|i      }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   r   r   r   r   r   N)r   rn   r.   create_with_response_info_asyncrg   r   s       r)   _create_asynczAlphaSenderList._create_async  s~      yy|

 ))^-PQR"E.]]BBtyytW C 
 
 	
 
s   A%A.'A,(A.c                    K   | j                  |       d{   \  }}}t        | j                  || j                  d         S 7 -w)a_  
        Asynchronously create the AlphaSenderInstance

        :param alpha_sender: The Alphanumeric Sender ID string. Can be up to 11 characters long. Valid characters are A-Z, a-z, 0-9, space, hyphen `-`, plus `+`, underscore `_` and ampersand `&`. This value cannot contain only numbers.

        :returns: The created AlphaSenderInstance
        r   Nr   r   )r   r   r.   r%   r   s       r)   create_asynczAlphaSenderList.create_async  sK      #00l0KKA"MM7}0M
 	
 Ls   AA.Ac                    K   | j                  |       d{   \  }}}t        | j                  || j                  d         }t	        |||      S 7 ;w)a  
        Asynchronously create the AlphaSenderInstance and return response metadata

        :param alpha_sender: The Alphanumeric Sender ID string. Can be up to 11 characters long. Valid characters are A-Z, a-z, 0-9, space, hyphen `-`, plus `+`, underscore `_` and ampersand `&`. This value cannot contain only numbers.

        :returns: ApiResponse with instance, status code, and headers
        r   Nr   r   rw   )r   r   r.   r%   r   r   s         r)   create_with_http_info_asyncz+AlphaSenderList.create_with_http_info_async  sc      /3.@.@% /A /
 )
%g 'MM7}0M
 k7SS)
s   AA<Alimit	page_sizec                     | j                   j                  ||      }| j                  |d         }| j                   j                  ||d         S )aa  
        Streams AlphaSenderInstance 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 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.   read_limitspagestreamr'   r   r   limitsr   s        r)   r   zAlphaSenderList.stream  sJ    ( **5)<yy6+#6y7}}##D&/::r*   c                    K   | j                   j                  ||      }| j                  |d          d{   }| j                   j                  ||d         S 7 #w)ap  
        Asynchronously streams AlphaSenderInstance 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 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AlphaSenderList.stream_async  sW     ( **5)<__vk/B_CC}}))$w@@ Ds   5AA$Ac                     | j                   j                  ||      }| j                  |d         }| j                   j                  |j                  |d         }||j
                  |j                  fS )a  
        Streams AlphaSenderInstance and returns headers from first page


        :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   rx   ry   rm   r'   r   r   r   page_response	generators         r)   stream_with_http_infoz%AlphaSenderList.stream_with_http_info$  sk    $ **5)<006+;N0O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 AlphaSenderInstance and returns headers from first page


        :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   rx   ry   rm   r   s         r)   stream_with_http_info_asyncz+AlphaSenderList.stream_with_http_info_async<  s     $ **5)<"<<[) = 
 
 MM..}/A/A6'?S	=44m6K6KLL
s   5B A>AB c                 :    t        | j                  ||            S )a  
        Lists AlphaSenderInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :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   )listr   )r'   r   r   s      r)   r   zAlphaSenderList.listV  s(    & KK#  
 	
r*   c                 z   K   | j                  ||       d{   2 cg c3 d{   }|7 7 	6 c}S c c}w w)a  
        Asynchronously lists AlphaSenderInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :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   records       r)   
list_asynczAlphaSenderList.list_asyncp  sT     * '+&7&7# '8 ' !
 
 !
 
 	
 
s0   ;.;620
26;26;c                 b    | j                  ||      \  }}}t        |      }t        |||      S )a  
        Lists AlphaSenderInstance and returns headers from first page


        :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   rw   )r   r   r   )r'   r   r   r   ry   rm   rV   s          r)   list_with_http_infoz#AlphaSenderList.list_with_http_info  sA    $ +/*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 AlphaSenderInstance and returns headers from first page


        :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   Nrw   )r   r   )r'   r   r   r   ry   rm   r   rV   s           r)   list_with_http_info_asyncz)AlphaSenderList.list_with_http_info_async  sf     $ 150P0P 1Q 1
 +
'	; -666&	+
 7666;PPs4   A4A:86
8:A8:A
page_tokenpage_numberc                     t        j                  |||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||      }t        | j                  || j                        S )a{  
        Retrieve a single page of AlphaSenderInstance records from the API.
        Request is executed immediately

        :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 AlphaSenderInstance
        	PageTokenr   PageSizer   r   r   r   r   rk   rl   paramsrm   )r   rn   r.   r   rg   r   r%   r'   r   r   r   rx   rm   responses          r)   r   zAlphaSenderList.page  s      yy'#%
 ))^-PQR.==%%diig & 
 t}}hGGr*   c                   K   t        j                  |||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||       d{   }t        | j                  || j                        S 7 %w)	a  
        Asynchronously retrieve a single page of AlphaSenderInstance records from the API.
        Request is executed immediately

        :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 AlphaSenderInstance
        r   r   r   r   r   r   r   N)r   rn   r.   r   rg   r   r%   r   s          r)   r   zAlphaSenderList.page_async  s       yy'#%
 ))^-PQR.11diig 2 
 
 t}}hGG
s   A"B$B
%&Bc                 $   t        j                  |||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||      \  }}}t        | j                  || j                        }	t        |	||      S )	a]  
        Retrieve a single page with response metadata


        :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 AlphaSenderPage, status code, and headers
        r   r   r   r   r   r   r   rw   )r   rn   r.   page_with_response_inforg   r   r%   r   
r'   r   r   r   rx   rm   r   ry   response_headersr   s
             r)   r   z#AlphaSenderList.page_with_http_info  s      yy'#%
 ))^-PQR.26--2W2Wdiig 3X 3
/+/ t}}hG+GWXXr*   c                 @  K   t        j                  |||d      }t        j                  ddi      }d|d<   | j                  j                  d| j                  ||       d{   \  }}}t        | j                  || j                        }	t        |	||	      S 7 7w)
al  
        Asynchronously retrieve a single page with response metadata


        :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 AlphaSenderPage, status code, and headers
        r   r   r   r   r   r   r   Nrw   )r   rn   r.   page_with_response_info_asyncrg   r   r%   r   r   s
             r)   r   z)AlphaSenderList.page_with_http_info_async!  s       yy'#%
 ))^-PQR. --==$))D' >   	0+/
 t}}hG+GWXXs   A"B$B%8B
target_urlc                     | j                   j                  j                  j                  d|      }t	        | j                   || j
                        S )z
        Retrieve a specific page of AlphaSenderInstance records from the API.
        Request is executed immediately

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

        :returns: Page of AlphaSenderInstance
        r   )r.   domaintwiliorequestr   r%   r'   r   r   s      r)   get_pagezAlphaSenderList.get_pageE  s=     ==''..66ujIt}}hGGr*   c                    K   | j                   j                  j                  j                  d|       d{   }t	        | j                   || j
                        S 7 %w)a
  
        Asynchronously retrieve a specific page of AlphaSenderInstance records from the API.
        Request is executed immediately

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

        :returns: Page of AlphaSenderInstance
        r   N)r.   r   r   request_asyncr   r%   r   s      r)   get_page_asynczAlphaSenderList.get_page_asyncQ  sJ      --44BB5*UUt}}hGG Vs   4AA&Ar   c                 L    t        | j                  | j                  d   |      S zt
        Constructs a AlphaSenderContext

        :param sid: The SID of the AlphaSender resource to fetch.
        r   r    r-   r.   r%   r'   r   s     r)   r#   zAlphaSenderList.get]  %     "MMt~~m'D#
 	
r*   c                 L    t        | j                  | j                  d   |      S r   r   r   s     r)   __call__zAlphaSenderList.__call__g  r   r*   c                      y)rG   z%<Twilio.Messaging.V1.AlphaSenderList>re   r/   s    r)   rY   zAlphaSenderList.__repr__q  r   r*   )NN),rZ   r[   r\   r   r^   r"   r   r   r   r   r   r   r   r   r   r   intr	   r   r
   r   r   r   r   r   r   r   r   r   unsetr   objectr   r   r   r   r   r   r   r-   r#   r   rY   ra   rb   s   @r)   r   r   z  s3   T Tc T 
C 
E 
.
3 
+> 
T# T+ T
 
 
.
s 
7J 
Tc Tk T$  $#';}; C=; 
%	&	;6  $#'A}A C=A 
*	+	A6  $#'M}M C=M 
	M4  $#'M}M C=M 
	M8  $#'
}
 C=
 
!	"	
8  $#'
}
 C=
 
!	"	
:  $#'Q}Q C=Q 
	Q6  $#'Q}Q C=Q 
	Q6 *0*0,,(.	H#v+&H 3;'H f%	H
 
HF *0*0,,(.	H#v+&H 3;'H f%	H
 
HF *0*0,,(.	 Y#v+& Y 3;' Y f%	 Y
 
 YH *0*0,,(.	"Y#v+&"Y 3;'"Y f%	"Y
 
"YH
H3 
H? 
H
Hs 
H 
H
s 
1 

C 
$6 
7# 7r*   r   N)r]   r   typingr   r   r   r   r   r	   r
   twilio.baser   r   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   re   r*   r)   <module>r     sj     L L L + 0 8 : 2 ' !GN* GNT~M ~MB7d 7*}7l }7r*   