ActivePoll

data class ActivePoll(val id: String, val multiChoice: MultiChoice, val startedAt: String, val status: String, val type: String, val votesCount: Int, val timestampEndedAt: String? = null, val unixTimestampEndedAt: Long)

Constructors

Link copied to clipboard
constructor(id: String, multiChoice: MultiChoice, startedAt: String, status: String, type: String, votesCount: Int, timestampEndedAt: String? = null, unixTimestampEndedAt: Long)

Properties

Link copied to clipboard
@SerializedName(value = "id")
val id: String
Link copied to clipboard
@SerializedName(value = "multi_choice")
val multiChoice: MultiChoice
Link copied to clipboard
@SerializedName(value = "started_at")
val startedAt: String
Link copied to clipboard
@SerializedName(value = "status")
val status: String
Link copied to clipboard
@SerializedName(value = "ended_at")
val timestampEndedAt: String? = null
Link copied to clipboard
@SerializedName(value = "type")
val type: String
Link copied to clipboard
@SerializedName(value = "unixTimestampEndedAt")
val unixTimestampEndedAt: Long
Link copied to clipboard
@SerializedName(value = "votes_count")
val votesCount: Int