Package com.ringcentral.definitions
Class DeviceResource
java.lang.Object
com.ringcentral.definitions.DeviceResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionBox billing identifier of a device.Computer name (for devices of `SoftPhone` type only)This flag indicates whether this device is used for hot desking or notInternal identifier of a deviceNetwork location status.Date/time of receiving last location report in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format including timezone, for example *2016-03-10T18:07:52.534Z Format: date-timePooling type of device: - Host - a device with standalone paid phone line which can be linked to a soft client instance - Guest - a device with a linked phone line - None - a device without a phone line or with specific line (free, BLA, etc.) Enum: Host, Guest, NoneDevice name.Phone lines informationSerial number for HardPhone (is returned only when the phone is shipped and provisioned); endpoint ID for SoftPhone and mobile applicationsDevice identification number (SKU, Stock Keeping Unit) in the format TP-ID [-AT-AC], where TP is device type (HP for RC desk phones, DV for all other devices including soft phones); ID - device model ID; AT - add-on type ID; AC - add-on count (if any).Device status Enum: Offline, OnlineDevice type Default: HardPhone Enum: BLA, SoftPhone, OtherPhone, HardPhone, WebPhone, Paging, Room, WebRTCCanonical URI of a device Format: uriSupported only for devices assigned to Limited extensions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbillingStatement
(BillingStatementInfo billingStatement) boxBillingId
(Long boxBillingId) computerName
(String computerName) emergency
(DeviceEmergencyInfo emergency) emergencyServiceAddress
(EmergencyServiceAddressResource emergencyServiceAddress) extension
(ExtensionInfoIntId extension) hotDeskDevice
(Boolean hotDeskDevice) inCompanyNet
(Boolean inCompanyNet) lastLocationReportTime
(String lastLocationReportTime) linePooling
(String linePooling) phoneLines
(PhoneLinesInfo[] phoneLines) shipping
(ShippingInfo shipping) site
(DeviceSiteInfo site) useAsCommonPhone
(Boolean useAsCommonPhone)
-
Field Details
-
id
Internal identifier of a device -
uri
Canonical URI of a device Format: uri -
sku
Device identification number (SKU, Stock Keeping Unit) in the format TP-ID [-AT-AC], where TP is device type (HP for RC desk phones, DV for all other devices including soft phones); ID - device model ID; AT - add-on type ID; AC - add-on count (if any). For example 'HP-56-2-2' -
type
Device type Default: HardPhone Enum: BLA, SoftPhone, OtherPhone, HardPhone, WebPhone, Paging, Room, WebRTC -
name
Device name. Mandatory if ordering SoftPhone or OtherPhone. Optional for HardPhone. If not specified for HardPhone, then a device model is used as a device name -
serial
Serial number for HardPhone (is returned only when the phone is shipped and provisioned); endpoint ID for SoftPhone and mobile applications -
status
Device status Enum: Offline, Online -
computerName
Computer name (for devices of `SoftPhone` type only) -
model
-
extension
-
emergency
-
emergencyServiceAddress
-
phoneLines
Phone lines information -
shipping
-
boxBillingId
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 Format: int64 -
useAsCommonPhone
Supported only for devices assigned to Limited extensions. If true, enables users to log in to this phone as a common phone. -
hotDeskDevice
This flag indicates whether this device is used for hot desking or not -
inCompanyNet
Network location status. `true` if the device is located in the configured corporate network (On-Net); `false` for Off-Net location. Parameter is not returned if `EmergencyAddressAutoUpdate` feature is not enabled for the account/user, or if device network location is not determined -
site
-
lastLocationReportTime
Date/time of receiving last location report in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format including timezone, for example *2016-03-10T18:07:52.534Z Format: date-time -
linePooling
Pooling type of device: - Host - a device with standalone paid phone line which can be linked to a soft client instance - Guest - a device with a linked phone line - None - a device without a phone line or with specific line (free, BLA, etc.) Enum: Host, Guest, None -
billingStatement
-
-
Constructor Details
-
DeviceResource
public DeviceResource()
-
-
Method Details
-
id
-
uri
-
sku
-
type
-
name
-
serial
-
status
-
computerName
-
model
-
extension
-
emergency
-
emergencyServiceAddress
public DeviceResource emergencyServiceAddress(EmergencyServiceAddressResource emergencyServiceAddress) -
phoneLines
-
shipping
-
boxBillingId
-
useAsCommonPhone
-
hotDeskDevice
-
inCompanyNet
-
site
-
lastLocationReportTime
-
linePooling
-
billingStatement
-