Package com.livelike.engagementsdk.core.data.models

Types

Entry
Link copied to clipboard
data class Entry(rank: Int, score: Int, percentileRank: Double)
LeaderBoard
Link copied to clipboard
typealias LeaderBoard = LeaderBoardResource
LeaderboardClient
Link copied to clipboard
data class LeaderboardClient(id: String, name: String, rewardItem: RewardItem, currentUserPlacement: LeaderboardPlacement, leaderBoardDelegate: LeaderBoardDelegate?)
LeaderBoardEntry
Link copied to clipboard
data class LeaderBoardEntry(percentileRank: Double, profileId: String, rank: Int, score: Int, profileNickname: String, clientId: String, name: String, profile: <ERROR CLASS>, entry: Entry?, leaderboard: LeaderBoardResource?)
LeaderBoardEntryPaginationResult
Link copied to clipboard
data class LeaderBoardEntryPaginationResult(count: Int, hasPrevious: Boolean, hasNext: Boolean, list: List<LeaderBoardEntry>?)
LeaderBoardForClient
Link copied to clipboard
data class LeaderBoardForClient(id: String, name: String, rewardItem: RewardItem)
LeaderboardPlacement
Link copied to clipboard
data class LeaderboardPlacement(rank: Int, rankPercentile: String, score: Int)
LeaderBoardResource
Link copied to clipboard
data class LeaderBoardResource(id: String, url: String, clientId: String, name: String, rewardItemId: String, isLocked: Boolean, entriesUrl: String, entryDetailUrlTemplate: String, rewardItem: LeaderBoardReward)
LeaderBoardReward
Link copied to clipboard
typealias LeaderBoardReward = RewardItem
Program
Link copied to clipboard
typealias Program = ProgramModel
ProgramModel
Link copied to clipboard
data class ProgramModel(programUrl: String?, timelineUrl: String?, rankUrl: String?, id: String?, title: String?, widgetsEnabled: Boolean?, chatEnabled: Boolean?, subscribeChannel: String?, chatChannel: String?, analyticsProps: Map<String, String>?, rewardsType: String?, leaderboard_url: String?, sticker_packs_url: String?, reaction_packs_url: String?, reportUrl: String?, chatRooms: List<ChatRoom>?, defaultChatRoom: ChatRoom?, leaderboards: List<LeaderBoardResource>, rewardItems: List<RewardItem>, sponsors: List<SponsorModel>, sponsorsUrl: String?, widgetInteractionUrl: String?, unclaimedWidgetInteractionsUrlTemplate: String?, widgetsUrl: String?, pubnubEnabled: Boolean)
RewardsType
Link copied to clipboard
enum RewardsType : Enum<RewardsType>
SubmitApiResponse
Link copied to clipboard
data class SubmitApiResponse(rewards: List<EarnedReward>?, text: String?)
VoteApiResponse
Link copied to clipboard
class VoteApiResponse(createdAt: String?, id: String?, widgetKind: String?, widgetId: String?, rewards: List<EarnedReward>, optionId: String?, url: String, profileId: String?, claimToken: String?)