Moment

data class Moment(val json: JsonObject, val client: ApiClient) : PenicillinModel

Constructors

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

Types

Link copied to clipboard
data class CoverFormat(parentJson: JsonObject, parentClient: ApiClient) : CommonCoverMedia

Properties

Link copied to clipboard
val canSubscribe: Boolean
Link copied to clipboard
val capsuleContentsVersion: String
Link copied to clipboard
open override val client: ApiClient

The ApiClient instance.

Link copied to clipboard
val coverFormat: Moment.CoverFormat
Link copied to clipboard
val coverMedia: CoverMedia
Link copied to clipboard
val description: String
Link copied to clipboard
val displayStyle: String
Link copied to clipboard
val duration: String
Link copied to clipboard
val id: String
Link copied to clipboard
val isLive: Boolean
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 largeFormat: Moment.CoverFormat
Link copied to clipboard
val lastPublishTimeRaw: String
Link copied to clipboard
val momentPosition: String
Link copied to clipboard
val sensitive: Boolean
Link copied to clipboard
val subcategory: String
Link copied to clipboard
val thumbnailFormat: Moment.CoverFormat
Link copied to clipboard
val time: String
Link copied to clipboard
val title: String
Link copied to clipboard
val totalLikes: Int
Link copied to clipboard
val tweets: List<Status>
Link copied to clipboard
val url: String
Link copied to clipboard
val users: List<User>

Extensions

Link copied to clipboard
val Moment.lastPublishTime: CreatedAt

Parsed "lastPublishTime" object.