
    d{ij~                         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 - Api
    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ej.                  fdeeef   dd fdZej.                  fdeeef   dd fdZej.                  fdeeef   defdZej.                  fdeeef   defdZdefdZ xZS )SigningKeyInstancez]
    :ivar sid:
    :ivar friendly_name:
    :ivar date_created:
    :ivar date_updated:
    versionpayloadaccount_sidsidc                 ^   t         |   |       |j                  d      | _        |j                  d      | _        t        j                  |j                  d            | _        t        j                  |j                  d            | _        ||xs | j                  d| _	        d | _
        y )Nr   friendly_namedate_createddate_updatedr   r   )super__init__getr   r   r   rfc2822_datetimer   r   	_solution_context)selfr   r   r   r   	__class__s        g/home/sas/my/fyp/ringai/.venv/lib/python3.12/site-packages/twilio/rest/api/v2010/account/signing_key.pyr   zSigningKeyInstance.__init__"   s     	!")++e"4,3KK,H0;0L0LKK'1
 1<0L0LKK'1

 '?$((
 6:    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: SigningKeyContext for this SigningKeyInstance
        r   r   r   )r#   SigningKeyContext_versionr"   r$   s    r&   _proxyzSigningKeyInstance._proxy:   sE     == - NN=9NN5)DM
 }}r'   c                 6    | j                   j                         S zm
        Deletes the SigningKeyInstance


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


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


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


        :returns: ApiResponse with success boolean, status code, and headers
        N)r-   delete_with_http_info_asyncr,   s    r&   r8   z.SigningKeyInstance.delete_with_http_info_asynce   s!      [[<<>>>>r4   c                 6    | j                   j                         S )a
        Fetch the SigningKeyInstance


        :returns: The fetched SigningKeyInstance
        )r-   fetchr,   s    r&   r;   zSigningKeyInstance.fetchn   s     {{  ""r'   c                 R   K   | j                   j                          d{   S 7 w){
        Asynchronous coroutine to fetch the SigningKeyInstance


        :returns: The fetched SigningKeyInstance
        N)r-   fetch_asyncr,   s    r&   r>   zSigningKeyInstance.fetch_asyncw   s!      [[,,....r4   c                 6    | j                   j                         S )z
        Fetch the SigningKeyInstance with HTTP info


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


        :returns: ApiResponse with instance, status code, and headers
        N)r-   fetch_with_http_info_asyncr,   s    r&   rB   z-SigningKeyInstance.fetch_with_http_info_async   s!      [[;;====r4   r   c                 :    | j                   j                  |      S )
        Update the SigningKeyInstance

        :param friendly_name:

        :returns: The updated SigningKeyInstance
        r   )r-   updater$   r   s     r&   rF   zSigningKeyInstance.update   s#     {{!!' " 
 	
r'   c                 V   K   | j                   j                  |       d{   S 7 w)
        Asynchronous coroutine to update the SigningKeyInstance

        :param friendly_name:

        :returns: The updated SigningKeyInstance
        rE   N)r-   update_asyncrG   s     r&   rJ   zSigningKeyInstance.update_async   s1      [[--' . 
 
 	
 
    )')c                 :    | j                   j                  |      S )z
        Update the SigningKeyInstance with HTTP info

        :param friendly_name:

        :returns: ApiResponse with instance, status code, and headers
        rE   )r-   update_with_http_inforG   s     r&   rM   z(SigningKeyInstance.update_with_http_info   s#     {{00' 1 
 	
r'   c                 V   K   | j                   j                  |       d{   S 7 w)z
        Asynchronous coroutine to update the SigningKeyInstance with HTTP info

        :param friendly_name:

        :returns: ApiResponse with instance, status code, and headers
        rE   N)r-   update_with_http_info_asyncrG   s     r&   rO   z.SigningKeyInstance.update_with_http_info_async   s1      [[<<' = 
 
 	
 
rK   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.SigningKeyInstance.__repr__.<locals>.<genexpr>        SDAq7>>!Q/S   !z(<Twilio.Api.V2010.SigningKeyInstance {}>joinr"   itemsrV   r$   contexts     r&   __repr__zSigningKeyInstance.__repr__   s6     ((SDNN<P<P<RSS9@@IIr'   )N)r(   r*   )r(   r   ) __name__
__module____qualname____doc__r   r   strr   r   r   propertyr-   boolr0   r3   r   r6   r8   r;   r>   r@   rB   r   unsetr   objectrF   rJ   rM   rO   rc   __classcell__r%   s   @r&   r   r      sT    ":: c3h: 	:
 c]:0  $ $0D 03{ 3?; ?#/2k 2>+ > 39,,
"3;/
	
 39,,
"3;/
	
 39,,
"3;/
	
 39,,
"3;/
	
J# J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ej.                  fdeeef   defdZej.                  fdeeef   defdZej.                  fdeeef   de
fdZej.                  fdeeef   defdZej.                  fdeeef   defdZej.                  fdeeef   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)z
        Initialize the SigningKeyContext

        :param version: Version that contains the resource
        :param account_sid:
        :param sid:
        r   z./Accounts/{account_sid}/SigningKeys/{sid}.jsonN r   r   r"   rV   _uri)r$   r   r   r   r%   s       r&   r   zSigningKeyContext.__init__   sG     	! '
 LDKK 
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_infors   r$   ry   s     r&   _deletezSigningKeyContext._delete   s8     ))B-}}66G 7 
 	
r'   c                 .    | j                         \  }}}|S r/   )r}   r$   success_s      r&   r0   zSigningKeyContext.delete   s     Ar'   c                 F    | j                         \  }}}t        |||      S )z
        Deletes the SigningKeyInstance and return response metadata


        :returns: ApiResponse with success boolean, status code, and headers
        datastatus_codery   )r}   r   r$   r   r   ry   s       r&   r6   z'SigningKeyContext.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)
        ru   rv   N)r   rz   r+   delete_with_response_info_asyncrs   r|   s     r&   _delete_asynczSigningKeyContext._delete_async  sG      ))B-]]BBG C 
 
 	
 
s   AA
AA
c                 J   K   | j                          d{   \  }}}|S 7 
wr2   )r   r   s      r&   r3   zSigningKeyContext.delete_async  s)      #0022A 3s   #!#c                 b   K   | j                          d{   \  }}}t        |||      S 7 w)z
        Asynchronous coroutine that deletes the SigningKeyInstance and return response metadata


        :returns: ApiResponse with success boolean, status code, and headers
        Nr   )r   r   r   s       r&   r8   z-SigningKeyContext.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GETrv   )r   rz   r+   fetch_with_response_infors   r|   s     r&   _fetchzSigningKeyContext._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   r   s      r&   r;   zSigningKeyContext.fetch=  sD     A!MM}5u%	
 	
r'   c                     | j                         \  }}}t        | j                  || j                  d   | j                  d         }t	        |||      S )z
        Fetch the SigningKeyInstance and return response metadata


        :returns: ApiResponse with instance, status code, and headers
        r   r   r   r   )r   r   r+   r"   r   r$   r   r   ry   instances        r&   r@   z&SigningKeyContext.fetch_with_http_infoL  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   rv   N)r   rz   r+   fetch_with_response_info_asyncrs   r|   s     r&   _fetch_asynczSigningKeyContext._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&   r>   zSigningKeyContext.fetch_asyncl  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 SigningKeyInstance and return response metadata


        :returns: ApiResponse with instance, status code, and headers
        Nr   r   r   r   )r   r   r+   r"   r   r   s        r&   rB   z,SigningKeyContext.fetch_with_http_info_async{  sc      /3.?.?.A(A%g%MM}5u%	
 k7SS )Bs   A"A A
A"r   c                     t        j                  d|i      }t        j                  i       }d|d<   d|d<   | j                  j                  d| j                  ||      S )z{
        Internal helper for update operation

        Returns:
            tuple: (payload, status_code, headers)
        FriendlyName!application/x-www-form-urlencodedContent-Typer   r   POSTrw   rx   r   ry   )r   rz   r+   update_with_response_infors   r$   r   r   ry   s       r&   _updatezSigningKeyContext._update  sh     yy

 ))B-"E.}}66tyytW 7 
 	
r'   c                     | j                  |      \  }}}t        | j                  || j                  d   | j                  d         S )rD   rE   r   r   r   )r   r   r+   r"   r$   r   r   r   s       r&   rF   zSigningKeyContext.update  sI     =AA!MM}5u%	
 	
r'   c                     | j                  |      \  }}}t        | j                  || j                  d   | j                  d         }t	        |||      S )z
        Update the SigningKeyInstance and return response metadata

        :param friendly_name:

        :returns: ApiResponse with instance, status code, and headers
        rE   r   r   r   r   )r   r   r+   r"   r   r$   r   r   r   ry   r   s         r&   rM   z'SigningKeyContext.update_with_http_info  sX     )-=(Q%g%MM}5u%	
 k7SSr'   c                    K   t        j                  d|i      }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)
        r   r   r   r   r   r   r   N)r   rz   r+   update_with_response_info_asyncrs   r   s       r&   _update_asynczSigningKeyContext._update_async  sw      yy

 ))B-"E.]]BBtyytW C 
 
 	
 
s   A#A,%A*&A,c                    K   | j                  |       d{   \  }}}t        | j                  || j                  d   | j                  d         S 7 ;w)rI   rE   Nr   r   r   )r   r   r+   r"   r   s       r&   rJ   zSigningKeyContext.update_async  sY      #00}0MMA!MM}5u%	
 	
 Ns   AA<Ac                    K   | j                  |       d{   \  }}}t        | j                  || j                  d   | j                  d         }t	        |||      S 7 Iw)z
        Asynchronous coroutine to update the SigningKeyInstance and return response metadata

        :param friendly_name:

        :returns: ApiResponse with instance, status code, and headers
        rE   Nr   r   r   r   )r   r   r+   r"   r   r   s         r&   rO   z-SigningKeyContext.update_with_http_info_async  sq      /3.@.@' /A /
 )
%g &MM}5u%	
 k7SS)
s   A$A"A
A$c                     dj                  d | j                  j                         D              }dj                  |      S )rQ   rR   c              3   F   K   | ]  \  }}d j                  ||        ywrT   rU   rW   s      r&   r[   z-SigningKeyContext.__repr__.<locals>.<genexpr>  r\   r]   z'<Twilio.Api.V2010.SigningKeyContext {}>r^   ra   s     r&   rc   zSigningKeyContext.__repr__  s6     ((SDNN<P<P<RSS8??HHr'   )"rd   re   rf   r   rh   r   tupler}   rj   r0   r   r6   r   r3   r8   r   r   r;   r@   r   r>   rB   r   rk   r   rl   r   rF   rM   r   rJ   rO   rc   rm   rn   s   @r&   r*   r*      s   
 
c 
 
&
 
 S{ S
U 
D S; S
 
 
) 
Tk T 
E 
 
#5 
T+ T  ;A,, 
U3;%7 
5 
0 39,,
"3;/
	
& 39,,T"3;/T	T( 39,,
"3;/
	
4 39,,
"3;/
	
& 39,,T"3;/T	T*I# Ir'   r*   c                   2    e Zd Zdeeef   defdZdefdZy)SigningKeyPager   r(   c                 L    t        | j                  || j                  d         S )zp
        Build an instance of SigningKeyInstance

        :param payload: Payload response from the API
        r   )r   )r   r+   r"   )r$   r   s     r&   get_instancezSigningKeyPage.get_instance  s%     "MM7}0M
 	
r'   c                      y)rQ   z!<Twilio.Api.V2010.SigningKeyPage>rq   r,   s    r&   rc   zSigningKeyPage.__repr__       3r'   N)	rd   re   rf   r   rh   r   r   r   rc   rq   r'   r&   r   r     s*    
DcN 
7I 
3# 3r'   r   c            	           e Zd Zdedef 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 )SigningKeyListr   r   c                 x    t         |   |       d|i| _         dj                  di | j                  | _        y)z
        Initialize the SigningKeyList

        :param version: Version that contains the resource
        :param account_sid:

        r   z(/Accounts/{account_sid}/SigningKeys.jsonNrq   rr   )r$   r   r   r%   s      r&   r   zSigningKeyList.__init__(  sA     	! ;
 F>EEWW	r'   limit	page_sizer(   c                     | j                   j                  ||      }| j                  |d         }| j                   j                  ||d         S )a`  
        Streams SigningKeyInstance 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SigningKeyList.stream8  sJ    ( **5)<yy6+#6y7}}##D&/::r'   c                    K   | j                   j                  ||      }| j                  |d          d{   }| j                   j                  ||d         S 7 #w)ao  
        Asynchronously streams SigningKeyInstance 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SigningKeyList.stream_asyncQ  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 SigningKeyInstance 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   r   r   ry   r$   r   r   r   page_response	generators         r&   stream_with_http_infoz$SigningKeyList.stream_with_http_infoj  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 SigningKeyInstance 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   r   r   ry   r   s         r&   stream_with_http_info_asyncz*SigningKeyList.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 SigningKeyInstance 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SigningKeyList.list  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 SigningKeyInstance 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SigningKeyList.list_async  sT     * '+&7&7# '8 ' !
 
 !
 
 	
 
s0   ;.;620
26;26;c                 b    | j                  ||      \  }}}t        |      }t        |||      S )a  
        Lists SigningKeyInstance 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   r   )r   r   r   )r$   r   r   r   r   ry   r`   s          r&   list_with_http_infoz"SigningKeyList.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 SigningKeyInstance 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   Nr   )r   r   )r$   r   r   r   r   ry   r   r`   s           r&   list_with_http_info_asyncz(SigningKeyList.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 )ay  
        Retrieve a single page of SigningKeyInstance 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 SigningKeyInstance
        	PageTokenr   PageSizer   r   r   r   r   rw   rx   paramsry   )r   rz   r+   r   rs   r   r"   r$   r   r   r   r   ry   responses          r&   r   zSigningKeyList.page  s      yy'#%
 ))^-PQR.==%%diig & 
 dmmXt~~FFr'   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 SigningKeyInstance 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 SigningKeyInstance
        r   r   r   r   r   r   r   N)r   rz   r+   r   rs   r   r"   r   s          r&   r   zSigningKeyList.page_async$  s       yy'#%
 ))^-PQR.11diig 2 
 
 dmmXt~~FF
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 SigningKeyPage, status code, and headers
        r   r   r   r   r   r   r   r   )r   rz   r+   page_with_response_infors   r   r"   r   
r$   r   r   r   r   ry   r   r   response_headersr   s
             r&   r   z"SigningKeyList.page_with_http_infoE  s      yy'#%
 ))^-PQR.26--2W2Wdiig 3X 3
/+/ dmmXt~~F+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)
ak  
        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 SigningKeyPage, status code, and headers
        r   r   r   r   r   r   r   Nr   )r   rz   r+   page_with_response_info_asyncrs   r   r"   r   r   s
             r&   r   z(SigningKeyList.page_with_http_info_asyncg  s       yy'#%
 ))^-PQR. --==$))D' >   	0+/
 dmmXt~~F+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 SigningKeyInstance records from the API.
        Request is executed immediately

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

        :returns: Page of SigningKeyInstance
        r   )r+   domaintwiliorequestr   r"   r$   r   r   s      r&   get_pagezSigningKeyList.get_page  s=     ==''..66ujIdmmXt~~FFr'   c                    K   | j                   j                  j                  j                  d|       d{   }t	        | j                   || j
                        S 7 %w)a  
        Asynchronously retrieve a specific page of SigningKeyInstance records from the API.
        Request is executed immediately

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

        :returns: Page of SigningKeyInstance
        r   N)r+   r   r   request_asyncr   r"   r   s      r&   get_page_asynczSigningKeyList.get_page_async  sJ      --44BB5*UUdmmXt~~FF Vs   4AA&Ar   c                 L    t        | j                  | j                  d   |      S zE
        Constructs a SigningKeyContext

        :param sid:
        r   r   r*   r+   r"   r$   r   s     r&   r    zSigningKeyList.get  %     !MMt~~m'D#
 	
r'   c                 L    t        | j                  | j                  d   |      S r   r   r   s     r&   __call__zSigningKeyList.__call__  r   r'   c                      y)rQ   z!<Twilio.Api.V2010.SigningKeyList>rq   r,   s    r&   rc   zSigningKeyList.__repr__  r   r'   )NN)&rd   re   rf   r   rh   r   r   intr	   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   rk   r   rl   r   r   r   r   r   r   r   r*   r    r   rc   rm   rn   s   @r&   r   r   &  s   X Xc X$  $#';}; 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,,(.	G#v+&G 3;'G f%	G
 
GF *0*0,,(.	G#v+&G 3;'G f%	G
 
GF *0*0,,(.	 Y#v+& Y 3;' Y f%	 Y
 
 YH *0*0,,(.	"Y#v+&"Y 3;'"Y f%	"Y
 
"YH
G3 
G> 
G
Gs 
G~ 
G
s 
0 

C 
$5 
3# 3r'   r   N)rg   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   rq   r'   r&   <module>r     sj     L L L + 0 8 : 2 ' !wJ) wJtzI zIz	3T 3*W3\ W3r'   