o
    f>h9                     @   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                       sN   e Zd ZG dd deZ	 dedeeef f fddZ	def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   h/var/www/html/venv/lib/python3.10/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      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                1       s  e Zd Zdef 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dededeee	f deee	f dee
e e	f d	eee	f d
eee	f dee
e e	f dede	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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ee	f deee	f deee	f deee	f def0d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dededeee	f deee	f dee
e e	f d	eee	f d
eee	f dee
e e	f dede	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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ee	f deee	f deee	f deee	f def0dd Zdefd!d"Z  ZS )#ComplianceTollfreeInquiriesListr   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__tollfree_phone_numbernotification_emailbusiness_namebusiness_websiteuse_case_categoriesuse_case_summaryproduction_message_sampleopt_in_image_urlsopt_in_typer   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 i d|d|d|d|dt|dd d|d	|d
t|dd d|	d|
d|d|d|d|d|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
        TollfreePhoneNumberNotificationEmailBusinessNameBusinessWebsiteUseCaseCategoriesc                 S      | S Nr   er   r   r   <lambda>       z8ComplianceTollfreeInquiriesList.create.<locals>.<lambda>UseCaseSummaryProductionMessageSampleOptInImageUrlsc                 S   rK   rL   r   rM   r   r   r   rO      rP   r   MessageVolumeBusinessStreetAddressBusinessStreetAddress2BusinessCityBusinessStateProvinceRegionBusinessPostalCodeBusinessCountryAdditionalInformationBusinessContactFirstNameBusinessContactLastNameBusinessContactEmailBusinessContactPhone
ThemeSetId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   rk   rl   r   r   r   r   rq   F   sj   :	

z&ComplianceTollfreeInquiriesList.createc                    s   t i d|d|d|d|dt|dd d|d	|d
t|dd d|	d|
d|d|d|d|d|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
        rF   rG   rH   rI   rJ   c                 S   rK   rL   r   rM   r   r   r   rO      rP   z>ComplianceTollfreeInquiriesList.create_async.<locals>.<lambda>rQ   rR   rS   c                 S   rK   rL   r   rM   r   r   r   rO      rP   r   rT   rU   rV   rW   rX   rY   rZ   r[   r\   rc   rd   re   rf   rg   rh   N)	r   rm   r   rn   ro   rp   create_asyncr.   r   rr   r   r   r   rs      sl   :	

z,ComplianceTollfreeInquiriesList.create_asyncc                 C   r&   )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   rq   rs   r)   r,   r   r   r#   r   r-   9   s&   



	















g



	















cr-   N)__doc__typingr   r   r   r   r   twilio.baser   r   twilio.base.instance_resourcer	   twilio.base.list_resourcer
   twilio.base.versionr   r   r-   r   r   r   r   <module>   s    "