github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_get_device_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 GetDeviceInfoResponse 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  	// 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
    22  	Name string `json:"name,omitempty"`
    23  	// Serial number for HardPhone (is returned only when the phone is shipped and provisioned); endpoint_id for softphone and mobile applications
    24  	Serial string `json:"serial,omitempty"`
    25  	// PC name for softphone
    26  	ComputerName            string               `json:"computerName,omitempty"`
    27  	Model                   ModelInfo            `json:"model,omitempty"`
    28  	Extension               ExtensionInfoIntId   `json:"extension,omitempty"`
    29  	EmergencyServiceAddress EmergencyAddressInfo `json:"emergencyServiceAddress,omitempty"`
    30  	// Phone lines information
    31  	PhoneLines []PhoneLinesInfo `json:"phoneLines,omitempty"`
    32  	Shipping   ShippingInfo     `json:"shipping,omitempty"`
    33  	// Box billing identifier of a device. Applicable only for HardPhones. It is an alternative way to identify the device to be ordered. EitherT? model  structure, or  boxBillingId  must be specified forT?HardPhone
    34  	BoxBillingId int32 `json:"boxBillingId,omitempty"`
    35  }