@@ -57,13 +57,22 @@ public void setApiClient(ApiClient apiClient) {
5757 this .apiClient = apiClient ;
5858 }
5959
60- /* Build call for createNamespacedLocalSubjectAccessReview */
61- private com .squareup .okhttp .Call createNamespacedLocalSubjectAccessReviewCall (String namespace , V1LocalSubjectAccessReview body , String pretty , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
60+ /**
61+ * Build call for createNamespacedLocalSubjectAccessReview
62+ * @param namespace object name and auth scope, such as for teams and projects (required)
63+ * @param body (required)
64+ * @param pretty If 'true', then the output is pretty printed. (optional)
65+ * @param progressListener Progress listener
66+ * @param progressRequestListener Progress request listener
67+ * @return Call to execute
68+ * @throws ApiException If fail to serialize the request body object
69+ */
70+ public com .squareup .okhttp .Call createNamespacedLocalSubjectAccessReviewCall (String namespace , V1LocalSubjectAccessReview body , String pretty , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
6271 Object localVarPostBody = body ;
6372
6473 // create path and map variables
65- String localVarPath = "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews" . replaceAll ( " \\ {format \\ }" , "json" )
66- .replaceAll ("\\ {" + "namespace" + "\\ }" , apiClient .escapeString (namespace .toString ()));
74+ String localVarPath = "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews"
75+ .replaceAll ("\\ {" + "namespace" + "\\ }" , apiClient .escapeString (namespace .toString ()));
6776
6877 List <Pair > localVarQueryParams = new ArrayList <Pair >();
6978 if (pretty != null )
@@ -189,12 +198,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
189198 apiClient .executeAsync (call , localVarReturnType , callback );
190199 return call ;
191200 }
192- /* Build call for createSelfSubjectAccessReview */
193- private com .squareup .okhttp .Call createSelfSubjectAccessReviewCall (V1SelfSubjectAccessReview body , String pretty , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
201+ /**
202+ * Build call for createSelfSubjectAccessReview
203+ * @param body (required)
204+ * @param pretty If 'true', then the output is pretty printed. (optional)
205+ * @param progressListener Progress listener
206+ * @param progressRequestListener Progress request listener
207+ * @return Call to execute
208+ * @throws ApiException If fail to serialize the request body object
209+ */
210+ public com .squareup .okhttp .Call createSelfSubjectAccessReviewCall (V1SelfSubjectAccessReview body , String pretty , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
194211 Object localVarPostBody = body ;
195212
196213 // create path and map variables
197- String localVarPath = "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews" . replaceAll ( " \\ {format \\ }" , "json" ) ;
214+ String localVarPath = "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews" ;
198215
199216 List <Pair > localVarQueryParams = new ArrayList <Pair >();
200217 if (pretty != null )
@@ -312,12 +329,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
312329 apiClient .executeAsync (call , localVarReturnType , callback );
313330 return call ;
314331 }
315- /* Build call for createSubjectAccessReview */
316- private com .squareup .okhttp .Call createSubjectAccessReviewCall (V1SubjectAccessReview body , String pretty , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
332+ /**
333+ * Build call for createSubjectAccessReview
334+ * @param body (required)
335+ * @param pretty If 'true', then the output is pretty printed. (optional)
336+ * @param progressListener Progress listener
337+ * @param progressRequestListener Progress request listener
338+ * @return Call to execute
339+ * @throws ApiException If fail to serialize the request body object
340+ */
341+ public com .squareup .okhttp .Call createSubjectAccessReviewCall (V1SubjectAccessReview body , String pretty , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
317342 Object localVarPostBody = body ;
318343
319344 // create path and map variables
320- String localVarPath = "/apis/authorization.k8s.io/v1/subjectaccessreviews" . replaceAll ( " \\ {format \\ }" , "json" ) ;
345+ String localVarPath = "/apis/authorization.k8s.io/v1/subjectaccessreviews" ;
321346
322347 List <Pair > localVarQueryParams = new ArrayList <Pair >();
323348 if (pretty != null )
@@ -435,12 +460,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
435460 apiClient .executeAsync (call , localVarReturnType , callback );
436461 return call ;
437462 }
438- /* Build call for getAPIResources */
439- private com .squareup .okhttp .Call getAPIResourcesCall (final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
463+ /**
464+ * Build call for getAPIResources
465+ * @param progressListener Progress listener
466+ * @param progressRequestListener Progress request listener
467+ * @return Call to execute
468+ * @throws ApiException If fail to serialize the request body object
469+ */
470+ public com .squareup .okhttp .Call getAPIResourcesCall (final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
440471 Object localVarPostBody = null ;
441472
442473 // create path and map variables
443- String localVarPath = "/apis/authorization.k8s.io/v1/" . replaceAll ( " \\ {format \\ }" , "json" ) ;
474+ String localVarPath = "/apis/authorization.k8s.io/v1/" ;
444475
445476 List <Pair > localVarQueryParams = new ArrayList <Pair >();
446477
0 commit comments