File tree 2 files changed +6
-1
lines changed
src/main/java/com/crowdin/client/translations/model
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 3
3
import lombok .Data ;
4
4
5
5
import java .util .List ;
6
+ import java .util .Map ;
6
7
7
8
@ Data
8
9
public class ApplyPreTranslationRequest {
@@ -11,10 +12,14 @@ public class ApplyPreTranslationRequest {
11
12
private List <Long > fileIds ;
12
13
private Method method ;
13
14
private Long engineId ;
15
+ private Long aiPromptId ;
14
16
private AutoApproveOption autoApproveOption ;
15
17
private Boolean duplicateTranslations ;
18
+ private Boolean skipApprovedTranslations ;
16
19
private Boolean translateUntranslatedOnly ;
17
20
private Boolean translateWithPerfectMatchOnly ;
21
+ private Map <String , List <String >> fallbackLanguages ;
18
22
private List <Long > labelIds ;
19
23
private List <Long > excludeLabelIds ;
24
+
20
25
}
Original file line number Diff line number Diff line change 3
3
import com .crowdin .client .core .model .EnumConverter ;
4
4
5
5
public enum Method implements EnumConverter <Method > {
6
- TM , MT ;
6
+ TM , MT , AI ;
7
7
8
8
public static Method from (String value ) {
9
9
return Method .valueOf (value .toUpperCase ());
You can’t perform that action at this time.
0 commit comments