
    d{iz                         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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 - Serverless
    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	serialize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dee   f
 fdZ	e
d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 )DeploymentInstanceaJ  
    :ivar sid: The unique string that we created to identify the Deployment resource.
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Deployment resource.
    :ivar service_sid: The SID of the Service that the Deployment resource is associated with.
    :ivar environment_sid: The SID of the Environment for the Deployment.
    :ivar build_sid: The SID of the Build for the deployment.
    :ivar date_created: The date and time in GMT when the Deployment 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 Deployment resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    :ivar url: The absolute URL of the Deployment resource.
    versionpayloadservice_sidenvironment_sidsidc                    t         |   |       |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        t        j                  |j                  d            | _
        t        j                  |j                  d            | _        |j                  d      | _        |||xs | j                  d	| _        d | _        y )
Nr   account_sidr   r   	build_siddate_createddate_updatedurlr   r   r   )super__init__getr   r   r   r   r   r   iso8601_datetimer   r   r    	_solution_context)selfr   r   r   r   r   	__class__s         v/home/sas/my/fyp/ringai/.venv/lib/python3.12/site-packages/twilio/rest/serverless/v1/service/environment/deployment.pyr#   zDeploymentInstance.__init__&   s     	!")++e"4*1++m*D*1++m*D.5kk:K.L(/K(@0;0L0LKK'1
 1<0L0LKK'1
 #*++e"4 '.?$((

 6:    returnc                     | j                   Et        | j                  | j                  d   | 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: DeploymentContext for this DeploymentInstance
        r   r   r   r!   )r'   DeploymentContext_versionr&   r(   s    r*   _proxyzDeploymentInstance._proxyD   sR     == - NN=9 $/@ ANN5)	DM }}r+   c                 6    | j                   j                         S )a
        Fetch the DeploymentInstance


        :returns: The fetched DeploymentInstance
        )r1   fetchr0   s    r*   r4   zDeploymentInstance.fetchU   s     {{  ""r+   c                 R   K   | j                   j                          d{   S 7 w){
        Asynchronous coroutine to fetch the DeploymentInstance


        :returns: The fetched DeploymentInstance
        N)r1   fetch_asyncr0   s    r*   r7   zDeploymentInstance.fetch_async^   s!      [[,,....   '%'c                 6    | j                   j                         S )z
        Fetch the DeploymentInstance with HTTP info


        :returns: ApiResponse with instance, status code, and headers
        )r1   fetch_with_http_infor0   s    r*   r:   z'DeploymentInstance.fetch_with_http_infog   s     {{//11r+   c                 R   K   | j                   j                          d{   S 7 w)z
        Asynchronous coroutine to fetch the DeploymentInstance with HTTP info


        :returns: ApiResponse with instance, status code, and headers
        N)r1   fetch_with_http_info_asyncr0   s    r*   r<   z-DeploymentInstance.fetch_with_http_info_asyncp   s!      [[;;====r8   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.DeploymentInstance.__repr__.<locals>.<genexpr>        SDAq7>>!Q/S   !z,<Twilio.Serverless.V1.DeploymentInstance {}>joinr&   itemsrC   r(   contexts     r*   __repr__zDeploymentInstance.__repr__y   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#   propertyr1   r4   r7   r   r:   r<   rP   __classcell__r)   s   @r*   r   r      s    	" ":: c3h: 	:
 : c]:<   #/2k 2>+ >N# Nr+   r   c                        e Zd Zde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 xZS )r.   r   r   r   r   c                 |    t         |   |       |||d| _         dj                  di | j                  | _        y)ar  
        Initialize the DeploymentContext

        :param version: Version that contains the resource
        :param service_sid: The SID of the Service to fetch the Deployment resource from.
        :param environment_sid: The SID of the Environment used by the Deployment to fetch.
        :param sid: The SID that identifies the Deployment resource to fetch.
        r!   zH/Services/{service_sid}/Environments/{environment_sid}/Deployments/{sid}N r"   r#   r&   rC   _uri)r(   r   r   r   r   r)   s        r*   r#   zDeploymentContext.__init__   sJ     	! '.

 f^ee 
nn
	r+   r,   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GETmethoduriheaders)r   ofr/   fetch_with_response_infor]   r(   re   s     r*   _fetchzDeploymentContext._fetch   sB     ))B-.}}55dii 6 
 	
r+   c                     | j                         \  }}}t        | j                  || j                  d   | j                  d   | j                  d         S )r3   r   r   r   r!   )ri   r   r/   r&   r(   r   _s      r*   r4   zDeploymentContext.fetch   sQ     A!MM}5 NN+<=u%
 	
r+   c                     | j                         \  }}}t        | j                  || j                  d   | j                  d   | j                  d         }t	        |||      S )z
        Fetch the DeploymentInstance and return response metadata


        :returns: ApiResponse with instance, status code, and headers
        r   r   r   r!   datastatus_codere   )ri   r   r/   r&   r   r(   r   rp   re   instances        r*   r:   z&DeploymentContext.fetch_with_http_info   s`     )-%g%MM}5 NN+<=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`   ra   rb   N)r   rf   r/   fetch_with_response_info_asyncr]   rh   s     r*   _fetch_asynczDeploymentContext._fetch_async   sQ      ))B-.]]AAdii B 
 
 	
 
s   AAA	Ac                    K   | j                          d{   \  }}}t        | j                  || j                  d   | j                  d   | j                  d         S 7 Iw)r6   Nr   r   r   r!   )ru   r   r/   r&   rk   s      r*   r7   zDeploymentContext.fetch_async   s`      #//11A!MM}5 NN+<=u%
 	
 2s   A"A A
A"c                    K   | j                          d{   \  }}}t        | j                  || j                  d   | j                  d   | j                  d         }t	        |||      S 7 Ww)z
        Asynchronous coroutine to fetch the DeploymentInstance and return response metadata


        :returns: ApiResponse with instance, status code, and headers
        Nr   r   r   r!   rn   )ru   r   r/   r&   r   rq   s        r*   r<   z,DeploymentContext.fetch_with_http_info_async   sp      /3.?.?.A(A%g%MM}5 NN+<=u%
 k7SS )Bs   A0A.AA0c                     dj                  d | j                  j                         D              }dj                  |      S )r>   r?   c              3   F   K   | ]  \  }}d j                  ||        ywrA   rB   rD   s      r*   rH   z-DeploymentContext.__repr__.<locals>.<genexpr>  rI   rJ   z+<Twilio.Serverless.V1.DeploymentContext {}>rK   rN   s     r*   rP   zDeploymentContext.__repr__   s6     ((SDNN<P<P<RSS<CCGLLr+   )rQ   rR   rS   r   rU   r#   tupleri   r   r4   r   r:   ru   r7   r<   rP   rW   rX   s   @r*   r.   r.      s    

-0
CF
MP
.
 
 
) 
 Tk T"
E 
 
#5 
 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)DeploymentPager   r,   c                 h    t        | j                  || j                  d   | j                  d         S )zp
        Build an instance of DeploymentInstance

        :param payload: Payload response from the API
        r   r   r   r   )r   r/   r&   )r(   r   s     r*   get_instancezDeploymentPage.get_instance
  s4     "MM}5 NN+<=	
 	
r+   c                      y)r>   z%<Twilio.Serverless.V1.DeploymentPage>r[   r0   s    r*   rP   zDeploymentPage.__repr__       7r+   N)	rQ   rR   rS   r   rU   r   r   r   rP   r[   r+   r*   r|   r|     s*    
DcN 
7I 
7# 7r+   r|   c            	           e Zd Zdededef fdZej                  ej                  fdeee	f   dee
e	f   defdZej                  ej                  fdeee	f   dee
e	f   defd	Zej                  ej                  fdeee	f   dee
e	f   defd
Zej                  ej                  fdeee	f   dee
e	f   defdZej                  ej                  fdeee	f   dee
e	f   defdZej                  ej                  fdeee	f   dee
e	f   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 )&DeploymentListr   r   r   c                 z    t         |   |       ||d| _         dj                  di | j                  | _        y)a+  
        Initialize the DeploymentList

        :param version: Version that contains the resource
        :param service_sid: The SID of the Service to read the Deployment resources from.
        :param environment_sid: The SID of the Environment used by the Deployment resources to read.

        r~   zB/Services/{service_sid}/Environments/{environment_sid}/DeploymentsNr[   r\   )r(   r   r   r   r)   s       r*   r#   zDeploymentList.__init__"  sJ     	! '.

 XPWW .. 		r+   r   	is_pluginr,   c                     t        j                  |t        j                  |      d      }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)
        BuildSidIsPluginContent-Type!application/x-www-form-urlencodedr_   r`   POSTrc   rd   ro   re   )r   rf   r   boolean_to_stringr/   create_with_response_infor]   r(   r   r   ro   re   s        r*   _createzDeploymentList._create8  s{     yy%%77	B
 ))^-PQR"E.}}66tyytW 7 
 	
r+   c                     | j                  ||      \  }}}t        | j                  || j                  d   | j                  d         S )z
        Create the DeploymentInstance

        :param build_sid: The SID of the Build for the Deployment.
        :param is_plugin: Whether the Deployment is a plugin.

        :returns: The created DeploymentInstance
        r   r   r   r   r~   )r   r   r/   r&   r(   r   r   r   rl   s        r*   createzDeploymentList.createT  sL     yINA!MM}5 NN+<=	
 	
r+   c                     | j                  ||      \  }}}t        | j                  || j                  d   | j                  d         }t	        |||      S )a  
        Create the DeploymentInstance and return response metadata

        :param build_sid: The SID of the Build for the Deployment.
        :param is_plugin: Whether the Deployment is a plugin.

        :returns: ApiResponse with instance, status code, and headers
        r   r   r   r~   rn   )r   r   r/   r&   r   r(   r   r   r   rp   re   rr   s          r*   create_with_http_infoz$DeploymentList.create_with_http_infoi  sc     )-9 )5 )
%g &MM}5 NN+<=	
 k7SSr+   c                   K   t        j                  |t        j                  |      d      }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   rf   r   r   r/   create_with_response_info_asyncr]   r   s        r*   _create_asynczDeploymentList._create_async  s      yy%%77	B
 ))^-PQR"E.]]BBtyytW C 
 
 	
 
s   A9B;B <Bc                    K   | j                  ||       d{   \  }}}t        | j                  || j                  d   | j                  d         S 7 ;w)z
        Asynchronously create the DeploymentInstance

        :param build_sid: The SID of the Build for the Deployment.
        :param is_plugin: Whether the Deployment is a plugin.

        :returns: The created DeploymentInstance
        r   Nr   r   r~   )r   r   r/   r&   r   s        r*   create_asynczDeploymentList.create_async  sd      #009 1 
 
A "MM}5 NN+<=	
 	

s   AA<Ac                    K   | j                  ||       d{   \  }}}t        | j                  || j                  d   | j                  d         }t	        |||      S 7 Iw)a$  
        Asynchronously create the DeploymentInstance and return response metadata

        :param build_sid: The SID of the Build for the Deployment.
        :param is_plugin: Whether the Deployment is a plugin.

        :returns: ApiResponse with instance, status code, and headers
        r   Nr   r   r~   rn   )r   r   r/   r&   r   r   s          r*   create_with_http_info_asyncz*DeploymentList.create_with_http_info_async  st      /3.@.@9 /A /
 )
%g &MM}5 NN+<=	
 k7SS)
s   A%A#A
A%limit	page_sizec                     | j                   j                  ||      }| j                  |d         }| j                   j                  ||d         S )a`  
        Streams DeploymentInstance 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DeploymentList.stream  sJ    ( **5)<yy6+#6y7}}##D&/::r+   c                    K   | j                   j                  ||      }| j                  |d          d{   }| j                   j                  ||d         S 7 #w)ao  
        Asynchronously streams DeploymentInstance 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DeploymentList.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 DeploymentInstance 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   ro   rp   re   r(   r   r   r   page_response	generators         r*   stream_with_http_infoz$DeploymentList.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 DeploymentInstance 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   ro   rp   re   r   s         r*   stream_with_http_info_asyncz*DeploymentList.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 DeploymentInstance 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DeploymentList.list0  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 DeploymentInstance 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DeploymentList.list_asyncJ  sT     * '+&7&7# '8 ' !
 
 !
 
 	
 
s0   ;.;620
26;26;c                 b    | j                  ||      \  }}}t        |      }t        |||      S )a  
        Lists DeploymentInstance 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   rn   )r   r   r   )r(   r   r   r   rp   re   rM   s          r*   list_with_http_infoz"DeploymentList.list_with_http_infoe  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 DeploymentInstance 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   Nrn   )r   r   )r(   r   r   r   rp   re   r   rM   s           r*   list_with_http_info_asyncz(DeploymentList.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 DeploymentInstance 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 DeploymentInstance
        	PageTokenr   PageSizer   r   r_   r`   ra   rc   rd   paramsre   )r   rf   r/   r   r]   r|   r&   r(   r   r   r   ro   re   responses          r*   r   zDeploymentList.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 DeploymentInstance 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 DeploymentInstance
        r   r   r   r_   r`   ra   r   N)r   rf   r/   r   r]   r|   r&   r   s          r*   r   zDeploymentList.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 DeploymentPage, status code, and headers
        r   r   r   r_   r`   ra   r   rn   )r   rf   r/   page_with_response_infor]   r|   r&   r   
r(   r   r   r   ro   re   r   rp   response_headersr   s
             r*   r   z"DeploymentList.page_with_http_info  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 DeploymentPage, status code, and headers
        r   r   r   r_   r`   ra   r   Nrn   )r   rf   r/   page_with_response_info_asyncr]   r|   r&   r   r   s
             r*   r   z(DeploymentList.page_with_http_info_async  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 DeploymentInstance records from the API.
        Request is executed immediately

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

        :returns: Page of DeploymentInstance
        ra   )r/   domaintwiliorequestr|   r&   r(   r   r   s      r*   get_pagezDeploymentList.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 DeploymentInstance records from the API.
        Request is executed immediately

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

        :returns: Page of DeploymentInstance
        ra   N)r/   r   r   request_asyncr|   r&   r   s      r*   get_page_asynczDeploymentList.get_page_async+  sJ      --44BB5*UUdmmXt~~FF Vs   4AA&Ar   c                 h    t        | j                  | j                  d   | j                  d   |      S z
        Constructs a DeploymentContext

        :param sid: The SID that identifies the Deployment resource to fetch.
        r   r   r!   r.   r/   r&   r(   r   s     r*   r$   zDeploymentList.get7  4     !MM}5 NN+<=	
 	
r+   c                 h    t        | j                  | j                  d   | j                  d   |      S r   r   r   s     r*   __call__zDeploymentList.__call__D  r   r+   c                      y)r>   z%<Twilio.Serverless.V1.DeploymentList>r[   r0   s    r*   rP   zDeploymentList.__repr__Q  r   r+   )NN)-rQ   rR   rS   r   rU   r#   r   unsetr   objectboolrz   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   rP   rW   rX   s   @r*   r   r      sW   
 
c 
C 
0 )/)/
f%
 v&
 
	
< )/)/
f%
 v&
 
	
. )/)/Tf%T v&T 
	T4 )/)/
f%
 v&
 
	
< )/)/
f%
 v&
 
	
2 )/)/Tf%T v&T 
	T4  $#';}; 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 
7# 7r+   r   N)rT   r   typingr   r   r   r   r   r	   r
   twilio.baser   r   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      sm     L L L 6 6 0 8 : 2 ' !fN) fNRBM BMJ7T 70w7\ w7r+   