github.com/twilio/twilio-go@v1.20.1/rest/lookups/v2/model_lookups_v2_phone_number.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Lookups 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 // LookupsV2PhoneNumber struct for LookupsV2PhoneNumber 18 type LookupsV2PhoneNumber struct { 19 // International dialing prefix of the phone number defined in the E.164 standard. 20 CallingCountryCode *string `json:"calling_country_code,omitempty"` 21 // The phone number's [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). 22 CountryCode *string `json:"country_code,omitempty"` 23 // The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. 24 PhoneNumber *string `json:"phone_number,omitempty"` 25 // The phone number in [national format](https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers). 26 NationalFormat *string `json:"national_format,omitempty"` 27 // Boolean which indicates if the phone number is in a valid range that can be freely assigned by a carrier to a user. 28 Valid *bool `json:"valid,omitempty"` 29 // Contains reasons why a phone number is invalid. Possible values: TOO_SHORT, TOO_LONG, INVALID_BUT_POSSIBLE, INVALID_COUNTRY_CODE, INVALID_LENGTH, NOT_A_NUMBER. 30 ValidationErrors *[]string `json:"validation_errors,omitempty"` 31 // An object that contains caller name information based on [CNAM](https://support.twilio.com/hc/en-us/articles/360051670533-Getting-Started-with-CNAM-Caller-ID). 32 CallerName *interface{} `json:"caller_name,omitempty"` 33 // An object that contains information on the last date the subscriber identity module (SIM) was changed for a mobile phone number. 34 SimSwap *interface{} `json:"sim_swap,omitempty"` 35 // An object that contains information on the unconditional call forwarding status of mobile phone number. 36 CallForwarding *interface{} `json:"call_forwarding,omitempty"` 37 // An object that contains line status information for a mobile phone number. 38 LineStatus *interface{} `json:"line_status,omitempty"` 39 // An object that contains line type information including the carrier name, mobile country code, and mobile network code. 40 LineTypeIntelligence *interface{} `json:"line_type_intelligence,omitempty"` 41 // An object that contains identity match information. The result of comparing user-provided information including name, address, date of birth, national ID, against authoritative phone-based data sources 42 IdentityMatch *interface{} `json:"identity_match,omitempty"` 43 // An object that contains reassigned number information. Reassigned Numbers will return a phone number's reassignment status given a phone number and date 44 ReassignedNumber *interface{} `json:"reassigned_number,omitempty"` 45 // An object that contains information on if a phone number has been currently or previously blocked by Verify Fraud Guard for receiving malicious SMS pumping traffic as well as other signals associated with risky carriers and low conversion rates. 46 SmsPumpingRisk *interface{} `json:"sms_pumping_risk,omitempty"` 47 // An object that contains information of a mobile phone number quality score. Quality score will return a risk score about the phone number. 48 PhoneNumberQualityScore *interface{} `json:"phone_number_quality_score,omitempty"` 49 // An object that contains pre fill information. pre_fill will return PII information associated with the phone number like first name, last name, address line, country code, state and postal code. 50 PreFill *interface{} `json:"pre_fill,omitempty"` 51 // The absolute URL of the resource. 52 Url *string `json:"url,omitempty"` 53 }