Add elements of the API
This commit is contained in:
parent
b3e4525e85
commit
6809bb1d25
@ -4,7 +4,6 @@ package com.h.pixeldroid.objects
|
||||
Represents a user and their associated profile.
|
||||
https://docs.joinmastodon.org/entities/account/
|
||||
*/
|
||||
|
||||
data class Account(
|
||||
//Base attributes
|
||||
val id: String,
|
||||
|
@ -14,12 +14,12 @@ data class Status(
|
||||
val visibility: Visibility,
|
||||
val sensitive: Boolean,
|
||||
val spoiler_text: String,
|
||||
val media_attachments: ArrayList<Attachment>,
|
||||
val media_attachments: List<Attachment>,
|
||||
val application: Application,
|
||||
//Rendering attributes
|
||||
val mentions: ArrayList<Mention>,
|
||||
val tags: ArrayList<Tag>,
|
||||
val emojis: ArrayList<Emoji>,
|
||||
val mentions: List<Mention>,
|
||||
val tags: List<Tag>,
|
||||
val emojis: List<Emoji>,
|
||||
//Informational attributes
|
||||
val reblogs_count: Int,
|
||||
val favourites_count: Int,
|
||||
|
Loading…
x
Reference in New Issue
Block a user