github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_get_presence_info.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 GetPresenceInfo struct {
    13  	// Canonical URI of a presence info resource
    14  	Uri string `json:"uri,omitempty"`
    15  	// If 'True' enables other extensions to see the extension presence status
    16  	AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
    17  	// Extended DnD (Do not Disturb) status. Cannot be set for Department/Announcement/Voicemail (Take Messages Only)/Fax User/Shared Lines Group/Paging Only Group/IVR Menu/Application Extension/Park Location extensions. The 'DoNotAcceptDepartmentCalls' and 'TakeDepartmentCallsOnly' values are applicable only for extensions - members of a Department; if these values are set for department outsiders, the 400 Bad Request error code is returned. The 'TakeDepartmentCallsOnly' status can be set through the old RingCentral user interface and is available for some migrated accounts only.
    18  	DndStatus string                   `json:"dndStatus,omitempty"`
    19  	Extension GetPresenceExtensionInfo `json:"extension,omitempty"`
    20  	// Custom status message (as previously published by user)
    21  	Message string `json:"message,omitempty"`
    22  	// If 'True' enables the extension user to pick up a monitored line on hold
    23  	PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
    24  	// Aggregated presence status, calculated from a number of sources
    25  	PresenceStatus string `json:"presenceStatus,omitempty"`
    26  	// If 'True' enables to ring extension phone, if any user monitored by this extension is ringing
    27  	RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
    28  	// Telephony presence status
    29  	TelephonyStatus string `json:"telephonyStatus,omitempty"`
    30  	// User-defined presence status (as previously published by the user)
    31  	UserStatus string `json:"userStatus,omitempty"`
    32  	// Information on active calls
    33  	ActiveCalls []ActiveCallInfo `json:"activeCalls,omitempty"`
    34  }