github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_device_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 DeviceResource struct {
    13  	// Internal identifier of a device
    14  	Id string `json:"id,omitempty"`
    15  	// Canonical URI of a device
    16  	Uri string `json:"uri,omitempty"`
    17  	// Device identification number (stock keeping unit) in the format TP-ID [-AT-AC], where TP is device type (HP for RC HardPhone, DV for all other devices including softphone); ID - device model ID; AT -addon type ID; AC - addon count (if any). For example 'HP-56-2-2'
    18  	Sku string `json:"sku,omitempty"`
    19  	// Device type. The default value is 'HardPhone'
    20  	Type string `json:"type,omitempty"`
    21  	// Status of a device = ['Online', 'Offline']
    22  	Status string `json:"status,omitempty"`
    23  	// Device name. Mandatory if ordering SoftPhone or OtherPhone . Optional for HardPhone . If not specified for HardPhone, then device model name is used as device name
    24  	Name string `json:"name,omitempty"`
    25  	// Serial number for HardPhone (is returned only when the phone is shipped and provisioned); endpoint_id for softphone and mobile applications
    26  	Serial string `json:"serial,omitempty"`
    27  	// PC name for softphone
    28  	ComputerName string                 `json:"computerName,omitempty"`
    29  	Model        DeviceModelResource    `json:"model,omitempty"`
    30  	Extension    ExtensionResourceIntId `json:"extension,omitempty"`
    31  	// Phone lines information
    32  	PhoneLines              []PhoneLineResource             `json:"phoneLines,omitempty"`
    33  	EmergencyServiceAddress EmergencyServiceAddressResource `json:"emergencyServiceAddress,omitempty"`
    34  	Shipping                ShippingResource                `json:"shipping,omitempty"`
    35  	// Box billing identifier of a device. Applicable only for HardPhones. It is an alternative way to identify the device to be ordered. Either model structure, or boxBillingId must be specified for HardPhone
    36  	BoxBillingId int32 `json:"boxBillingId,omitempty"`
    37  	// Pooling type of a deviceHost - device with standalone paid phone line which can be linked to Glip/Softphone instanceGuest - device with a linked phone lineNone - device without a phone line or with specific line (free, BLA, etc.) = ['Host', 'Guest', 'None']
    38  	LinePooling string `json:"linePooling,omitempty"`
    39  }