Package kmtt.models

Types

Link copied to clipboard
data class AdditionalData(type: String?, url: String?, propertySize: Long?, uuid: String?, duration: Long?, hasAudio: Boolean?)
Link copied to clipboard
data class AdvancedAccess(isNeedsAdvancedAccess: Boolean?, actions: AdvancedAccessActions?, dtfSubscription: Subscription?, tvSubscription: Subscription?, vcSubscription: Subscription?, hash: String?)

Список разраешений

Link copied to clipboard
data class AdvancedAccessActions(readComments: Boolean?, writeComments: Boolean?)
Link copied to clipboard
data class Author(id: Long?, created: Long?, firstName: String?, lastName: String?, name: String?, gender: Int?, url: String?, avatarUrl: String?, karma: Int?, socialAccounts: List<SocialAccount>?)
Link copied to clipboard
data class Badge(type: String?, text: String?, color: String?, background: String?, border: String?)
Link copied to clipboard
data class BlacklistResponseResult(success: Boolean?)
Link copied to clipboard
data class Company(id: Long?, name: String?, logo: String?, url: String?, isVerified: Boolean?)
Link copied to clipboard
data class Counters(entries: Long?, comments: Long?, favorites: Long?)
Link copied to clipboard
data class Cover(type: Int?, additionalData: AdditionalData?, thumbnailUrl: String?, url: String?, propertySize: Size?, sizeSimple: String?)
Link copied to clipboard
data class EtcControls(editEntry: Boolean?, pinContent: Boolean?, unpublishEntry: Boolean?, banSubsite: Boolean?, pinComment: Boolean?, remove: Boolean?, removeThread: Boolean?)
Link copied to clipboard
data class Event(id: Long?, title: String?, archived: Boolean?, entryId: String?, cityId: String?, cityName: String?, price: String?, date: Long?, favoritesCount: Long?, isFavorited: Boolean?, company: Company?, interested: Long?)
Link copied to clipboard
data class EventFiltersResponseResult(cities: List<JobOrEventFilter>?, specializations: List<JobOrEventFilter>?)
Link copied to clipboard
data class EventsResponseResult(items: List<Event>?, lastId: Long?)
Link copied to clipboard
data class FavoriteChangeResponseResult(result: Boolean?, count: Int?)
Link copied to clipboard
data class IgnoredKeywordsResponseResult(keywords: List<String>?)
Link copied to clipboard
data class JobOrEventFilter(id: Long?, title: String?)
Link copied to clipboard
data class Liker(vote: Int, name: String, avatarURL: String)
Link copied to clipboard
data class Likes(count: Int?, summ: Int?, isLiked: Int?, isHidden: Boolean?)
Link copied to clipboard
data class LocateResponseResult(type: LocateResponseResult.Type?, data: Int?)
Link copied to clipboard
data class Media(type: Media.Type?, imageUrl: String?, iframeUrl: String?, service: String?, additionalData: AdditionalData?, propertySize: Size?)
Link copied to clipboard
object MediaTypeSerializer : KSerializer<Media.Type>
Link copied to clipboard
data class MyNotificationsCountResponseResult(count: Long?)
Link copied to clipboard
data class Notification(id: Long?, type: Int?, date: Long?, dateRFC: String?, users: List<Subsite>?, text: String?, commentText: String?, url: String?, icon: Notification.Icon?)
Link copied to clipboard
data class OperationNestedStatusResponseResult(result: Boolean?)
Link copied to clipboard
data class PushSettingsResponse(result: Int?)
Link copied to clipboard
data class QuizItem(count: Int, total: Int, isWinner: Boolean, percentage: Int)
Link copied to clipboard
data class QuizResult(items: Map<String, QuizItem>?, winner: String?, userVoted: String?, randomVotedUsers: Map<String, List<Subsite>>?)
Link copied to clipboard
data class Rate(rate: String?, change: Long?, sym: String?)
Link copied to clipboard
data class Rates(usd: Rate?, eur: Rate?, btc: Rate?, eth: Rate?)
Link copied to clipboard
data class SaveAvatarResponseResult(src: String?)
Link copied to clipboard
data class SaveCoverResponse(success: Boolean?)
Link copied to clipboard
data class Similar(id: Long?, title: Long?, url: Long?, date: Long?, dateRFC: Long?)
Link copied to clipboard
data class Size(width: Long?, height: Long?, ratio: Double?)
Link copied to clipboard
data class SocialAccount(id: Long?, type: Int?, username: String?, url: String?)
Link copied to clipboard
data class Subscription(isActive: Boolean?, activeUntil: Long?)
Link copied to clipboard
data class Tweet(id: String?, text: String?, user: TweetUser?, retweetCount: Long?, favoriteCount: Long?, hasMedia: Boolean?, media: List<TweetMedium>?, createdAt: Long?)
Link copied to clipboard
data class TweetMedium(type: Long?, thumbnailUrl: String?, mediaUrl: String?, thumbnailWidth: Long?, thumbnailHeight: Long?, ratio: Long?)
Link copied to clipboard
data class TweetUser(createdAt: Long?, followersCount: Long?, friendsCount: Long?, id: Long?, name: String?, profileImageUrl: String?, profileImageUrlBigger: String?, screenName: String?, statusesCount: Long?)
Link copied to clipboard
data class UpdatePushSettingsResponse(result: JsonObject?)
Link copied to clipboard
data class Watcher(id: Long?, event: String?, url: String?)
Link copied to clipboard
data class Websocket(type: Websocket.Type?, contentId: Long?, count: Int?, id: Long?, state: Int?, userHash: String?)