Skimbyte
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Skimbyte
Skimbyte
/
io.redigit.skimbyte.data.models.dto
/
PostDto
Post
Dto
@
Serializable
data
class
PostDto
(
val
id
:
String
,
val
topic
:
String
,
val
title
:
String
,
val
summaryMarkdown
:
String
,
val
sourceName
:
String
,
val
sourceUrl
:
String
,
val
imageUrl
:
String
?
=
null
,
val
digestDate
:
String
?
=
null
,
val
publishedAt
:
Instant
)
Members
Members & Extensions
Constructors
Post
Dto
Link copied to clipboard
constructor
(
id
:
String
,
topic
:
String
,
title
:
String
,
summaryMarkdown
:
String
,
sourceName
:
String
,
sourceUrl
:
String
,
imageUrl
:
String
?
=
null
,
digestDate
:
String
?
=
null
,
publishedAt
:
Instant
)
Properties
digest
Date
Link copied to clipboard
val
digestDate
:
String
?
id
Link copied to clipboard
val
id
:
String
image
Url
Link copied to clipboard
val
imageUrl
:
String
?
published
At
Link copied to clipboard
val
publishedAt
:
Instant
source
Name
Link copied to clipboard
val
sourceName
:
String
source
Url
Link copied to clipboard
val
sourceUrl
:
String
summary
Markdown
Link copied to clipboard
val
summaryMarkdown
:
String
title
Link copied to clipboard
val
title
:
String
topic
Link copied to clipboard
val
topic
:
String
Functions
to
Domain
Link copied to clipboard
fun
PostDto
.
toDomain
(
isBookmarked
:
Boolean
)
:
Post