Ë
    [üàgf  ã                   ó€   — d Z ddlmZmZ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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.
é    )ÚAnyÚDictÚListÚOptionalÚUnion)Úvalues)ÚInstanceResource)ÚListResource)ÚVersionc                   óB   ‡ — e Zd ZdZdedeeef   fˆ fd„Zdefd„Z	ˆ xZ
S )ÚEligibilityInstanceuÌ  
    :ivar results: The result set that contains the eligibility check response for the requested number, each result has at least the following attributes:  phone_number: The requested phone number ,hosting_account_sid: The account sid where the phone number will be hosted, date_last_checked: Datetime (ISO 8601) when the PN was last checked for eligibility, country: Phone numberâ€™s country, eligibility_status: Indicates the eligibility status of the PN (Eligible/Ineligible), eligibility_sub_status: Indicates the sub status of the eligibility , ineligibility_reason: Reason for number's ineligibility (if applicable), next_step: Suggested next step in the hosting process based on the eligibility status.
    ÚversionÚpayloadc                 óP   •— t         ‰| �  |«       |j                  d«      | _        y )NÚresults)ÚsuperÚ__init__Úgetr   )Úselfr   r   Ú	__class__s      €ú`/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/rest/numbers/v1/eligibility.pyr   zEligibilityInstance.__init__   s    ø€ Ü‰Ñ˜Ô!à:A¿+¹+ÀiÓ:Pˆ�ó    Úreturnc                  ó   — y)úf
        Provide a friendly representation

        :returns: Machine friendly representation
        z'<Twilio.Numbers.V1.EligibilityInstance>© ©r   s    r   Ú__repr__zEligibilityInstance.__repr__!   s   € ð 9r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ústrr   r   r   Ú__classcell__©r   s   @r   r   r      s2   ø„ ñðQ ð Q°$°s¸C°x±.õ Qð
9˜#÷ 9r   r   c                   ó”   ‡ — e Zd Z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defd„Zˆ xZS )ÚEligibilityListr   c                 ó2   •— t         ‰| �  |«       d| _        y)zm
        Initialize the EligibilityList

        :param version: Version that contains the resource

        z/HostedNumber/EligibilityN)r   r   Ú_uri)r   r   r   s     €r   r   zEligibilityList.__init__-   s   ø€ ô 	‰Ñ˜Ô!à/ˆ�	r   Úbodyr   c                 óâ   — |j                  «       }t        j                  ddi«      }d|d<   d|d<   | j                  j	                  d| j
                  ||¬«      }t        | j                  |«      S )zy
        Create the EligibilityInstance

        :param body:

        :returns: The created EligibilityInstance
        úContent-Typeú!application/x-www-form-urlencodedúapplication/jsonÚAcceptÚPOST©ÚmethodÚuriÚdataÚheaders)Úto_dictr   ÚofÚ_versionÚcreater)   r   ©r   r*   r4   r5   r   s        r   r9   zEligibilityList.create8   sp   € ð �|‰|‹~ˆä—)‘)˜^Ð-PÐQÓRˆà"4ˆ�Ñà.ˆ�Ñà—-‘-×&Ñ&Ø˜tŸy™y¨t¸Wð 'ó 
ˆô # 4§=¡=°'Ó:Ð:r   c              ƒ   óþ   K  — |j                  «       }t        j                  ddi«      }d|d<   d|d<   | j                  j	                  d| j
                  ||¬«      ƒ d{  –—† }t        | j                  |«      S 7 Œ­w)zˆ
        Asynchronously create the EligibilityInstance

        :param body:

        :returns: The created EligibilityInstance
        r,   r-   r.   r/   r0   r1   N)r6   r   r7   r8   Úcreate_asyncr)   r   r:   s        r   r<   zEligibilityList.create_asyncN   s~   è ø€ ð �|‰|‹~ˆä—)‘)˜^Ð-PÐQÓRˆà"4ˆ�Ñà.ˆ�ÑàŸ™×2Ñ2Ø˜tŸy™y¨t¸Wð 3ó 
÷ 
ˆô # 4§=¡=°'Ó:Ð:ð	
ús   ‚AA=Á A;Á!A=c                  ó   — y)r   z#<Twilio.Numbers.V1.EligibilityList>r   r   s    r   r   zEligibilityList.__repr__f   s   € ð 5r   )r   r    r!   r   r   r   Úunsetr   Úobjectr   r9   r<   r#   r   r$   r%   s   @r   r'   r'   +   sh   ø„ ð	0 õ 	0ð 4:·<±<ñ ;˜5 ¨ Ñ0ð ;ÐDWó ;ð. -3¯L©Lñ;Ø˜& &˜.Ñ)ð;à	ó;ð05˜#÷ 5r   r'   N)r"   Útypingr   r   r   r   r   Útwilio.baser   Útwilio.base.instance_resourcer	   Útwilio.base.list_resourcer
   Útwilio.base.versionr   r   r'   r   r   r   ú<module>rE      s9   ðñ÷ 4Õ 3Ý å :Ý 2Ý 'ô9Ð*ô 9ô(A5�lõ A5r   