Writeopia
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
Writeopia
plugin:writeopia_serialization
/
io.writeopia.sdk.serialization.data
/
FolderApi
Folder
Api
@
Serializable
data
class
FolderApi
(
val
id
:
String
,
val
parentId
:
String
,
val
title
:
String
,
val
createdAt
:
Instant
,
val
lastUpdatedAt
:
Instant
,
val
userId
:
String
,
val
favorite
:
Boolean
=
false
,
val
icon
:
IconApi
?
=
null
,
val
itemCount
:
Long
)
Members
Members & Extensions
Constructors
Folder
Api
Link copied to clipboard
constructor
(
id
:
String
,
parentId
:
String
,
title
:
String
,
createdAt
:
Instant
,
lastUpdatedAt
:
Instant
,
userId
:
String
,
favorite
:
Boolean
=
false
,
icon
:
IconApi
?
=
null
,
itemCount
:
Long
)
Properties
created
At
Link copied to clipboard
val
createdAt
:
Instant
favorite
Link copied to clipboard
val
favorite
:
Boolean
=
false
icon
Link copied to clipboard
val
icon
:
IconApi
?
=
null
id
Link copied to clipboard
val
id
:
String
item
Count
Link copied to clipboard
val
itemCount
:
Long
last
Updated
At
Link copied to clipboard
val
lastUpdatedAt
:
Instant
parent
Id
Link copied to clipboard
val
parentId
:
String
title
Link copied to clipboard
val
title
:
String
user
Id
Link copied to clipboard
val
userId
:
String
Functions
to
Model
Link copied to clipboard
fun
FolderApi
.
toModel
(
)
:
Folder