@@ -87,7 +87,11 @@ public HttpResponse call123testSpecialTagsForHttpResponse(@javax.annotation.Nonn
8787 GenericUrl genericUrl = new GenericUrl (localVarUrl );
8888
8989 HttpContent content = apiClient .new JacksonJsonHttpContent (body );
90- return apiClient .getHttpRequestFactory ().buildRequest (HttpMethods .PATCH , genericUrl , content ).execute ();
90+ com .google .api .client .http .HttpRequest httpRequest = apiClient .getHttpRequestFactory ().buildRequest (HttpMethods .PATCH , genericUrl , content );
91+ if (uuidTest != null ) {
92+ httpRequest .getHeaders ().set ("uuid_test" , uuidTest );
93+ }
94+ return httpRequest .execute ();
9195 }
9296
9397 public HttpResponse call123testSpecialTagsForHttpResponse (@ javax .annotation .Nonnull UUID uuidTest , java .io .InputStream body , String mediaType ) throws IOException {
@@ -106,7 +110,11 @@ public HttpResponse call123testSpecialTagsForHttpResponse(@javax.annotation.Nonn
106110 HttpContent content = body == null ?
107111 apiClient .new JacksonJsonHttpContent (null ) :
108112 new InputStreamContent (mediaType == null ? Json .MEDIA_TYPE : mediaType , body );
109- return apiClient .getHttpRequestFactory ().buildRequest (HttpMethods .PATCH , genericUrl , content ).execute ();
113+ com .google .api .client .http .HttpRequest httpRequest = apiClient .getHttpRequestFactory ().buildRequest (HttpMethods .PATCH , genericUrl , content );
114+ if (uuidTest != null ) {
115+ httpRequest .getHeaders ().set ("uuid_test" , uuidTest );
116+ }
117+ return httpRequest .execute ();
110118 }
111119
112120 public HttpResponse call123testSpecialTagsForHttpResponse (@ javax .annotation .Nonnull UUID uuidTest , @ javax .annotation .Nonnull Client body , Map <String , Object > params ) throws IOException {
@@ -141,7 +149,17 @@ public HttpResponse call123testSpecialTagsForHttpResponse(@javax.annotation.Nonn
141149 GenericUrl genericUrl = new GenericUrl (localVarUrl );
142150
143151 HttpContent content = apiClient .new JacksonJsonHttpContent (body );
144- return apiClient .getHttpRequestFactory ().buildRequest (HttpMethods .PATCH , genericUrl , content ).execute ();
152+ com .google .api .client .http .HttpRequest httpRequest = apiClient .getHttpRequestFactory ().buildRequest (HttpMethods .PATCH , genericUrl , content );
153+ // Note: Header params passed via 'params' map are handled below
154+ for (Map .Entry <String , Object > entry : params .entrySet ()) {
155+ String key = entry .getKey ();
156+ Object value = entry .getValue ();
157+ // Check if this is a header parameter by name
158+ if ("uuid_test" .equals (key ) && value != null ) {
159+ httpRequest .getHeaders ().set (key , value );
160+ }
161+ }
162+ return httpRequest .execute ();
145163 }
146164
147165
0 commit comments