Manual Reference Source Test
import DeviceModel from 'clinical6/src/models/Device.js'
public class | source

DeviceModel

Direct Subclass:

Device

Model representing a device.

Constructor Summary

Public Constructor
public

constructor(response: Object)

Member Summary

Public Members
public
public
public
public
public
public
public
public

Public Constructors

public constructor(response: Object) source

Params:

NameTypeAttributeDescription
response Object

JSON formatted response of a single device

response.id Number

The id of the device on the server

response.type String

The type of this object ('devices')

response.udid String

Unique identifier for this installation

response.technology String

ios, android, web

response.access_token String

The access token

response.push_id String

The push id used for push notifications

response.created_at String

Created at

response.updated_at String

Updated at

response.app_version String

App Version

Public Members

public accessToken: String source

public appVersion: String source

public createdAt: String source

public id: Number source

public pushId: String source

public technology: String source

public udid: String source

public updatedAt: String source