NetworkPost

@Serializable
data class NetworkPost(val id: Int, val title: String, val url: String, val thumbnailUrl: String)

Data class representing a network post retrieved from a remote source.

Constructors

Link copied to clipboard
constructor(id: Int, title: String, url: String, thumbnailUrl: String)

Properties

Link copied to clipboard
val id: Int

The unique identifier of the network post.

Link copied to clipboard

The URL of the thumbnail image associated with the network post.

Link copied to clipboard

The title of the network post.

Link copied to clipboard
val url: String

The URL associated with the network post.