Skip to content

Commit

Permalink
fix: restored deprecated fields with the corresponding annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Besomhead committed Oct 8, 2024
1 parent 0258905 commit 16318ee
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ public class CreateLanguageServiceTaskRequest extends AddTaskFilesBasedRequest {

private TypeVendor type;
private String vendor;
@Deprecated
private Boolean skipUntranslatedStrings;
private Boolean includePreTranslatedStringsOnly;
@Deprecated
private Boolean includeUntranslatedStringsOnly;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ public class CreateLanguageServiceTaskStringsBasedRequest extends AddTaskStrings

private TypeVendor type;
private String vendor;
@Deprecated
private Boolean skipUntranslatedStrings;
private Boolean includePreTranslatedStringsOnly;
@Deprecated
private Boolean includeUntranslatedStringsOnly;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ public class CreateTaskEnterpriseRequest extends AddEnterpriseTaskFilesBasedRequ
private Type type;
private Long workflowStepId;
private Status status;
@Deprecated
private Boolean splitFiles;
private Boolean splitContent;
private Boolean skipAssignedStrings;
private List<AssigneeRequest> assignees;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ public class CreateTaskEnterpriseStringsBasedRequest extends AddEnterpriseTaskSt
private Type type;
private Long workflowStepId;
private Status status;
@Deprecated
private Boolean splitFiles;
private Boolean splitContent;
private Boolean skipAssignedStrings;
private List<AssigneeRequest> assignees;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
public class CreateTaskRequest extends AddTaskFilesBasedRequest {

private Type type;
@Deprecated
private Boolean splitFiles;
private Boolean splitContent;
private Boolean skipAssignedStrings;
@Deprecated
private Boolean skipUntranslatedStrings;
private Boolean includePreTranslatedStringsOnly;
private List<AssigneeRequest> assignees;
private Date deadline;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
public class CreateTaskStringsBasedRequest extends AddTaskStringsBasedRequest {

private Type type;
@Deprecated
private Boolean splitFiles;
private Boolean splitContent;
private Boolean skipAssignedStrings;
@Deprecated
private Boolean skipUntranslatedStrings;
private Boolean includePreTranslatedStringsOnly;
private List<AssigneeRequest> assignees;
private Date deadline;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ public class CreateTaskVendorManualRequest extends AddTaskFilesBasedRequest {
private TypeVendor type;
private String vendor;
private Boolean skipAssignedStrings;
@Deprecated
private Boolean skipUntranslatedStrings;
private Boolean includePreTranslatedStringsOnly;
private List<AssigneeRequest> assignees;
private Date deadline;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ public class CreateTaskVendorManualStringsBasedRequest extends AddTaskStringsBas
private TypeVendor type;
private String vendor;
private Boolean skipAssignedStrings;
@Deprecated
private Boolean skipUntranslatedStrings;
private Boolean includePreTranslatedStringsOnly;
private List<AssigneeRequest> assignees;
private Date deadline;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ public class CreateTaskVendorOhtRequest extends AddTaskFilesBasedRequest {
private TypeVendor type;
private String vendor;
private String expertise;
@Deprecated
private Boolean skipUntranslatedStrings;
private Boolean editService;
private Boolean includePreTranslatedStringsOnly;
@Deprecated
private Boolean includeUntranslatedStringsOnly;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ public class CreateTaskVendorOhtStringsBasedRequest extends AddTaskStringsBasedR
private TypeVendor type;
private String vendor;
private String expertise;
@Deprecated
private Boolean skipUntranslatedStrings;
private Boolean editService;
private Boolean includePreTranslatedStringsOnly;
@Deprecated
private Boolean includeUntranslatedStringsOnly;
}
2 changes: 2 additions & 0 deletions src/main/java/com/crowdin/client/tasks/model/Task.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public class Task {
private List<Long> labelIds;
private List<Long> excludeLabelIds;
private Progress progress;
@Deprecated
private TranslateProgress translateProgress;
private String sourceLanguageId;
private String targetLanguageId;
private String description;
Expand Down

0 comments on commit 16318ee

Please sign in to comment.