github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_incoming_call_event.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 IncomingCallEvent struct { 17 Aps ApsInfo `json:"aps,omitempty"` 18 // Event filter URI 19 Event string `json:"event,omitempty"` 20 // Universally unique identifier of a notification 21 Uuid string `json:"uuid,omitempty"` 22 // Internal identifier of a subscription 23 SubscriptionId string `json:"subscriptionId,omitempty"` 24 // The datetime of a call action in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z 25 Timestamp time.Time `json:"timestamp,omitempty"` 26 // Internal identifier of an extension 27 ExtensionId string `json:"extensionId,omitempty"` 28 // Calling action, for example 'StartRing' 29 Action string `json:"action,omitempty"` 30 // Identifier of a call session 31 SessionId string `json:"sessionId,omitempty"` 32 // Identifier of a server 33 ServerId string `json:"serverId,omitempty"` 34 // Phone number of a caller 35 From string `json:"from,omitempty"` 36 // Caller name 37 FromName string `json:"fromName,omitempty"` 38 // Phone number of a callee 39 To string `json:"to,omitempty"` 40 // Callee name 41 ToName string `json:"toName,omitempty"` 42 // Unique identifier of a session 43 Sid string `json:"sid,omitempty"` 44 // SIP proxy registration name 45 ToUrl string `json:"toUrl,omitempty"` 46 // User data 47 SrvLvl string `json:"srvLvl,omitempty"` 48 // User data 49 SrvLvlExt string `json:"srvLvlExt,omitempty"` 50 // File containing recorded caller name 51 RecUrl string `json:"recUrl,omitempty"` 52 // Notification lifetime value in seconds, the default value is 30 seconds 53 PnTtl int32 `json:"pn_ttl,omitempty"` 54 }