fix(status/translation): do not require all fields

This commit is contained in:
FineFindus 2023-11-01 19:56:59 +01:00
parent 0cd0d37eff
commit d5d12a7ce5
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
1 changed files with 5 additions and 2 deletions

View File

@ -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;