Add elements of the API

This commit is contained in:
Matthieu 2020-03-02 18:41:24 +01:00 committed by Andrew Dobis
parent b3e4525e85
commit 6809bb1d25
2 changed files with 4 additions and 5 deletions

View File

@ -4,7 +4,6 @@ package com.h.pixeldroid.objects
Represents a user and their associated profile. Represents a user and their associated profile.
https://docs.joinmastodon.org/entities/account/ https://docs.joinmastodon.org/entities/account/
*/ */
data class Account( data class Account(
//Base attributes //Base attributes
val id: String, val id: String,

View File

@ -14,12 +14,12 @@ data class Status(
val visibility: Visibility, val visibility: Visibility,
val sensitive: Boolean, val sensitive: Boolean,
val spoiler_text: String, val spoiler_text: String,
val media_attachments: ArrayList<Attachment>, val media_attachments: List<Attachment>,
val application: Application, val application: Application,
//Rendering attributes //Rendering attributes
val mentions: ArrayList<Mention>, val mentions: List<Mention>,
val tags: ArrayList<Tag>, val tags: List<Tag>,
val emojis: ArrayList<Emoji>, val emojis: List<Emoji>,
//Informational attributes //Informational attributes
val reblogs_count: Int, val reblogs_count: Int,
val favourites_count: Int, val favourites_count: Int,