Skip to content

Commit 6276bdc

Browse files
feat: add profileUid field to file-translations-api translate file request (#123)
1 parent cfe1219 commit 6276bdc

File tree

1 file changed

+19
-0
lines changed
  • smartling-file-translations-api/src/main/java/com/smartling/api/filetranslations/v2/pto/mt

1 file changed

+19
-0
lines changed

smartling-file-translations-api/src/main/java/com/smartling/api/filetranslations/v2/pto/mt/MtRequest.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ public class MtRequest
66
{
77
private String sourceLocaleId;
88
private List<String> targetLocaleIds;
9+
private String profileUid;
910

1011
public MtRequest()
1112
{
@@ -17,6 +18,13 @@ public MtRequest(String sourceLocaleId, List<String> targetLocaleIds)
1718
this.targetLocaleIds = targetLocaleIds;
1819
}
1920

21+
public MtRequest(String sourceLocaleId, List<String> targetLocaleIds, String profileUid)
22+
{
23+
this.sourceLocaleId = sourceLocaleId;
24+
this.targetLocaleIds = targetLocaleIds;
25+
this.profileUid = profileUid;
26+
}
27+
2028
public String getSourceLocaleId()
2129
{
2230
return sourceLocaleId;
@@ -37,12 +45,23 @@ public void setTargetLocaleIds(List<String> targetLocaleIds)
3745
this.targetLocaleIds = targetLocaleIds;
3846
}
3947

48+
public String getProfileUid()
49+
{
50+
return profileUid;
51+
}
52+
53+
public void setProfileUid(String profileUid)
54+
{
55+
this.profileUid = profileUid;
56+
}
57+
4058
@Override
4159
public String toString()
4260
{
4361
return "MtRequest{" +
4462
"sourceLocaleId='" + sourceLocaleId + '\'' +
4563
", targetLocaleIds=" + targetLocaleIds +
64+
", profileUid=" + profileUid +
4665
'}';
4766
}
4867
}

0 commit comments

Comments
 (0)