/
model_create_account_request.go
26 lines (24 loc) · 1.86 KB
/
model_create_account_request.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* RingCentral Connect Platform API Explorer
*
* <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>
*
* API version: 1.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package ringcentral
type CreateAccountRequest struct {
// Main account VoIP phone number, either Local or Toll-Free. Cannot be Fax Only. Obtained via lookup/reserve API
MainNumber string `json:"mainNumber,omitempty"`
Operator GetExtensionInfoResponse `json:"operator,omitempty"`
// Partner identifier for this account
PartnerId string `json:"partnerId,omitempty"`
// Promotion code to calculate a discount
PromotionCode string `json:"promotionCode,omitempty"`
// Internal identifier of phone number reservation; encoded data including reservation type (by brand, by account, by session), particular brand/account/session data, and reservation date and time
ReservationId string `json:"reservationId,omitempty"`
ServiceInfo GetServiceInfoResponse `json:"serviceInfo,omitempty"`
// The status with which an account is created. The default value is 'Initial'
Status string `json:"status,omitempty"`
SignupInfo AccountSignupInfoRequest `json:"signupInfo,omitempty"`
}