github.com/twilio/twilio-go@v1.20.1/rest/pricing/v1/model_pricing_v1_messaging_country_instance.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  // PricingV1MessagingCountryInstance struct for PricingV1MessagingCountryInstance
    18  type PricingV1MessagingCountryInstance struct {
    19  	// The name of the country.
    20  	Country *string `json:"country,omitempty"`
    21  	// The [ISO country code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
    22  	IsoCountry *string `json:"iso_country,omitempty"`
    23  	// The list of [OutboundSMSPrice](https://www.twilio.com/docs/sms/api/pricing#outbound-sms-price) records that represent the price to send a message for each MCC/MNC applicable in this country.
    24  	OutboundSmsPrices *[]PricingV1MessagingMessagingCountryInstanceOutboundSmsPrices `json:"outbound_sms_prices,omitempty"`
    25  	// The list of [InboundPrice](https://www.twilio.com/docs/sms/api/pricing#inbound-price) records that describe the price to receive an inbound SMS to the different Twilio phone number types supported in this country
    26  	InboundSmsPrices *[]PricingV1MessagingMessagingCountryInstanceInboundSmsPrices `json:"inbound_sms_prices,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  }