github.com/twilio/twilio-go@v1.20.1/rest/pricing/v1/model_pricing_v1_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  // PricingV1VoiceNumber struct for PricingV1VoiceNumber
    18  type PricingV1VoiceNumber struct {
    19  	// The phone number.
    20  	Number *string `json:"number,omitempty"`
    21  	// The name of the country.
    22  	Country *string `json:"country,omitempty"`
    23  	// The [ISO country code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
    24  	IsoCountry        *string                                     `json:"iso_country,omitempty"`
    25  	OutboundCallPrice *PricingV1VoiceVoiceNumberOutboundCallPrice `json:"outbound_call_price,omitempty"`
    26  	InboundCallPrice  *PricingV1VoiceVoiceNumberInboundCallPrice  `json:"inbound_call_price,omitempty"`
    27  	// The currency in which prices are measured, specified in [ISO 4127](http://www.iso.org/iso/home/standards/currency_codes.htm) format (e.g. `usd`, `eur`, `jpy`).
    28  	PriceUnit *string `json:"price_unit,omitempty"`
    29  	// The absolute URL of the resource.
    30  	Url *string `json:"url,omitempty"`
    31  }