forked from crowdin/crowdin-api-client-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAiFileTranslation.java
More file actions
35 lines (30 loc) · 848 Bytes
/
AiFileTranslation.java
File metadata and controls
35 lines (30 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.crowdin.client.ai.model;
import lombok.Data;
import java.util.Date;
@Data
public class AiFileTranslation {
private String identifier;
private String status;
private Long progress;
private Attributes attributes;
private Date createdAt;
private Date updatedAt;
private Date startedAt;
private Date finishedAt;
@Data
public static class Attributes {
private String stage;
private FileTranslationError error;
private String downloadName;
private String sourceLanguageId;
private String targetLanguageId;
private String originalFileName;
private String detectedType;
private Integer parserVersion;
}
@Data
private static class FileTranslationError {
private String stage;
private String message;
}
}