Ë
    [üàg\t  ã                   óÐ   — d 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  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.
é    )ÚAnyÚDictÚListÚOptionalÚUnionÚIteratorÚAsyncIterator)Ú	serializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersion)ÚPagec                   óz  ‡ — 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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d fd„Zej                  fdeeef   dd fd„Zej                  ej                  ej                  ej                  fdedeeef   deeef   deeef   deee   ef   dd fd„Zej                  ej                  ej                  ej                  fdedeeef   deeef   deeef   deee   ef   dd fd„Zdefd„Zˆ xZS )ÚInsightsQuestionnairesInstanceaß  
    :ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource.
    :ivar questionnaire_sid: The sid of this questionnaire
    :ivar name: The name of this category.
    :ivar description: The description of this questionnaire
    :ivar active: The flag to enable or disable questionnaire
    :ivar questions: The list of questions with category for a questionnaire
    :ivar url:
    ÚversionÚpayloadÚquestionnaire_sidc                 ó”  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _	        d|xs | j                  i| _
        d | _        y )NÚaccount_sidr   ÚnameÚdescriptionÚactiveÚ	questionsÚurl)ÚsuperÚ__init__Úgetr   r   r   r   r   r   r   Ú	_solutionÚ_context)Úselfr   r   r   Ú	__class__s       €úm/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/flex_api/v1/insights_questionnaires.pyr   z'InsightsQuestionnairesInstance.__init__#   s­   ø€ ô 	‰Ñ˜Ô!à*1¯+©+°mÓ*DˆÔØ07·±Ð<OÓ0PˆÔØ#*§;¡;¨vÓ#6ˆŒ	Ø*1¯+©+°mÓ*DˆÔØ&-§k¡k°(Ó&;ˆŒØ<C¿K¹KÈÓ<TˆŒØ")§+¡+¨eÓ"4ˆŒð  Ð!2Ò!L°d×6LÑ6Lð
ˆŒð BFˆ�ó    Úreturnc                 ó„   — | j                   €)t        | j                  | j                  d   ¬«      | _         | j                   S )a  
        Generate an instance context for the instance, the context is capable of
        performing various actions. All instance actions are proxied to the context

        :returns: InsightsQuestionnairesContext for this InsightsQuestionnairesInstance
        r   ©r   )r!   ÚInsightsQuestionnairesContextÚ_versionr    ©r"   s    r$   Ú_proxyz%InsightsQuestionnairesInstance._proxy8   s:   € ð �=‰=Ð Ü9Ø—‘Ø"&§.¡.Ð1DÑ"EôˆDŒMð �}‰}Ðr%   Úauthorizationc                 ó:   — | j                   j                  |¬«      S )ú½
        Deletes the InsightsQuestionnairesInstance

        :param authorization: The Authorization HTTP request header

        :returns: True if delete succeeds, False otherwise
        ©r-   )r,   Údelete©r"   r-   s     r$   r1   z%InsightsQuestionnairesInstance.deleteG   s#   € ð �{‰{×!Ñ!Ø'ð "ó 
ð 	
r%   c              ƒ   óV   K  — | j                   j                  |¬«      ƒ d{  –—† S 7 Œ­w)úÙ
        Asynchronous coroutine that deletes the InsightsQuestionnairesInstance

        :param authorization: The Authorization HTTP request header

        :returns: True if delete succeeds, False otherwise
        r0   N)r,   Údelete_asyncr2   s     r$   r5   z+InsightsQuestionnairesInstance.delete_asyncS   s1   è ø€ ð —[‘[×-Ñ-Ø'ð .ó 
÷ 
ð 	
ð 
úó   ‚ )¢'£)c                 ó:   — | j                   j                  |¬«      S )ú½
        Fetch the InsightsQuestionnairesInstance

        :param authorization: The Authorization HTTP request header

        :returns: The fetched InsightsQuestionnairesInstance
        r0   )r,   Úfetchr2   s     r$   r9   z$InsightsQuestionnairesInstance.fetcha   s#   € ð �{‰{× Ñ Ø'ð !ó 
ð 	
r%   c              ƒ   óV   K  — | j                   j                  |¬«      ƒ d{  –—† S 7 Œ­w)ú×
        Asynchronous coroutine to fetch the InsightsQuestionnairesInstance

        :param authorization: The Authorization HTTP request header

        :returns: The fetched InsightsQuestionnairesInstance
        r0   N)r,   Úfetch_asyncr2   s     r$   r<   z*InsightsQuestionnairesInstance.fetch_asynco   s1   è ø€ ð —[‘[×,Ñ,Ø'ð -ó 
÷ 
ð 	
ð 
úr6   r   r   r   Úquestion_sidsc                 óB   — | j                   j                  |||||¬«      S )áÆ  
        Update the InsightsQuestionnairesInstance

        :param active: The flag to enable or disable questionnaire
        :param authorization: The Authorization HTTP request header
        :param name: The name of this questionnaire
        :param description: The description of this questionnaire
        :param question_sids: The list of questions sids under a questionnaire

        :returns: The updated InsightsQuestionnairesInstance
        ©r   r-   r   r   r=   )r,   Úupdate©r"   r   r-   r   r   r=   s         r$   rA   z%InsightsQuestionnairesInstance.update}   s/   € ð& �{‰{×!Ñ!ØØ'ØØ#Ø'ð "ó 
ð 	
r%   c              ƒ   ó^   K  — | j                   j                  |||||¬«      ƒ d{  –—† S 7 Œ­w)áà  
        Asynchronous coroutine to update the InsightsQuestionnairesInstance

        :param active: The flag to enable or disable questionnaire
        :param authorization: The Authorization HTTP request header
        :param name: The name of this questionnaire
        :param description: The description of this questionnaire
        :param question_sids: The list of questions sids under a questionnaire

        :returns: The updated InsightsQuestionnairesInstance
        r@   N)r,   Úupdate_asyncrB   s         r$   rE   z+InsightsQuestionnairesInstance.update_async˜   s=   è ø€ ð& —[‘[×-Ñ-ØØ'ØØ#Ø'ð .ó 
÷ 
ð 	
ð 
ús   ‚$-¦+§-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:InsightsQuestionnairesInstance.__repr__.<locals>.<genexpr>¹   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z5<Twilio.FlexApi.V1.InsightsQuestionnairesInstance {}>©Újoinr    ÚitemsrL   ©r"   Úcontexts     r$   Ú__repr__z'InsightsQuestionnairesInstance.__repr__³   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØF×MÑMÈgÓVÐVr%   ©N)r&   r)   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r   Úpropertyr,   r   Úunsetr   ÚobjectÚboolr1   r5   r9   r<   r   rA   rE   rY   Ú__classcell__©r#   s   @r$   r   r      s  ø„ ñð ,0ñ	FàðFð �c˜3�h‘ðFð $ C™=õ	Fð* òó ðð :@¿¹ñ 

 E¨#¨v¨+Ñ$6ð 

È$ó 

ð 39·,±,ñ
Ø" 3¨ ;Ñ/ð
à	ó
ð 39·,±,ñ
Ø" 3¨ ;Ñ/ð
à	)ó
ð 39·,±,ñ
Ø" 3¨ ;Ñ/ð
à	)ó
ð" -3¯L©LØ#)§<¡<Ø*0¯,©,Ø28·,±,ñ
àð
ð ˜S &˜[Ñ)ð
ð �C˜�KÑ ð	
ð
 ˜3 ˜;Ñ'ð
ð ˜T #™Y¨Ð.Ñ/ð
ð 
*ó
ð< -3¯L©LØ#)§<¡<Ø*0¯,©,Ø28·,±,ñ
àð
ð ˜S &˜[Ñ)ð
ð �C˜�KÑ ð	
ð
 ˜3 ˜;Ñ'ð
ð ˜T #™Y¨Ð.Ñ/ð
ð 
*ó
ð6W˜#÷ Wr%   r   c                   óL  ‡ — 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                  ej                  ej                  ej                  fd
e
deee	f   deee	f   deee	f   deee   e	f   defd„Zej                  ej                  ej                  ej                  fd
e
deee	f   deee	f   deee	f   de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 InsightsQuestionnairesContext

        :param version: Version that contains the resource
        :param questionnaire_sid: The SID of the questionnaire
        r   z>/Insights/QualityManagement/Questionnaires/{questionnaire_sid}N© )r   r   r    rL   Ú_uri)r"   r   r   r#   s      €r$   r   z&InsightsQuestionnairesContext.__init__¿   sJ   ø€ ô 	‰Ñ˜Ô!ð  Ð!2ð
ˆŒð TÐL×SÑSñ Ø—.‘.ñð 	�	r%   r-   r&   c                 óª   — t        j                  d|i«      }t        j                  i «      }| j                  j                  d| j                  |¬«      S )r/   ÚAuthorizationÚDELETE©ÚmethodÚuriÚheaders)r   Úofr*   r1   ri   ©r"   r-   rp   s      r$   r1   z$InsightsQuestionnairesContext.deleteÒ   sK   € ô —)‘)à ðó
ˆô —)‘)˜B“-ˆà�}‰}×#Ñ#¨8¸¿¹ÈGÐ#ÓTÐTr%   c              ƒ   óÆ   K  — t        j                  d|i«      }t        j                  i «      }| j                  j                  d| j                  |¬«      ƒ d{  –—† S 7 Œ­w)r4   rk   rl   rm   N)r   rq   r*   r5   ri   rr   s      r$   r5   z*InsightsQuestionnairesContext.delete_asyncä   s`   è ø€ ô —)‘)à ðó
ˆô —)‘)˜B“-ˆà—]‘]×/Ñ/Ø §¡°Gð 0ó 
÷ 
ð 	
ð 
ús   ‚AA!ÁAÁA!c                 ó   — t        j                  d|i«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  || j                  d   ¬«      S )r8   rk   úapplication/jsonÚAcceptÚGET©rn   ro   Úparamsrp   r   r(   )r   rq   r*   r9   ri   r   r    ©r"   r-   Údatarp   r   s        r$   r9   z#InsightsQuestionnairesContext.fetchú   s�   € ô �y‰yà ðó
ˆô —)‘)˜B“-ˆà.ˆ�Ñà—-‘-×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô .Ø�M‰MØØ"Ÿn™nÐ-@ÑAô
ð 	
r%   c              ƒ   ó  K  — t        j                  d|i«      }t        j                  i «      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  || j                  d   ¬«      S 7 Œ)­w)	r;   rk   ru   rv   rw   rx   Nr   r(   )r   rq   r*   r<   ri   r   r    rz   s        r$   r<   z)InsightsQuestionnairesContext.fetch_async  s�   è ø€ ô �y‰yà ðó
ˆô —)‘)˜B“-ˆà.ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô .Ø�M‰MØØ"Ÿn™nÐ-@ÑAô
ð 	
ð	
ús   ‚ABÁ B
Á!*Br   r   r   r=   c           	      ó²  — t        j                  t        j                  |«      ||t        j                  |d„ «      dœ«      }t        j                  i «      }|t         j
                  u st        |t        «      r|r||d<   d|d<   d|d<   | j                  j                  d| j                  ||¬	«      }t        | j                  || j                  d
   ¬«      S )r?   c                 ó   — | S rZ   rh   ©Úes    r$   ú<lambda>z6InsightsQuestionnairesContext.update.<locals>.<lambda>Q  ó   € Àq€ r%   ©ÚActiveÚNameÚDescriptionÚQuestionSidsrk   ú!application/x-www-form-urlencodedúContent-Typeru   rv   ÚPOST©rn   ro   r{   rp   r   r(   )r   rq   r
   Úboolean_to_stringÚmapra   Ú
isinstancer_   r*   rA   ri   r   r    ©	r"   r   r-   r   r   r=   r{   rp   r   s	            r$   rA   z$InsightsQuestionnairesContext.update8  sÌ   € ô( �y‰yä#×5Ñ5°fÓ=ØØ*Ü )§¡¨m¹[Ó Iñ	ó
ˆô —)‘)˜B“-ˆð œVŸ\™\Ñ)Ü˜=¬#Ô.±}à'4ˆG�OÑ$à"Eˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô .Ø�M‰MØØ"Ÿn™nÐ-@ÑAô
ð 	
r%   c           	   ƒ   óÎ  K  — t        j                  t        j                  |«      ||t        j                  |d„ «      dœ«      }t        j                  i «      }|t         j
                  u st        |t        «      r|r||d<   d|d<   d|d<   | j                  j                  d| j                  ||¬	«      ƒ d
{  –—† }t        | j                  || j                  d   ¬«      S 7 Œ)­w)rD   c                 ó   — | S rZ   rh   r   s    r$   r�   z<InsightsQuestionnairesContext.update_async.<locals>.<lambda>ƒ  r‚   r%   rƒ   rk   rˆ   r‰   ru   rv   rŠ   r‹   Nr   r(   )r   rq   r
   rŒ   r�   ra   rŽ   r_   r*   rE   ri   r   r    r�   s	            r$   rE   z*InsightsQuestionnairesContext.update_asyncj  sÚ   è ø€ ô( �y‰yä#×5Ñ5°fÓ=ØØ*Ü )§¡¨m¹[Ó Iñ	ó
ˆô —)‘)˜B“-ˆð œVŸ\™\Ñ)Ü˜=¬#Ô.±}à'4ˆG�OÑ$à"Eˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô .Ø�M‰MØØ"Ÿn™nÐ-@ÑAô
ð 	
ð	
ús   ‚B7C%Â9C#Â:*C%c                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )rG   rH   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wrJ   rK   rM   s      r$   rQ   z9InsightsQuestionnairesContext.__repr__.<locals>.<genexpr>¢  rR   rS   z4<Twilio.FlexApi.V1.InsightsQuestionnairesContext {}>rT   rW   s     r$   rY   z&InsightsQuestionnairesContext.__repr__œ  s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØE×LÑLÈWÓUÐUr%   )r[   r\   r]   r   r_   r   r   ra   r   rb   rc   r1   r5   r   r9   r<   r   rA   rE   rY   rd   re   s   @r$   r)   r)   ½   sÒ  ø„ ð
 ð 
¸Cõ 
ð& :@¿¹ñ U E¨#¨v¨+Ñ$6ð UÈ$ó Uð& 39·,±,ñ
Ø" 3¨ ;Ñ/ð
à	ó
ð. 39·,±,ñ
Ø" 3¨ ;Ñ/ð
à	'ó
ð@ 39·,±,ñ
Ø" 3¨ ;Ñ/ð
à	'ó
ðD -3¯L©LØ#)§<¡<Ø*0¯,©,Ø28·,±,ñ0
àð0
ð ˜S &˜[Ñ)ð0
ð �C˜�KÑ ð	0
ð
 ˜3 ˜;Ñ'ð0
ð ˜T #™Y¨Ð.Ñ/ð0
ð 
(ó0
ðj -3¯L©LØ#)§<¡<Ø*0¯,©,Ø28·,±,ñ0
àð0
ð ˜S &˜[Ñ)ð0
ð �C˜�KÑ ð	0
ð
 ˜3 ˜;Ñ'ð0
ð ˜T #™Y¨Ð.Ñ/ð0
ð 
(ó0
ðdV˜#÷ Vr%   r)   c                   ó2   — e Zd Zdeeef   defd„Zdefd„Zy)ÚInsightsQuestionnairesPager   r&   c                 ó.   — t        | j                  |«      S )z|
        Build an instance of InsightsQuestionnairesInstance

        :param payload: Payload response from the API
        )r   r*   )r"   r   s     r$   Úget_instancez'InsightsQuestionnairesPage.get_instance¨  s   € ô .¨d¯m©m¸WÓEÐEr%   c                  ó   — y)rG   z.<Twilio.FlexApi.V1.InsightsQuestionnairesPage>rh   r+   s    r$   rY   z#InsightsQuestionnairesPage.__repr__°  ó   € ð @r%   N)	r[   r\   r]   r   r_   r   r   r—   rY   rh   r%   r$   r•   r•   ¦  s/   „ ðF D¨¨c¨¡Nð FÐ7Uó Fð@˜#ô @r%   r•   c                   ó  ‡ — e Zd Zdefˆ fd„Zej                  ej                  ej                  ej                  fdedeee	f   deee	f   dee
e	f   deee   e	f   defd	„Zej                  ej                  ej                  ej                  fdedeee	f   deee	f   dee
e	f   deee   e	f   defd
„Zej                  ej                  ddfdeee	f   dee
e	f   dee   dee   dee   f
d„Zej                  ej                  ddfdeee	f   dee
e	f   dee   dee   dee   f
d„Zej                  ej                  ddfdeee	f   dee
e	f   dee   dee   dee   f
d„Zej                  ej                  ddfdeee	f   dee
e	f   dee   dee   dee   f
d„Zej                  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ee	f   defd„Zej                  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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 )ÚInsightsQuestionnairesListr   c                 ó2   •— t         ‰| �  |«       d| _        y)zx
        Initialize the InsightsQuestionnairesList

        :param version: Version that contains the resource

        z*/Insights/QualityManagement/QuestionnairesN)r   r   ri   )r"   r   r#   s     €r$   r   z#InsightsQuestionnairesList.__init__»  s   ø€ ô 	‰Ñ˜Ô!à@ˆ�	r%   r   r-   r   r   r=   r&   c           	      óH  — t        j                  ||t        j                  |«      t        j                  |d„ «      dœ«      }t        j                  |ddœ«      }d|d<   d|d<   | j
                  j                  d| j                  ||¬	«      }t        | j
                  |«      S )
aÆ  
        Create the InsightsQuestionnairesInstance

        :param name: The name of this questionnaire
        :param authorization: The Authorization HTTP request header
        :param description: The description of this questionnaire
        :param active: The flag to enable or disable questionnaire
        :param question_sids: The list of questions sids under a questionnaire

        :returns: The created InsightsQuestionnairesInstance
        c                 ó   — | S rZ   rh   r   s    r$   r�   z3InsightsQuestionnairesList.create.<locals>.<lambda>ß  r‚   r%   ©r…   r†   r„   r‡   rˆ   ©rk   r‰   r‰   ru   rv   rŠ   r‹   )	r   rq   r
   rŒ   r�   r*   Úcreateri   r   ©	r"   r   r-   r   r   r=   r{   rp   r   s	            r$   r¡   z!InsightsQuestionnairesList.createÆ  s¤   € ô( �y‰yàØ*Ü#×5Ñ5°fÓ=Ü )§¡¨m¹[Ó Iñ	ó
ˆô —)‘)à!.Ø Cñó
ˆð #Fˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô .¨d¯m©m¸WÓEÐEr%   c           	   ƒ   ód  K  — t        j                  ||t        j                  |«      t        j                  |d„ «      dœ«      }t        j                  |ddœ«      }d|d<   d|d<   | j
                  j                  d| j                  ||¬	«      ƒ d
{  –—† }t        | j
                  |«      S 7 Œ­w)aÕ  
        Asynchronously create the InsightsQuestionnairesInstance

        :param name: The name of this questionnaire
        :param authorization: The Authorization HTTP request header
        :param description: The description of this questionnaire
        :param active: The flag to enable or disable questionnaire
        :param question_sids: The list of questions sids under a questionnaire

        :returns: The created InsightsQuestionnairesInstance
        c                 ó   — | S rZ   rh   r   s    r$   r�   z9InsightsQuestionnairesList.create_async.<locals>.<lambda>  r‚   r%   rŸ   rˆ   r    r‰   ru   rv   rŠ   r‹   N)	r   rq   r
   rŒ   r�   r*   Úcreate_asyncri   r   r¢   s	            r$   r¥   z'InsightsQuestionnairesList.create_asyncó  s²   è ø€ ô( �y‰yàØ*Ü#×5Ñ5°fÓ=Ü )§¡¨m¹[Ó Iñ	ó
ˆô —)‘)à!.Ø Cñó
ˆð #Fˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô .¨d¯m©m¸WÓEÐEð	
ús   ‚BB0ÂB.ÂB0NÚinclude_inactiveÚlimitÚ	page_sizec                 ó¦   — | j                   j                  ||«      }| j                  |||d   ¬«      }| j                   j                  ||d   «      S )a  
        Streams InsightsQuestionnairesInstance 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 authorization: The Authorization HTTP request header
        :param bool include_inactive: Flag indicating whether to include inactive questionnaires or not
        :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§   )r*   Úread_limitsÚpageÚstream©r"   r-   r¦   r§   r¨   Úlimitsr¬   s          r$   r­   z!InsightsQuestionnairesList.stream   sX   € ð0 —‘×*Ñ*¨5°)Ó<ˆØ�y‰yØ'Ø-Ø˜[Ñ)ð ó 
ˆð �}‰}×#Ñ# D¨&°©/Ó:Ð:r%   c              ƒ   óÂ   K  — | j                   j                  ||«      }| j                  |||d   ¬«      ƒ d{  –—† }| j                   j                  ||d   «      S 7 Œ#­w)a+  
        Asynchronously streams InsightsQuestionnairesInstance 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 authorization: The Authorization HTTP request header
        :param bool include_inactive: Flag indicating whether to include inactive questionnaires or not
        :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'InsightsQuestionnairesList.stream_asyncA  sf   è ø€ ð0 —‘×*Ñ*¨5°)Ó<ˆØ—_‘_Ø'Ø-Ø˜[Ñ)ð %ó 
÷ 
ˆð �}‰}×)Ñ)¨$°°w±Ó@Ð@ð
ús   ‚7A¹Aº$Ac                 ó>   — t        | j                  ||||¬«      «      S )a¹  
        Lists InsightsQuestionnairesInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str authorization: The Authorization HTTP request header
        :param bool include_inactive: Flag indicating whether to include inactive questionnaires or not
        :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§   r¨   )Úlistr­   )r"   r-   r¦   r§   r¨   s        r$   rµ   zInsightsQuestionnairesList.listb  s.   € ô. Ø�K‰KØ+Ø!1ØØ#ð	 ó ó
ð 	
r%   c              ƒ   ó~   K  — | j                  ||||¬«      ƒ d{  –—† 2 �cg c3 d{  –—† }|‘Œ7 Œ7 Œ	6 c}S c c}w ­w)aÈ  
        Asynchronously lists InsightsQuestionnairesInstance records from the API as a list.
        Unlike stream(), this operation is eager and will load `limit` records into
        memory before returning.

        :param str authorization: The Authorization HTTP request header
        :param bool include_inactive: Flag indicating whether to include inactive questionnaires or not
        :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§   r¨   Úrecords         r$   Ú
list_asyncz%InsightsQuestionnairesList.list_async‚  sZ   è ø€ ð2 '+×&7Ñ&7Ø+Ø!1ØØ#ð	 '8ó '÷ !÷
ô 
àò ð!øð
øò 
ð 	
ùò 
ùs0   ‚=›0œ=¢8¤4¨2
©4¬8°=²4´8µ=Ú
page_tokenÚpage_numberc                 ó  — t        j                  |t        j                  |«      |||dœ«      }t        j                  |ddœ«      }d|d<   | j                  j                  d| j                  ||¬«      }t        | j                  |«      S )a8  
        Retrieve a single page of InsightsQuestionnairesInstance records from the API.
        Request is executed immediately

        :param authorization: The Authorization HTTP request header
        :param include_inactive: Flag indicating whether to include inactive questionnaires or not
        :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 InsightsQuestionnairesInstance
        ©rk   ÚIncludeInactiveÚ	PageTokenr   ÚPageSizerˆ   r    ru   rv   rw   rx   )r   rq   r
   rŒ   r*   r¬   ri   r•   ©	r"   r-   r¦   r¹   rº   r¨   r{   rp   Úresponses	            r$   r¬   zInsightsQuestionnairesList.page£  s’   € ô( �y‰yà!.Ü#,×#>Ñ#>Ð?OÓ#PØ'Ø#Ø%ñó
ˆô —)‘)à!.Ø Cñó
ˆð /ˆ�Ñà—=‘=×%Ñ%Ø˜dŸi™i°¸gð &ó 
ˆô *¨$¯-©-¸ÓBÐBr%   c              ƒ   ó2  K  — t        j                  |t        j                  |«      |||dœ«      }t        j                  |ddœ«      }d|d<   | j                  j                  d| j                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)	aG  
        Asynchronously retrieve a single page of InsightsQuestionnairesInstance records from the API.
        Request is executed immediately

        :param authorization: The Authorization HTTP request header
        :param include_inactive: Flag indicating whether to include inactive questionnaires or not
        :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 InsightsQuestionnairesInstance
        r¼   rˆ   r    ru   rv   rw   rx   N)r   rq   r
   rŒ   r*   r±   ri   r•   rÀ   s	            r$   r±   z%InsightsQuestionnairesList.page_asyncÏ  s    è ø€ ô( �y‰yà!.Ü#,×#>Ñ#>Ð?OÓ#PØ'Ø#Ø%ñó
ˆô —)‘)à!.Ø Cñó
ˆð /ˆ�ÑàŸ™×1Ñ1Ø˜dŸi™i°¸gð 2ó 
÷ 
ˆô *¨$¯-©-¸ÓBÐBð
ús   ‚A8BÁ:BÁ;BÚ
target_urlc                 óŽ   — | j                   j                  j                  j                  d|«      }t	        | j                   |«      S )a  
        Retrieve a specific page of InsightsQuestionnairesInstance records from the API.
        Request is executed immediately

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

        :returns: Page of InsightsQuestionnairesInstance
        rw   )r*   ÚdomainÚtwilioÚrequestr•   ©r"   rÃ   rÁ   s      r$   Úget_pagez#InsightsQuestionnairesList.get_pageû  s7   € ð —=‘=×'Ñ'×.Ñ.×6Ñ6°u¸jÓIˆÜ)¨$¯-©-¸ÓBÐBr%   c              ƒ   óª   K  — | j                   j                  j                  j                  d|«      ƒ d{  –—† }t	        | j                   |«      S 7 Œ­w)a   
        Asynchronously retrieve a specific page of InsightsQuestionnairesInstance records from the API.
        Request is executed immediately

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

        :returns: Page of InsightsQuestionnairesInstance
        rw   N)r*   rÅ   rÆ   Úrequest_asyncr•   rÈ   s      r$   Úget_page_asyncz)InsightsQuestionnairesList.get_page_async  sD   è ø€ ð Ÿ™×-Ñ-×4Ñ4×BÑBÀ5È*ÓU×UˆÜ)¨$¯-©-¸ÓBÐBð Vús   ‚4A¶A·Ar   c                 ó0   — t        | j                  |¬«      S ©z|
        Constructs a InsightsQuestionnairesContext

        :param questionnaire_sid: The SID of the questionnaire
        r(   ©r)   r*   ©r"   r   s     r$   r   zInsightsQuestionnairesList.get  ó   € ô -Ø�M‰MÐ->ô
ð 	
r%   c                 ó0   — t        | j                  |¬«      S rÎ   rÏ   rÐ   s     r$   Ú__call__z#InsightsQuestionnairesList.__call__  rÑ   r%   c                  ó   — y)rG   z.<Twilio.FlexApi.V1.InsightsQuestionnairesList>rh   r+   s    r$   rY   z#InsightsQuestionnairesList.__repr__'  r™   r%   )!r[   r\   r]   r   r   r   ra   r_   r   rb   rc   r   r   r¡   r¥   r   Úintr   r­   r	   r²   rµ   r¸   r•   r¬   r±   rÉ   rÌ   r)   r   rÓ   rY   rd   re   s   @r$   r›   r›   ¹  sy  ø„ ð	A õ 	Að -3¯L©LØ*0¯,©,Ø&,§l¡lØ28·,±,ñ+Fàð+Fð ˜S &˜[Ñ)ð+Fð ˜3 ˜;Ñ'ð	+Fð
 �d˜F�lÑ#ð+Fð ˜T #™Y¨Ð.Ñ/ð+Fð 
(ó+Fð` -3¯L©LØ*0¯,©,Ø&,§l¡lØ28·,±,ñ+Fàð+Fð ˜S &˜[Ñ)ð+Fð ˜3 ˜;Ñ'ð	+Fð
 �d˜F�lÑ#ð+Fð ˜T #™Y¨Ð.Ñ/ð+Fð 
(ó+Fð^ -3¯L©LØ06·±Ø#Ø#'ñ;à˜S &˜[Ñ)ð;ð    f Ñ-ð;ð ˜‰}ð	;ð
 ˜C‘=ð;ð 
Ð0Ñ	1ó;ðF -3¯L©LØ06·±Ø#Ø#'ñAà˜S &˜[Ñ)ðAð    f Ñ-ðAð ˜‰}ð	Að
 ˜C‘=ðAð 
Ð5Ñ	6óAðF -3¯L©LØ06·±Ø#Ø#'ñ
à˜S &˜[Ñ)ð
ð    f Ñ-ð
ð ˜‰}ð	
ð
 ˜C‘=ð
ð 
Ð,Ñ	-ó
ðD -3¯L©LØ06·±Ø#Ø#'ñ
à˜S &˜[Ñ)ð
ð    f Ñ-ð
ð ˜‰}ð	
ð
 ˜C‘=ð
ð 
Ð,Ñ	-ó
ðF -3¯L©LØ06·±Ø)/¯©Ø*0¯,©,Ø(.¯©ñ*Cà˜S &˜[Ñ)ð*Cð    f Ñ-ð*Cð ˜#˜v˜+Ñ&ð	*Cð
 ˜3 ˜;Ñ'ð*Cð ˜˜f˜Ñ%ð*Cð 
$ó*Cð\ -3¯L©LØ06·±Ø)/¯©Ø*0¯,©,Ø(.¯©ñ*Cà˜S &˜[Ñ)ð*Cð    f Ñ-ð*Cð ˜#˜v˜+Ñ&ð	*Cð
 ˜3 ˜;Ñ'ð*Cð ˜˜f˜Ñ%ð*Cð 
$ó*CðX
C 3ð 
CÐ+Eó 
Cð
C¨sð 
CÐ7Qó 
Cð
 Sð 
Ð-Jó 
ð
¨#ð 
Ð2Oó 
ð@˜#÷ @r%   r›   N)r^   Útypingr   r   r   r   r   r   r	   Útwilio.baser
   r   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer   Útwilio.base.versionr   Útwilio.base.pager   r   r)   r•   r›   rh   r%   r$   ú<module>rÝ      si   ðñ÷ M× LÑ Lß )Ý 8Ý :Ý 2Ý 'Ý !ôbWÐ%5ô bWôJfV Oô fVôR@ ô @ô&t@ õ t@r%   