new Device(propsopt ) → {Device}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props | Object |
<optional> | Initializes the description using the supplied property bag. |
Returns:
- Type
- Device
Methods
fleetType(fleetTypeopt ) → {string|Description}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
fleetType | string |
<optional> | When provided, this method acts as a setter and sets the fleetType value. The fleetType is relevant only when the device is hosted by OpenText or stored on an AWS farm. (DeviceSource=hosted or amazon_device_farm) Possible values: any (default), public, or private. |
Returns:
- Type
- string | Description
id(idopt ) → {string|Description}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
id | string |
<optional> | When provided, this method acts as a setter and sets the identifier value. |
Returns:
- Type
- string | Description
location(locationopt ) → {string|Description}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
model | string |
<optional> | When provided, this method acts as a setter and sets the location value. The location is relevant only when the DeviceSource is hosted and the fleetType is public. Possible values: any (default) or a string representing the geographic location. |
Returns:
- Type
- string | Description
manufacturer(manufactureropt ) → {string|Description}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
manufacturer | string |
<optional> | When provided, this method acts as a setter and sets the manufacturer value. |
Returns:
- Type
- string | Description
model(modelopt ) → {string|Description}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
model | string |
<optional> | When provided, this method acts as a setter and sets the model value. |
Returns:
- Type
- string | Description
name(nameopt ) → {string|Description}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
name | string |
<optional> | When provided, this method acts as a setter and sets the name value. |
Returns:
- Type
- string | Description
osType(osTypeopt ) → {string|Description}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
osType | string |
<optional> | When provided, this method acts as a setter and sets the osType value. |
Returns:
- Type
- string | Description
osVersion(osVersionopt ) → {string|Description}
The following symbols are supported:
>, >=, <, <=
For example:
osVersion(">4.0")
osVersion(">=4.1")
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
osVersion | string |
<optional> | When provided, this method acts as a setter and sets the osVersion value. |
Returns:
- Type
- string | Description