github.com/twilio/twilio-go@v1.20.1/rest/proxy/v1/model_proxy_v1_interaction.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Proxy 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 // ProxyV1Interaction struct for ProxyV1Interaction 22 type ProxyV1Interaction struct { 23 // The unique string that we created to identify the Interaction resource. 24 Sid *string `json:"sid,omitempty"` 25 // The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) resource. 26 SessionSid *string `json:"session_sid,omitempty"` 27 // The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) resource. 28 ServiceSid *string `json:"service_sid,omitempty"` 29 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Interaction resource. 30 AccountSid *string `json:"account_sid,omitempty"` 31 // A JSON string that includes the message body of message interactions (e.g. `{\"body\": \"hello\"}`) or the call duration (when available) of a call (e.g. `{\"duration\": \"5\"}`). 32 Data *string `json:"data,omitempty"` 33 Type *string `json:"type,omitempty"` 34 // The SID of the inbound [Participant](https://www.twilio.com/docs/proxy/api/participant) resource. 35 InboundParticipantSid *string `json:"inbound_participant_sid,omitempty"` 36 // The SID of the inbound resource; either the [Call](https://www.twilio.com/docs/voice/api/call-resource) or [Message](https://www.twilio.com/docs/sms/api/message-resource). 37 InboundResourceSid *string `json:"inbound_resource_sid,omitempty"` 38 InboundResourceStatus *string `json:"inbound_resource_status,omitempty"` 39 // The inbound resource type. Can be [Call](https://www.twilio.com/docs/voice/api/call-resource) or [Message](https://www.twilio.com/docs/sms/api/message-resource). 40 InboundResourceType *string `json:"inbound_resource_type,omitempty"` 41 // The URL of the Twilio inbound resource 42 InboundResourceUrl *string `json:"inbound_resource_url,omitempty"` 43 // The SID of the outbound [Participant](https://www.twilio.com/docs/proxy/api/participant)). 44 OutboundParticipantSid *string `json:"outbound_participant_sid,omitempty"` 45 // The SID of the outbound resource; either the [Call](https://www.twilio.com/docs/voice/api/call-resource) or [Message](https://www.twilio.com/docs/sms/api/message-resource). 46 OutboundResourceSid *string `json:"outbound_resource_sid,omitempty"` 47 OutboundResourceStatus *string `json:"outbound_resource_status,omitempty"` 48 // The outbound resource type. Can be: [Call](https://www.twilio.com/docs/voice/api/call-resource) or [Message](https://www.twilio.com/docs/sms/api/message-resource). 49 OutboundResourceType *string `json:"outbound_resource_type,omitempty"` 50 // The URL of the Twilio outbound resource. 51 OutboundResourceUrl *string `json:"outbound_resource_url,omitempty"` 52 // The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the Interaction was created. 53 DateCreated *time.Time `json:"date_created,omitempty"` 54 // The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was last updated. 55 DateUpdated *time.Time `json:"date_updated,omitempty"` 56 // The absolute URL of the Interaction resource. 57 Url *string `json:"url,omitempty"` 58 }