github.com/twilio/twilio-go@v1.20.1/rest/sync/v1/model_sync_v1_sync_stream.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 // SyncV1SyncStream struct for SyncV1SyncStream 22 type SyncV1SyncStream struct { 23 // The unique string that we created to identify the Sync Stream 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 Sync Stream resource. 28 AccountSid *string `json:"account_sid,omitempty"` 29 // The SID of the [Sync Service](https://www.twilio.com/docs/sync/api/service) the resource is associated with. 30 ServiceSid *string `json:"service_sid,omitempty"` 31 // The absolute URL of the Message Stream resource. 32 Url *string `json:"url,omitempty"` 33 // The URLs of the Stream's nested resources. 34 Links *map[string]interface{} `json:"links,omitempty"` 35 // The date and time in GMT when the Message Stream expires and will be deleted, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. If the Message Stream does not expire, this value is `null`. The Stream might not be deleted immediately after it expires. 36 DateExpires *time.Time `json:"date_expires,omitempty"` 37 // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 38 DateCreated *time.Time `json:"date_created,omitempty"` 39 // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 40 DateUpdated *time.Time `json:"date_updated,omitempty"` 41 // The identity of the Stream's creator. If the Stream is created from the client SDK, the value matches the Access Token's `identity` field. If the Stream was created from the REST API, the value is 'system'. 42 CreatedBy *string `json:"created_by,omitempty"` 43 }