github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_extension_presence_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  type ExtensionPresenceEvent struct {
    13  	// Internal identifier of an extension. Optional parameter
    14  	ExtensionId string `json:"extensionId,omitempty"`
    15  	// Telephony presence status. Returned if telephony status is changed.
    16  	TelephonyStatus string `json:"telephonyStatus,omitempty"`
    17  	// Order number of a notification to state the chronology
    18  	Sequence int32 `json:"sequence,omitempty"`
    19  	// Aggregated presence status, calculated from a number of sources
    20  	PresenceStatus string `json:"presenceStatus,omitempty"`
    21  	// User-defined presence status (as previously published by the user)
    22  	UserStatus string `json:"userStatus,omitempty"`
    23  	// Extended DnD (Do not Disturb) status
    24  	DndStatus string `json:"dndStatus,omitempty"`
    25  	// If 'True' enables other extensions to see the extension presence status
    26  	AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
    27  	// If 'True' enables to ring extension phone, if any user monitored by this extension is ringing
    28  	RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
    29  	// If 'True' enables the extension user to pick up a monitored line on hold
    30  	PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
    31  }