Ë
    [üàg`(  ã                   ó²   — d Z ddlmZ ddl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  G d	„ d
e«      Z G d„ de«      Z G d„ de«      Zy)aê  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Numbers
    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ÚOptionalÚUnion)ÚdeserializeÚ	serializeÚvalues)ÚInstanceContext)ÚInstanceResource)ÚListResource)ÚVersionc            	       ó*  ‡ — e Zd Z G d„ de«      Z	 	 ddedeeef   de	e   fˆ fd„Z
edd„«       Zej                  ej                  fd	ed
eeef   deeef   dd fd„Zej                  ej                  fd	ed
eeef   deeef   dd fd„Zdefd„Zˆ xZS )ÚBundleCloneInstancec                   ó$   — e Zd ZdZdZdZdZdZdZy)úBundleCloneInstance.StatusÚdraftzpending-reviewz	in-reviewztwilio-rejectedztwilio-approvedzprovisionally-approvedN)	Ú__name__Ú
__module__Ú__qualname__ÚDRAFTÚPENDING_REVIEWÚ	IN_REVIEWÚTWILIO_REJECTEDÚTWILIO_APPROVEDÚPROVISIONALLY_APPROVED© ó    úa/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/numbers/v2/bundle_clone.pyÚStatusr      s!   „ ØˆØ)ˆØˆ	Ø+ˆØ+ˆØ!9Ñr   r    ÚversionÚpayloadÚ
bundle_sidc                 ó¶  •— t         ‰| �  |«       |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d«      «      | _
        |j                  d«      | _        |j                  d«      | _        t        j                  |j                  d	«      «      | _        t        j                  |j                  d
«      «      | _        |j                  d«      | _        d|xs | j                  i| _        d | _        y )Nr#   Úaccount_sidÚregulation_sidÚfriendly_nameÚstatusÚvalid_untilÚemailÚstatus_callbackÚdate_createdÚdate_updatedÚurl)ÚsuperÚ__init__Úgetr#   r%   r&   r'   r(   r   Úiso8601_datetimer)   r*   r+   r,   r-   r.   Ú	_solutionÚ_context)Úselfr!   r"   r#   Ú	__class__s       €r   r0   zBundleCloneInstance.__init__0   s  ø€ ô 	‰Ñ˜Ô!à)0¯©°\Ó)BˆŒØ*1¯+©+°mÓ*DˆÔØ-4¯[©[Ð9IÓ-JˆÔØ,3¯K©K¸Ó,HˆÔØ>E¿k¹kÈ(Ó>SˆŒÜ/:×/KÑ/KØ�K‰K˜Ó&ó0
ˆÔð %,§K¡K°Ó$8ˆŒ
Ø.5¯k©kÐ:KÓ.LˆÔÜ0;×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔô 1<×0LÑ0LØ�K‰K˜Ó'ó1
ˆÔð #*§+¡+¨eÓ"4ˆŒð ˜*Ò7¨¯©ð
ˆŒð 7;ˆ�r   Ú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: BundleCloneContext for this BundleCloneInstance
        r#   ©r#   )r4   ÚBundleCloneContextÚ_versionr3   ©r5   s    r   Ú_proxyzBundleCloneInstance._proxyO   s9   € ð �=‰=Ð Ü.Ø—‘ØŸ>™>¨,Ñ7ôˆDŒMð �}‰}Ðr   Útarget_account_sidÚmove_to_draftr'   c                 ó>   — | j                   j                  |||¬«      S )áÈ  
        Create the BundleCloneInstance

        :param target_account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) where the bundle needs to be cloned.
        :param move_to_draft: If set to true, the cloned bundle will be in the DRAFT state, else it will be twilio-approved
        :param friendly_name: The string that you assigned to describe the cloned bundle.

        :returns: The created BundleCloneInstance
        ©r?   r'   )r=   Úcreate©r5   r>   r?   r'   s       r   rC   zBundleCloneInstance.create^   s)   € ð �{‰{×!Ñ!ØØ'Ø'ð "ó 
ð 	
r   c              ƒ   óZ   K  — | j                   j                  |||¬«      ƒ d{  –—† S 7 Œ­w)áâ  
        Asynchronous coroutine to create the BundleCloneInstance

        :param target_account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) where the bundle needs to be cloned.
        :param move_to_draft: If set to true, the cloned bundle will be in the DRAFT state, else it will be twilio-approved
        :param friendly_name: The string that you assigned to describe the cloned bundle.

        :returns: The created BundleCloneInstance
        rB   N)r=   Úcreate_asyncrD   s       r   rG   z BundleCloneInstance.create_asyncs   s7   è ø€ ð —[‘[×-Ñ-ØØ'Ø'ð .ó 
÷ 
ð 	
ð 
ú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/BundleCloneInstance.__repr__.<locals>.<genexpr>Ž   ó   è ø€ ÒS±D°A°q˜7Ÿ>™>¨!¨Q×/ÑSùó   ‚!z*<Twilio.Numbers.V2.BundleCloneInstance {}>©Újoinr3   ÚitemsrN   ©r5   Úcontexts     r   Ú__repr__zBundleCloneInstance.__repr__ˆ   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ;×BÑBÀ7ÓKÐKr   )N)r7   r:   )r   r   r   Úobjectr    r   r   Ústrr   r   r0   Úpropertyr=   r
   Úunsetr   ÚboolrC   rG   r[   Ú__classcell__©r6   s   @r   r   r      s  ø„ ô:�ô :ðð$ %)ñ	;àð;ð �c˜3�h‘ð;ð ˜S‘Mõ	;ð> òó ðð" .4¯\©\Ø,2¯L©Lñ	
àð
ð ˜T 6˜\Ñ*ð
ð ˜S &˜[Ñ)ð	
ð
 
ó
ð0 .4¯\©\Ø,2¯L©Lñ	
àð
ð ˜T 6˜\Ñ*ð
ð ˜S &˜[Ñ)ð	
ð
 
ó
ð*L˜#÷ Lr   r   c            	       óè   ‡ — e Zd Zdedefˆ fd„Zej                  ej                  fdedee	e
f   deee
f   defd„Zej                  ej                  fdedee	e
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 BundleCloneContext

        :param version: Version that contains the resource
        :param bundle_sid: The unique string that identifies the Bundle to be cloned.
        r#   z1/RegulatoryCompliance/Bundles/{bundle_sid}/ClonesNr   )r/   r0   r3   rN   Ú_uri)r5   r!   r#   r6   s      €r   r0   zBundleCloneContext.__init__”   sF   ø€ ô 	‰Ñ˜Ô!ð ˜*ð
ˆŒð OÐG×NÑNñ 
Ø�n‰nñ
ˆ�	r   r>   r?   r'   r7   c                 óô   — t        j                  |t        j                  |«      |dœ«      }| j                  j                  d| j                  |¬«      }t        | j                  || j                  d   ¬«      S )rA   ©ÚTargetAccountSidÚMoveToDraftÚFriendlyNameÚPOST©ÚmethodÚuriÚdatar#   r9   )	r
   Úofr	   Úboolean_to_stringr;   rC   re   r   r3   ©r5   r>   r?   r'   ro   r"   s         r   rC   zBundleCloneContext.create¥   sm   € ô �y‰yà$6Ü(×:Ñ:¸=ÓIØ -ñó
ˆð —-‘-×&Ñ&¨f¸$¿)¹)È$Ð&ÓOˆä"Ø�M‰M˜7¨t¯~©~¸lÑ/Kô
ð 	
r   c              ƒ   ó  K  — t        j                  |t        j                  |«      |dœ«      }| j                  j                  d| j                  |¬«      ƒ d{  –—† }t        | j                  || j                  d   ¬«      S 7 Œ)­w)rF   rg   rk   rl   Nr#   r9   )	r
   rp   r	   rq   r;   rG   re   r   r3   rr   s         r   rG   zBundleCloneContext.create_asyncÂ   s‚   è ø€ ô �y‰yà$6Ü(×:Ñ:¸=ÓIØ -ñó
ˆð Ÿ™×2Ñ2Ø˜tŸy™y¨tð 3ó 
÷ 
ˆô #Ø�M‰M˜7¨t¯~©~¸lÑ/Kô
ð 	
ð	
ús   ‚ABÁBÁ*Bc                 ó„   — dj                  d„ | j                  j                  «       D «       «      }dj                  |«      S )rI   rJ   c              3   óF   K  — | ]  \  }}d j                  ||«      –— Œ y­wrL   rM   rO   s      r   rS   z.BundleCloneContext.__repr__.<locals>.<genexpr>ç   rT   rU   z)<Twilio.Numbers.V2.BundleCloneContext {}>rV   rY   s     r   r[   zBundleCloneContext.__repr__á   s6   € ð —(‘(ÑS¸D¿N¹N×<PÑ<PÓ<RÔSÓSˆØ:×AÑAÀ'ÓJÐJr   )r   r   r   r   r]   r0   r
   r_   r   r`   r\   r   rC   rG   r[   ra   rb   s   @r   r:   r:   ’   s¿   ø„ ð
 ð 
°Sõ 
ð( .4¯\©\Ø,2¯L©Lñ	
àð
ð ˜T 6˜\Ñ*ð
ð ˜S &˜[Ñ)ð	
ð
 
ó
ð@ .4¯\©\Ø,2¯L©Lñ	
àð
ð ˜T 6˜\Ñ*ð
ð ˜S &˜[Ñ)ð	
ð
 
ó
ð>K˜#÷ Kr   r:   c                   óP   ‡ — e Zd Zdefˆ 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 )ÚBundleCloneListr!   c                 ó$   •— t         ‰| �  |«       y)zm
        Initialize the BundleCloneList

        :param version: Version that contains the resource

        N)r/   r0   )r5   r!   r6   s     €r   r0   zBundleCloneList.__init__í   s   ø€ ô 	‰Ñ˜Õ!r   r#   r7   c                 ó0   — t        | j                  |¬«      S ©zˆ
        Constructs a BundleCloneContext

        :param bundle_sid: The unique string that identifies the Bundle to be cloned.
        r9   ©r:   r;   ©r5   r#   s     r   r1   zBundleCloneList.getö   ó   € ô " $§-¡-¸JÔGÐGr   c                 ó0   — t        | j                  |¬«      S rz   r{   r|   s     r   Ú__call__zBundleCloneList.__call__þ   r}   r   c                  ó   — y)rI   z#<Twilio.Numbers.V2.BundleCloneList>r   r<   s    r   r[   zBundleCloneList.__repr__  s   € ð 5r   )r   r   r   r   r0   r]   r:   r1   r   r[   ra   rb   s   @r   rw   rw   ë   sI   ø„ ð" õ "ðH˜cð HÐ&8ó HðH 3ð HÐ+=ó Hð5˜#÷ 5r   rw   N)Ú__doc__r   Útypingr   r   r   r   Útwilio.baser   r	   r
   Útwilio.base.instance_contextr   Útwilio.base.instance_resourcer   Útwilio.base.list_resourcer   Útwilio.base.versionr   r   r:   rw   r   r   r   ú<module>rˆ      sV   ðñõ ß -Ó -ß 6Ñ 6Ý 8Ý :Ý 2Ý 'ôwLÐ*ô wLôtVK˜ô VKôr!5�lõ !5r   