github.com/twilio/twilio-go@v1.20.1/rest/wireless/v1/model_wireless_v1_usage_record.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 // WirelessV1UsageRecord struct for WirelessV1UsageRecord 18 type WirelessV1UsageRecord struct { 19 // The SID of the [Sim resource](https://www.twilio.com/docs/iot/wireless/api/sim-resource) that this Usage Record is for. 20 SimSid *string `json:"sim_sid,omitempty"` 21 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resource. 22 AccountSid *string `json:"account_sid,omitempty"` 23 // The time period for which the usage is reported. Contains `start` and `end` datetime values given as GMT in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. 24 Period *interface{} `json:"period,omitempty"` 25 // An object that describes the SIM's usage of Commands during the specified period. See [Commands Usage Object](https://www.twilio.com/docs/iot/wireless/api/sim-usagerecord-resource#commands-usage-object). 26 Commands *interface{} `json:"commands,omitempty"` 27 // An object that describes the SIM's data usage during the specified period. See [Data Usage Object](https://www.twilio.com/docs/iot/wireless/api/sim-usagerecord-resource#data-usage-object). 28 Data *interface{} `json:"data,omitempty"` 29 }