MediaEntity

data class MediaEntity(val json: JsonObject, val client: ApiClient) : UrlEntityModel

Constructors

Link copied to clipboard
fun MediaEntity(json: JsonObject, client: ApiClient)

Types

Link copied to clipboard
data class AdditionalMediaInfo(val json: JsonObject, val client: ApiClient) : PenicillinModel
Link copied to clipboard
data class Feature(val json: JsonObject, val client: ApiClient) : PenicillinModel
Link copied to clipboard
data class VideoInfo(val json: JsonObject, val client: ApiClient) : PenicillinModel

Properties

Link copied to clipboard
val additionalMediaInfo: MediaEntity.AdditionalMediaInfo?
Link copied to clipboard
open override val client: ApiClient

The ApiClient instance.

Link copied to clipboard
open override val displayUrl: String

The entry displayUrl.

Link copied to clipboard
open override val expandedUrl: String

The entry expandedUrl.

Link copied to clipboard
val extAltText: String?
Link copied to clipboard
val features: MediaEntity.Feature?
Link copied to clipboard
val id: Long
Link copied to clipboard
val idStr: String
Link copied to clipboard
open override val indices: List<Int>

The entity indices. Its size must be 2.

Link copied to clipboard
open override val json: JsonObject

The underlying JsonObject.

Link copied to clipboard
open val keyCase: JsonKeyCase
Link copied to clipboard
open val keyConverter: JsonKeyConverter
Link copied to clipboard
val mediaUrl: String
Link copied to clipboard
val mediaUrlHttps: String
Link copied to clipboard
val sizes: Photo?
Link copied to clipboard
val sourceStatusId: Long?
Link copied to clipboard
val sourceStatusIdStr: String?
Link copied to clipboard
val type: String
Link copied to clipboard
open override val url: String

The entry url.

Link copied to clipboard
val videoInfo: MediaEntity.VideoInfo?

Extensions

Link copied to clipboard
val MediaEntity.sourceStatusIdObj: StatusID?

Parsed status id object for "source_status_id".