github.com/twilio/twilio-go@v1.20.1/rest/supersim/v1/model_supersim_v1_fleet.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Supersim 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 // SupersimV1Fleet struct for SupersimV1Fleet 22 type SupersimV1Fleet struct { 23 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Fleet resource. 24 AccountSid *string `json:"account_sid,omitempty"` 25 // The unique string that we created to identify the Fleet resource. 26 Sid *string `json:"sid,omitempty"` 27 // 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. 28 UniqueName *string `json:"unique_name,omitempty"` 29 // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 30 DateCreated *time.Time `json:"date_created,omitempty"` 31 // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 32 DateUpdated *time.Time `json:"date_updated,omitempty"` 33 // The absolute URL of the Fleet resource. 34 Url *string `json:"url,omitempty"` 35 // Defines whether SIMs in the Fleet are capable of using 2G/3G/4G/LTE/CAT-M data connectivity. Defaults to `true`. 36 DataEnabled *bool `json:"data_enabled,omitempty"` 37 // The total data usage (download and upload combined) in Megabytes that each Super SIM assigned to the Fleet can consume during a billing period (normally one month). Value must be between 1MB (1) and 2TB (2,000,000). Defaults to 250MB. 38 DataLimit *int `json:"data_limit,omitempty"` 39 DataMetering *string `json:"data_metering,omitempty"` 40 // Defines whether SIMs in the Fleet are capable of sending and receiving machine-to-machine SMS via Commands. Defaults to `false`. 41 SmsCommandsEnabled *bool `json:"sms_commands_enabled,omitempty"` 42 // The URL that will receive a webhook when a Super SIM in the Fleet is used to send an SMS from your device to the SMS Commands number. Your server should respond with an HTTP status code in the 200 range; any response body will be ignored. 43 SmsCommandsUrl *string `json:"sms_commands_url,omitempty"` 44 // A string representing the HTTP method to use when making a request to `sms_commands_url`. Can be one of `POST` or `GET`. Defaults to `POST`. 45 SmsCommandsMethod *string `json:"sms_commands_method,omitempty"` 46 // The SID of the Network Access Profile that controls which cellular networks the Fleet's SIMs can connect to. 47 NetworkAccessProfileSid *string `json:"network_access_profile_sid,omitempty"` 48 // The URL that will receive a webhook when a Super SIM in the Fleet is used to send an IP Command from your device to a special IP address. Your server should respond with an HTTP status code in the 200 range; any response body will be ignored. 49 IpCommandsUrl *string `json:"ip_commands_url,omitempty"` 50 // A string representing the HTTP method to use when making a request to `ip_commands_url`. Can be one of `POST` or `GET`. Defaults to `POST`. 51 IpCommandsMethod *string `json:"ip_commands_method,omitempty"` 52 }