Kelvin SDK Client Library Reference
Attachment
constructor
extension
filename
size
url
clone
get
Class
mapping
serialize
Array
serialize
Object
serialize
Object
Instance
stringify
toJSONObject
Hierarchy
Model
Attachment
Index
Constructors
constructor
Properties
extension
filename
size
url
Methods
clone
get
Class
mapping
serialize
Array
serialize
Object
serialize
Object
Instance
stringify
toJSONObject
Constructors
constructor
new
Attachment
(
model
?:
IAttachment
)
:
Attachment
Parameters
Optional
model:
IAttachment
Returns
Attachment
Properties
extension
extension
:
string
filename
filename
:
string
size
size
:
number
url
url
:
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