Versions in this module Expand all Collapse all v0 v0.19.2 Dec 17, 2021 v0.19.1 Dec 17, 2021 Changes in this version + type ApiService struct + func NewApiService(requestHandler *twilio.RequestHandler) *ApiService + func NewApiServiceWithClient(client twilio.BaseClient) *ApiService + func (c *ApiService) FetchMessagingCountry(IsoCountry string) (*PricingV1MessagingCountryInstance, error) + func (c *ApiService) FetchPhoneNumberCountry(IsoCountry string) (*PricingV1PhoneNumberCountryInstance, error) + func (c *ApiService) FetchVoiceCountry(IsoCountry string) (*PricingV1VoiceCountryInstance, error) + func (c *ApiService) FetchVoiceNumber(Number string) (*PricingV1VoiceNumber, error) + func (c *ApiService) ListMessagingCountry(params *ListMessagingCountryParams) ([]PricingV1MessagingCountry, error) + func (c *ApiService) ListPhoneNumberCountry(params *ListPhoneNumberCountryParams) ([]PricingV1PhoneNumberCountry, error) + func (c *ApiService) ListVoiceCountry(params *ListVoiceCountryParams) ([]PricingV1VoiceCountry, error) + func (c *ApiService) PageMessagingCountry(params *ListMessagingCountryParams, pageToken, pageNumber string) (*ListMessagingCountryResponse, error) + func (c *ApiService) PagePhoneNumberCountry(params *ListPhoneNumberCountryParams, pageToken, pageNumber string) (*ListPhoneNumberCountryResponse, error) + func (c *ApiService) PageVoiceCountry(params *ListVoiceCountryParams, pageToken, pageNumber string) (*ListVoiceCountryResponse, error) + func (c *ApiService) StreamMessagingCountry(params *ListMessagingCountryParams) (chan PricingV1MessagingCountry, error) + func (c *ApiService) StreamPhoneNumberCountry(params *ListPhoneNumberCountryParams) (chan PricingV1PhoneNumberCountry, error) + func (c *ApiService) StreamVoiceCountry(params *ListVoiceCountryParams) (chan PricingV1VoiceCountry, error) + type ListMessagingCountryParams struct + Limit *int + PageSize *int + func (params *ListMessagingCountryParams) SetLimit(Limit int) *ListMessagingCountryParams + func (params *ListMessagingCountryParams) SetPageSize(PageSize int) *ListMessagingCountryParams + type ListMessagingCountryResponse struct + Countries []PricingV1MessagingCountry + Meta ListMessagingCountryResponseMeta + type ListMessagingCountryResponseMeta struct + FirstPageUrl string + Key string + NextPageUrl string + Page int + PageSize int + PreviousPageUrl string + Url string + type ListPhoneNumberCountryParams struct + Limit *int + PageSize *int + func (params *ListPhoneNumberCountryParams) SetLimit(Limit int) *ListPhoneNumberCountryParams + func (params *ListPhoneNumberCountryParams) SetPageSize(PageSize int) *ListPhoneNumberCountryParams + type ListPhoneNumberCountryResponse struct + Countries []PricingV1PhoneNumberCountry + Meta ListMessagingCountryResponseMeta + type ListVoiceCountryParams struct + Limit *int + PageSize *int + func (params *ListVoiceCountryParams) SetLimit(Limit int) *ListVoiceCountryParams + func (params *ListVoiceCountryParams) SetPageSize(PageSize int) *ListVoiceCountryParams + type ListVoiceCountryResponse struct + Countries []PricingV1VoiceCountry + Meta ListMessagingCountryResponseMeta + type PricingV1Messaging struct + Links *map[string]interface{} + Name *string + Url *string + type PricingV1MessagingCountry struct + Country *string + IsoCountry *string + Url *string + type PricingV1MessagingCountryInstance struct + Country *string + InboundSmsPrices *[]PricingV1MessagingMessagingCountryInstanceInboundSmsPrices + IsoCountry *string + OutboundSmsPrices *[]PricingV1MessagingMessagingCountryInstanceOutboundSmsPrices + PriceUnit *string + Url *string + type PricingV1MessagingMessagingCountryInstanceInboundSmsPrices struct + BasePrice float32 + CurrentPrice float32 + NumberType string + type PricingV1MessagingMessagingCountryInstanceOutboundSmsPrices struct + Carrier string + Mcc string + Mnc string + Prices []PricingV1MessagingMessagingCountryInstanceInboundSmsPrices + type PricingV1PhoneNumber struct + Links *map[string]interface{} + Name *string + Url *string + type PricingV1PhoneNumberCountry struct + Country *string + IsoCountry *string + Url *string + type PricingV1PhoneNumberCountryInstance struct + Country *string + IsoCountry *string + PhoneNumberPrices *[]PricingV1MessagingMessagingCountryInstanceInboundSmsPrices + PriceUnit *string + Url *string + type PricingV1Voice struct + Links *map[string]interface{} + Name *string + Url *string + type PricingV1VoiceCountry struct + Country *string + IsoCountry *string + Url *string + type PricingV1VoiceCountryInstance struct + Country *string + InboundCallPrices *[]PricingV1MessagingMessagingCountryInstanceInboundSmsPrices + IsoCountry *string + OutboundPrefixPrices *[]PricingV1VoiceVoiceCountryInstanceOutboundPrefixPrices + PriceUnit *string + Url *string + type PricingV1VoiceNumber struct + Country *string + InboundCallPrice *PricingV1VoiceVoiceNumberInboundCallPrice + IsoCountry *string + Number *string + OutboundCallPrice *PricingV1VoiceVoiceNumberOutboundCallPrice + PriceUnit *string + Url *string + type PricingV1VoiceVoiceCountryInstanceOutboundPrefixPrices struct + BasePrice float32 + CurrentPrice float32 + FriendlyName string + Prefixes []string + type PricingV1VoiceVoiceNumberInboundCallPrice struct + BasePrice float32 + CurrentPrice float32 + NumberType string + type PricingV1VoiceVoiceNumberOutboundCallPrice struct + BasePrice float32 + CurrentPrice float32