Updated on 2026-08-14
This commit is contained in:
parent
636ae3ee50
commit
a71b7ed4ba
43 changed files with 590 additions and 681 deletions
|
|
@ -8,7 +8,7 @@ import kotlinx.serialization.Serializable
|
|||
[REDACTED_AUTHOR]
|
||||
* @param id - unique identifier of the article
|
||||
* @param title - article title
|
||||
* @param sourceName - name of original article source
|
||||
* @param source - object of source name and identifier
|
||||
* @param locale - language of the article
|
||||
* @param publishedAt - date of article publishing
|
||||
* @param url - link to source of original article
|
||||
|
|
@ -18,9 +18,15 @@ import kotlinx.serialization.Serializable
|
|||
data class OriginalArticle(
|
||||
val id: Int,
|
||||
val title: String,
|
||||
val sourceName: String,
|
||||
val source: Source,
|
||||
val locale: String,
|
||||
val publishedAt: String,
|
||||
val url: String,
|
||||
val imageUrl: String?,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Source(
|
||||
val id: Int,
|
||||
val name: String,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue