U
    ^g%i9                     @   sx   d Z ddl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 G dd deZG d	d
 d
eZdS )a  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Trusthub
    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)	serializevalues)InstanceResource)ListResource)Versionc                       sJ   e Zd ZG dd deZeeeef d fddZ	edddZ
  ZS )	#ComplianceTollfreeInquiriesInstancec                   @   s    e Zd ZdZdZdZdZdZdS )-ComplianceTollfreeInquiriesInstance.OptInTypeVERBALWEB_FORM
PAPER_FORMVIA_TEXTMOBILE_QR_CODEN)__name__
__module____qualname__r   r   r   r   r    r   r   t/var/www/html/api-medvista/venv/lib/python3.8/site-packages/twilio/rest/trusthub/v1/compliance_tollfree_inquiries.py	OptInType   s
   r   )versionpayloadc                    s@   t  | |d| _|d| _|d| _|d| _d S )N
inquiry_idinquiry_session_tokenregistration_idurl)super__init__getr   r   r   r   )selfr   r   	__class__r   r   r    '   s
    z,ComplianceTollfreeInquiriesInstance.__init__returnc                 C   s   dS )f
        Provide a friendly representation

        :returns: Machine friendly representation
        z8<Twilio.Trusthub.V1.ComplianceTollfreeInquiriesInstance>r   r"   r   r   r   __repr__/   s    z,ComplianceTollfreeInquiriesInstance.__repr__)r   r   r   objectr   r   r   strr   r    r)   __classcell__r   r   r#   r   r      s   r   c                       s  e Zd Zed fddZejejejejejejejejejejejejejejejejejejejejejfeeeee	f eee	f ee
e e	f eee	f eee	f ee
e e	f ede	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f edddZejejejejejejejejejejejejejejejejejejejejejfeeeee	f eee	f ee
e e	f eee	f eee	f ee
e e	f ede	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eee	f eddd	Zed
ddZ  ZS )ComplianceTollfreeInquiriesList)r   c                    s   t  | d| _dS )z}
        Initialize the ComplianceTollfreeInquiriesList

        :param version: Version that contains the resource

        z(/ComplianceInquiries/Tollfree/InitializeN)r   r    _uri)r"   r   r#   r   r   r    ;   s    z(ComplianceTollfreeInquiriesList.__init__r   )tollfree_phone_numbernotification_emailbusiness_namebusiness_websiteuse_case_categoriesuse_case_summaryproduction_message_sampleopt_in_image_urlsopt_in_typemessage_volumebusiness_street_addressbusiness_street_address2business_citybusiness_state_province_regionbusiness_postal_codebusiness_countryadditional_informationbusiness_contact_first_namebusiness_contact_last_namebusiness_contact_emailbusiness_contact_phonetheme_set_idskip_messaging_use_caser&   c                 C   s   t ||||t|dd ||t|dd |	|
||||||||||||t|d}t ddi}d|d< d|d< | jjd	| j||d
}t| j|S )a
  
        Create the ComplianceTollfreeInquiriesInstance

        :param tollfree_phone_number: The Tollfree phone number to be verified
        :param notification_email: The email address to receive the notification about the verification result.
        :param business_name: The name of the business or organization using the Tollfree number.
        :param business_website: The website of the business or organization using the Tollfree number.
        :param use_case_categories: The category of the use case for the Tollfree Number. List as many are applicable..
        :param use_case_summary: Use this to further explain how messaging is used by the business or organization.
        :param production_message_sample: An example of message content, i.e. a sample message.
        :param opt_in_image_urls: Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
        :param opt_in_type:
        :param message_volume: Estimate monthly volume of messages from the Tollfree Number.
        :param business_street_address: The address of the business or organization using the Tollfree number.
        :param business_street_address2: The address of the business or organization using the Tollfree number.
        :param business_city: The city of the business or organization using the Tollfree number.
        :param business_state_province_region: The state/province/region of the business or organization using the Tollfree number.
        :param business_postal_code: The postal code of the business or organization using the Tollfree number.
        :param business_country: The country of the business or organization using the Tollfree number.
        :param additional_information: Additional information to be provided for verification.
        :param business_contact_first_name: The first name of the contact for the business or organization using the Tollfree number.
        :param business_contact_last_name: The last name of the contact for the business or organization using the Tollfree number.
        :param business_contact_email: The email address of the contact for the business or organization using the Tollfree number.
        :param business_contact_phone: The phone number of the contact for the business or organization using the Tollfree number.
        :param theme_set_id: Theme id for styling the inquiry form.
        :param skip_messaging_use_case: Skip the messaging use case screen of the inquiry form.

        :returns: The created ComplianceTollfreeInquiriesInstance
        c                 S   s   | S Nr   er   r   r   <lambda>       z8ComplianceTollfreeInquiriesList.create.<locals>.<lambda>c                 S   s   | S rF   r   rG   r   r   r   rI      rJ   ZTollfreePhoneNumberZNotificationEmailZBusinessNameZBusinessWebsiteZUseCaseCategoriesZUseCaseSummaryZProductionMessageSampleZOptInImageUrlsr   ZMessageVolumeZBusinessStreetAddressZBusinessStreetAddress2ZBusinessCityZBusinessStateProvinceRegionZBusinessPostalCodeZBusinessCountryZAdditionalInformationZBusinessContactFirstNameZBusinessContactLastNameZBusinessContactEmailZBusinessContactPhoneZ
ThemeSetIdZSkipMessagingUseCaseContent-Type!application/x-www-form-urlencodedapplication/jsonAcceptPOSTmethoduridataheaders)	r   ofr   mapboolean_to_string_versioncreater.   r   r"   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rT   rU   r   r   r   r   rZ   F   sL    :   z&ComplianceTollfreeInquiriesList.createc                    s   t ||||t|dd ||t|dd |	|
||||||||||||t|d}t ddi}d|d< d|d< | jjd	| j||d
I dH }t| j|S )a 
  
        Asynchronously create the ComplianceTollfreeInquiriesInstance

        :param tollfree_phone_number: The Tollfree phone number to be verified
        :param notification_email: The email address to receive the notification about the verification result.
        :param business_name: The name of the business or organization using the Tollfree number.
        :param business_website: The website of the business or organization using the Tollfree number.
        :param use_case_categories: The category of the use case for the Tollfree Number. List as many are applicable..
        :param use_case_summary: Use this to further explain how messaging is used by the business or organization.
        :param production_message_sample: An example of message content, i.e. a sample message.
        :param opt_in_image_urls: Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
        :param opt_in_type:
        :param message_volume: Estimate monthly volume of messages from the Tollfree Number.
        :param business_street_address: The address of the business or organization using the Tollfree number.
        :param business_street_address2: The address of the business or organization using the Tollfree number.
        :param business_city: The city of the business or organization using the Tollfree number.
        :param business_state_province_region: The state/province/region of the business or organization using the Tollfree number.
        :param business_postal_code: The postal code of the business or organization using the Tollfree number.
        :param business_country: The country of the business or organization using the Tollfree number.
        :param additional_information: Additional information to be provided for verification.
        :param business_contact_first_name: The first name of the contact for the business or organization using the Tollfree number.
        :param business_contact_last_name: The last name of the contact for the business or organization using the Tollfree number.
        :param business_contact_email: The email address of the contact for the business or organization using the Tollfree number.
        :param business_contact_phone: The phone number of the contact for the business or organization using the Tollfree number.
        :param theme_set_id: Theme id for styling the inquiry form.
        :param skip_messaging_use_case: Skip the messaging use case screen of the inquiry form.

        :returns: The created ComplianceTollfreeInquiriesInstance
        c                 S   s   | S rF   r   rG   r   r   r   rI      rJ   z>ComplianceTollfreeInquiriesList.create_async.<locals>.<lambda>c                 S   s   | S rF   r   rG   r   r   r   rI      rJ   rK   rL   rM   rN   rO   rP   rQ   N)	r   rV   r   rW   rX   rY   create_asyncr.   r   r[   r   r   r   r\      sL    :   z,ComplianceTollfreeInquiriesList.create_asyncr%   c                 C   s   dS )r'   z4<Twilio.Trusthub.V1.ComplianceTollfreeInquiriesList>r   r(   r   r   r   r)     s    z(ComplianceTollfreeInquiriesList.__repr__)r   r   r   r   r    r   unsetr+   r   r*   r   boolr   rZ   r\   r)   r,   r   r   r#   r   r-   9   s   

















g

















cr-   N)__doc__typingr   r   r   r   r   Ztwilio.baser   r   Ztwilio.base.instance_resourcer	   Ztwilio.base.list_resourcer
   Ztwilio.base.versionr   r   r-   r   r   r   r   <module>   s   "