Kelvin SDK Client Library Reference
Thread
constructor
content
created
follows
id
related
To
type
updated
user
Id
clone
get
Class
mapping
serialize
Array
serialize
Object
serialize
Object
Instance
stringify
toJSONObject
Hierarchy
Model
Thread
Index
Constructors
constructor
Properties
content
created
follows
id
related
To
type
updated
user
Id
Methods
clone
get
Class
mapping
serialize
Array
serialize
Object
serialize
Object
Instance
stringify
toJSONObject
Constructors
constructor
new
Thread
(
model
?:
IThread
)
:
Thread
Parameters
Optional
model:
IThread
Returns
Thread
Properties
content
content
:
ThreadContent
created
created
:
Date
follows
follows
:
{}
Type declaration
[
key:
string
]:
UserFollow
id
id
:
string
related
To
related
To
:
string
type
type
:
string
updated
updated
:
Date
user
Id
user
Id
:
string
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