github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_phone_number_resource.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 PhoneNumberResource struct { 13 // Internal identifier of a phone number 14 Id string `json:"id,omitempty"` 15 Country CountryResource `json:"country,omitempty"` 16 Extension ExtensionResource `json:"extension,omitempty"` 17 // Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber' 18 Label string `json:"label,omitempty"` 19 // Location (City, State). Filled for local US numbers 20 Location string `json:"location,omitempty"` 21 // Payment type. 'External' is returned for forwarded numbers which are not terminated in the RingCentral phone system = ['External', 'TollFree', 'Local'], 22 PaymentType string `json:"paymentType,omitempty"` 23 // Phone number 24 PhoneNumber string `json:"phoneNumber,omitempty"` 25 // Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral , 26 Status string `json:"status,omitempty"` 27 UsageType string `json:"usageType,omitempty"` 28 // Type of a phone number 29 Type string `json:"type,omitempty"` 30 }