github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_get_extension_info_response.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 GetExtensionInfoResponse struct {
    13  	// Internal identifier of an extension
    14  	Id int64 `json:"id"`
    15  	// Canonical URI of an extension
    16  	Uri     string      `json:"uri"`
    17  	Contact ContactInfo `json:"contact,omitempty"`
    18  	// Information on department extension(s), to which the requested extension belongs. Returned only for user extensions, members of department, requested by single extensionId
    19  	Departments []DepartmentInfo `json:"departments,omitempty"`
    20  	// Number of department extension
    21  	ExtensionNumber string `json:"extensionNumber,omitempty"`
    22  	// Extension user name
    23  	Name string `json:"name,omitempty"`
    24  	// For Partner Applications Internal identifier of an extension created by partner. The RingCentral supports the mapping of accounts and stores the corresponding account ID/extension ID for each partner ID of a client application. In request URIs partner IDs are accepted instead of regular RingCentral native IDs as path parameters using pid = XXX clause. Though in response URIs contain the corresponding account IDs and extension IDs. In all request and response bodies these values are reflected via partnerId attributes of account and extension
    25  	PartnerId    string               `json:"partnerId,omitempty"`
    26  	Permissions  ExtensionPermissions `json:"permissions,omitempty"`
    27  	ProfileImage ProfileImageInfo     `json:"profileImage"`
    28  	// List of non-RC internal identifiers assigned to an extension
    29  	References       []ReferenceInfo  `json:"references,omitempty"`
    30  	RegionalSettings RegionalSettings `json:"regionalSettings,omitempty"`
    31  	// Extension service features returned in response only when the logged-in user requests his/her own extension info, see also Extension Service Features
    32  	ServiceFeatures []ExtensionServiceFeatureInfo `json:"serviceFeatures,omitempty"`
    33  	// Specifies extension configuration wizard state (web service setup). The default value is 'NotStarted'
    34  	SetupWizardState string `json:"setupWizardState,omitempty"`
    35  	// Extension current state. If the status is 'Unassigned'. Returned for all extensions
    36  	Status     string              `json:"status"`
    37  	StatusInfo ExtensionStatusInfo `json:"statusInfo,omitempty"`
    38  	// Extension type
    39  	Type          string        `json:"type"`
    40  	CallQueueInfo CallQueueInfo `json:"callQueueInfo,omitempty"`
    41  }