github.com/twilio/twilio-go@v1.20.1/rest/lookups/v1/model_lookups_v1_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 // LookupsV1PhoneNumber struct for LookupsV1PhoneNumber 18 type LookupsV1PhoneNumber struct { 19 // The name of the phone number's owner. If `null`, that information was not available. 20 CallerName *interface{} `json:"caller_name,omitempty"` 21 // The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) for the phone number. 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. 26 NationalFormat *string `json:"national_format,omitempty"` 27 // The telecom company that provides the phone number. 28 Carrier *interface{} `json:"carrier,omitempty"` 29 // A JSON string with the results of the Add-ons you specified in the `add_ons` parameters. For the format of the object, see [Using Add-ons](https://www.twilio.com/docs/add-ons). 30 AddOns *interface{} `json:"add_ons,omitempty"` 31 // The absolute URL of the resource. 32 Url *string `json:"url,omitempty"` 33 }