io.provenance.explorer.model.NotificationModels.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of explorer-api-model Show documentation
Show all versions of explorer-api-model Show documentation
API models used by the Provenance Explorer API
package io.provenance.explorer.model
import org.joda.time.DateTime
data class OpenProposals(
val nonUpgradeOpenList: List,
val upgradeOpenList: List
)
data class ScheduledUpgrade(
val proposalId: Long,
val upgradePlan: String,
val upgradeName: String,
val upgradeVersion: String,
val upgradeHeight: Long,
val approximateTime: DateTime
)
data class AnnouncementOut(
val id: Int,
val title: String,
val body: String?,
val timestamp: String?,
val prevId: Int?,
val nextId: Int?
)