Account timelines
This commit is contained in:
@@ -2,6 +2,7 @@ package org.joinmastodon.android.model;
|
||||
|
||||
import org.joinmastodon.android.api.ObjectValidationException;
|
||||
import org.joinmastodon.android.api.RequiredField;
|
||||
import org.parceler.Parcel;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.time.LocalDate;
|
||||
@@ -10,6 +11,7 @@ import java.util.List;
|
||||
/**
|
||||
* Represents a user of Mastodon and their associated profile.
|
||||
*/
|
||||
@Parcel
|
||||
public class Account extends BaseModel{
|
||||
// Base attributes
|
||||
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
package org.joinmastodon.android.model;
|
||||
|
||||
import org.joinmastodon.android.api.RequiredField;
|
||||
import org.parceler.Parcel;
|
||||
|
||||
import java.time.Instant;
|
||||
|
||||
/**
|
||||
* Represents a profile field as a name-value pair with optional verification.
|
||||
*/
|
||||
@Parcel
|
||||
public class AccountField extends BaseModel{
|
||||
/**
|
||||
* The key of a given field's key-value pair.
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
package org.joinmastodon.android.model;
|
||||
|
||||
import org.joinmastodon.android.api.RequiredField;
|
||||
import org.parceler.Parcel;
|
||||
|
||||
/**
|
||||
* Represents a custom emoji.
|
||||
*/
|
||||
@Parcel
|
||||
public class Emoji extends BaseModel{
|
||||
/**
|
||||
* The name of the custom emoji.
|
||||
|
||||
@@ -2,12 +2,14 @@ package org.joinmastodon.android.model;
|
||||
|
||||
import org.joinmastodon.android.api.ObjectValidationException;
|
||||
import org.joinmastodon.android.api.RequiredField;
|
||||
import org.parceler.Parcel;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Represents display or publishing preferences of user's own account. Returned as an additional entity when verifying and updated credentials, as an attribute of Account.
|
||||
*/
|
||||
@Parcel
|
||||
public class Source extends BaseModel{
|
||||
/**
|
||||
* Profile bio.
|
||||
|
||||
Reference in New Issue
Block a user