Thread view
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package org.joinmastodon.android.model;
|
||||
|
||||
import org.joinmastodon.android.api.AllFieldsAreRequired;
|
||||
import org.joinmastodon.android.api.ObjectValidationException;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@AllFieldsAreRequired
|
||||
public class StatusContext extends BaseModel{
|
||||
public List<Status> ancestors;
|
||||
public List<Status> descendants;
|
||||
|
||||
@Override
|
||||
public void postprocess() throws ObjectValidationException{
|
||||
super.postprocess();
|
||||
for(Status s:ancestors)
|
||||
s.postprocess();
|
||||
for(Status s:descendants)
|
||||
s.postprocess();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user