fix(status/translation): do not require all fields
This commit is contained in:
parent
0cd0d37eff
commit
d5d12a7ce5
|
@ -1,11 +1,14 @@
|
|||
package org.joinmastodon.android.model;
|
||||
|
||||
import org.joinmastodon.android.api.AllFieldsAreRequired;
|
||||
|
||||
@AllFieldsAreRequired
|
||||
import org.joinmastodon.android.api.RequiredField;
|
||||
|
||||
public class Translation extends BaseModel{
|
||||
@RequiredField
|
||||
public String content;
|
||||
@RequiredField
|
||||
public String detectedSourceLanguage;
|
||||
@RequiredField
|
||||
public String provider;
|
||||
public MediaAttachment[] mediaAttachments;
|
||||
|
||||
|
|
Loading…
Reference in New Issue