github.com/twilio/twilio-go@v1.20.1/rest/insights/v1/model_insights_v1_call_summaries.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Insights 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 // InsightsV1CallSummaries struct for InsightsV1CallSummaries 22 type InsightsV1CallSummaries struct { 23 // The unique SID identifier of the Account. 24 AccountSid *string `json:"account_sid,omitempty"` 25 // The unique SID identifier of the Call. 26 CallSid *string `json:"call_sid,omitempty"` 27 AnsweredBy *string `json:"answered_by,omitempty"` 28 CallType *string `json:"call_type,omitempty"` 29 CallState *string `json:"call_state,omitempty"` 30 ProcessingState *string `json:"processing_state,omitempty"` 31 // The time at which the Call was created, given in ISO 8601 format. Can be different from `start_time` in the event of queueing due to CPS 32 CreatedTime *time.Time `json:"created_time,omitempty"` 33 // The time at which the Call was started, given in ISO 8601 format. 34 StartTime *time.Time `json:"start_time,omitempty"` 35 // The time at which the Call was ended, given in ISO 8601 format. 36 EndTime *time.Time `json:"end_time,omitempty"` 37 // Duration between when the call was initiated and the call was ended 38 Duration *int `json:"duration,omitempty"` 39 // Duration between when the call was answered and when it ended 40 ConnectDuration *int `json:"connect_duration,omitempty"` 41 // The calling party. 42 From *interface{} `json:"from,omitempty"` 43 // The called party. 44 To *interface{} `json:"to,omitempty"` 45 // Contains metrics and properties for the Twilio media gateway of a PSTN call. 46 CarrierEdge *interface{} `json:"carrier_edge,omitempty"` 47 // Contains metrics and properties for the Twilio media gateway of a Client call. 48 ClientEdge *interface{} `json:"client_edge,omitempty"` 49 // Contains metrics and properties for the SDK sensor library for Client calls. 50 SdkEdge *interface{} `json:"sdk_edge,omitempty"` 51 // Contains metrics and properties for the Twilio media gateway of a SIP Interface or Trunking call. 52 SipEdge *interface{} `json:"sip_edge,omitempty"` 53 // Tags applied to calls by Voice Insights analysis indicating a condition that could result in subjective degradation of the call quality. 54 Tags *[]string `json:"tags,omitempty"` 55 // The URL of this resource. 56 Url *string `json:"url,omitempty"` 57 // Attributes capturing call-flow-specific details. 58 Attributes *interface{} `json:"attributes,omitempty"` 59 // Contains edge-agnostic call-level details. 60 Properties *interface{} `json:"properties,omitempty"` 61 // Contains trusted communications details including Branded Call and verified caller ID. 62 Trust *interface{} `json:"trust,omitempty"` 63 Annotation *interface{} `json:"annotation,omitempty"` 64 }