github.com/twilio/twilio-go@v1.20.1/rest/pricing/v2/model_pricing_v2_trunking_number.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Pricing 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 // PricingV2TrunkingNumber struct for PricingV2TrunkingNumber 18 type PricingV2TrunkingNumber struct { 19 // The destination 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. 20 DestinationNumber *string `json:"destination_number,omitempty"` 21 // The origination 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. 22 OriginationNumber *string `json:"origination_number,omitempty"` 23 // The name of the country. 24 Country *string `json:"country,omitempty"` 25 // The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) 26 IsoCountry *string `json:"iso_country,omitempty"` 27 TerminatingPrefixPrices *[]PricingV2TrunkingCountryInstanceTerminatingPrefixPrices `json:"terminating_prefix_prices,omitempty"` 28 OriginatingCallPrice *PricingV2TrunkingNumberOriginatingCallPrice `json:"originating_call_price,omitempty"` 29 // The currency in which prices are measured, specified in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format (e.g. `usd`, `eur`, `jpy`). 30 PriceUnit *string `json:"price_unit,omitempty"` 31 // The absolute URL of the resource. 32 Url *string `json:"url,omitempty"` 33 }