@@ -105,6 +105,8 @@ public ServiceCall<HTMLReturn> convertToHtml(ConvertToHtmlOptions convertToHtmlO
105105 String [] pathSegments = { "v1/html_conversion" };
106106 RequestBuilder builder = RequestBuilder .post (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ));
107107 builder .query (VERSION , versionDate );
108+ builder .header ("X-IBMCloud-SDK-Analytics" ,
109+ "service_name=compare-comply;service_version=v1;operation_id=convertToHtml" );
108110 if (convertToHtmlOptions .modelId () != null ) {
109111 builder .query ("model_id" , convertToHtmlOptions .modelId ());
110112 }
@@ -130,6 +132,8 @@ public ServiceCall<ClassifyReturn> classifyElements(ClassifyElementsOptions clas
130132 String [] pathSegments = { "v1/element_classification" };
131133 RequestBuilder builder = RequestBuilder .post (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ));
132134 builder .query (VERSION , versionDate );
135+ builder .header ("X-IBMCloud-SDK-Analytics" ,
136+ "service_name=compare-comply;service_version=v1;operation_id=classifyElements" );
133137 if (classifyElementsOptions .modelId () != null ) {
134138 builder .query ("model_id" , classifyElementsOptions .modelId ());
135139 }
@@ -155,6 +159,8 @@ public ServiceCall<TableReturn> extractTables(ExtractTablesOptions extractTables
155159 String [] pathSegments = { "v1/tables" };
156160 RequestBuilder builder = RequestBuilder .post (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ));
157161 builder .query (VERSION , versionDate );
162+ builder .header ("X-IBMCloud-SDK-Analytics" ,
163+ "service_name=compare-comply;service_version=v1;operation_id=extractTables" );
158164 if (extractTablesOptions .modelId () != null ) {
159165 builder .query ("model_id" , extractTablesOptions .modelId ());
160166 }
@@ -181,6 +187,8 @@ public ServiceCall<CompareReturn> compareDocuments(CompareDocumentsOptions compa
181187 String [] pathSegments = { "v1/comparison" };
182188 RequestBuilder builder = RequestBuilder .post (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ));
183189 builder .query (VERSION , versionDate );
190+ builder .header ("X-IBMCloud-SDK-Analytics" ,
191+ "service_name=compare-comply;service_version=v1;operation_id=compareDocuments" );
184192 if (compareDocumentsOptions .file1Label () != null ) {
185193 builder .query ("file_1_label" , compareDocumentsOptions .file1Label ());
186194 }
@@ -217,6 +225,8 @@ public ServiceCall<FeedbackReturn> addFeedback(AddFeedbackOptions addFeedbackOpt
217225 String [] pathSegments = { "v1/feedback" };
218226 RequestBuilder builder = RequestBuilder .post (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ));
219227 builder .query (VERSION , versionDate );
228+ builder .header ("X-IBMCloud-SDK-Analytics" ,
229+ "service_name=compare-comply;service_version=v1;operation_id=addFeedback" );
220230 final JsonObject contentJson = new JsonObject ();
221231 if (addFeedbackOptions .userId () != null ) {
222232 contentJson .addProperty ("user_id" , addFeedbackOptions .userId ());
@@ -242,6 +252,8 @@ public ServiceCall<Void> deleteFeedback(DeleteFeedbackOptions deleteFeedbackOpti
242252 RequestBuilder builder = RequestBuilder .delete (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ,
243253 pathParameters ));
244254 builder .query (VERSION , versionDate );
255+ builder .header ("X-IBMCloud-SDK-Analytics" ,
256+ "service_name=compare-comply;service_version=v1;operation_id=deleteFeedback" );
245257 if (deleteFeedbackOptions .modelId () != null ) {
246258 builder .query ("model_id" , deleteFeedbackOptions .modelId ());
247259 }
@@ -261,6 +273,8 @@ public ServiceCall<GetFeedback> getFeedback(GetFeedbackOptions getFeedbackOption
261273 RequestBuilder builder = RequestBuilder .get (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ,
262274 pathParameters ));
263275 builder .query (VERSION , versionDate );
276+ builder .header ("X-IBMCloud-SDK-Analytics" ,
277+ "service_name=compare-comply;service_version=v1;operation_id=getFeedback" );
264278 if (getFeedbackOptions .modelId () != null ) {
265279 builder .query ("model_id" , getFeedbackOptions .modelId ());
266280 }
@@ -277,6 +291,8 @@ public ServiceCall<FeedbackList> listFeedback(ListFeedbackOptions listFeedbackOp
277291 String [] pathSegments = { "v1/feedback" };
278292 RequestBuilder builder = RequestBuilder .get (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ));
279293 builder .query (VERSION , versionDate );
294+ builder .header ("X-IBMCloud-SDK-Analytics" ,
295+ "service_name=compare-comply;service_version=v1;operation_id=listFeedback" );
280296 if (listFeedbackOptions != null ) {
281297 if (listFeedbackOptions .feedbackType () != null ) {
282298 builder .query ("feedback_type" , listFeedbackOptions .feedbackType ());
@@ -357,6 +373,8 @@ public ServiceCall<BatchStatus> createBatch(CreateBatchOptions createBatchOption
357373 String [] pathSegments = { "v1/batches" };
358374 RequestBuilder builder = RequestBuilder .post (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ));
359375 builder .query (VERSION , versionDate );
376+ builder .header ("X-IBMCloud-SDK-Analytics" ,
377+ "service_name=compare-comply;service_version=v1;operation_id=createBatch" );
360378 builder .query ("function" , createBatchOptions .function ());
361379 if (createBatchOptions .modelId () != null ) {
362380 builder .query ("model_id" , createBatchOptions .modelId ());
@@ -394,6 +412,7 @@ public ServiceCall<BatchStatus> getBatch(GetBatchOptions getBatchOptions) {
394412 RequestBuilder builder = RequestBuilder .get (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ,
395413 pathParameters ));
396414 builder .query (VERSION , versionDate );
415+ builder .header ("X-IBMCloud-SDK-Analytics" , "service_name=compare-comply;service_version=v1;operation_id=getBatch" );
397416 return createServiceCall (builder .build (), ResponseConverterUtils .getObject (BatchStatus .class ));
398417 }
399418
@@ -409,6 +428,8 @@ public ServiceCall<Batches> listBatches(ListBatchesOptions listBatchesOptions) {
409428 String [] pathSegments = { "v1/batches" };
410429 RequestBuilder builder = RequestBuilder .get (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ));
411430 builder .query (VERSION , versionDate );
431+ builder .header ("X-IBMCloud-SDK-Analytics" ,
432+ "service_name=compare-comply;service_version=v1;operation_id=listBatches" );
412433 if (listBatchesOptions != null ) {
413434 }
414435 return createServiceCall (builder .build (), ResponseConverterUtils .getObject (Batches .class ));
@@ -441,6 +462,8 @@ public ServiceCall<BatchStatus> updateBatch(UpdateBatchOptions updateBatchOption
441462 RequestBuilder builder = RequestBuilder .put (RequestBuilder .constructHttpUrl (getEndPoint (), pathSegments ,
442463 pathParameters ));
443464 builder .query (VERSION , versionDate );
465+ builder .header ("X-IBMCloud-SDK-Analytics" ,
466+ "service_name=compare-comply;service_version=v1;operation_id=updateBatch" );
444467 builder .query ("action" , updateBatchOptions .action ());
445468 if (updateBatchOptions .modelId () != null ) {
446469 builder .query ("model_id" , updateBatchOptions .modelId ());
0 commit comments