github.com/twilio/twilio-go@v1.20.1/rest/wireless/v1/model_wireless_v1_rate_plan.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Wireless 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 import ( 18 "time" 19 ) 20 21 // WirelessV1RatePlan struct for WirelessV1RatePlan 22 type WirelessV1RatePlan struct { 23 // The unique string that we created to identify the RatePlan resource. 24 Sid *string `json:"sid,omitempty"` 25 // An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. 26 UniqueName *string `json:"unique_name,omitempty"` 27 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the RatePlan resource. 28 AccountSid *string `json:"account_sid,omitempty"` 29 // The string that you assigned to describe the resource. 30 FriendlyName *string `json:"friendly_name,omitempty"` 31 // Whether SIMs can use GPRS/3G/4G/LTE data connectivity. 32 DataEnabled *bool `json:"data_enabled,omitempty"` 33 // The model used to meter data usage. Can be: `payg` and `quota-1`, `quota-10`, and `quota-50`. Learn more about the available [data metering models](https://www.twilio.com/docs/iot/wireless/api/rateplan-resource#payg-vs-quota-data-plans). 34 DataMetering *string `json:"data_metering,omitempty"` 35 // The total data usage (download and upload combined) in Megabytes that the Network allows during one month on the home network (T-Mobile USA). The metering period begins the day of activation and ends on the same day in the following month. Can be up to 2TB. 36 DataLimit *int `json:"data_limit,omitempty"` 37 // Whether SIMs can make, send, and receive SMS using [Commands](https://www.twilio.com/docs/iot/wireless/api/command-resource). 38 MessagingEnabled *bool `json:"messaging_enabled,omitempty"` 39 // Deprecated. Whether SIMs can make and receive voice calls. 40 VoiceEnabled *bool `json:"voice_enabled,omitempty"` 41 // Whether SIMs can roam on networks other than the home network (T-Mobile USA) in the United States. See [national roaming](https://www.twilio.com/docs/iot/wireless/api/rateplan-resource#national-roaming). 42 NationalRoamingEnabled *bool `json:"national_roaming_enabled,omitempty"` 43 // The total data usage (download and upload combined) in Megabytes that the Network allows during one month on non-home networks in the United States. The metering period begins the day of activation and ends on the same day in the following month. Can be up to 2TB. 44 NationalRoamingDataLimit *int `json:"national_roaming_data_limit,omitempty"` 45 // The list of services that SIMs capable of using GPRS/3G/4G/LTE data connectivity can use outside of the United States. Can contain: `data` and `messaging`. 46 InternationalRoaming *[]string `json:"international_roaming,omitempty"` 47 // The total data usage (download and upload combined) in Megabytes that the Network allows during one month when roaming outside the United States. Can be up to 2TB. 48 InternationalRoamingDataLimit *int `json:"international_roaming_data_limit,omitempty"` 49 // The date and time in GMT when the resource was created specified in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. 50 DateCreated *time.Time `json:"date_created,omitempty"` 51 // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. 52 DateUpdated *time.Time `json:"date_updated,omitempty"` 53 // The absolute URL of the resource. 54 Url *string `json:"url,omitempty"` 55 }