
    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 - Flex
    This is the public Twilio REST API.

    NOTE: This class is auto generated by OpenAPI Generator.
    https://openapi-generator.tech
    Do not edit the class manually.
    )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e   f fdZ	e
d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 )PluginReleaseInstancea5  
    :ivar sid: The unique string that we created to identify the Plugin Release resource.
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Plugin Release resource and owns this resource.
    :ivar configuration_sid: The SID of the Plugin Configuration resource to release.
    :ivar date_created: The date and time in GMT when the Flex Plugin Release was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    :ivar url: The absolute URL of the Plugin Release resource.
    versionpayloadsidc                 b   t         |   |       |j                  d      | _        |j                  d      | _        |j                  d      | _        t        j                  |j                  d            | _        |j                  d      | _	        d|xs | j                  i| _
        d | _        y )Nr   account_sidconfiguration_siddate_createdurl)super__init__getr   r   r   r   iso8601_datetimer   r   	_solution_context)selfr   r   r   	__class__s       d/home/sas/my/fyp/ringai/.venv/lib/python3.12/site-packages/twilio/rest/flex_api/v1/plugin_release.pyr   zPluginReleaseInstance.__init__#   s     	!")++e"4*1++m*D07<O0P0;0L0LKK'1
 #*++e"4 3?$((
 9=    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: PluginReleaseContext for this PluginReleaseInstance
        r   r   )r"   PluginReleaseContext_versionr!   r#   s    r%   _proxyzPluginReleaseInstance._proxy5   s9     == 0NN5)DM }}r&   flex_metadatac                 :    | j                   j                  |      S )
        Fetch the PluginReleaseInstance

        :param flex_metadata: The Flex-Metadata HTTP request header

        :returns: The fetched PluginReleaseInstance
        r.   )r-   fetchr#   r.   s     r%   r2   zPluginReleaseInstance.fetchD   s#     {{  ' ! 
 	
r&   c                 V   K   | j                   j                  |       d{   S 7 w)
        Asynchronous coroutine to fetch the PluginReleaseInstance

        :param flex_metadata: The Flex-Metadata HTTP request header

        :returns: The fetched PluginReleaseInstance
        r1   N)r-   fetch_asyncr3   s     r%   r6   z!PluginReleaseInstance.fetch_asyncR   s1      [[,,' - 
 
 	
 
    )')c                 :    | j                   j                  |      S )z
        Fetch the PluginReleaseInstance with HTTP info

        :param flex_metadata: The Flex-Metadata HTTP request header

        :returns: ApiResponse with instance, status code, and headers
        r1   )r-   fetch_with_http_infor3   s     r%   r9   z*PluginReleaseInstance.fetch_with_http_info`   s#     {{//' 0 
 	
r&   c                 V   K   | j                   j                  |       d{   S 7 w)z
        Asynchronous coroutine to fetch the PluginReleaseInstance with HTTP info

        :param flex_metadata: The Flex-Metadata HTTP request header

        :returns: ApiResponse with instance, status code, and headers
        r1   N)r-   fetch_with_http_info_asyncr3   s     r%   r;   z0PluginReleaseInstance.fetch_with_http_info_asyncn   s1      [[;;' < 
 
 	
 
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>z1PluginReleaseInstance.__repr__.<locals>.<genexpr>        SDAq7>>!Q/S   !z,<Twilio.FlexApi.V1.PluginReleaseInstance {}>joinr!   itemsrB   r#   contexts     r%   __repr__zPluginReleaseInstance.__repr__|   s6     ((SDNN<P<P<RSS=DDWMMr&   )N)r'   r*   )__name__
__module____qualname____doc__r   r   strr   r   r   propertyr-   r   unsetr   objectr2   r6   r   r9   r;   rO   __classcell__r$   s   @r%   r   r      s     OS==)-c3h=>Fsm=$   39,,
"3;/
	 
 39,,
"3;/
	 
 39,,
"3;/
	
 39,,
"3;/
	
N# Nr&   r   c                   `    e Zd Zdedef 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   c                 x    t         |   |       d|i| _         dj                  di | j                  | _        y)z
        Initialize the PluginReleaseContext

        :param version: Version that contains the resource
        :param sid: The SID of the Flex Plugin Release resource to fetch.
        r   z/PluginService/Releases/{sid}N )r   r   r!   rB   _uri)r#   r   r   r$   s      r%   r   zPluginReleaseContext.__init__   s@     	! 3
 ;3::LT^^L	r&   r.   r'   c                     t        j                  i       }|t         j                  u st        |t              r|r||d<   d|d<   | j
                  j                  d| j                  |      S )zz
        Internal helper for fetch operation

        Returns:
            tuple: (payload, status_code, headers)
        Flex-Metadataapplication/jsonAcceptGETmethoduriheaders)r   ofrV   
isinstancerT   r+   fetch_with_response_infor]   r#   r.   rf   s      r%   _fetchzPluginReleaseContext._fetch   sf     ))B- V\\)=#.}'4GO$.}}55dii 6 
 	
r&   c                 x    | j                  |      \  }}}t        | j                  || j                  d         S )r0   r1   r   r)   )rk   r   r+   r!   r#   r.   r   _s       r%   r2   zPluginReleaseContext.fetch   s=     -@A$MMu%
 	
r&   c                     | j                  |      \  }}}t        | j                  || j                  d         }t	        |||      S )z
        Fetch the PluginReleaseInstance and return response metadata

        :param flex_metadata: The Flex-Metadata HTTP request header

        :returns: ApiResponse with instance, status code, and headers
        r1   r   r)   datastatus_coderf   )rk   r   r+   r!   r   r#   r.   r   rr   rf   instances         r%   r9   z)PluginReleaseContext.fetch_with_http_info   sL     )--(P%g(MMu%

 k7SSr&   c                    K   t        j                  i       }|t         j                  u st        |t              r|r||d<   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`   ra   rb   rc   N)r   rg   rV   rh   rT   r+   fetch_with_response_info_asyncr]   rj   s      r%   _fetch_asyncz!PluginReleaseContext._fetch_async   su      ))B- V\\)=#.}'4GO$.]]AAdii B 
 
 	
 
s   A/A81A62A8c                    K   | j                  |       d{   \  }}}t        | j                  || j                  d         S 7 -w)r5   r1   Nr   r)   )rw   r   r+   r!   rm   s       r%   r6   z PluginReleaseContext.fetch_async   sM      #//m/LLA$MMu%
 	
 Ms   AA.Ac                    K   | j                  |       d{   \  }}}t        | j                  || j                  d         }t	        |||      S 7 ;w)z
        Asynchronous coroutine to fetch the PluginReleaseInstance and return response metadata

        :param flex_metadata: The Flex-Metadata HTTP request header

        :returns: ApiResponse with instance, status code, and headers
        r1   Nr   r)   rp   )rw   r   r+   r!   r   rs   s         r%   r;   z/PluginReleaseContext.fetch_with_http_info_async   se      /3.?.?' /@ /
 )
%g )MM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@   rA   rC   s      r%   rG   z0PluginReleaseContext.__repr__.<locals>.<genexpr>  rH   rI   z+<Twilio.FlexApi.V1.PluginReleaseContext {}>rJ   rM   s     r%   rO   zPluginReleaseContext.__repr__  s6     ((SDNN<P<P<RSS<CCGLLr&   )rP   rQ   rR   r   rT   r   r   rV   r   rW   tuplerk   r   r2   r   r9   rw   r6   r;   rO   rX   rY   s   @r%   r*   r*      s   M Mc M :@ 
E#v+$6 
% 
. 39,,
"3;/
	
$ 39,,T"3;/T	T& 39,,
"3;/
	
2 39,,
"3;/
	
$ 39,,T"3;/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)PluginReleasePager   r'   c                 .    t        | j                  |      S )zs
        Build an instance of PluginReleaseInstance

        :param payload: Payload response from the API
        )r   r+   )r#   r   s     r%   get_instancezPluginReleasePage.get_instance  s     %T]]G<<r&   c                      y)r=   z%<Twilio.FlexApi.V1.PluginReleasePage>r\   r,   s    r%   rO   zPluginReleasePage.__repr__!       7r&   N)	rP   rQ   rR   r   rT   r   r   r   rO   r\   r&   r%   r~   r~     s*    =DcN =7L =7# 7r&   r~   c                       e Zd Zdef fdZej                  fdedeee	f   de
fdZej                  fdedeee	f   defdZej                  fdedeee	f   defdZej                  fdedeee	f   de
fd	Zej                  fdedeee	f   defd
Zej                  fdedeee	f   defdZej                  ddfdeee	f   dee   dee   dee   fdZej                  ddfdeee	f   dee   dee   dee   fdZej                  ddfdeee	f   dee   dee   de
fdZej                  ddfdeee	f   dee   dee   de
fdZej                  ddfdeee	f   dee   dee   dee   fdZej                  ddfdeee	f   dee   dee   dee   fdZej                  ddfdeee	f   dee   dee   defdZej                  ddfdeee	f   dee   dee   defdZej                  ej                  ej                  ej                  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j                  ej                  ej                  ej                  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j                  ej                  ej                  ej                  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j                  ej                  ej                  ej                  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$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 )$PluginReleaseListr   c                 2    t         |   |       d| _        y)zo
        Initialize the PluginReleaseList

        :param version: Version that contains the resource

        z/PluginService/ReleasesN)r   r   r]   )r#   r   r$   s     r%   r   zPluginReleaseList.__init__,  s     	!-	r&   configuration_idr.   r'   c                     t        j                  d|i      }t        j                  |dd      }d|d<   d|d<   | j                  j                  d| j                  ||      S )	z{
        Internal helper for create operation

        Returns:
            tuple: (payload, status_code, headers)
        ConfigurationId!application/x-www-form-urlencodedr_   Content-Typer   r`   ra   POSTrd   re   rq   rf   )r   rg   r+   create_with_response_infor]   r#   r   r.   rq   rf   s        r%   _createzPluginReleaseList._create7  sx     yy!#3

 ))!. C
 #F.}}66tyytW 7 
 	
r&   c                 \    | j                  ||      \  }}}t        | j                  |      S )a  
        Create the PluginReleaseInstance

        :param configuration_id: The SID or the Version of the Flex Plugin Configuration to release.
        :param flex_metadata: The Flex-Metadata HTTP request header

        :returns: The created PluginReleaseInstance
        r   r.   )r   r   r+   r#   r   r.   r   rn   s        r%   createzPluginReleaseList.createU  s5     -] % 
A %T]]G<<r&   c                 x    | j                  ||      \  }}}t        | j                  |      }t        |||      S )a@  
        Create the PluginReleaseInstance and return response metadata

        :param configuration_id: The SID or the Version of the Flex Plugin Configuration to release.
        :param flex_metadata: The Flex-Metadata HTTP request header

        :returns: ApiResponse with instance, status code, and headers
        r   rp   )r   r   r+   r   r#   r   r.   r   rr   rf   rt   s          r%   create_with_http_infoz'PluginReleaseList.create_with_http_infoe  sD     )--] )5 )
%g )@k7SSr&   c                    K   t        j                  d|i      }t        j                  |dd      }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`   ra   r   r   N)r   rg   r+   create_with_response_info_asyncr]   r   s        r%   _create_asynczPluginReleaseList._create_asyncv  s      yy!#3

 ))!. C
 #F.]]BBtyytW C 
 
 	
 
s   A&A/(A-)A/c                 x   K   | j                  ||       d{   \  }}}t        | j                  |      S 7 w)a   
        Asynchronously create the PluginReleaseInstance

        :param configuration_id: The SID or the Version of the Flex Plugin Configuration to release.
        :param flex_metadata: The Flex-Metadata HTTP request header

        :returns: The created PluginReleaseInstance
        r   N)r   r   r+   r   s        r%   create_asynczPluginReleaseList.create_async  sE      #00-] 1 
 
A %T]]G<<
s   :8:c                    K   | j                  ||       d{   \  }}}t        | j                  |      }t        |||      S 7 ,w)aO  
        Asynchronously create the PluginReleaseInstance and return response metadata

        :param configuration_id: The SID or the Version of the Flex Plugin Configuration to release.
        :param flex_metadata: The Flex-Metadata HTTP request header

        :returns: ApiResponse with instance, status code, and headers
        r   Nrp   )r   r   r+   r   r   s          r%   create_with_http_info_asyncz-PluginReleaseList.create_with_http_info_async  sU      /3.@.@-] /A /
 )
%g )@k7SS	)
s   AA-ANlimit	page_sizec                     | j                   j                  ||      }| j                  ||d         }| j                   j                  ||d         S )a  
        Streams PluginReleaseInstance 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 flex_metadata: The Flex-Metadata HTTP request header
        :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PluginReleaseList.stream  sL    , **5)<yy}{@SyT}}##D&/::r&   c                    K   | j                   j                  ||      }| j                  ||d          d{   }| j                   j                  ||d         S 7 #w)a  
        Asynchronously streams PluginReleaseInstance 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 flex_metadata: The Flex-Metadata HTTP request header
        :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PluginReleaseList.stream_async  sb     , **5)<__'6+3F % 
 
 }}))$w@@	
s   6AA$Ac                     | j                   j                  ||      }| j                  ||d         }| j                   j                  |j                  |d         }||j
                  |j                  fS )a  
        Streams PluginReleaseInstance and returns headers from first page


        :param str flex_metadata: The Flex-Metadata HTTP request header
        :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   rq   rr   rf   r#   r.   r   r   r   page_response	generators          r%   stream_with_http_infoz'PluginReleaseList.stream_with_http_info  st    ( **5)<00'6+3F 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 PluginReleaseInstance and returns headers from first page


        :param str flex_metadata: The Flex-Metadata HTTP request header
        :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   rq   rr   rf   r   s          r%   stream_with_http_info_asyncz-PluginReleaseList.stream_with_http_info_async	  s     ( **5)<"<<'6+3F = 
 
 MM..}/A/A6'?S	=44m6K6KLL
s   6BA?ABc                 <    t        | j                  |||            S )aH  
        Lists PluginReleaseInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str flex_metadata: The Flex-Metadata HTTP request header
        :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PluginReleaseList.list%  s+    * KK+#  
 	
r&   c                 |   K   | j                  |||       d{   2 cg c3 d{   }|7 7 	6 c}S c c}w w)aW  
        Asynchronously lists PluginReleaseInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str flex_metadata: The Flex-Metadata HTTP request header
        :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PluginReleaseList.list_asyncB  sW     . '+&7&7+# '8 ' !
 
 !
 
 	
 
s0   </<731
37<37<c                 d    | j                  |||      \  }}}t        |      }t        |||      S )a  
        Lists PluginReleaseInstance and returns headers from first page


        :param str flex_metadata: The Flex-Metadata HTTP request header
        :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   rp   )r   r   r   )r#   r.   r   r   r   rr   rf   rL   s           r%   list_with_http_infoz%PluginReleaseList.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 PluginReleaseInstance and returns headers from first page


        :param str flex_metadata: The Flex-Metadata HTTP request header
        :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   Nrp   )r   r   )	r#   r.   r   r   r   rr   rf   r   rL   s	            r%   list_with_http_info_asyncz+PluginReleaseList.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      }d|d<   | j                  j                  d| j                  ||      }t        | j                  |      S )a  
        Retrieve a single page of PluginReleaseInstance records from the API.
        Request is executed immediately

        :param flex_metadata: The Flex-Metadata HTTP request header
        :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 PluginReleaseInstance
        r_   	PageTokenr   PageSizer   r   r`   ra   rb   rd   re   paramsrf   )r   rg   r+   r   r]   r~   r#   r.   r   r   r   rq   rf   responses           r%   r   zPluginReleaseList.page  s    $ yy!.'#%	
 ))!. C
 /==%%diig & 
 !99r&   c                 
  K   t        j                  ||||d      }t        j                  |dd      }d|d<   | j                  j                  d| j                  ||       d{   }t        | j                  |      S 7 w)	a  
        Asynchronously retrieve a single page of PluginReleaseInstance records from the API.
        Request is executed immediately

        :param flex_metadata: The Flex-Metadata HTTP request header
        :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 PluginReleaseInstance
        r   r   r   r`   ra   rb   r   N)r   rg   r+   r   r]   r~   r   s           r%   r   zPluginReleaseList.page_async  s     $ yy!.'#%	
 ))!. C
 /11diig 2 
 
 !99
s   A$B&B'Bc                    t        j                  ||||d      }t        j                  |dd      }d|d<   | j                  j                  d| j                  ||      \  }}}	t        | j                  |      }
t        |
||	      S )	a  
        Retrieve a single page with response metadata


        :param flex_metadata: The Flex-Metadata HTTP request header
        :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 PluginReleasePage, status code, and headers
        r   r   r   r`   ra   rb   r   rp   )r   rg   r+   page_with_response_infor]   r~   r   r#   r.   r   r   r   rq   rf   r   rr   response_headersr   s              r%   r   z%PluginReleaseList.page_with_http_info  s    $ yy!.'#%	
 ))!. C
 /26--2W2Wdiig 3X 3
/+/ !9+GWXXr&   c                 .  K   t        j                  ||||d      }t        j                  |dd      }d|d<   | j                  j                  d| j                  ||       d{   \  }}}	t        | j                  |      }
t        |
||		      S 7 ,w)
a  
        Asynchronously retrieve a single page with response metadata


        :param flex_metadata: The Flex-Metadata HTTP request header
        :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 PluginReleasePage, status code, and headers
        r   r   r   r`   ra   rb   r   Nrp   )r   rg   r+   page_with_response_info_asyncr]   r~   r   r   s              r%   r   z+PluginReleaseList.page_with_http_info_async  s     $ yy!.'#%	
 ))!. C
 / --==$))D' >   	0+/
 !9+GWXXs   A$B&B'-B
target_urlc                     | j                   j                  j                  j                  d|      }t	        | j                   |      S )z
        Retrieve a specific page of PluginReleaseInstance records from the API.
        Request is executed immediately

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

        :returns: Page of PluginReleaseInstance
        rb   )r+   domaintwiliorequestr~   r#   r   r   s      r%   get_pagezPluginReleaseList.get_page@  s7     ==''..66ujI 99r&   c                    K   | j                   j                  j                  j                  d|       d{   }t	        | j                   |      S 7 w)a  
        Asynchronously retrieve a specific page of PluginReleaseInstance records from the API.
        Request is executed immediately

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

        :returns: Page of PluginReleaseInstance
        rb   N)r+   r   r   request_asyncr~   r   s      r%   get_page_asyncz PluginReleaseList.get_page_asyncL  sD      --44BB5*UU 99 Vs   4AAAr   c                 0    t        | j                  |      S z~
        Constructs a PluginReleaseContext

        :param sid: The SID of the Flex Plugin Release resource to fetch.
        r)   r*   r+   r#   r   s     r%   r   zPluginReleaseList.getX       $DMMs;;r&   c                 0    t        | j                  |      S r   r   r   s     r%   __call__zPluginReleaseList.__call__`  r   r&   c                      y)r=   z%<Twilio.FlexApi.V1.PluginReleaseList>r\   r,   s    r%   rO   zPluginReleaseList.__repr__h  r   r&   ),rP   rQ   rR   r   r   r   rV   rT   r   rW   r|   r   r   r   r   r   r   r   r   r   intr	   r   r
   r   r   r   r   r   r   r   r   r~   r   r   r   r   r   r   r*   r   r   rO   rX   rY   s   @r%   r   r   *  s   	. 	. JP
 #
49#v+4F
	
> JP= #=49#v+4F=	=" JPT #T49#v+4FT	T$ JP
 #
49#v+4F
	
> JP= #=49#v+4F=	=" JPT #T49#v+4FT	T& -3LL##'	;S&[); }; C=	;
 
'	(;: -3LL##'	AS&[)A }A C=	A
 
,	-A> -3LL##'	MS&[)M }M C=	M
 
M< -3LL##'	MS&[)M }M C=	M
 
M< -3LL##'	
S&[)
 }
 C=	

 
#	$
> -3LL##'	
S&[)
 }
 C=	

 
#	$
@ -3LL##'	QS&[)Q }Q C=	Q
 
Q< -3LL##'	QS&[)Q }Q C=	Q
 
Q< -3LL)/*0,,(.':S&[)': #v+&': 3;'	':
 f%': 
':V -3LL)/*0,,(.':S&[)': #v+&': 3;'	':
 f%': 
':V -3LL)/*0,,(.(YS&[)(Y #v+&(Y 3;'	(Y
 f%(Y 
(YX -3LL)/*0,,(.*YS&[)*Y #v+&*Y 3;'	*Y
 f%*Y 
*YX
:3 
:+< 
:
:s 
:7H 
:<s <3 <<C <$8 <7# 7r&   r   N)rS   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   r\   r&   r%   <module>r      sj     L L L + 0 8 : 2 ' !iN, iNXNM? NMb7 7&D	7 D	7r&   