github.com/twilio/twilio-go@v1.20.1/rest/microvisor/v1/model_microvisor_v1_device.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Microvisor 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 // MicrovisorV1Device struct for MicrovisorV1Device 22 type MicrovisorV1Device struct { 23 // A 34-character string that uniquely identifies this Device. 24 Sid *string `json:"sid,omitempty"` 25 // A developer-defined string that uniquely identifies the Device. This value must be unique for all Devices on this Account. The `unique_name` value may be used as an alternative to the `sid` in the URL path to address the resource. 26 UniqueName *string `json:"unique_name,omitempty"` 27 // The unique SID identifier of the Account. 28 AccountSid *string `json:"account_sid,omitempty"` 29 // Information about the target App and the App reported by this Device. Contains the properties `target_sid`, `date_targeted`, `update_status` (one of `up-to-date`, `pending` and `error`), `update_error_code`, `reported_sid` and `date_reported`. 30 App *interface{} `json:"app,omitempty"` 31 // Object specifying whether application logging is enabled for this Device. Contains the properties `enabled` and `date_expires`. 32 Logging *interface{} `json:"logging,omitempty"` 33 // The date that this Device was created, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 34 DateCreated *time.Time `json:"date_created,omitempty"` 35 // The date that this Device was last updated, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 36 DateUpdated *time.Time `json:"date_updated,omitempty"` 37 // The URL of this resource. 38 Url *string `json:"url,omitempty"` 39 // The absolute URLs of related resources. 40 Links *map[string]interface{} `json:"links,omitempty"` 41 }