github.com/twilio/twilio-go@v1.20.1/rest/sync/v1/model_sync_v1_sync_map_item.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Sync 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 // SyncV1SyncMapItem struct for SyncV1SyncMapItem 22 type SyncV1SyncMapItem struct { 23 // The unique, user-defined key for the Map Item. 24 Key *string `json:"key,omitempty"` 25 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Map Item resource. 26 AccountSid *string `json:"account_sid,omitempty"` 27 // The SID of the [Sync Service](https://www.twilio.com/docs/sync/api/service) the resource is associated with. 28 ServiceSid *string `json:"service_sid,omitempty"` 29 // The SID of the Sync Map that contains the Map Item. 30 MapSid *string `json:"map_sid,omitempty"` 31 // The absolute URL of the Map Item resource. 32 Url *string `json:"url,omitempty"` 33 // The current revision of the Map Item, represented as a string. 34 Revision *string `json:"revision,omitempty"` 35 // An arbitrary, schema-less object that the Map Item stores. Can be up to 16 KiB in length. 36 Data *interface{} `json:"data,omitempty"` 37 // The date and time in GMT when the Map Item expires and will be deleted, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. If the Map Item does not expire, this value is `null`. The Map Item might not be deleted immediately after it expires. 38 DateExpires *time.Time `json:"date_expires,omitempty"` 39 // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 40 DateCreated *time.Time `json:"date_created,omitempty"` 41 // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 42 DateUpdated *time.Time `json:"date_updated,omitempty"` 43 // The identity of the Map Item's creator. If the Map Item is created from the client SDK, the value matches the Access Token's `identity` field. If the Map Item was created from the REST API, the value is `system`. 44 CreatedBy *string `json:"created_by,omitempty"` 45 }