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.
|
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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user