github.com/twilio/twilio-go@v1.20.1/rest/pricing/v2/model_pricing_v2_voice_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 // PricingV2VoiceNumber struct for PricingV2VoiceNumber 18 type PricingV2VoiceNumber 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 // The list of [OutboundCallPriceWithOrigin](https://www.twilio.com/docs/voice/pricing#outbound-call-price-with-origin) records. 28 OutboundCallPrices *[]PricingV2VoiceVoiceNumberOutboundCallPrices `json:"outbound_call_prices,omitempty"` 29 InboundCallPrice *PricingV2VoiceVoiceNumberInboundCallPrice `json:"inbound_call_price,omitempty"` 30 // 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`). 31 PriceUnit *string `json:"price_unit,omitempty"` 32 // The absolute URL of the resource. 33 Url *string `json:"url,omitempty"` 34 }