Skip to content

Commit 049784f

Browse files
authored
Merge pull request #239 from crowdin/project-extra-fields
feat: project extra fields
2 parents ce7cf82 + 758d294 commit 049784f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/main/java/com/crowdin/client/projectsgroups/model/Project.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ public class Project {
1616
private String sourceLanguageId;
1717
private List<String> targetLanguageIds;
1818
private String name;
19+
private String cname;
1920
private String identifier;
2021
private String description;
22+
private String visibility;
2123
private String logo;
2224
private String background;
2325
private boolean isExternal;
@@ -30,5 +32,6 @@ public class Project {
3032
private Date lastActivity;
3133
private Language sourceLanguage;
3234
private List<Language> targetLanguages;
35+
private String webUrl;
3336

3437
}

src/main/java/com/crowdin/client/projectsgroups/model/ProjectSettings.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,21 @@ public class ProjectSettings extends Project {
1717

1818
private Integer clientOrganizationId;
1919
private Integer translateDuplicates;
20+
private Integer tagsDetection;
2021
private Boolean glossaryAccess;
2122
private Boolean isMtAllowed;
2223
private Boolean taskBasedAccessControl;
2324
private Boolean hiddenStringsProofreadersAccess;
2425
private Boolean autoSubstitution;
26+
private Boolean exportTranslatedOnly;
2527
private Boolean skipTranslatedOnly;
2628
private Boolean skipUntranslatedStrings;
2729
private Boolean skipUntranslatedFiles;
2830
private Boolean exportApprovedOnly;
2931
private Integer exportWithMinApprovalsCount;
3032
private boolean autoTranslateDialects;
3133
private boolean useGlobalTm;
34+
private Boolean showTmSuggestionsDialects;
3235
private TmContextType tmContextType;
3336
private Boolean normalizePlaceholder;
3437
private Boolean saveMetaInfoInSource;
@@ -47,5 +50,7 @@ public class ProjectSettings extends Project {
4750
private NotificationSettings notificationSettings;
4851
@JsonDeserialize(using = EmptyArrayToNullDeserializer.class)
4952
private TmPenalties tmPenalties;
53+
private Integer defaultTmId;
54+
private Integer defaultGlossaryId;
5055

5156
}

0 commit comments

Comments
 (0)