Kelvin SDK Client Library Reference
Failure
Class
Property
constructor
data
Type
name
title
unit
Options
value
Options
clone
get
Class
mapping
serialize
Array
serialize
Object
serialize
Object
Instance
stringify
toJSONObject
Hierarchy
Model
FailureClassProperty
Index
Constructors
constructor
Properties
data
Type
name
title
unit
Options
value
Options
Methods
clone
get
Class
mapping
serialize
Array
serialize
Object
serialize
Object
Instance
stringify
toJSONObject
Constructors
constructor
new
Failure
Class
Property
(
model
?:
IFailureClassProperty
)
:
FailureClassProperty
Parameters
Optional
model:
IFailureClassProperty
Returns
FailureClassProperty
Properties
data
Type
data
Type
:
string
name
name
:
string
title
title
:
string
unit
Options
unit
Options
:
Array
<
PropertyOptions
>
value
Options
value
Options
:
Array
<
PropertyOptions
>
Methods
clone
clone
(
ModelClass
:
IModel
)
:
Model
Parameters
ModelClass:
IModel
Returns
Model
get
Class
get
Class
(
)
:
Function
Returns
Function
mapping
mapping
(
)
:
{}
Returns
{}
[
key:
string
]:
Object
serialize
Array
serialize
Array
(
obj
:
any
[]
)
:
Object
Parameters
obj:
any
[]
Returns
Object
serialize
Object
serialize
Object
(
obj
:
any
)
:
any
Parameters
obj:
any
Returns
any
serialize
Object
Instance
serialize
Object
Instance
(
obj
:
Object
)
:
Object
Parameters
obj:
Object
Returns
Object
stringify
stringify
(
)
:
string
Returns
string
toJSONObject
toJSONObject
(
)
:
Object
Returns
Object