github.com/twilio/twilio-go@v1.20.1/rest/content/v1/model_content_v1_legacy_content.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Content 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 // ContentV1LegacyContent struct for ContentV1LegacyContent 22 type ContentV1LegacyContent struct { 23 // The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. 24 DateCreated *time.Time `json:"date_created,omitempty"` 25 // The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. 26 DateUpdated *time.Time `json:"date_updated,omitempty"` 27 // The unique string that that we created to identify the Content resource. 28 Sid *string `json:"sid,omitempty"` 29 // The SID of the [Account](https://www.twilio.com/docs/usage/api/account) that created Content resource. 30 AccountSid *string `json:"account_sid,omitempty"` 31 // A string name used to describe the Content resource. Not visible to the end recipient. 32 FriendlyName *string `json:"friendly_name,omitempty"` 33 // Two-letter (ISO 639-1) language code (e.g., en) identifying the language the Content resource is in. 34 Language *string `json:"language,omitempty"` 35 // Defines the default placeholder values for variables included in the Content resource. e.g. {\"1\": \"Customer_Name\"}. 36 Variables *interface{} `json:"variables,omitempty"` 37 // The [Content types](https://www.twilio.com/docs/content-api/content-types-overview) (e.g. twilio/text) for this Content resource. 38 Types *interface{} `json:"types,omitempty"` 39 // The string name of the legacy content template associated with this Content resource, unique across all template names for its account. Only lowercase letters, numbers and underscores are allowed 40 LegacyTemplateName *string `json:"legacy_template_name,omitempty"` 41 // The string body field of the legacy content template associated with this Content resource 42 LegacyBody *string `json:"legacy_body,omitempty"` 43 // The URL of the resource, relative to `https://content.twilio.com`. 44 Url *string `json:"url,omitempty"` 45 }