toggle menu
Writeopia
common
switch theme
search in API
writeopia_models
/
io.writeopia.sdk.models.document
/
Document
Document
data
class
Document
(
val
id
:
String
=
GenerateId.generate()
,
val
title
:
String
=
""
,
val
content
:
Map
<
Int
,
StoryStep
>
=
emptyMap()
,
val
createdAt
:
Instant
,
val
lastUpdatedAt
:
Instant
,
val
userId
:
String
,
val
parentId
:
String
,
val
favorite
:
Boolean
=
false
,
val
icon
:
MenuItem.Icon
?
=
null
)
:
MenuItem
Members
Constructors
Document
Link copied to clipboard
constructor
(
id
:
String
=
GenerateId.generate()
,
title
:
String
=
""
,
content
:
Map
<
Int
,
StoryStep
>
=
emptyMap()
,
createdAt
:
Instant
,
lastUpdatedAt
:
Instant
,
userId
:
String
,
parentId
:
String
,
favorite
:
Boolean
=
false
,
icon
:
MenuItem.Icon
?
=
null
)
Properties
content
Link copied to clipboard
val
content
:
Map
<
Int
,
StoryStep
>
created
At
Link copied to clipboard
open
override
val
createdAt
:
Instant
favorite
Link copied to clipboard
open
override
val
favorite
:
Boolean
=
false
icon
Link copied to clipboard
open
override
val
icon
:
MenuItem.Icon
?
=
null
id
Link copied to clipboard
open
override
val
id
:
String
last
Updated
At
Link copied to clipboard
open
override
val
lastUpdatedAt
:
Instant
parent
Id
Link copied to clipboard
open
override
val
parentId
:
String
title
Link copied to clipboard
open
override
val
title
:
String
user
Id
Link copied to clipboard
open
override
val
userId
:
String