github.com/twilio/twilio-go@v1.20.1/rest/voice/v1/model_voice_v1_dialing_permissions_country_instance.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Voice
     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  // VoiceV1DialingPermissionsCountryInstance struct for VoiceV1DialingPermissionsCountryInstance
    18  type VoiceV1DialingPermissionsCountryInstance struct {
    19  	// The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
    20  	IsoCode *string `json:"iso_code,omitempty"`
    21  	// The name of the country.
    22  	Name *string `json:"name,omitempty"`
    23  	// The name of the continent in which the country is located.
    24  	Continent *string `json:"continent,omitempty"`
    25  	// The E.164 assigned [country codes(s)](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
    26  	CountryCodes *[]string `json:"country_codes,omitempty"`
    27  	// Whether dialing to low-risk numbers is enabled.
    28  	LowRiskNumbersEnabled *bool `json:"low_risk_numbers_enabled,omitempty"`
    29  	// Whether dialing to high-risk special services numbers is enabled. These prefixes include number ranges allocated by the country and include premium numbers, special services, shared cost, and others
    30  	HighRiskSpecialNumbersEnabled *bool `json:"high_risk_special_numbers_enabled,omitempty"`
    31  	// Whether dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html). These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are updated frequently
    32  	HighRiskTollfraudNumbersEnabled *bool `json:"high_risk_tollfraud_numbers_enabled,omitempty"`
    33  	// The absolute URL of this resource.
    34  	Url *string `json:"url,omitempty"`
    35  	// A list of URLs related to this resource.
    36  	Links *map[string]interface{} `json:"links,omitempty"`
    37  }