github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_gcm_data.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 GcmData struct {
    17  	// Event filter URI
    18  	Event string `json:"event,omitempty"`
    19  	// Internal identifier of a subscription
    20  	SubscriptionId string `json:"subscriptionId,omitempty"`
    21  	// The datetime of a call action in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
    22  	Timestamp time.Time `json:"timestamp,omitempty"`
    23  	// Internal identifier of an extension
    24  	ExtensionId string `json:"extensionId,omitempty"`
    25  	// Calling action, for example 'StartRing'
    26  	Action string `json:"action,omitempty"`
    27  	// Identifier of a call session
    28  	SessionId string `json:"sessionId,omitempty"`
    29  	// Identifier of a server
    30  	ServerId string `json:"serverId,omitempty"`
    31  	// Phone number of a caller
    32  	From string `json:"_from,omitempty"`
    33  	// Caller name
    34  	FromName string `json:"fromName,omitempty"`
    35  	// Phone number of a callee
    36  	To string `json:"to,omitempty"`
    37  	// Callee name
    38  	ToName string `json:"toName,omitempty"`
    39  	// Unique identifier of a session
    40  	Sid string `json:"sid,omitempty"`
    41  	// SIP proxy registration name
    42  	ToUrl string `json:"toUrl,omitempty"`
    43  	// User data
    44  	SrvLvl string `json:"srvLvl,omitempty"`
    45  	// User data
    46  	SrvLvlExt string `json:"srvLvlExt,omitempty"`
    47  }