github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_get_account_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 GetAccountInfoResponse struct {
    13  	// Internal identifier of an account
    14  	Id string `json:"id,omitempty"`
    15  	// Canonical URI of an account
    16  	Uri string `json:"uri,omitempty"`
    17  	// Main phone number of the current account
    18  	MainNumber string                   `json:"mainNumber,omitempty"`
    19  	Operator   GetExtensionInfoResponse `json:"operator,omitempty"`
    20  	// Additional account identifier, developed and applied by the client
    21  	PartnerId   string      `json:"partnerId,omitempty"`
    22  	ServiceInfo ServiceInfo `json:"serviceInfo,omitempty"`
    23  	// Specifies account configuration wizard state (web service setup). The default value is 'NotStarted'
    24  	SetupWizardState string `json:"setupWizardState,omitempty"`
    25  	// Status of the current account
    26  	Status           string            `json:"status,omitempty"`
    27  	StatusInfo       AccountStatusInfo `json:"statusInfo,omitempty"`
    28  	RegionalSettings RegionalSettings  `json:"regionalSettings,omitempty"`
    29  	// Specifies whether an account is included into any federation of accounts or not
    30  	Federated bool `json:"federated,omitempty"`
    31  }