github.com/twilio/twilio-go@v1.20.1/rest/messaging/v1/model_messaging_v1_tollfree_verification.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Messaging
     8   * This is the public Twilio REST API.
     9   *
    10   * NOTE: This class is auto generated by OpenAPI Generator.
    11   * https://openapi-generator.tech
    12   * Do not edit the class manually.
    13   */
    14  
    15  package openapi
    16  
    17  import (
    18  	"time"
    19  )
    20  
    21  // MessagingV1TollfreeVerification struct for MessagingV1TollfreeVerification
    22  type MessagingV1TollfreeVerification struct {
    23  	// The unique string to identify Tollfree Verification.
    24  	Sid *string `json:"sid,omitempty"`
    25  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Tollfree Verification resource.
    26  	AccountSid *string `json:"account_sid,omitempty"`
    27  	// Customer's Profile Bundle BundleSid.
    28  	CustomerProfileSid *string `json:"customer_profile_sid,omitempty"`
    29  	// Tollfree TrustProduct Bundle BundleSid.
    30  	TrustProductSid *string `json:"trust_product_sid,omitempty"`
    31  	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    32  	DateCreated *time.Time `json:"date_created,omitempty"`
    33  	// The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    34  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    35  	// The SID of the Regulated Item.
    36  	RegulatedItemSid *string `json:"regulated_item_sid,omitempty"`
    37  	// The name of the business or organization using the Tollfree number.
    38  	BusinessName *string `json:"business_name,omitempty"`
    39  	// The address of the business or organization using the Tollfree number.
    40  	BusinessStreetAddress *string `json:"business_street_address,omitempty"`
    41  	// The address of the business or organization using the Tollfree number.
    42  	BusinessStreetAddress2 *string `json:"business_street_address2,omitempty"`
    43  	// The city of the business or organization using the Tollfree number.
    44  	BusinessCity *string `json:"business_city,omitempty"`
    45  	// The state/province/region of the business or organization using the Tollfree number.
    46  	BusinessStateProvinceRegion *string `json:"business_state_province_region,omitempty"`
    47  	// The postal code of the business or organization using the Tollfree number.
    48  	BusinessPostalCode *string `json:"business_postal_code,omitempty"`
    49  	// The country of the business or organization using the Tollfree number.
    50  	BusinessCountry *string `json:"business_country,omitempty"`
    51  	// The website of the business or organization using the Tollfree number.
    52  	BusinessWebsite *string `json:"business_website,omitempty"`
    53  	// The first name of the contact for the business or organization using the Tollfree number.
    54  	BusinessContactFirstName *string `json:"business_contact_first_name,omitempty"`
    55  	// The last name of the contact for the business or organization using the Tollfree number.
    56  	BusinessContactLastName *string `json:"business_contact_last_name,omitempty"`
    57  	// The email address of the contact for the business or organization using the Tollfree number.
    58  	BusinessContactEmail *string `json:"business_contact_email,omitempty"`
    59  	// The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
    60  	BusinessContactPhone *string `json:"business_contact_phone,omitempty"`
    61  	// The email address to receive the notification about the verification result. .
    62  	NotificationEmail *string `json:"notification_email,omitempty"`
    63  	// The category of the use case for the Tollfree Number. List as many are applicable..
    64  	UseCaseCategories *[]string `json:"use_case_categories,omitempty"`
    65  	// Use this to further explain how messaging is used by the business or organization.
    66  	UseCaseSummary *string `json:"use_case_summary,omitempty"`
    67  	// An example of message content, i.e. a sample message.
    68  	ProductionMessageSample *string `json:"production_message_sample,omitempty"`
    69  	// Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
    70  	OptInImageUrls *[]string `json:"opt_in_image_urls,omitempty"`
    71  	OptInType      *string   `json:"opt_in_type,omitempty"`
    72  	// Estimate monthly volume of messages from the Tollfree Number.
    73  	MessageVolume *string `json:"message_volume,omitempty"`
    74  	// Additional information to be provided for verification.
    75  	AdditionalInformation *string `json:"additional_information,omitempty"`
    76  	// The SID of the Phone Number associated with the Tollfree Verification.
    77  	TollfreePhoneNumberSid *string `json:"tollfree_phone_number_sid,omitempty"`
    78  	Status                 *string `json:"status,omitempty"`
    79  	// The absolute URL of the Tollfree Verification resource.
    80  	Url *string `json:"url,omitempty"`
    81  	// The rejection reason given when a Tollfree Verification has been rejected.
    82  	RejectionReason *string `json:"rejection_reason,omitempty"`
    83  	// The error code given when a Tollfree Verification has been rejected.
    84  	ErrorCode *int `json:"error_code,omitempty"`
    85  	// The date and time when the ability to edit a rejected verification expires.
    86  	EditExpiration *time.Time `json:"edit_expiration,omitempty"`
    87  	// If a rejected verification is allowed to be edited/resubmitted. Some rejection reasons allow editing and some do not.
    88  	EditAllowed *bool `json:"edit_allowed,omitempty"`
    89  	// A list of rejection reasons and codes describing why a Tollfree Verification has been rejected.
    90  	RejectionReasons *[]interface{} `json:"rejection_reasons,omitempty"`
    91  	// The URLs of the documents associated with the Tollfree Verification resource.
    92  	ResourceLinks *interface{} `json:"resource_links,omitempty"`
    93  	// An optional external reference ID supplied by customer and echoed back on status retrieval.
    94  	ExternalReferenceId *string `json:"external_reference_id,omitempty"`
    95  }