@@ -1094,6 +1094,7 @@ public okhttp3.Call jobReopenAsync(String projectId, String id, JobReopenParamet
10941094 * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
10951095 * @param branch Branch to use (optional)
10961096 * @param includeAnnotations Include job-locale annotations in the response (optional, default to false)
1097+ * @param omitTranslationKeys Omit translation keys in the response to reduce payload size for bigger jobs (optional, default to false)
10971098 * @param _callback Callback for upload/download progress
10981099 * @return Call to execute
10991100 * @throws ApiException If fail to serialize the request body object
@@ -1106,7 +1107,7 @@ public okhttp3.Call jobReopenAsync(String projectId, String id, JobReopenParamet
11061107 <tr><td> 429 </td><td> Rate Limiting </td><td> * X-Rate-Limit-Limit - <br> * X-Rate-Limit-Remaining - <br> * X-Rate-Limit-Reset - <br> </td></tr>
11071108 </table>
11081109 */
1109- public okhttp3 .Call jobShowCall (String projectId , String id , String xPhraseAppOTP , String branch , Boolean includeAnnotations , final ApiCallback _callback ) throws ApiException {
1110+ public okhttp3 .Call jobShowCall (String projectId , String id , String xPhraseAppOTP , String branch , Boolean includeAnnotations , Boolean omitTranslationKeys , final ApiCallback _callback ) throws ApiException {
11101111 Object localVarPostBody = null ;
11111112
11121113 // create path and map variables
@@ -1124,6 +1125,10 @@ public okhttp3.Call jobShowCall(String projectId, String id, String xPhraseAppOT
11241125 localVarQueryParams .addAll (localVarApiClient .parameterToPair ("include_annotations" , includeAnnotations ));
11251126 }
11261127
1128+ if (omitTranslationKeys != null ) {
1129+ localVarQueryParams .addAll (localVarApiClient .parameterToPair ("omit_translation_keys" , omitTranslationKeys ));
1130+ }
1131+
11271132 Map <String , String > localVarHeaderParams = new HashMap <String , String >();
11281133 if (xPhraseAppOTP != null ) {
11291134 localVarHeaderParams .put ("X-PhraseApp-OTP" , localVarApiClient .parameterToString (xPhraseAppOTP ));
@@ -1150,7 +1155,7 @@ public okhttp3.Call jobShowCall(String projectId, String id, String xPhraseAppOT
11501155 }
11511156
11521157 @ SuppressWarnings ("rawtypes" )
1153- private okhttp3 .Call jobShowValidateBeforeCall (String projectId , String id , String xPhraseAppOTP , String branch , Boolean includeAnnotations , final ApiCallback _callback ) throws ApiException {
1158+ private okhttp3 .Call jobShowValidateBeforeCall (String projectId , String id , String xPhraseAppOTP , String branch , Boolean includeAnnotations , Boolean omitTranslationKeys , final ApiCallback _callback ) throws ApiException {
11541159
11551160 // verify the required parameter 'projectId' is set
11561161 if (projectId == null ) {
@@ -1163,7 +1168,7 @@ private okhttp3.Call jobShowValidateBeforeCall(String projectId, String id, Stri
11631168 }
11641169
11651170
1166- okhttp3 .Call localVarCall = jobShowCall (projectId , id , xPhraseAppOTP , branch , includeAnnotations , _callback );
1171+ okhttp3 .Call localVarCall = jobShowCall (projectId , id , xPhraseAppOTP , branch , includeAnnotations , omitTranslationKeys , _callback );
11671172 return localVarCall ;
11681173
11691174 }
@@ -1176,6 +1181,7 @@ private okhttp3.Call jobShowValidateBeforeCall(String projectId, String id, Stri
11761181 * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
11771182 * @param branch Branch to use (optional)
11781183 * @param includeAnnotations Include job-locale annotations in the response (optional, default to false)
1184+ * @param omitTranslationKeys Omit translation keys in the response to reduce payload size for bigger jobs (optional, default to false)
11791185 * @return JobDetails
11801186 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
11811187 * @http.response.details
@@ -1187,8 +1193,8 @@ private okhttp3.Call jobShowValidateBeforeCall(String projectId, String id, Stri
11871193 <tr><td> 429 </td><td> Rate Limiting </td><td> * X-Rate-Limit-Limit - <br> * X-Rate-Limit-Remaining - <br> * X-Rate-Limit-Reset - <br> </td></tr>
11881194 </table>
11891195 */
1190- public JobDetails jobShow (String projectId , String id , String xPhraseAppOTP , String branch , Boolean includeAnnotations ) throws ApiException {
1191- ApiResponse <JobDetails > localVarResp = jobShowWithHttpInfo (projectId , id , xPhraseAppOTP , branch , includeAnnotations );
1196+ public JobDetails jobShow (String projectId , String id , String xPhraseAppOTP , String branch , Boolean includeAnnotations , Boolean omitTranslationKeys ) throws ApiException {
1197+ ApiResponse <JobDetails > localVarResp = jobShowWithHttpInfo (projectId , id , xPhraseAppOTP , branch , includeAnnotations , omitTranslationKeys );
11921198 return localVarResp .getData ();
11931199 }
11941200
@@ -1200,6 +1206,7 @@ public JobDetails jobShow(String projectId, String id, String xPhraseAppOTP, Str
12001206 * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
12011207 * @param branch Branch to use (optional)
12021208 * @param includeAnnotations Include job-locale annotations in the response (optional, default to false)
1209+ * @param omitTranslationKeys Omit translation keys in the response to reduce payload size for bigger jobs (optional, default to false)
12031210 * @return ApiResponse<JobDetails>
12041211 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
12051212 * @http.response.details
@@ -1211,8 +1218,8 @@ public JobDetails jobShow(String projectId, String id, String xPhraseAppOTP, Str
12111218 <tr><td> 429 </td><td> Rate Limiting </td><td> * X-Rate-Limit-Limit - <br> * X-Rate-Limit-Remaining - <br> * X-Rate-Limit-Reset - <br> </td></tr>
12121219 </table>
12131220 */
1214- public ApiResponse <JobDetails > jobShowWithHttpInfo (String projectId , String id , String xPhraseAppOTP , String branch , Boolean includeAnnotations ) throws ApiException {
1215- okhttp3 .Call localVarCall = jobShowValidateBeforeCall (projectId , id , xPhraseAppOTP , branch , includeAnnotations , null );
1221+ public ApiResponse <JobDetails > jobShowWithHttpInfo (String projectId , String id , String xPhraseAppOTP , String branch , Boolean includeAnnotations , Boolean omitTranslationKeys ) throws ApiException {
1222+ okhttp3 .Call localVarCall = jobShowValidateBeforeCall (projectId , id , xPhraseAppOTP , branch , includeAnnotations , omitTranslationKeys , null );
12161223 Type localVarReturnType = new TypeToken <JobDetails >(){}.getType ();
12171224 return localVarApiClient .execute (localVarCall , localVarReturnType );
12181225 }
@@ -1225,6 +1232,7 @@ public ApiResponse<JobDetails> jobShowWithHttpInfo(String projectId, String id,
12251232 * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
12261233 * @param branch Branch to use (optional)
12271234 * @param includeAnnotations Include job-locale annotations in the response (optional, default to false)
1235+ * @param omitTranslationKeys Omit translation keys in the response to reduce payload size for bigger jobs (optional, default to false)
12281236 * @param _callback The callback to be executed when the API call finishes
12291237 * @return The request call
12301238 * @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -1237,9 +1245,9 @@ public ApiResponse<JobDetails> jobShowWithHttpInfo(String projectId, String id,
12371245 <tr><td> 429 </td><td> Rate Limiting </td><td> * X-Rate-Limit-Limit - <br> * X-Rate-Limit-Remaining - <br> * X-Rate-Limit-Reset - <br> </td></tr>
12381246 </table>
12391247 */
1240- public okhttp3 .Call jobShowAsync (String projectId , String id , String xPhraseAppOTP , String branch , Boolean includeAnnotations , final ApiCallback <JobDetails > _callback ) throws ApiException {
1248+ public okhttp3 .Call jobShowAsync (String projectId , String id , String xPhraseAppOTP , String branch , Boolean includeAnnotations , Boolean omitTranslationKeys , final ApiCallback <JobDetails > _callback ) throws ApiException {
12411249
1242- okhttp3 .Call localVarCall = jobShowValidateBeforeCall (projectId , id , xPhraseAppOTP , branch , includeAnnotations , _callback );
1250+ okhttp3 .Call localVarCall = jobShowValidateBeforeCall (projectId , id , xPhraseAppOTP , branch , includeAnnotations , omitTranslationKeys , _callback );
12431251 Type localVarReturnType = new TypeToken <JobDetails >(){}.getType ();
12441252 localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
12451253 return localVarCall ;
0 commit comments