github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_call_log_record.go (about) 1 /* 2 * RingCentral Connect Platform API Explorer 3 * 4 * <p>This is a beta interactive API explorer for the RingCentral Connect Platform. To use this service, you will need to have an account with the proper credentials to generate an OAuth2 access token.</p><p><h2>Quick Start</h2></p><ol><li>1) Go to <b>Authentication > /oauth/token</b></li><li>2) Enter <b>app_key, app_secret, username, password</b> fields and then click \"Try it out!\"</li><li>3) Upon success, your access_token is loaded and you can access any form requiring authorization.</li></ol><h2>Links</h2><ul><li><a href=\"https://github.com/ringcentral\" target=\"_blank\">RingCentral SDKs on Github</a></li><li><a href=\"mailto:devsupport@ringcentral.com\">RingCentral Developer Support Email</a></li></ul> 5 * 6 * API version: 1.0 7 * Generated by: OpenAPI Generator (https://openapi-generator.tech) 8 */ 9 10 package ringcentral 11 12 import ( 13 "time" 14 ) 15 16 type CallLogRecord struct { 17 // Internal identifier of a cal log record 18 Id string `json:"id,omitempty"` 19 // Canonical URI of a call log record 20 Uri string `json:"uri,omitempty"` 21 // Internal identifier of a call session 22 SessionId string `json:"sessionId,omitempty"` 23 From CallLogCallerInfo `json:"from,omitempty"` 24 To CallLogCallerInfo `json:"to,omitempty"` 25 // Call type 26 Type string `json:"type,omitempty"` 27 // Call direction 28 Direction string `json:"direction,omitempty"` 29 // Action description of the call operation 30 Action string `json:"action,omitempty"` 31 // Status description of the call operation 32 Result string `json:"result,omitempty"` 33 // The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z 34 StartTime time.Time `json:"startTime,omitempty"` 35 // Call duration in seconds 36 Duration int32 `json:"duration,omitempty"` 37 Recording RecordingInfo `json:"recording,omitempty"` 38 // For 'Detailed' view only. The datetime when the call log record was modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z 39 LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"` 40 // For 'Detailed' view only. Call transport 41 Transport string `json:"transport,omitempty"` 42 // For 'Detailed' view only. Leg description 43 Legs []CallLogRecordLegInfo `json:"legs"` 44 }