@@ -189,4 +189,121 @@ public okhttp3.Call getSomeValuesAsync(final ApiCallback<Variable> _callback) th
189
189
localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
190
190
return localVarCall ;
191
191
}
192
+ /**
193
+ * Build call for internalOnlyGet
194
+ * @param _callback Callback for upload/download progress
195
+ * @return Call to execute
196
+ * @throws ApiException If fail to serialize the request body object
197
+ * @http.response.details
198
+ <table summary="Response Details" border="1">
199
+ <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
200
+ <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
201
+ <tr><td> 400 </td><td> Invalid Value </td><td> - </td></tr>
202
+ </table>
203
+ */
204
+ public okhttp3 .Call internalOnlyGetCall (final ApiCallback _callback ) throws ApiException {
205
+ String basePath = null ;
206
+ // Operation Servers
207
+ String [] localBasePaths = new String [] { };
208
+
209
+ // Determine Base Path to Use
210
+ if (localCustomBaseUrl != null ){
211
+ basePath = localCustomBaseUrl ;
212
+ } else if ( localBasePaths .length > 0 ) {
213
+ basePath = localBasePaths [localHostIndex ];
214
+ } else {
215
+ basePath = null ;
216
+ }
217
+
218
+ Object localVarPostBody = null ;
219
+
220
+ // create path and map variables
221
+ String localVarPath = "/internal/only" ;
222
+
223
+ List <Pair > localVarQueryParams = new ArrayList <Pair >();
224
+ List <Pair > localVarCollectionQueryParams = new ArrayList <Pair >();
225
+ Map <String , String > localVarHeaderParams = new HashMap <String , String >();
226
+ Map <String , String > localVarCookieParams = new HashMap <String , String >();
227
+ Map <String , Object > localVarFormParams = new HashMap <String , Object >();
228
+
229
+ final String [] localVarAccepts = {
230
+ "application/json"
231
+ };
232
+ final String localVarAccept = localVarApiClient .selectHeaderAccept (localVarAccepts );
233
+ if (localVarAccept != null ) {
234
+ localVarHeaderParams .put ("Accept" , localVarAccept );
235
+ }
236
+
237
+ final String [] localVarContentTypes = {
238
+ };
239
+ final String localVarContentType = localVarApiClient .selectHeaderContentType (localVarContentTypes );
240
+ if (localVarContentType != null ) {
241
+ localVarHeaderParams .put ("Content-Type" , localVarContentType );
242
+ }
243
+
244
+ String [] localVarAuthNames = new String [] { };
245
+ return localVarApiClient .buildCall (basePath , localVarPath , "GET" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarCookieParams , localVarFormParams , localVarAuthNames , _callback );
246
+ }
247
+
248
+ @ SuppressWarnings ("rawtypes" )
249
+ private okhttp3 .Call internalOnlyGetValidateBeforeCall (final ApiCallback _callback ) throws ApiException {
250
+ return internalOnlyGetCall (_callback );
251
+
252
+ }
253
+
254
+ /**
255
+ * internal only
256
+ *
257
+ * @return Variable
258
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
259
+ * @http.response.details
260
+ <table summary="Response Details" border="1">
261
+ <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
262
+ <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
263
+ <tr><td> 400 </td><td> Invalid Value </td><td> - </td></tr>
264
+ </table>
265
+ */
266
+ public Variable internalOnlyGet () throws ApiException {
267
+ ApiResponse <Variable > localVarResp = internalOnlyGetWithHttpInfo ();
268
+ return localVarResp .getData ();
269
+ }
270
+
271
+ /**
272
+ * internal only
273
+ *
274
+ * @return ApiResponse<Variable>
275
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
276
+ * @http.response.details
277
+ <table summary="Response Details" border="1">
278
+ <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
279
+ <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
280
+ <tr><td> 400 </td><td> Invalid Value </td><td> - </td></tr>
281
+ </table>
282
+ */
283
+ public ApiResponse <Variable > internalOnlyGetWithHttpInfo () throws ApiException {
284
+ okhttp3 .Call localVarCall = internalOnlyGetValidateBeforeCall (null );
285
+ Type localVarReturnType = new TypeToken <Variable >(){}.getType ();
286
+ return localVarApiClient .execute (localVarCall , localVarReturnType );
287
+ }
288
+
289
+ /**
290
+ * internal only (asynchronously)
291
+ *
292
+ * @param _callback The callback to be executed when the API call finishes
293
+ * @return The request call
294
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
295
+ * @http.response.details
296
+ <table summary="Response Details" border="1">
297
+ <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
298
+ <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
299
+ <tr><td> 400 </td><td> Invalid Value </td><td> - </td></tr>
300
+ </table>
301
+ */
302
+ public okhttp3 .Call internalOnlyGetAsync (final ApiCallback <Variable > _callback ) throws ApiException {
303
+
304
+ okhttp3 .Call localVarCall = internalOnlyGetValidateBeforeCall (_callback );
305
+ Type localVarReturnType = new TypeToken <Variable >(){}.getType ();
306
+ localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
307
+ return localVarCall ;
308
+ }
192
309
}
0 commit comments