<?php
/**
 * This code was generated by
 * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
 *
 * Twilio - Messaging
 * 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.
 */

namespace Twilio\Rest\Messaging\V1;

use Twilio\Options;
use Twilio\Values;

abstract class TollfreeVerificationOptions
{
    /**
     * @param string $customerProfileSid Customer's Profile Bundle BundleSid.
     * @param string $businessStreetAddress The address of the business or organization using the Tollfree number.
     * @param string $businessStreetAddress2 The address of the business or organization using the Tollfree number.
     * @param string $businessCity The city of the business or organization using the Tollfree number.
     * @param string $businessStateProvinceRegion The state/province/region of the business or organization using the Tollfree number.
     * @param string $businessPostalCode The postal code of the business or organization using the Tollfree number.
     * @param string $businessCountry The country of the business or organization using the Tollfree number.
     * @param string $additionalInformation Additional information to be provided for verification.
     * @param string $businessContactFirstName The first name of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactLastName The last name of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactEmail The email address of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactPhone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
     * @param string $externalReferenceId An optional external reference ID supplied by customer and echoed back on status retrieval.
     * @param string $businessRegistrationNumber A legally recognized business registration number. Required for all business types except SOLE_PROPRIETOR.
     * @param string $businessRegistrationAuthority
     * @param string $businessRegistrationCountry The country where the business is registered. Required for all business types except SOLE_PROPRIETOR.
     * @param string $businessType
     * @param string $businessRegistrationPhoneNumber The E.164 formatted number associated with the business.
     * @param string $doingBusinessAs Trade name, sub entity, or downstream business name of business being submitted for verification
     * @param string $optInConfirmationMessage The confirmation message sent to users when they opt in to receive messages.
     * @param string $helpMessageSample A sample help message provided to users.
     * @param string $privacyPolicyUrl The URL to the privacy policy for the business or organization.
     * @param string $termsAndConditionsUrl The URL to the terms and conditions for the business or organization.
     * @param bool $ageGatedContent Indicates if the content is age gated.
     * @param string[] $optInKeywords List of keywords that users can text in to opt in to receive messages.
     * @param string $vettingProvider
     * @param string $vettingId The unique ID of the vetting
     * @return CreateTollfreeVerificationOptions Options builder
     */
    public static function create(
        
        string $customerProfileSid = Values::NONE,
        string $businessStreetAddress = Values::NONE,
        string $businessStreetAddress2 = Values::NONE,
        string $businessCity = Values::NONE,
        string $businessStateProvinceRegion = Values::NONE,
        string $businessPostalCode = Values::NONE,
        string $businessCountry = Values::NONE,
        string $additionalInformation = Values::NONE,
        string $businessContactFirstName = Values::NONE,
        string $businessContactLastName = Values::NONE,
        string $businessContactEmail = Values::NONE,
        string $businessContactPhone = Values::NONE,
        string $externalReferenceId = Values::NONE,
        string $businessRegistrationNumber = Values::NONE,
        string $businessRegistrationAuthority = Values::NONE,
        string $businessRegistrationCountry = Values::NONE,
        string $businessType = Values::NONE,
        string $businessRegistrationPhoneNumber = Values::NONE,
        string $doingBusinessAs = Values::NONE,
        string $optInConfirmationMessage = Values::NONE,
        string $helpMessageSample = Values::NONE,
        string $privacyPolicyUrl = Values::NONE,
        string $termsAndConditionsUrl = Values::NONE,
        bool $ageGatedContent = Values::BOOL_NONE,
        array $optInKeywords = Values::ARRAY_NONE,
        string $vettingProvider = Values::NONE,
        string $vettingId = Values::NONE

    ): CreateTollfreeVerificationOptions
    {
        return new CreateTollfreeVerificationOptions(
            $customerProfileSid,
            $businessStreetAddress,
            $businessStreetAddress2,
            $businessCity,
            $businessStateProvinceRegion,
            $businessPostalCode,
            $businessCountry,
            $additionalInformation,
            $businessContactFirstName,
            $businessContactLastName,
            $businessContactEmail,
            $businessContactPhone,
            $externalReferenceId,
            $businessRegistrationNumber,
            $businessRegistrationAuthority,
            $businessRegistrationCountry,
            $businessType,
            $businessRegistrationPhoneNumber,
            $doingBusinessAs,
            $optInConfirmationMessage,
            $helpMessageSample,
            $privacyPolicyUrl,
            $termsAndConditionsUrl,
            $ageGatedContent,
            $optInKeywords,
            $vettingProvider,
            $vettingId
        );
    }



    /**
     * @param string $tollfreePhoneNumberSid The SID of the Phone Number associated with the Tollfree Verification.
     * @param string $status The compliance status of the Tollfree Verification record.
     * @param string $externalReferenceId Customer supplied reference id for the Tollfree Verification record.
     * @param bool $includeSubAccounts Whether to include Tollfree Verifications from sub accounts in list response.
     * @param string[] $trustProductSid The trust product sids / tollfree bundle sids of tollfree verifications
     * @return ReadTollfreeVerificationOptions Options builder
     */
    public static function read(
        
        string $tollfreePhoneNumberSid = Values::NONE,
        string $status = Values::NONE,
        string $externalReferenceId = Values::NONE,
        bool $includeSubAccounts = Values::BOOL_NONE,
        array $trustProductSid = Values::ARRAY_NONE

    ): ReadTollfreeVerificationOptions
    {
        return new ReadTollfreeVerificationOptions(
            $tollfreePhoneNumberSid,
            $status,
            $externalReferenceId,
            $includeSubAccounts,
            $trustProductSid
        );
    }

    /**
     * @param string $businessName The name of the business or organization using the Tollfree number.
     * @param string $businessWebsite The website of the business or organization using the Tollfree number.
     * @param string $notificationEmail The email address to receive the notification about the verification result. .
     * @param string[] $useCaseCategories The category of the use case for the Tollfree Number. List as many as are applicable.
     * @param string $useCaseSummary Use this to further explain how messaging is used by the business or organization.
     * @param string $productionMessageSample An example of message content, i.e. a sample message.
     * @param string[] $optInImageUrls Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
     * @param string $optInType
     * @param string $messageVolume Estimate monthly volume of messages from the Tollfree Number.
     * @param string $businessStreetAddress The address of the business or organization using the Tollfree number.
     * @param string $businessStreetAddress2 The address of the business or organization using the Tollfree number.
     * @param string $businessCity The city of the business or organization using the Tollfree number.
     * @param string $businessStateProvinceRegion The state/province/region of the business or organization using the Tollfree number.
     * @param string $businessPostalCode The postal code of the business or organization using the Tollfree number.
     * @param string $businessCountry The country of the business or organization using the Tollfree number.
     * @param string $additionalInformation Additional information to be provided for verification.
     * @param string $businessContactFirstName The first name of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactLastName The last name of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactEmail The email address of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactPhone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
     * @param string $editReason Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
     * @param string $businessRegistrationNumber A legally recognized business registration number
     * @param string $businessRegistrationAuthority
     * @param string $businessRegistrationCountry Country business is registered in
     * @param string $businessType
     * @param string $businessRegistrationPhoneNumber The E.164 formatted number associated with the business.
     * @param string $doingBusinessAs Trade name, sub entity, or downstream business name of business being submitted for verification
     * @param string $optInConfirmationMessage The confirmation message sent to users when they opt in to receive messages.
     * @param string $helpMessageSample A sample help message provided to users.
     * @param string $privacyPolicyUrl The URL to the privacy policy for the business or organization.
     * @param string $termsAndConditionsUrl The URL to the terms and conditions for the business or organization.
     * @param bool $ageGatedContent Indicates if the content is age gated.
     * @param string[] $optInKeywords List of keywords that users can text in to opt in to receive messages.
     * @param string $vettingProvider
     * @param string $vettingId The unique ID of the vetting
     * @return UpdateTollfreeVerificationOptions Options builder
     */
    public static function update(
        
        string $businessName = Values::NONE,
        string $businessWebsite = Values::NONE,
        string $notificationEmail = Values::NONE,
        array $useCaseCategories = Values::ARRAY_NONE,
        string $useCaseSummary = Values::NONE,
        string $productionMessageSample = Values::NONE,
        array $optInImageUrls = Values::ARRAY_NONE,
        string $optInType = Values::NONE,
        string $messageVolume = Values::NONE,
        string $businessStreetAddress = Values::NONE,
        string $businessStreetAddress2 = Values::NONE,
        string $businessCity = Values::NONE,
        string $businessStateProvinceRegion = Values::NONE,
        string $businessPostalCode = Values::NONE,
        string $businessCountry = Values::NONE,
        string $additionalInformation = Values::NONE,
        string $businessContactFirstName = Values::NONE,
        string $businessContactLastName = Values::NONE,
        string $businessContactEmail = Values::NONE,
        string $businessContactPhone = Values::NONE,
        string $editReason = Values::NONE,
        string $businessRegistrationNumber = Values::NONE,
        string $businessRegistrationAuthority = Values::NONE,
        string $businessRegistrationCountry = Values::NONE,
        string $businessType = Values::NONE,
        string $businessRegistrationPhoneNumber = Values::NONE,
        string $doingBusinessAs = Values::NONE,
        string $optInConfirmationMessage = Values::NONE,
        string $helpMessageSample = Values::NONE,
        string $privacyPolicyUrl = Values::NONE,
        string $termsAndConditionsUrl = Values::NONE,
        bool $ageGatedContent = Values::BOOL_NONE,
        array $optInKeywords = Values::ARRAY_NONE,
        string $vettingProvider = Values::NONE,
        string $vettingId = Values::NONE

    ): UpdateTollfreeVerificationOptions
    {
        return new UpdateTollfreeVerificationOptions(
            $businessName,
            $businessWebsite,
            $notificationEmail,
            $useCaseCategories,
            $useCaseSummary,
            $productionMessageSample,
            $optInImageUrls,
            $optInType,
            $messageVolume,
            $businessStreetAddress,
            $businessStreetAddress2,
            $businessCity,
            $businessStateProvinceRegion,
            $businessPostalCode,
            $businessCountry,
            $additionalInformation,
            $businessContactFirstName,
            $businessContactLastName,
            $businessContactEmail,
            $businessContactPhone,
            $editReason,
            $businessRegistrationNumber,
            $businessRegistrationAuthority,
            $businessRegistrationCountry,
            $businessType,
            $businessRegistrationPhoneNumber,
            $doingBusinessAs,
            $optInConfirmationMessage,
            $helpMessageSample,
            $privacyPolicyUrl,
            $termsAndConditionsUrl,
            $ageGatedContent,
            $optInKeywords,
            $vettingProvider,
            $vettingId
        );
    }

}

class CreateTollfreeVerificationOptions extends Options
    {
    /**
     * @param string $customerProfileSid Customer's Profile Bundle BundleSid.
     * @param string $businessStreetAddress The address of the business or organization using the Tollfree number.
     * @param string $businessStreetAddress2 The address of the business or organization using the Tollfree number.
     * @param string $businessCity The city of the business or organization using the Tollfree number.
     * @param string $businessStateProvinceRegion The state/province/region of the business or organization using the Tollfree number.
     * @param string $businessPostalCode The postal code of the business or organization using the Tollfree number.
     * @param string $businessCountry The country of the business or organization using the Tollfree number.
     * @param string $additionalInformation Additional information to be provided for verification.
     * @param string $businessContactFirstName The first name of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactLastName The last name of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactEmail The email address of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactPhone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
     * @param string $externalReferenceId An optional external reference ID supplied by customer and echoed back on status retrieval.
     * @param string $businessRegistrationNumber A legally recognized business registration number. Required for all business types except SOLE_PROPRIETOR.
     * @param string $businessRegistrationAuthority
     * @param string $businessRegistrationCountry The country where the business is registered. Required for all business types except SOLE_PROPRIETOR.
     * @param string $businessType
     * @param string $businessRegistrationPhoneNumber The E.164 formatted number associated with the business.
     * @param string $doingBusinessAs Trade name, sub entity, or downstream business name of business being submitted for verification
     * @param string $optInConfirmationMessage The confirmation message sent to users when they opt in to receive messages.
     * @param string $helpMessageSample A sample help message provided to users.
     * @param string $privacyPolicyUrl The URL to the privacy policy for the business or organization.
     * @param string $termsAndConditionsUrl The URL to the terms and conditions for the business or organization.
     * @param bool $ageGatedContent Indicates if the content is age gated.
     * @param string[] $optInKeywords List of keywords that users can text in to opt in to receive messages.
     * @param string $vettingProvider
     * @param string $vettingId The unique ID of the vetting
     */
    public function __construct(
        
        string $customerProfileSid = Values::NONE,
        string $businessStreetAddress = Values::NONE,
        string $businessStreetAddress2 = Values::NONE,
        string $businessCity = Values::NONE,
        string $businessStateProvinceRegion = Values::NONE,
        string $businessPostalCode = Values::NONE,
        string $businessCountry = Values::NONE,
        string $additionalInformation = Values::NONE,
        string $businessContactFirstName = Values::NONE,
        string $businessContactLastName = Values::NONE,
        string $businessContactEmail = Values::NONE,
        string $businessContactPhone = Values::NONE,
        string $externalReferenceId = Values::NONE,
        string $businessRegistrationNumber = Values::NONE,
        string $businessRegistrationAuthority = Values::NONE,
        string $businessRegistrationCountry = Values::NONE,
        string $businessType = Values::NONE,
        string $businessRegistrationPhoneNumber = Values::NONE,
        string $doingBusinessAs = Values::NONE,
        string $optInConfirmationMessage = Values::NONE,
        string $helpMessageSample = Values::NONE,
        string $privacyPolicyUrl = Values::NONE,
        string $termsAndConditionsUrl = Values::NONE,
        bool $ageGatedContent = Values::BOOL_NONE,
        array $optInKeywords = Values::ARRAY_NONE,
        string $vettingProvider = Values::NONE,
        string $vettingId = Values::NONE

    ) {
        $this->options['customerProfileSid'] = $customerProfileSid;
        $this->options['businessStreetAddress'] = $businessStreetAddress;
        $this->options['businessStreetAddress2'] = $businessStreetAddress2;
        $this->options['businessCity'] = $businessCity;
        $this->options['businessStateProvinceRegion'] = $businessStateProvinceRegion;
        $this->options['businessPostalCode'] = $businessPostalCode;
        $this->options['businessCountry'] = $businessCountry;
        $this->options['additionalInformation'] = $additionalInformation;
        $this->options['businessContactFirstName'] = $businessContactFirstName;
        $this->options['businessContactLastName'] = $businessContactLastName;
        $this->options['businessContactEmail'] = $businessContactEmail;
        $this->options['businessContactPhone'] = $businessContactPhone;
        $this->options['externalReferenceId'] = $externalReferenceId;
        $this->options['businessRegistrationNumber'] = $businessRegistrationNumber;
        $this->options['businessRegistrationAuthority'] = $businessRegistrationAuthority;
        $this->options['businessRegistrationCountry'] = $businessRegistrationCountry;
        $this->options['businessType'] = $businessType;
        $this->options['businessRegistrationPhoneNumber'] = $businessRegistrationPhoneNumber;
        $this->options['doingBusinessAs'] = $doingBusinessAs;
        $this->options['optInConfirmationMessage'] = $optInConfirmationMessage;
        $this->options['helpMessageSample'] = $helpMessageSample;
        $this->options['privacyPolicyUrl'] = $privacyPolicyUrl;
        $this->options['termsAndConditionsUrl'] = $termsAndConditionsUrl;
        $this->options['ageGatedContent'] = $ageGatedContent;
        $this->options['optInKeywords'] = $optInKeywords;
        $this->options['vettingProvider'] = $vettingProvider;
        $this->options['vettingId'] = $vettingId;
    }

    /**
     * Customer's Profile Bundle BundleSid.
     *
     * @param string $customerProfileSid Customer's Profile Bundle BundleSid.
     * @return $this Fluent Builder
     */
    public function setCustomerProfileSid(string $customerProfileSid): self
    {
        $this->options['customerProfileSid'] = $customerProfileSid;
        return $this;
    }

    /**
     * The address of the business or organization using the Tollfree number.
     *
     * @param string $businessStreetAddress The address of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessStreetAddress(string $businessStreetAddress): self
    {
        $this->options['businessStreetAddress'] = $businessStreetAddress;
        return $this;
    }

    /**
     * The address of the business or organization using the Tollfree number.
     *
     * @param string $businessStreetAddress2 The address of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessStreetAddress2(string $businessStreetAddress2): self
    {
        $this->options['businessStreetAddress2'] = $businessStreetAddress2;
        return $this;
    }

    /**
     * The city of the business or organization using the Tollfree number.
     *
     * @param string $businessCity The city of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessCity(string $businessCity): self
    {
        $this->options['businessCity'] = $businessCity;
        return $this;
    }

    /**
     * The state/province/region of the business or organization using the Tollfree number.
     *
     * @param string $businessStateProvinceRegion The state/province/region of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessStateProvinceRegion(string $businessStateProvinceRegion): self
    {
        $this->options['businessStateProvinceRegion'] = $businessStateProvinceRegion;
        return $this;
    }

    /**
     * The postal code of the business or organization using the Tollfree number.
     *
     * @param string $businessPostalCode The postal code of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessPostalCode(string $businessPostalCode): self
    {
        $this->options['businessPostalCode'] = $businessPostalCode;
        return $this;
    }

    /**
     * The country of the business or organization using the Tollfree number.
     *
     * @param string $businessCountry The country of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessCountry(string $businessCountry): self
    {
        $this->options['businessCountry'] = $businessCountry;
        return $this;
    }

    /**
     * Additional information to be provided for verification.
     *
     * @param string $additionalInformation Additional information to be provided for verification.
     * @return $this Fluent Builder
     */
    public function setAdditionalInformation(string $additionalInformation): self
    {
        $this->options['additionalInformation'] = $additionalInformation;
        return $this;
    }

    /**
     * The first name of the contact for the business or organization using the Tollfree number.
     *
     * @param string $businessContactFirstName The first name of the contact for the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessContactFirstName(string $businessContactFirstName): self
    {
        $this->options['businessContactFirstName'] = $businessContactFirstName;
        return $this;
    }

    /**
     * The last name of the contact for the business or organization using the Tollfree number.
     *
     * @param string $businessContactLastName The last name of the contact for the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessContactLastName(string $businessContactLastName): self
    {
        $this->options['businessContactLastName'] = $businessContactLastName;
        return $this;
    }

    /**
     * The email address of the contact for the business or organization using the Tollfree number.
     *
     * @param string $businessContactEmail The email address of the contact for the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessContactEmail(string $businessContactEmail): self
    {
        $this->options['businessContactEmail'] = $businessContactEmail;
        return $this;
    }

    /**
     * The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
     *
     * @param string $businessContactPhone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessContactPhone(string $businessContactPhone): self
    {
        $this->options['businessContactPhone'] = $businessContactPhone;
        return $this;
    }

    /**
     * An optional external reference ID supplied by customer and echoed back on status retrieval.
     *
     * @param string $externalReferenceId An optional external reference ID supplied by customer and echoed back on status retrieval.
     * @return $this Fluent Builder
     */
    public function setExternalReferenceId(string $externalReferenceId): self
    {
        $this->options['externalReferenceId'] = $externalReferenceId;
        return $this;
    }

    /**
     * A legally recognized business registration number. Required for all business types except SOLE_PROPRIETOR.
     *
     * @param string $businessRegistrationNumber A legally recognized business registration number. Required for all business types except SOLE_PROPRIETOR.
     * @return $this Fluent Builder
     */
    public function setBusinessRegistrationNumber(string $businessRegistrationNumber): self
    {
        $this->options['businessRegistrationNumber'] = $businessRegistrationNumber;
        return $this;
    }

    /**
     * @param string $businessRegistrationAuthority
     * @return $this Fluent Builder
     */
    public function setBusinessRegistrationAuthority(string $businessRegistrationAuthority): self
    {
        $this->options['businessRegistrationAuthority'] = $businessRegistrationAuthority;
        return $this;
    }

    /**
     * The country where the business is registered. Required for all business types except SOLE_PROPRIETOR.
     *
     * @param string $businessRegistrationCountry The country where the business is registered. Required for all business types except SOLE_PROPRIETOR.
     * @return $this Fluent Builder
     */
    public function setBusinessRegistrationCountry(string $businessRegistrationCountry): self
    {
        $this->options['businessRegistrationCountry'] = $businessRegistrationCountry;
        return $this;
    }

    /**
     * @param string $businessType
     * @return $this Fluent Builder
     */
    public function setBusinessType(string $businessType): self
    {
        $this->options['businessType'] = $businessType;
        return $this;
    }

    /**
     * The E.164 formatted number associated with the business.
     *
     * @param string $businessRegistrationPhoneNumber The E.164 formatted number associated with the business.
     * @return $this Fluent Builder
     */
    public function setBusinessRegistrationPhoneNumber(string $businessRegistrationPhoneNumber): self
    {
        $this->options['businessRegistrationPhoneNumber'] = $businessRegistrationPhoneNumber;
        return $this;
    }

    /**
     * Trade name, sub entity, or downstream business name of business being submitted for verification
     *
     * @param string $doingBusinessAs Trade name, sub entity, or downstream business name of business being submitted for verification
     * @return $this Fluent Builder
     */
    public function setDoingBusinessAs(string $doingBusinessAs): self
    {
        $this->options['doingBusinessAs'] = $doingBusinessAs;
        return $this;
    }

    /**
     * The confirmation message sent to users when they opt in to receive messages.
     *
     * @param string $optInConfirmationMessage The confirmation message sent to users when they opt in to receive messages.
     * @return $this Fluent Builder
     */
    public function setOptInConfirmationMessage(string $optInConfirmationMessage): self
    {
        $this->options['optInConfirmationMessage'] = $optInConfirmationMessage;
        return $this;
    }

    /**
     * A sample help message provided to users.
     *
     * @param string $helpMessageSample A sample help message provided to users.
     * @return $this Fluent Builder
     */
    public function setHelpMessageSample(string $helpMessageSample): self
    {
        $this->options['helpMessageSample'] = $helpMessageSample;
        return $this;
    }

    /**
     * The URL to the privacy policy for the business or organization.
     *
     * @param string $privacyPolicyUrl The URL to the privacy policy for the business or organization.
     * @return $this Fluent Builder
     */
    public function setPrivacyPolicyUrl(string $privacyPolicyUrl): self
    {
        $this->options['privacyPolicyUrl'] = $privacyPolicyUrl;
        return $this;
    }

    /**
     * The URL to the terms and conditions for the business or organization.
     *
     * @param string $termsAndConditionsUrl The URL to the terms and conditions for the business or organization.
     * @return $this Fluent Builder
     */
    public function setTermsAndConditionsUrl(string $termsAndConditionsUrl): self
    {
        $this->options['termsAndConditionsUrl'] = $termsAndConditionsUrl;
        return $this;
    }

    /**
     * Indicates if the content is age gated.
     *
     * @param bool $ageGatedContent Indicates if the content is age gated.
     * @return $this Fluent Builder
     */
    public function setAgeGatedContent(bool $ageGatedContent): self
    {
        $this->options['ageGatedContent'] = $ageGatedContent;
        return $this;
    }

    /**
     * List of keywords that users can text in to opt in to receive messages.
     *
     * @param string[] $optInKeywords List of keywords that users can text in to opt in to receive messages.
     * @return $this Fluent Builder
     */
    public function setOptInKeywords(array $optInKeywords): self
    {
        $this->options['optInKeywords'] = $optInKeywords;
        return $this;
    }

    /**
     * @param string $vettingProvider
     * @return $this Fluent Builder
     */
    public function setVettingProvider(string $vettingProvider): self
    {
        $this->options['vettingProvider'] = $vettingProvider;
        return $this;
    }

    /**
     * The unique ID of the vetting
     *
     * @param string $vettingId The unique ID of the vetting
     * @return $this Fluent Builder
     */
    public function setVettingId(string $vettingId): self
    {
        $this->options['vettingId'] = $vettingId;
        return $this;
    }

    /**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    public function __toString(): string
    {
        $options = \http_build_query(Values::of($this->options), '', ' ');
        return '[Twilio.Messaging.V1.CreateTollfreeVerificationOptions ' . $options . ']';
    }
}



class ReadTollfreeVerificationOptions extends Options
    {
    /**
     * @param string $tollfreePhoneNumberSid The SID of the Phone Number associated with the Tollfree Verification.
     * @param string $status The compliance status of the Tollfree Verification record.
     * @param string $externalReferenceId Customer supplied reference id for the Tollfree Verification record.
     * @param bool $includeSubAccounts Whether to include Tollfree Verifications from sub accounts in list response.
     * @param string[] $trustProductSid The trust product sids / tollfree bundle sids of tollfree verifications
     */
    public function __construct(
        
        string $tollfreePhoneNumberSid = Values::NONE,
        string $status = Values::NONE,
        string $externalReferenceId = Values::NONE,
        bool $includeSubAccounts = Values::BOOL_NONE,
        array $trustProductSid = Values::ARRAY_NONE

    ) {
        $this->options['tollfreePhoneNumberSid'] = $tollfreePhoneNumberSid;
        $this->options['status'] = $status;
        $this->options['externalReferenceId'] = $externalReferenceId;
        $this->options['includeSubAccounts'] = $includeSubAccounts;
        $this->options['trustProductSid'] = $trustProductSid;
    }

    /**
     * The SID of the Phone Number associated with the Tollfree Verification.
     *
     * @param string $tollfreePhoneNumberSid The SID of the Phone Number associated with the Tollfree Verification.
     * @return $this Fluent Builder
     */
    public function setTollfreePhoneNumberSid(string $tollfreePhoneNumberSid): self
    {
        $this->options['tollfreePhoneNumberSid'] = $tollfreePhoneNumberSid;
        return $this;
    }

    /**
     * The compliance status of the Tollfree Verification record.
     *
     * @param string $status The compliance status of the Tollfree Verification record.
     * @return $this Fluent Builder
     */
    public function setStatus(string $status): self
    {
        $this->options['status'] = $status;
        return $this;
    }

    /**
     * Customer supplied reference id for the Tollfree Verification record.
     *
     * @param string $externalReferenceId Customer supplied reference id for the Tollfree Verification record.
     * @return $this Fluent Builder
     */
    public function setExternalReferenceId(string $externalReferenceId): self
    {
        $this->options['externalReferenceId'] = $externalReferenceId;
        return $this;
    }

    /**
     * Whether to include Tollfree Verifications from sub accounts in list response.
     *
     * @param bool $includeSubAccounts Whether to include Tollfree Verifications from sub accounts in list response.
     * @return $this Fluent Builder
     */
    public function setIncludeSubAccounts(bool $includeSubAccounts): self
    {
        $this->options['includeSubAccounts'] = $includeSubAccounts;
        return $this;
    }

    /**
     * The trust product sids / tollfree bundle sids of tollfree verifications
     *
     * @param string[] $trustProductSid The trust product sids / tollfree bundle sids of tollfree verifications
     * @return $this Fluent Builder
     */
    public function setTrustProductSid(array $trustProductSid): self
    {
        $this->options['trustProductSid'] = $trustProductSid;
        return $this;
    }

    /**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    public function __toString(): string
    {
        $options = \http_build_query(Values::of($this->options), '', ' ');
        return '[Twilio.Messaging.V1.ReadTollfreeVerificationOptions ' . $options . ']';
    }
}

class UpdateTollfreeVerificationOptions extends Options
    {
    /**
     * @param string $businessName The name of the business or organization using the Tollfree number.
     * @param string $businessWebsite The website of the business or organization using the Tollfree number.
     * @param string $notificationEmail The email address to receive the notification about the verification result. .
     * @param string[] $useCaseCategories The category of the use case for the Tollfree Number. List as many as are applicable.
     * @param string $useCaseSummary Use this to further explain how messaging is used by the business or organization.
     * @param string $productionMessageSample An example of message content, i.e. a sample message.
     * @param string[] $optInImageUrls Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
     * @param string $optInType
     * @param string $messageVolume Estimate monthly volume of messages from the Tollfree Number.
     * @param string $businessStreetAddress The address of the business or organization using the Tollfree number.
     * @param string $businessStreetAddress2 The address of the business or organization using the Tollfree number.
     * @param string $businessCity The city of the business or organization using the Tollfree number.
     * @param string $businessStateProvinceRegion The state/province/region of the business or organization using the Tollfree number.
     * @param string $businessPostalCode The postal code of the business or organization using the Tollfree number.
     * @param string $businessCountry The country of the business or organization using the Tollfree number.
     * @param string $additionalInformation Additional information to be provided for verification.
     * @param string $businessContactFirstName The first name of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactLastName The last name of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactEmail The email address of the contact for the business or organization using the Tollfree number.
     * @param string $businessContactPhone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
     * @param string $editReason Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
     * @param string $businessRegistrationNumber A legally recognized business registration number
     * @param string $businessRegistrationAuthority
     * @param string $businessRegistrationCountry Country business is registered in
     * @param string $businessType
     * @param string $businessRegistrationPhoneNumber The E.164 formatted number associated with the business.
     * @param string $doingBusinessAs Trade name, sub entity, or downstream business name of business being submitted for verification
     * @param string $optInConfirmationMessage The confirmation message sent to users when they opt in to receive messages.
     * @param string $helpMessageSample A sample help message provided to users.
     * @param string $privacyPolicyUrl The URL to the privacy policy for the business or organization.
     * @param string $termsAndConditionsUrl The URL to the terms and conditions for the business or organization.
     * @param bool $ageGatedContent Indicates if the content is age gated.
     * @param string[] $optInKeywords List of keywords that users can text in to opt in to receive messages.
     * @param string $vettingProvider
     * @param string $vettingId The unique ID of the vetting
     */
    public function __construct(
        
        string $businessName = Values::NONE,
        string $businessWebsite = Values::NONE,
        string $notificationEmail = Values::NONE,
        array $useCaseCategories = Values::ARRAY_NONE,
        string $useCaseSummary = Values::NONE,
        string $productionMessageSample = Values::NONE,
        array $optInImageUrls = Values::ARRAY_NONE,
        string $optInType = Values::NONE,
        string $messageVolume = Values::NONE,
        string $businessStreetAddress = Values::NONE,
        string $businessStreetAddress2 = Values::NONE,
        string $businessCity = Values::NONE,
        string $businessStateProvinceRegion = Values::NONE,
        string $businessPostalCode = Values::NONE,
        string $businessCountry = Values::NONE,
        string $additionalInformation = Values::NONE,
        string $businessContactFirstName = Values::NONE,
        string $businessContactLastName = Values::NONE,
        string $businessContactEmail = Values::NONE,
        string $businessContactPhone = Values::NONE,
        string $editReason = Values::NONE,
        string $businessRegistrationNumber = Values::NONE,
        string $businessRegistrationAuthority = Values::NONE,
        string $businessRegistrationCountry = Values::NONE,
        string $businessType = Values::NONE,
        string $businessRegistrationPhoneNumber = Values::NONE,
        string $doingBusinessAs = Values::NONE,
        string $optInConfirmationMessage = Values::NONE,
        string $helpMessageSample = Values::NONE,
        string $privacyPolicyUrl = Values::NONE,
        string $termsAndConditionsUrl = Values::NONE,
        bool $ageGatedContent = Values::BOOL_NONE,
        array $optInKeywords = Values::ARRAY_NONE,
        string $vettingProvider = Values::NONE,
        string $vettingId = Values::NONE

    ) {
        $this->options['businessName'] = $businessName;
        $this->options['businessWebsite'] = $businessWebsite;
        $this->options['notificationEmail'] = $notificationEmail;
        $this->options['useCaseCategories'] = $useCaseCategories;
        $this->options['useCaseSummary'] = $useCaseSummary;
        $this->options['productionMessageSample'] = $productionMessageSample;
        $this->options['optInImageUrls'] = $optInImageUrls;
        $this->options['optInType'] = $optInType;
        $this->options['messageVolume'] = $messageVolume;
        $this->options['businessStreetAddress'] = $businessStreetAddress;
        $this->options['businessStreetAddress2'] = $businessStreetAddress2;
        $this->options['businessCity'] = $businessCity;
        $this->options['businessStateProvinceRegion'] = $businessStateProvinceRegion;
        $this->options['businessPostalCode'] = $businessPostalCode;
        $this->options['businessCountry'] = $businessCountry;
        $this->options['additionalInformation'] = $additionalInformation;
        $this->options['businessContactFirstName'] = $businessContactFirstName;
        $this->options['businessContactLastName'] = $businessContactLastName;
        $this->options['businessContactEmail'] = $businessContactEmail;
        $this->options['businessContactPhone'] = $businessContactPhone;
        $this->options['editReason'] = $editReason;
        $this->options['businessRegistrationNumber'] = $businessRegistrationNumber;
        $this->options['businessRegistrationAuthority'] = $businessRegistrationAuthority;
        $this->options['businessRegistrationCountry'] = $businessRegistrationCountry;
        $this->options['businessType'] = $businessType;
        $this->options['businessRegistrationPhoneNumber'] = $businessRegistrationPhoneNumber;
        $this->options['doingBusinessAs'] = $doingBusinessAs;
        $this->options['optInConfirmationMessage'] = $optInConfirmationMessage;
        $this->options['helpMessageSample'] = $helpMessageSample;
        $this->options['privacyPolicyUrl'] = $privacyPolicyUrl;
        $this->options['termsAndConditionsUrl'] = $termsAndConditionsUrl;
        $this->options['ageGatedContent'] = $ageGatedContent;
        $this->options['optInKeywords'] = $optInKeywords;
        $this->options['vettingProvider'] = $vettingProvider;
        $this->options['vettingId'] = $vettingId;
    }

    /**
     * The name of the business or organization using the Tollfree number.
     *
     * @param string $businessName The name of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessName(string $businessName): self
    {
        $this->options['businessName'] = $businessName;
        return $this;
    }

    /**
     * The website of the business or organization using the Tollfree number.
     *
     * @param string $businessWebsite The website of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessWebsite(string $businessWebsite): self
    {
        $this->options['businessWebsite'] = $businessWebsite;
        return $this;
    }

    /**
     * The email address to receive the notification about the verification result. .
     *
     * @param string $notificationEmail The email address to receive the notification about the verification result. .
     * @return $this Fluent Builder
     */
    public function setNotificationEmail(string $notificationEmail): self
    {
        $this->options['notificationEmail'] = $notificationEmail;
        return $this;
    }

    /**
     * The category of the use case for the Tollfree Number. List as many as are applicable.
     *
     * @param string[] $useCaseCategories The category of the use case for the Tollfree Number. List as many as are applicable.
     * @return $this Fluent Builder
     */
    public function setUseCaseCategories(array $useCaseCategories): self
    {
        $this->options['useCaseCategories'] = $useCaseCategories;
        return $this;
    }

    /**
     * Use this to further explain how messaging is used by the business or organization.
     *
     * @param string $useCaseSummary Use this to further explain how messaging is used by the business or organization.
     * @return $this Fluent Builder
     */
    public function setUseCaseSummary(string $useCaseSummary): self
    {
        $this->options['useCaseSummary'] = $useCaseSummary;
        return $this;
    }

    /**
     * An example of message content, i.e. a sample message.
     *
     * @param string $productionMessageSample An example of message content, i.e. a sample message.
     * @return $this Fluent Builder
     */
    public function setProductionMessageSample(string $productionMessageSample): self
    {
        $this->options['productionMessageSample'] = $productionMessageSample;
        return $this;
    }

    /**
     * Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
     *
     * @param string[] $optInImageUrls Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
     * @return $this Fluent Builder
     */
    public function setOptInImageUrls(array $optInImageUrls): self
    {
        $this->options['optInImageUrls'] = $optInImageUrls;
        return $this;
    }

    /**
     * @param string $optInType
     * @return $this Fluent Builder
     */
    public function setOptInType(string $optInType): self
    {
        $this->options['optInType'] = $optInType;
        return $this;
    }

    /**
     * Estimate monthly volume of messages from the Tollfree Number.
     *
     * @param string $messageVolume Estimate monthly volume of messages from the Tollfree Number.
     * @return $this Fluent Builder
     */
    public function setMessageVolume(string $messageVolume): self
    {
        $this->options['messageVolume'] = $messageVolume;
        return $this;
    }

    /**
     * The address of the business or organization using the Tollfree number.
     *
     * @param string $businessStreetAddress The address of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessStreetAddress(string $businessStreetAddress): self
    {
        $this->options['businessStreetAddress'] = $businessStreetAddress;
        return $this;
    }

    /**
     * The address of the business or organization using the Tollfree number.
     *
     * @param string $businessStreetAddress2 The address of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessStreetAddress2(string $businessStreetAddress2): self
    {
        $this->options['businessStreetAddress2'] = $businessStreetAddress2;
        return $this;
    }

    /**
     * The city of the business or organization using the Tollfree number.
     *
     * @param string $businessCity The city of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessCity(string $businessCity): self
    {
        $this->options['businessCity'] = $businessCity;
        return $this;
    }

    /**
     * The state/province/region of the business or organization using the Tollfree number.
     *
     * @param string $businessStateProvinceRegion The state/province/region of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessStateProvinceRegion(string $businessStateProvinceRegion): self
    {
        $this->options['businessStateProvinceRegion'] = $businessStateProvinceRegion;
        return $this;
    }

    /**
     * The postal code of the business or organization using the Tollfree number.
     *
     * @param string $businessPostalCode The postal code of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessPostalCode(string $businessPostalCode): self
    {
        $this->options['businessPostalCode'] = $businessPostalCode;
        return $this;
    }

    /**
     * The country of the business or organization using the Tollfree number.
     *
     * @param string $businessCountry The country of the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessCountry(string $businessCountry): self
    {
        $this->options['businessCountry'] = $businessCountry;
        return $this;
    }

    /**
     * Additional information to be provided for verification.
     *
     * @param string $additionalInformation Additional information to be provided for verification.
     * @return $this Fluent Builder
     */
    public function setAdditionalInformation(string $additionalInformation): self
    {
        $this->options['additionalInformation'] = $additionalInformation;
        return $this;
    }

    /**
     * The first name of the contact for the business or organization using the Tollfree number.
     *
     * @param string $businessContactFirstName The first name of the contact for the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessContactFirstName(string $businessContactFirstName): self
    {
        $this->options['businessContactFirstName'] = $businessContactFirstName;
        return $this;
    }

    /**
     * The last name of the contact for the business or organization using the Tollfree number.
     *
     * @param string $businessContactLastName The last name of the contact for the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessContactLastName(string $businessContactLastName): self
    {
        $this->options['businessContactLastName'] = $businessContactLastName;
        return $this;
    }

    /**
     * The email address of the contact for the business or organization using the Tollfree number.
     *
     * @param string $businessContactEmail The email address of the contact for the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessContactEmail(string $businessContactEmail): self
    {
        $this->options['businessContactEmail'] = $businessContactEmail;
        return $this;
    }

    /**
     * The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
     *
     * @param string $businessContactPhone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
     * @return $this Fluent Builder
     */
    public function setBusinessContactPhone(string $businessContactPhone): self
    {
        $this->options['businessContactPhone'] = $businessContactPhone;
        return $this;
    }

    /**
     * Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
     *
     * @param string $editReason Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
     * @return $this Fluent Builder
     */
    public function setEditReason(string $editReason): self
    {
        $this->options['editReason'] = $editReason;
        return $this;
    }

    /**
     * A legally recognized business registration number
     *
     * @param string $businessRegistrationNumber A legally recognized business registration number
     * @return $this Fluent Builder
     */
    public function setBusinessRegistrationNumber(string $businessRegistrationNumber): self
    {
        $this->options['businessRegistrationNumber'] = $businessRegistrationNumber;
        return $this;
    }

    /**
     * @param string $businessRegistrationAuthority
     * @return $this Fluent Builder
     */
    public function setBusinessRegistrationAuthority(string $businessRegistrationAuthority): self
    {
        $this->options['businessRegistrationAuthority'] = $businessRegistrationAuthority;
        return $this;
    }

    /**
     * Country business is registered in
     *
     * @param string $businessRegistrationCountry Country business is registered in
     * @return $this Fluent Builder
     */
    public function setBusinessRegistrationCountry(string $businessRegistrationCountry): self
    {
        $this->options['businessRegistrationCountry'] = $businessRegistrationCountry;
        return $this;
    }

    /**
     * @param string $businessType
     * @return $this Fluent Builder
     */
    public function setBusinessType(string $businessType): self
    {
        $this->options['businessType'] = $businessType;
        return $this;
    }

    /**
     * The E.164 formatted number associated with the business.
     *
     * @param string $businessRegistrationPhoneNumber The E.164 formatted number associated with the business.
     * @return $this Fluent Builder
     */
    public function setBusinessRegistrationPhoneNumber(string $businessRegistrationPhoneNumber): self
    {
        $this->options['businessRegistrationPhoneNumber'] = $businessRegistrationPhoneNumber;
        return $this;
    }

    /**
     * Trade name, sub entity, or downstream business name of business being submitted for verification
     *
     * @param string $doingBusinessAs Trade name, sub entity, or downstream business name of business being submitted for verification
     * @return $this Fluent Builder
     */
    public function setDoingBusinessAs(string $doingBusinessAs): self
    {
        $this->options['doingBusinessAs'] = $doingBusinessAs;
        return $this;
    }

    /**
     * The confirmation message sent to users when they opt in to receive messages.
     *
     * @param string $optInConfirmationMessage The confirmation message sent to users when they opt in to receive messages.
     * @return $this Fluent Builder
     */
    public function setOptInConfirmationMessage(string $optInConfirmationMessage): self
    {
        $this->options['optInConfirmationMessage'] = $optInConfirmationMessage;
        return $this;
    }

    /**
     * A sample help message provided to users.
     *
     * @param string $helpMessageSample A sample help message provided to users.
     * @return $this Fluent Builder
     */
    public function setHelpMessageSample(string $helpMessageSample): self
    {
        $this->options['helpMessageSample'] = $helpMessageSample;
        return $this;
    }

    /**
     * The URL to the privacy policy for the business or organization.
     *
     * @param string $privacyPolicyUrl The URL to the privacy policy for the business or organization.
     * @return $this Fluent Builder
     */
    public function setPrivacyPolicyUrl(string $privacyPolicyUrl): self
    {
        $this->options['privacyPolicyUrl'] = $privacyPolicyUrl;
        return $this;
    }

    /**
     * The URL to the terms and conditions for the business or organization.
     *
     * @param string $termsAndConditionsUrl The URL to the terms and conditions for the business or organization.
     * @return $this Fluent Builder
     */
    public function setTermsAndConditionsUrl(string $termsAndConditionsUrl): self
    {
        $this->options['termsAndConditionsUrl'] = $termsAndConditionsUrl;
        return $this;
    }

    /**
     * Indicates if the content is age gated.
     *
     * @param bool $ageGatedContent Indicates if the content is age gated.
     * @return $this Fluent Builder
     */
    public function setAgeGatedContent(bool $ageGatedContent): self
    {
        $this->options['ageGatedContent'] = $ageGatedContent;
        return $this;
    }

    /**
     * List of keywords that users can text in to opt in to receive messages.
     *
     * @param string[] $optInKeywords List of keywords that users can text in to opt in to receive messages.
     * @return $this Fluent Builder
     */
    public function setOptInKeywords(array $optInKeywords): self
    {
        $this->options['optInKeywords'] = $optInKeywords;
        return $this;
    }

    /**
     * @param string $vettingProvider
     * @return $this Fluent Builder
     */
    public function setVettingProvider(string $vettingProvider): self
    {
        $this->options['vettingProvider'] = $vettingProvider;
        return $this;
    }

    /**
     * The unique ID of the vetting
     *
     * @param string $vettingId The unique ID of the vetting
     * @return $this Fluent Builder
     */
    public function setVettingId(string $vettingId): self
    {
        $this->options['vettingId'] = $vettingId;
        return $this;
    }

    /**
     * Provide a friendly representation
     *
     * @return string Machine friendly representation
     */
    public function __toString(): string
    {
        $options = \http_build_query(Values::of($this->options), '', ' ');
        return '[Twilio.Messaging.V1.UpdateTollfreeVerificationOptions ' . $options . ']';
    }
}

