Skip to content

Commit 078a4d8

Browse files
Merge pull request #28 from crowdin/fix-file-type
Change file type's type from Enum to String
2 parents 2dee615 + 288f28e commit 078a4d8

3 files changed

Lines changed: 2 additions & 20 deletions

File tree

src/main/java/com/crowdin/client/sourcefiles/model/AddFileRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class AddFileRequest {
1010
private Long branchId;
1111
private Long directoryId;
1212
private String title;
13-
private Type type;
13+
private String type;
1414
private ImportOptions importOptions;
1515
private ExportOptions exportOptions;
1616
}

src/main/java/com/crowdin/client/sourcefiles/model/File.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class File {
1414
private Long directoryId;
1515
private String name;
1616
private String title;
17-
private Type type;
17+
private String type;
1818
private Long revisionId;
1919
private String status;
2020
private Priority priority;

src/main/java/com/crowdin/client/sourcefiles/model/Type.java

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)