diff --git a/examples/src/main/java/io/kubernetes/client/examples/WatchExample.java b/examples/src/main/java/io/kubernetes/client/examples/WatchExample.java new file mode 100644 index 0000000000..c3b780a4a3 --- /dev/null +++ b/examples/src/main/java/io/kubernetes/client/examples/WatchExample.java @@ -0,0 +1,44 @@ +/* +Copyright 2017 The Kubernetes Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +package io.kubernetes.client.examples; + +import com.google.gson.reflect.TypeToken; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.Watch; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.apis.CoreV1Api; +import io.kubernetes.client.models.V1Namespace; +import io.kubernetes.client.util.Config; + +import java.io.IOException; + +/** + * A simple example of how to use Watch API to watch changes in Namespace list. + */ +public class WatchExample { + public static void main(String[] args) throws IOException, ApiException{ + ApiClient client = Config.defaultClient(); + Configuration.setDefaultApiClient(client); + + CoreV1Api api = new CoreV1Api(); + + Watch watch = client.watch( + api.listNamespaceCall(null, null, null, null, 5, Boolean.TRUE, null, null), + new TypeToken>(){}.getType()); + + for (Watch.Response item : watch) { + System.out.printf("%s : %s%n", item.type, item.object.getMetadata().getName()); + } + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/ApiClient.java b/kubernetes/src/main/java/io/kubernetes/client/ApiClient.java index b0dfb72d00..ffa112ca51 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/ApiClient.java +++ b/kubernetes/src/main/java/io/kubernetes/client/ApiClient.java @@ -949,6 +949,26 @@ public File prepareDownloadFile(Response response) throws IOException { return File.createTempFile(prefix, suffix, new File(tempFolderPath)); } + public Watch watch(Call call, Type watchType) throws ApiException { + try { + Response response = call.execute(); + if (!response.isSuccessful()) { + String respBody = null; + if (response.body() != null) { + try { + respBody = response.body().string(); + } catch (IOException e) { + throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); + } + } + throw new ApiException(response.message(), response.code(), response.headers().toMultimap(), respBody); + } + return new Watch<>(this.json, response.body(), watchType); + } catch (IOException e) { + throw new ApiException(e); + } + } + /** * {@link #execute(Call, Type)} * diff --git a/kubernetes/src/main/java/io/kubernetes/client/ProgressRequestBody.java b/kubernetes/src/main/java/io/kubernetes/client/ProgressRequestBody.java index 32da658ae6..3df40112aa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/ProgressRequestBody.java +++ b/kubernetes/src/main/java/io/kubernetes/client/ProgressRequestBody.java @@ -34,8 +34,6 @@ public interface ProgressRequestListener { private final ProgressRequestListener progressListener; - private BufferedSink bufferedSink; - public ProgressRequestBody(RequestBody requestBody, ProgressRequestListener progressListener) { this.requestBody = requestBody; this.progressListener = progressListener; @@ -53,13 +51,9 @@ public long contentLength() throws IOException { @Override public void writeTo(BufferedSink sink) throws IOException { - if (bufferedSink == null) { - bufferedSink = Okio.buffer(sink(sink)); - } - + BufferedSink bufferedSink = Okio.buffer(sink(sink)); requestBody.writeTo(bufferedSink); bufferedSink.flush(); - } private Sink sink(Sink sink) { diff --git a/kubernetes/src/main/java/io/kubernetes/client/Watch.java b/kubernetes/src/main/java/io/kubernetes/client/Watch.java new file mode 100644 index 0000000000..4967c5aba2 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/Watch.java @@ -0,0 +1,88 @@ +/* +Copyright 2017 The Kubernetes Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +package io.kubernetes.client; + +import com.google.gson.annotations.SerializedName; +import com.squareup.okhttp.ResponseBody; + +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.Iterator; + +/** + * Watch class implements watch mechansim of kubernetes. For every list API + * call with a watch parameter you should be able to pass its call to this class + * and watch changes to that list. For example CoreV1Api.listNamespace has watch + * parameter, so you can create a call using CoreV1Api.listNamespaceCall and + * set watch to True and watch the changes to namespaces. + */ +public class Watch implements Iterable>, + Iterator> { + + /** + * Response class holds a watch response that has a `type` that can be + * ADDED, MODIFIED, DELETED and ERROR. It also hold the actual target + * object. + */ + public static class Response { + @SerializedName("type") + public String type; + + @SerializedName("object") + public T object; + + Response(String type, T object) { + this.type = type; + this.object = object; + } + } + + Type watchType; + ResponseBody response; + JSON json; + + public Watch(JSON json, ResponseBody body, Type watchType) { + this.response = body; + this.watchType = watchType; + this.json = json; + } + + public Response next() { + try { + String line = response.source().readUtf8Line(); + if (line == null) { + throw new RuntimeException("Null response from the server."); + } + return json.deserialize(line, watchType); + } catch (IOException e) { + throw new RuntimeException("IO Exception during next method.", e); + } + } + + public boolean hasNext() { + try { + return !response.source().exhausted(); + } catch (IOException e) { + throw new RuntimeException("IO Exception during hasNext method.", + e); + } + } + + public Iterator> iterator() { + return this; + } + + public void remove() { + throw new UnsupportedOperationException("remove"); + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ApisApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ApisApi.java index 0adf02feb9..1dc994ec0e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/ApisApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ApisApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIVersions */ - private com.squareup.okhttp.Call getAPIVersionsCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIVersions + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIVersionsCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AppsApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AppsApi.java index dd3c7a7efb..722d857873 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AppsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AppsApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/apps/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta1Api.java index 5c62f5ef6e..2e506ccef4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta1Api.java @@ -62,13 +62,22 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createNamespacedDeployment */ - private com.squareup.okhttp.Call createNamespacedDeploymentCall(String namespace, AppsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedDeployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedDeploymentCall(String namespace, AppsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -194,14 +203,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedDeploymentRollbackRollback */ - private com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackCall(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedDeploymentRollbackRollback + * @param name name of the DeploymentRollback (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackCall(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -335,13 +354,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedStatefulSet */ - private com.squareup.okhttp.Call createNamespacedStatefulSetCall(String namespace, V1beta1StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedStatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedStatefulSetCall(String namespace, V1beta1StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -467,13 +495,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedDeployment */ - private com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedDeployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -616,13 +657,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedStatefulSet */ - private com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedStatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -765,14 +819,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedDeployment */ - private com.squareup.okhttp.Call deleteNamespacedDeploymentCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedDeploymentCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -921,14 +988,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedStatefulSet */ - private com.squareup.okhttp.Call deleteNamespacedStatefulSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedStatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedStatefulSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1077,12 +1157,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/apps/v1beta1/"; List localVarQueryParams = new ArrayList(); @@ -1187,12 +1273,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listDeploymentForAllNamespaces */ - private com.squareup.okhttp.Call listDeploymentForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listDeploymentForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listDeploymentForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/deployments".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/apps/v1beta1/deployments"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -1327,13 +1425,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedDeployment */ - private com.squareup.okhttp.Call listNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedDeployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1476,13 +1587,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedStatefulSet */ - private com.squareup.okhttp.Call listNamespacedStatefulSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedStatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedStatefulSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1625,12 +1749,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listStatefulSetForAllNamespaces */ - private com.squareup.okhttp.Call listStatefulSetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listStatefulSetForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listStatefulSetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/statefulsets".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/apps/v1beta1/statefulsets"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -1765,14 +1901,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedDeployment */ - private com.squareup.okhttp.Call patchNamespacedDeploymentCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1906,14 +2052,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedDeploymentStatus */ - private com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedDeploymentStatus + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2047,14 +2203,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedScaleScale */ - private com.squareup.okhttp.Call patchNamespacedScaleScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedScaleScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedScaleScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2188,14 +2354,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedStatefulSet */ - private com.squareup.okhttp.Call patchNamespacedStatefulSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedStatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedStatefulSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2329,14 +2505,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedStatefulSetStatus */ - private com.squareup.okhttp.Call patchNamespacedStatefulSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedStatefulSetStatus + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedStatefulSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2470,14 +2656,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedDeployment */ - private com.squareup.okhttp.Call readNamespacedDeploymentCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2613,14 +2810,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedDeploymentStatus */ - private com.squareup.okhttp.Call readNamespacedDeploymentStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedDeploymentStatus + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2746,14 +2952,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedScaleScale */ - private com.squareup.okhttp.Call readNamespacedScaleScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedScaleScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedScaleScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2879,14 +3094,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedStatefulSet */ - private com.squareup.okhttp.Call readNamespacedStatefulSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedStatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedStatefulSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3022,14 +3248,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedStatefulSetStatus */ - private com.squareup.okhttp.Call readNamespacedStatefulSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedStatefulSetStatus + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedStatefulSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3155,14 +3390,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedDeployment */ - private com.squareup.okhttp.Call replaceNamespacedDeploymentCall(String name, String namespace, AppsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentCall(String name, String namespace, AppsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3296,14 +3541,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedDeploymentStatus */ - private com.squareup.okhttp.Call replaceNamespacedDeploymentStatusCall(String name, String namespace, AppsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedDeploymentStatus + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentStatusCall(String name, String namespace, AppsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3437,14 +3692,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedScaleScale */ - private com.squareup.okhttp.Call replaceNamespacedScaleScaleCall(String name, String namespace, AppsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedScaleScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedScaleScaleCall(String name, String namespace, AppsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3578,14 +3843,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedStatefulSet */ - private com.squareup.okhttp.Call replaceNamespacedStatefulSetCall(String name, String namespace, V1beta1StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedStatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedStatefulSetCall(String name, String namespace, V1beta1StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3719,14 +3994,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedStatefulSetStatus */ - private com.squareup.okhttp.Call replaceNamespacedStatefulSetStatusCall(String name, String namespace, V1beta1StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedStatefulSetStatus + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedStatefulSetStatusCall(String name, String namespace, V1beta1StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationApi.java index 6ad7b616b3..03cc1638da 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/authentication.k8s.io/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authentication.k8s.io/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1Api.java index 6ae01f4332..c3f8df1961 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1Api.java @@ -55,12 +55,20 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createTokenReview */ - private com.squareup.okhttp.Call createTokenReviewCall(V1TokenReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createTokenReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createTokenReviewCall(V1TokenReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/authentication.k8s.io/v1/tokenreviews".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authentication.k8s.io/v1/tokenreviews"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -178,12 +186,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/authentication.k8s.io/v1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authentication.k8s.io/v1/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1beta1Api.java index d10b197ee1..b3ad92834e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1beta1Api.java @@ -55,12 +55,20 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createTokenReview */ - private com.squareup.okhttp.Call createTokenReviewCall(V1beta1TokenReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createTokenReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createTokenReviewCall(V1beta1TokenReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/authentication.k8s.io/v1beta1/tokenreviews".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authentication.k8s.io/v1beta1/tokenreviews"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -178,12 +186,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/authentication.k8s.io/v1beta1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authentication.k8s.io/v1beta1/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationApi.java index 3d4b65ece9..14e6b8b7e0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/authorization.k8s.io/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authorization.k8s.io/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1Api.java index fd44373194..0c100b16d0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1Api.java @@ -57,13 +57,22 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createNamespacedLocalSubjectAccessReview */ - private com.squareup.okhttp.Call createNamespacedLocalSubjectAccessReviewCall(String namespace, V1LocalSubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedLocalSubjectAccessReview + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedLocalSubjectAccessReviewCall(String namespace, V1LocalSubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -189,12 +198,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createSelfSubjectAccessReview */ - private com.squareup.okhttp.Call createSelfSubjectAccessReviewCall(V1SelfSubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createSelfSubjectAccessReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createSelfSubjectAccessReviewCall(V1SelfSubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -312,12 +329,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createSubjectAccessReview */ - private com.squareup.okhttp.Call createSubjectAccessReviewCall(V1SubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createSubjectAccessReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createSubjectAccessReviewCall(V1SubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/authorization.k8s.io/v1/subjectaccessreviews".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authorization.k8s.io/v1/subjectaccessreviews"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -435,12 +460,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/authorization.k8s.io/v1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authorization.k8s.io/v1/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1beta1Api.java index 66753de84f..29045bab23 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1beta1Api.java @@ -57,13 +57,22 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createNamespacedLocalSubjectAccessReview */ - private com.squareup.okhttp.Call createNamespacedLocalSubjectAccessReviewCall(String namespace, V1beta1LocalSubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedLocalSubjectAccessReview + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedLocalSubjectAccessReviewCall(String namespace, V1beta1LocalSubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -189,12 +198,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createSelfSubjectAccessReview */ - private com.squareup.okhttp.Call createSelfSubjectAccessReviewCall(V1beta1SelfSubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createSelfSubjectAccessReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createSelfSubjectAccessReviewCall(V1beta1SelfSubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -312,12 +329,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createSubjectAccessReview */ - private com.squareup.okhttp.Call createSubjectAccessReviewCall(V1beta1SubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createSubjectAccessReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createSubjectAccessReviewCall(V1beta1SubjectAccessReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -435,12 +460,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/authorization.k8s.io/v1beta1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/authorization.k8s.io/v1beta1/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingApi.java index a62dc40d35..f3cfc2fa43 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/autoscaling/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV1Api.java index 68f103de72..6461224ad0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV1Api.java @@ -58,13 +58,22 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerCall(String namespace, V1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedHorizontalPodAutoscaler + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerCall(String namespace, V1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -190,13 +199,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedHorizontalPodAutoscaler + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -339,14 +361,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call deleteNamespacedHorizontalPodAutoscalerCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedHorizontalPodAutoscaler + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedHorizontalPodAutoscalerCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -495,12 +530,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/autoscaling/v1/"; List localVarQueryParams = new ArrayList(); @@ -605,12 +646,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listHorizontalPodAutoscalerForAllNamespaces */ - private com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listHorizontalPodAutoscalerForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/horizontalpodautoscalers".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/autoscaling/v1/horizontalpodautoscalers"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -745,13 +798,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedHorizontalPodAutoscaler + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -894,14 +960,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedHorizontalPodAutoscaler + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1035,14 +1111,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedHorizontalPodAutoscalerStatus */ - private com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedHorizontalPodAutoscalerStatus + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1176,14 +1262,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedHorizontalPodAutoscaler + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1319,14 +1416,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedHorizontalPodAutoscalerStatus */ - private com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedHorizontalPodAutoscalerStatus + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1452,14 +1558,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerCall(String name, String namespace, V1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedHorizontalPodAutoscaler + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerCall(String name, String namespace, V1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1593,14 +1709,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedHorizontalPodAutoscalerStatus */ - private com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, V1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedHorizontalPodAutoscalerStatus + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, V1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV2alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV2alpha1Api.java index 8ca4c7c248..6bd85f2a40 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV2alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV2alpha1Api.java @@ -58,13 +58,22 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerCall(String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedHorizontalPodAutoscaler + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerCall(String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -190,13 +199,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedHorizontalPodAutoscaler + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -339,14 +361,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call deleteNamespacedHorizontalPodAutoscalerCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedHorizontalPodAutoscaler + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedHorizontalPodAutoscalerCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -495,12 +530,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/autoscaling/v2alpha1/"; List localVarQueryParams = new ArrayList(); @@ -605,12 +646,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listHorizontalPodAutoscalerForAllNamespaces */ - private com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listHorizontalPodAutoscalerForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/horizontalpodautoscalers".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/autoscaling/v2alpha1/horizontalpodautoscalers"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -745,13 +798,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedHorizontalPodAutoscaler + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -894,14 +960,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedHorizontalPodAutoscaler + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1035,14 +1111,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedHorizontalPodAutoscalerStatus */ - private com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedHorizontalPodAutoscalerStatus + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1176,14 +1262,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedHorizontalPodAutoscaler + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1319,14 +1416,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedHorizontalPodAutoscalerStatus */ - private com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedHorizontalPodAutoscalerStatus + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1452,14 +1558,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedHorizontalPodAutoscaler */ - private com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerCall(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedHorizontalPodAutoscaler + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerCall(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1593,14 +1709,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedHorizontalPodAutoscalerStatus */ - private com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedHorizontalPodAutoscalerStatus + * @param name name of the HorizontalPodAutoscaler (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchApi.java index 4c94041ef9..8c2e347a5b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/batch/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1Api.java index a0c4031bbe..3b59dfde08 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1Api.java @@ -58,13 +58,22 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createNamespacedJob */ - private com.squareup.okhttp.Call createNamespacedJobCall(String namespace, V1Job body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedJobCall(String namespace, V1Job body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -190,13 +199,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedJob */ - private com.squareup.okhttp.Call deleteCollectionNamespacedJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -339,14 +361,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedJob */ - private com.squareup.okhttp.Call deleteNamespacedJobCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedJob + * @param name name of the Job (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedJobCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -495,12 +530,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/batch/v1/"; List localVarQueryParams = new ArrayList(); @@ -605,12 +646,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listJobForAllNamespaces */ - private com.squareup.okhttp.Call listJobForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listJobForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listJobForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v1/jobs".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/batch/v1/jobs"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -745,13 +798,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedJob */ - private com.squareup.okhttp.Call listNamespacedJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -894,14 +960,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedJob */ - private com.squareup.okhttp.Call patchNamespacedJobCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedJob + * @param name name of the Job (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedJobCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1035,14 +1111,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedJobStatus */ - private com.squareup.okhttp.Call patchNamespacedJobStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedJobStatus + * @param name name of the Job (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedJobStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1176,14 +1262,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedJob */ - private com.squareup.okhttp.Call readNamespacedJobCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedJob + * @param name name of the Job (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedJobCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1319,14 +1416,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedJobStatus */ - private com.squareup.okhttp.Call readNamespacedJobStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedJobStatus + * @param name name of the Job (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedJobStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1452,14 +1558,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedJob */ - private com.squareup.okhttp.Call replaceNamespacedJobCall(String name, String namespace, V1Job body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedJob + * @param name name of the Job (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedJobCall(String name, String namespace, V1Job body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1593,14 +1709,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedJobStatus */ - private com.squareup.okhttp.Call replaceNamespacedJobStatusCall(String name, String namespace, V1Job body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedJobStatus + * @param name name of the Job (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedJobStatusCall(String name, String namespace, V1Job body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV2alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV2alpha1Api.java index 03dad787d8..8ef42467b5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV2alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV2alpha1Api.java @@ -58,13 +58,22 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createNamespacedCronJob */ - private com.squareup.okhttp.Call createNamespacedCronJobCall(String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedCronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedCronJobCall(String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -190,13 +199,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedScheduledJob */ - private com.squareup.okhttp.Call createNamespacedScheduledJobCall(String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedScheduledJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedScheduledJobCall(String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -322,13 +340,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedCronJob */ - private com.squareup.okhttp.Call deleteCollectionNamespacedCronJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedCronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedCronJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -471,13 +502,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedScheduledJob */ - private com.squareup.okhttp.Call deleteCollectionNamespacedScheduledJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedScheduledJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedScheduledJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -620,14 +664,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedCronJob */ - private com.squareup.okhttp.Call deleteNamespacedCronJobCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedCronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedCronJobCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -776,14 +833,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedScheduledJob */ - private com.squareup.okhttp.Call deleteNamespacedScheduledJobCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedScheduledJob + * @param name name of the ScheduledJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedScheduledJobCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -932,12 +1002,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/batch/v2alpha1/"; List localVarQueryParams = new ArrayList(); @@ -1042,12 +1118,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listCronJobForAllNamespaces */ - private com.squareup.okhttp.Call listCronJobForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listCronJobForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listCronJobForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/cronjobs".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/batch/v2alpha1/cronjobs"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -1182,13 +1270,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedCronJob */ - private com.squareup.okhttp.Call listNamespacedCronJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedCronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedCronJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1331,13 +1432,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedScheduledJob */ - private com.squareup.okhttp.Call listNamespacedScheduledJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedScheduledJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedScheduledJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1480,12 +1594,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listScheduledJobForAllNamespaces */ - private com.squareup.okhttp.Call listScheduledJobForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listScheduledJobForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listScheduledJobForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/scheduledjobs".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/batch/v2alpha1/scheduledjobs"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -1620,14 +1746,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedCronJob */ - private com.squareup.okhttp.Call patchNamespacedCronJobCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedCronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedCronJobCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1761,14 +1897,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedCronJobStatus */ - private com.squareup.okhttp.Call patchNamespacedCronJobStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedCronJobStatus + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedCronJobStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1902,14 +2048,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedScheduledJob */ - private com.squareup.okhttp.Call patchNamespacedScheduledJobCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedScheduledJob + * @param name name of the ScheduledJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedScheduledJobCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2043,14 +2199,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedScheduledJobStatus */ - private com.squareup.okhttp.Call patchNamespacedScheduledJobStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedScheduledJobStatus + * @param name name of the ScheduledJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedScheduledJobStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2184,14 +2350,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedCronJob */ - private com.squareup.okhttp.Call readNamespacedCronJobCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedCronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedCronJobCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2327,14 +2504,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedCronJobStatus */ - private com.squareup.okhttp.Call readNamespacedCronJobStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedCronJobStatus + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedCronJobStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2460,14 +2646,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedScheduledJob */ - private com.squareup.okhttp.Call readNamespacedScheduledJobCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedScheduledJob + * @param name name of the ScheduledJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedScheduledJobCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2603,14 +2800,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedScheduledJobStatus */ - private com.squareup.okhttp.Call readNamespacedScheduledJobStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedScheduledJobStatus + * @param name name of the ScheduledJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedScheduledJobStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2736,14 +2942,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedCronJob */ - private com.squareup.okhttp.Call replaceNamespacedCronJobCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedCronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedCronJobCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2877,14 +3093,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedCronJobStatus */ - private com.squareup.okhttp.Call replaceNamespacedCronJobStatusCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedCronJobStatus + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedCronJobStatusCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3018,14 +3244,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedScheduledJob */ - private com.squareup.okhttp.Call replaceNamespacedScheduledJobCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedScheduledJob + * @param name name of the ScheduledJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedScheduledJobCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3159,14 +3395,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedScheduledJobStatus */ - private com.squareup.okhttp.Call replaceNamespacedScheduledJobStatusCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedScheduledJobStatus + * @param name name of the ScheduledJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedScheduledJobStatusCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesApi.java index 5ef592317f..e8c7468227 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/certificates.k8s.io/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesV1beta1Api.java index 91b8c2902e..5422c9a572 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesV1beta1Api.java @@ -58,12 +58,20 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createCertificateSigningRequest */ - private com.squareup.okhttp.Call createCertificateSigningRequestCall(V1beta1CertificateSigningRequest body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createCertificateSigningRequest + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createCertificateSigningRequestCall(V1beta1CertificateSigningRequest body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -181,13 +189,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCertificateSigningRequest */ - private com.squareup.okhttp.Call deleteCertificateSigningRequestCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCertificateSigningRequest + * @param name name of the CertificateSigningRequest (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCertificateSigningRequestCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -328,12 +348,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionCertificateSigningRequest */ - private com.squareup.okhttp.Call deleteCollectionCertificateSigningRequestCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionCertificateSigningRequest + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionCertificateSigningRequestCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -468,12 +500,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1beta1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/certificates.k8s.io/v1beta1/"; List localVarQueryParams = new ArrayList(); @@ -578,12 +616,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listCertificateSigningRequest */ - private com.squareup.okhttp.Call listCertificateSigningRequestCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listCertificateSigningRequest + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listCertificateSigningRequestCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -718,13 +768,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchCertificateSigningRequest */ - private com.squareup.okhttp.Call patchCertificateSigningRequestCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchCertificateSigningRequest + * @param name name of the CertificateSigningRequest (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchCertificateSigningRequestCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -850,13 +909,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readCertificateSigningRequest */ - private com.squareup.okhttp.Call readCertificateSigningRequestCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readCertificateSigningRequest + * @param name name of the CertificateSigningRequest (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readCertificateSigningRequestCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -984,13 +1053,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceCertificateSigningRequest */ - private com.squareup.okhttp.Call replaceCertificateSigningRequestCall(String name, V1beta1CertificateSigningRequest body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceCertificateSigningRequest + * @param name name of the CertificateSigningRequest (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceCertificateSigningRequestCall(String name, V1beta1CertificateSigningRequest body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1116,13 +1194,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceCertificateSigningRequestApproval */ - private com.squareup.okhttp.Call replaceCertificateSigningRequestApprovalCall(String name, V1beta1CertificateSigningRequest body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceCertificateSigningRequestApproval + * @param name name of the CertificateSigningRequest (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceCertificateSigningRequestApprovalCall(String name, V1beta1CertificateSigningRequest body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1248,13 +1335,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceCertificateSigningRequestStatus */ - private com.squareup.okhttp.Call replaceCertificateSigningRequestStatusCall(String name, V1beta1CertificateSigningRequest body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceCertificateSigningRequestStatus + * @param name name of the CertificateSigningRequest (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceCertificateSigningRequestStatusCall(String name, V1beta1CertificateSigningRequest body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/CoreApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/CoreApi.java index f17e089ef8..f1b31e9aee 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/CoreApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/CoreApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIVersions */ - private com.squareup.okhttp.Call getAPIVersionsCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIVersions + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIVersionsCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/CoreV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/CoreV1Api.java index 8d77b99975..6df2bae925 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/CoreV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/CoreV1Api.java @@ -91,14 +91,23 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for connectDeleteNamespacedPodProxy */ - private com.squareup.okhttp.Call connectDeleteNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectDeleteNamespacedPodProxy + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectDeleteNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -224,15 +233,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectDeleteNamespacedPodProxyWithPath */ - private com.squareup.okhttp.Call connectDeleteNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectDeleteNamespacedPodProxyWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectDeleteNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -366,14 +385,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectDeleteNamespacedServiceProxy */ - private com.squareup.okhttp.Call connectDeleteNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectDeleteNamespacedServiceProxy + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectDeleteNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -499,15 +527,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectDeleteNamespacedServiceProxyWithPath */ - private com.squareup.okhttp.Call connectDeleteNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectDeleteNamespacedServiceProxyWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectDeleteNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -641,13 +679,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectDeleteNodeProxy */ - private com.squareup.okhttp.Call connectDeleteNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectDeleteNodeProxy + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectDeleteNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -765,14 +811,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectDeleteNodeProxyWithPath */ - private com.squareup.okhttp.Call connectDeleteNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectDeleteNodeProxyWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectDeleteNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -898,14 +953,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectGetNamespacedPodAttach */ - private com.squareup.okhttp.Call connectGetNamespacedPodAttachCall(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectGetNamespacedPodAttach + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) + * @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectGetNamespacedPodAttachCall(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/attach".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/attach" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (container != null) @@ -1051,14 +1119,28 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectGetNamespacedPodExec */ - private com.squareup.okhttp.Call connectGetNamespacedPodExecCall(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectGetNamespacedPodExec + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param command Command is the remote command to execute. argv array. Not executed within a shell. (optional) + * @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Redirect the standard error stream of the pod for this call. Defaults to true. (optional) + * @param stdin Redirect the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Redirect the standard output stream of the pod for this call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectGetNamespacedPodExecCall(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/exec".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/exec" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (command != null) @@ -1209,14 +1291,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectGetNamespacedPodPortforward */ - private com.squareup.okhttp.Call connectGetNamespacedPodPortforwardCall(String name, String namespace, Integer ports, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectGetNamespacedPodPortforward + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param ports List of ports to forward Required when using WebSockets (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectGetNamespacedPodPortforwardCall(String name, String namespace, Integer ports, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/portforward".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/portforward" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (ports != null) @@ -1342,14 +1433,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectGetNamespacedPodProxy */ - private com.squareup.okhttp.Call connectGetNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectGetNamespacedPodProxy + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectGetNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -1475,15 +1575,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectGetNamespacedPodProxyWithPath */ - private com.squareup.okhttp.Call connectGetNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectGetNamespacedPodProxyWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectGetNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -1617,14 +1727,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectGetNamespacedServiceProxy */ - private com.squareup.okhttp.Call connectGetNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectGetNamespacedServiceProxy + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectGetNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -1750,15 +1869,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectGetNamespacedServiceProxyWithPath */ - private com.squareup.okhttp.Call connectGetNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectGetNamespacedServiceProxyWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectGetNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -1892,13 +2021,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectGetNodeProxy */ - private com.squareup.okhttp.Call connectGetNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectGetNodeProxy + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectGetNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -2016,14 +2153,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectGetNodeProxyWithPath */ - private com.squareup.okhttp.Call connectGetNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectGetNodeProxyWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectGetNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -2149,14 +2295,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectHeadNamespacedPodProxy */ - private com.squareup.okhttp.Call connectHeadNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectHeadNamespacedPodProxy + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectHeadNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -2282,15 +2437,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectHeadNamespacedPodProxyWithPath */ - private com.squareup.okhttp.Call connectHeadNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectHeadNamespacedPodProxyWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectHeadNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -2424,14 +2589,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectHeadNamespacedServiceProxy */ - private com.squareup.okhttp.Call connectHeadNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectHeadNamespacedServiceProxy + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectHeadNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -2557,15 +2731,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectHeadNamespacedServiceProxyWithPath */ - private com.squareup.okhttp.Call connectHeadNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectHeadNamespacedServiceProxyWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectHeadNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -2699,13 +2883,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectHeadNodeProxy */ - private com.squareup.okhttp.Call connectHeadNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectHeadNodeProxy + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectHeadNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -2823,14 +3015,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectHeadNodeProxyWithPath */ - private com.squareup.okhttp.Call connectHeadNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectHeadNodeProxyWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectHeadNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -2956,14 +3157,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectOptionsNamespacedPodProxy */ - private com.squareup.okhttp.Call connectOptionsNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectOptionsNamespacedPodProxy + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectOptionsNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -3089,15 +3299,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectOptionsNamespacedPodProxyWithPath */ - private com.squareup.okhttp.Call connectOptionsNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectOptionsNamespacedPodProxyWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectOptionsNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -3231,14 +3451,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectOptionsNamespacedServiceProxy */ - private com.squareup.okhttp.Call connectOptionsNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectOptionsNamespacedServiceProxy + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectOptionsNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -3364,15 +3593,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectOptionsNamespacedServiceProxyWithPath */ - private com.squareup.okhttp.Call connectOptionsNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectOptionsNamespacedServiceProxyWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectOptionsNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -3506,13 +3745,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectOptionsNodeProxy */ - private com.squareup.okhttp.Call connectOptionsNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectOptionsNodeProxy + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectOptionsNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -3630,14 +3877,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectOptionsNodeProxyWithPath */ - private com.squareup.okhttp.Call connectOptionsNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectOptionsNodeProxyWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectOptionsNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -3763,14 +4019,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPostNamespacedPodAttach */ - private com.squareup.okhttp.Call connectPostNamespacedPodAttachCall(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPostNamespacedPodAttach + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) + * @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPostNamespacedPodAttachCall(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/attach".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/attach" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (container != null) @@ -3916,14 +4185,28 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPostNamespacedPodExec */ - private com.squareup.okhttp.Call connectPostNamespacedPodExecCall(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPostNamespacedPodExec + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param command Command is the remote command to execute. argv array. Not executed within a shell. (optional) + * @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Redirect the standard error stream of the pod for this call. Defaults to true. (optional) + * @param stdin Redirect the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Redirect the standard output stream of the pod for this call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPostNamespacedPodExecCall(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/exec".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/exec" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (command != null) @@ -4074,14 +4357,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPostNamespacedPodPortforward */ - private com.squareup.okhttp.Call connectPostNamespacedPodPortforwardCall(String name, String namespace, Integer ports, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPostNamespacedPodPortforward + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param ports List of ports to forward Required when using WebSockets (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPostNamespacedPodPortforwardCall(String name, String namespace, Integer ports, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/portforward".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/portforward" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (ports != null) @@ -4207,14 +4499,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPostNamespacedPodProxy */ - private com.squareup.okhttp.Call connectPostNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPostNamespacedPodProxy + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPostNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -4340,15 +4641,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPostNamespacedPodProxyWithPath */ - private com.squareup.okhttp.Call connectPostNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPostNamespacedPodProxyWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPostNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -4482,14 +4793,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPostNamespacedServiceProxy */ - private com.squareup.okhttp.Call connectPostNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPostNamespacedServiceProxy + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPostNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -4615,15 +4935,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPostNamespacedServiceProxyWithPath */ - private com.squareup.okhttp.Call connectPostNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPostNamespacedServiceProxyWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPostNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -4757,13 +5087,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPostNodeProxy */ - private com.squareup.okhttp.Call connectPostNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPostNodeProxy + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPostNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -4881,14 +5219,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPostNodeProxyWithPath */ - private com.squareup.okhttp.Call connectPostNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPostNodeProxyWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPostNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -5014,14 +5361,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPutNamespacedPodProxy */ - private com.squareup.okhttp.Call connectPutNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPutNamespacedPodProxy + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -5147,15 +5503,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPutNamespacedPodProxyWithPath */ - private com.squareup.okhttp.Call connectPutNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPutNamespacedPodProxyWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -5289,14 +5655,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPutNamespacedServiceProxy */ - private com.squareup.okhttp.Call connectPutNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPutNamespacedServiceProxy + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -5422,15 +5797,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPutNamespacedServiceProxyWithPath */ - private com.squareup.okhttp.Call connectPutNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPutNamespacedServiceProxyWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -5564,13 +5949,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPutNodeProxy */ - private com.squareup.okhttp.Call connectPutNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPutNodeProxy + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (path != null) @@ -5688,14 +6081,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for connectPutNodeProxyWithPath */ - private com.squareup.okhttp.Call connectPutNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for connectPutNodeProxyWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); if (path2 != null) @@ -5821,12 +6223,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespace */ - private com.squareup.okhttp.Call createNamespaceCall(V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespace + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespaceCall(V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/namespaces"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -5944,13 +6354,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedBinding */ - private com.squareup.okhttp.Call createNamespacedBindingCall(String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedBindingCall(String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/bindings".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/bindings" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6076,14 +6495,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedBindingBinding */ - private com.squareup.okhttp.Call createNamespacedBindingBindingCall(String name, String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedBindingBinding + * @param name name of the Binding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedBindingBindingCall(String name, String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/binding".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/binding" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6217,13 +6646,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedConfigMap */ - private com.squareup.okhttp.Call createNamespacedConfigMapCall(String namespace, V1ConfigMap body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedConfigMap + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedConfigMapCall(String namespace, V1ConfigMap body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/configmaps".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/configmaps" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6349,13 +6787,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedEndpoints */ - private com.squareup.okhttp.Call createNamespacedEndpointsCall(String namespace, V1Endpoints body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - + /** + * Build call for createNamespacedEndpoints + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedEndpointsCall(String namespace, V1Endpoints body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/endpoints".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/endpoints" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6481,13 +6928,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedEvent */ - private com.squareup.okhttp.Call createNamespacedEventCall(String namespace, V1Event body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedEvent + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedEventCall(String namespace, V1Event body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/events".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/events" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6613,14 +7069,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedEvictionEviction */ - private com.squareup.okhttp.Call createNamespacedEvictionEvictionCall(String name, String namespace, V1beta1Eviction body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedEvictionEviction + * @param name name of the Eviction (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedEvictionEvictionCall(String name, String namespace, V1beta1Eviction body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/eviction".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/eviction" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6754,13 +7220,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedLimitRange */ - private com.squareup.okhttp.Call createNamespacedLimitRangeCall(String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedLimitRange + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedLimitRangeCall(String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6886,13 +7361,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedPersistentVolumeClaim */ - private com.squareup.okhttp.Call createNamespacedPersistentVolumeClaimCall(String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedPersistentVolumeClaim + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedPersistentVolumeClaimCall(String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7018,13 +7502,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedPod */ - private com.squareup.okhttp.Call createNamespacedPodCall(String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedPod + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedPodCall(String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7150,13 +7643,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedPodTemplate */ - private com.squareup.okhttp.Call createNamespacedPodTemplateCall(String namespace, V1PodTemplate body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedPodTemplate + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedPodTemplateCall(String namespace, V1PodTemplate body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7282,13 +7784,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedReplicationController */ - private com.squareup.okhttp.Call createNamespacedReplicationControllerCall(String namespace, V1ReplicationController body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedReplicationController + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedReplicationControllerCall(String namespace, V1ReplicationController body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7414,13 +7925,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedResourceQuota */ - private com.squareup.okhttp.Call createNamespacedResourceQuotaCall(String namespace, V1ResourceQuota body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedResourceQuota + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedResourceQuotaCall(String namespace, V1ResourceQuota body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7546,13 +8066,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedSecret */ - private com.squareup.okhttp.Call createNamespacedSecretCall(String namespace, V1Secret body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedSecret + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedSecretCall(String namespace, V1Secret body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/secrets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/secrets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7678,13 +8207,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedService */ - private com.squareup.okhttp.Call createNamespacedServiceCall(String namespace, V1Service body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedService + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedServiceCall(String namespace, V1Service body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7810,13 +8348,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedServiceAccount */ - private com.squareup.okhttp.Call createNamespacedServiceAccountCall(String namespace, V1ServiceAccount body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedServiceAccount + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedServiceAccountCall(String namespace, V1ServiceAccount body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7942,12 +8489,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNode */ - private com.squareup.okhttp.Call createNodeCall(V1Node body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNode + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNodeCall(V1Node body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/nodes".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/nodes"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8065,12 +8620,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createPersistentVolume */ - private com.squareup.okhttp.Call createPersistentVolumeCall(V1PersistentVolume body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createPersistentVolume + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createPersistentVolumeCall(V1PersistentVolume body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/persistentvolumes"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8188,13 +8751,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedConfigMap */ - private com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedConfigMap + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/configmaps".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/configmaps" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8337,13 +8913,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedEndpoints */ - private com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedEndpoints + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/endpoints".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/endpoints" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8486,13 +9075,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedEvent */ - private com.squareup.okhttp.Call deleteCollectionNamespacedEventCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedEvent + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedEventCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/events".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/events" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8635,13 +9237,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedLimitRange */ - private com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedLimitRange + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8784,13 +9399,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedPersistentVolumeClaim */ - private com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaimCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedPersistentVolumeClaim + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaimCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8933,13 +9561,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedPod */ - private com.squareup.okhttp.Call deleteCollectionNamespacedPodCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedPod + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedPodCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9082,13 +9723,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedPodTemplate */ - private com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedPodTemplate + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9231,13 +9885,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedReplicationController */ - private com.squareup.okhttp.Call deleteCollectionNamespacedReplicationControllerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedReplicationController + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedReplicationControllerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9380,13 +10047,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedResourceQuota */ - private com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedResourceQuota + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9529,13 +10209,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedSecret */ - private com.squareup.okhttp.Call deleteCollectionNamespacedSecretCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedSecret + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedSecretCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/secrets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/secrets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9678,13 +10371,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedServiceAccount */ - private com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedServiceAccount + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9827,12 +10533,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNode */ - private com.squareup.okhttp.Call deleteCollectionNodeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNode + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNodeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/nodes"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9967,12 +10685,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionPersistentVolume */ - private com.squareup.okhttp.Call deleteCollectionPersistentVolumeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionPersistentVolume + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionPersistentVolumeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/persistentvolumes"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10107,13 +10837,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespace */ - private com.squareup.okhttp.Call deleteNamespaceCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespace + * @param name name of the Namespace (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespaceCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10254,14 +10996,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedConfigMap */ - private com.squareup.okhttp.Call deleteNamespacedConfigMapCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedConfigMapCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10410,14 +11165,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedEndpoints */ - private com.squareup.okhttp.Call deleteNamespacedEndpointsCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedEndpoints + * @param name name of the Endpoints (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedEndpointsCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10566,14 +11334,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedEvent */ - private com.squareup.okhttp.Call deleteNamespacedEventCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedEvent + * @param name name of the Event (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedEventCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10722,14 +11503,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedLimitRange */ - private com.squareup.okhttp.Call deleteNamespacedLimitRangeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedLimitRange + * @param name name of the LimitRange (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedLimitRangeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10878,14 +11672,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedPersistentVolumeClaim */ - private com.squareup.okhttp.Call deleteNamespacedPersistentVolumeClaimCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedPersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedPersistentVolumeClaimCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -11034,14 +11841,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedPod */ - private com.squareup.okhttp.Call deleteNamespacedPodCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedPodCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -11190,14 +12010,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedPodTemplate */ - private com.squareup.okhttp.Call deleteNamespacedPodTemplateCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedPodTemplate + * @param name name of the PodTemplate (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedPodTemplateCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -11346,14 +12179,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedReplicationController */ - private com.squareup.okhttp.Call deleteNamespacedReplicationControllerCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedReplicationController + * @param name name of the ReplicationController (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedReplicationControllerCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -11502,14 +12348,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedResourceQuota */ - private com.squareup.okhttp.Call deleteNamespacedResourceQuotaCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedResourceQuota + * @param name name of the ResourceQuota (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedResourceQuotaCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -11658,14 +12517,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedSecret */ - private com.squareup.okhttp.Call deleteNamespacedSecretCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedSecret + * @param name name of the Secret (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedSecretCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/secrets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/secrets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -11814,14 +12686,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedService */ - private com.squareup.okhttp.Call deleteNamespacedServiceCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedServiceCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -11947,14 +12828,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedServiceAccount */ - private com.squareup.okhttp.Call deleteNamespacedServiceAccountCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedServiceAccount + * @param name name of the ServiceAccount (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedServiceAccountCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -12103,13 +12997,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNode */ - private com.squareup.okhttp.Call deleteNodeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNode + * @param name name of the Node (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNodeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -12250,13 +13156,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deletePersistentVolume */ - private com.squareup.okhttp.Call deletePersistentVolumeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deletePersistentVolume + * @param name name of the PersistentVolume (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deletePersistentVolumeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/persistentvolumes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -12397,12 +13315,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/"; List localVarQueryParams = new ArrayList(); @@ -12507,12 +13431,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listComponentStatus */ - private com.squareup.okhttp.Call listComponentStatusCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listComponentStatus + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listComponentStatusCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/componentstatuses".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/componentstatuses"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -12647,12 +13583,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listConfigMapForAllNamespaces */ - private com.squareup.okhttp.Call listConfigMapForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listConfigMapForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listConfigMapForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/configmaps".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/configmaps"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -12787,12 +13735,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listEndpointsForAllNamespaces */ - private com.squareup.okhttp.Call listEndpointsForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listEndpointsForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listEndpointsForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/endpoints".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/endpoints"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -12927,12 +13887,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listEventForAllNamespaces */ - private com.squareup.okhttp.Call listEventForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listEventForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listEventForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/events".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/events"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -13067,12 +14039,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listLimitRangeForAllNamespaces */ - private com.squareup.okhttp.Call listLimitRangeForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listLimitRangeForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listLimitRangeForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/limitranges".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/limitranges"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -13207,12 +14191,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespace */ - private com.squareup.okhttp.Call listNamespaceCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespace + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespaceCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/namespaces"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -13347,13 +14343,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedConfigMap */ - private com.squareup.okhttp.Call listNamespacedConfigMapCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedConfigMap + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedConfigMapCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/configmaps".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/configmaps" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -13496,13 +14505,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedEndpoints */ - private com.squareup.okhttp.Call listNamespacedEndpointsCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedEndpoints + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedEndpointsCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/endpoints".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/endpoints" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -13645,13 +14667,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedEvent */ - private com.squareup.okhttp.Call listNamespacedEventCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedEvent + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedEventCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/events".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/events" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -13794,13 +14829,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedLimitRange */ - private com.squareup.okhttp.Call listNamespacedLimitRangeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedLimitRange + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedLimitRangeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -13943,13 +14991,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedPersistentVolumeClaim */ - private com.squareup.okhttp.Call listNamespacedPersistentVolumeClaimCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedPersistentVolumeClaim + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedPersistentVolumeClaimCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -14092,13 +15153,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedPod */ - private com.squareup.okhttp.Call listNamespacedPodCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedPod + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedPodCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -14241,13 +15315,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedPodTemplate */ - private com.squareup.okhttp.Call listNamespacedPodTemplateCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedPodTemplate + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedPodTemplateCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -14390,13 +15477,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedReplicationController */ - private com.squareup.okhttp.Call listNamespacedReplicationControllerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedReplicationController + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedReplicationControllerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -14539,13 +15639,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedResourceQuota */ - private com.squareup.okhttp.Call listNamespacedResourceQuotaCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedResourceQuota + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedResourceQuotaCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -14688,13 +15801,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedSecret */ - private com.squareup.okhttp.Call listNamespacedSecretCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedSecret + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedSecretCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/secrets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/secrets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -14837,13 +15963,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedService */ - private com.squareup.okhttp.Call listNamespacedServiceCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedService + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedServiceCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -14986,13 +16125,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedServiceAccount */ - private com.squareup.okhttp.Call listNamespacedServiceAccountCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedServiceAccount + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedServiceAccountCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -15135,12 +16287,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNode */ - private com.squareup.okhttp.Call listNodeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNode + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNodeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/nodes"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -15275,12 +16439,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listPersistentVolume */ - private com.squareup.okhttp.Call listPersistentVolumeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listPersistentVolume + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listPersistentVolumeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/persistentvolumes"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -15415,12 +16591,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listPersistentVolumeClaimForAllNamespaces */ - private com.squareup.okhttp.Call listPersistentVolumeClaimForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listPersistentVolumeClaimForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listPersistentVolumeClaimForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/persistentvolumeclaims".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/persistentvolumeclaims"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -15555,12 +16743,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listPodForAllNamespaces */ - private com.squareup.okhttp.Call listPodForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listPodForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listPodForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/pods".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/pods"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -15695,12 +16895,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listPodTemplateForAllNamespaces */ - private com.squareup.okhttp.Call listPodTemplateForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listPodTemplateForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listPodTemplateForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/podtemplates".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/podtemplates"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -15835,12 +17047,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listReplicationControllerForAllNamespaces */ - private com.squareup.okhttp.Call listReplicationControllerForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listReplicationControllerForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listReplicationControllerForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/replicationcontrollers".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/replicationcontrollers"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -15975,12 +17199,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listResourceQuotaForAllNamespaces */ - private com.squareup.okhttp.Call listResourceQuotaForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listResourceQuotaForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listResourceQuotaForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/resourcequotas".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/resourcequotas"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -16115,12 +17351,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listSecretForAllNamespaces */ - private com.squareup.okhttp.Call listSecretForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listSecretForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listSecretForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/secrets".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/secrets"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -16255,12 +17503,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listServiceAccountForAllNamespaces */ - private com.squareup.okhttp.Call listServiceAccountForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listServiceAccountForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listServiceAccountForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/serviceaccounts".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/serviceaccounts"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -16395,12 +17655,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listServiceForAllNamespaces */ - private com.squareup.okhttp.Call listServiceForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listServiceForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listServiceForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/services".replaceAll("\\{format\\}","json"); + String localVarPath = "/api/v1/services"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -16535,13 +17807,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespace */ - private com.squareup.okhttp.Call patchNamespaceCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespace + * @param name name of the Namespace (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespaceCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -16667,13 +17948,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespaceStatus */ - private com.squareup.okhttp.Call patchNamespaceStatusCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespaceStatus + * @param name name of the Namespace (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespaceStatusCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -16799,14 +18089,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedConfigMap */ - private com.squareup.okhttp.Call patchNamespacedConfigMapCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedConfigMapCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -16940,14 +18240,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedEndpoints */ - private com.squareup.okhttp.Call patchNamespacedEndpointsCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedEndpoints + * @param name name of the Endpoints (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedEndpointsCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -17081,14 +18391,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedEvent */ - private com.squareup.okhttp.Call patchNamespacedEventCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedEvent + * @param name name of the Event (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedEventCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -17222,14 +18542,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedLimitRange */ - private com.squareup.okhttp.Call patchNamespacedLimitRangeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedLimitRange + * @param name name of the LimitRange (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedLimitRangeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -17363,14 +18693,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedPersistentVolumeClaim */ - private com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedPersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -17504,14 +18844,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedPersistentVolumeClaimStatus */ - private com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedPersistentVolumeClaimStatus + * @param name name of the PersistentVolumeClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -17645,14 +18995,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedPod */ - private com.squareup.okhttp.Call patchNamespacedPodCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedPodCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -17786,14 +19146,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedPodStatus */ - private com.squareup.okhttp.Call patchNamespacedPodStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedPodStatus + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedPodStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -17927,14 +19297,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedPodTemplate */ - private com.squareup.okhttp.Call patchNamespacedPodTemplateCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedPodTemplate + * @param name name of the PodTemplate (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedPodTemplateCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -18068,14 +19448,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedReplicationController */ - private com.squareup.okhttp.Call patchNamespacedReplicationControllerCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedReplicationController + * @param name name of the ReplicationController (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicationControllerCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -18209,14 +19599,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedReplicationControllerStatus */ - private com.squareup.okhttp.Call patchNamespacedReplicationControllerStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedReplicationControllerStatus + * @param name name of the ReplicationController (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicationControllerStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -18350,14 +19750,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedResourceQuota */ - private com.squareup.okhttp.Call patchNamespacedResourceQuotaCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedResourceQuota + * @param name name of the ResourceQuota (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedResourceQuotaCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -18491,14 +19901,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedResourceQuotaStatus */ - private com.squareup.okhttp.Call patchNamespacedResourceQuotaStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedResourceQuotaStatus + * @param name name of the ResourceQuota (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedResourceQuotaStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -18632,14 +20052,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedScaleScale */ - private com.squareup.okhttp.Call patchNamespacedScaleScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedScaleScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedScaleScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -18773,14 +20203,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedSecret */ - private com.squareup.okhttp.Call patchNamespacedSecretCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedSecret + * @param name name of the Secret (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedSecretCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/secrets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/secrets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -18914,14 +20354,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedService */ - private com.squareup.okhttp.Call patchNamespacedServiceCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedServiceCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -19055,14 +20505,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedServiceAccount */ - private com.squareup.okhttp.Call patchNamespacedServiceAccountCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedServiceAccount + * @param name name of the ServiceAccount (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedServiceAccountCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -19196,14 +20656,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedServiceStatus */ - private com.squareup.okhttp.Call patchNamespacedServiceStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedServiceStatus + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedServiceStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -19337,13 +20807,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNode */ - private com.squareup.okhttp.Call patchNodeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNode + * @param name name of the Node (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNodeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -19469,13 +20948,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNodeStatus */ - private com.squareup.okhttp.Call patchNodeStatusCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNodeStatus + * @param name name of the Node (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNodeStatusCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -19601,13 +21089,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchPersistentVolume */ - private com.squareup.okhttp.Call patchPersistentVolumeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchPersistentVolume + * @param name name of the PersistentVolume (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchPersistentVolumeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/persistentvolumes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -19733,13 +21230,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchPersistentVolumeStatus */ - private com.squareup.okhttp.Call patchPersistentVolumeStatusCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchPersistentVolumeStatus + * @param name name of the PersistentVolume (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchPersistentVolumeStatusCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/persistentvolumes/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -19865,14 +21371,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyDELETENamespacedPod */ - private com.squareup.okhttp.Call proxyDELETENamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyDELETENamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyDELETENamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -19993,15 +21507,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyDELETENamespacedPodWithPath */ - private com.squareup.okhttp.Call proxyDELETENamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyDELETENamespacedPodWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyDELETENamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -20130,14 +21653,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyDELETENamespacedService */ - private com.squareup.okhttp.Call proxyDELETENamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyDELETENamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyDELETENamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -20258,15 +21789,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyDELETENamespacedServiceWithPath */ - private com.squareup.okhttp.Call proxyDELETENamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyDELETENamespacedServiceWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyDELETENamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -20395,13 +21935,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyDELETENode */ - private com.squareup.okhttp.Call proxyDELETENodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyDELETENode + * @param name name of the Node (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyDELETENodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -20514,14 +22061,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyDELETENodeWithPath */ - private com.squareup.okhttp.Call proxyDELETENodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyDELETENodeWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyDELETENodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -20642,14 +22197,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyGETNamespacedPod */ - private com.squareup.okhttp.Call proxyGETNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyGETNamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyGETNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -20770,15 +22333,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyGETNamespacedPodWithPath */ - private com.squareup.okhttp.Call proxyGETNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyGETNamespacedPodWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyGETNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -20907,14 +22479,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyGETNamespacedService */ - private com.squareup.okhttp.Call proxyGETNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyGETNamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyGETNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -21035,15 +22615,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyGETNamespacedServiceWithPath */ - private com.squareup.okhttp.Call proxyGETNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyGETNamespacedServiceWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyGETNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -21172,13 +22761,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyGETNode */ - private com.squareup.okhttp.Call proxyGETNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyGETNode + * @param name name of the Node (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyGETNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -21291,14 +22887,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyGETNodeWithPath */ - private com.squareup.okhttp.Call proxyGETNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyGETNodeWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyGETNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -21419,14 +23023,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyHEADNamespacedPod */ - private com.squareup.okhttp.Call proxyHEADNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyHEADNamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyHEADNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -21547,15 +23159,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyHEADNamespacedPodWithPath */ - private com.squareup.okhttp.Call proxyHEADNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyHEADNamespacedPodWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyHEADNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -21684,14 +23305,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyHEADNamespacedService */ - private com.squareup.okhttp.Call proxyHEADNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyHEADNamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyHEADNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -21812,15 +23441,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyHEADNamespacedServiceWithPath */ - private com.squareup.okhttp.Call proxyHEADNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyHEADNamespacedServiceWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyHEADNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -21949,13 +23587,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyHEADNode */ - private com.squareup.okhttp.Call proxyHEADNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyHEADNode + * @param name name of the Node (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyHEADNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -22068,14 +23713,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyHEADNodeWithPath */ - private com.squareup.okhttp.Call proxyHEADNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyHEADNodeWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyHEADNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -22196,14 +23849,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyOPTIONSNamespacedPod */ - private com.squareup.okhttp.Call proxyOPTIONSNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyOPTIONSNamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyOPTIONSNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -22324,15 +23985,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyOPTIONSNamespacedPodWithPath */ - private com.squareup.okhttp.Call proxyOPTIONSNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyOPTIONSNamespacedPodWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyOPTIONSNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -22461,14 +24131,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyOPTIONSNamespacedService */ - private com.squareup.okhttp.Call proxyOPTIONSNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyOPTIONSNamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyOPTIONSNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -22589,15 +24267,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyOPTIONSNamespacedServiceWithPath */ - private com.squareup.okhttp.Call proxyOPTIONSNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyOPTIONSNamespacedServiceWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyOPTIONSNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -22726,13 +24413,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyOPTIONSNode */ - private com.squareup.okhttp.Call proxyOPTIONSNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyOPTIONSNode + * @param name name of the Node (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyOPTIONSNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -22845,14 +24539,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyOPTIONSNodeWithPath */ - private com.squareup.okhttp.Call proxyOPTIONSNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyOPTIONSNodeWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyOPTIONSNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -22973,14 +24675,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPATCHNamespacedPod */ - private com.squareup.okhttp.Call proxyPATCHNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPATCHNamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPATCHNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -23101,15 +24811,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPATCHNamespacedPodWithPath */ - private com.squareup.okhttp.Call proxyPATCHNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPATCHNamespacedPodWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPATCHNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -23238,14 +24957,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPATCHNamespacedService */ - private com.squareup.okhttp.Call proxyPATCHNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPATCHNamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPATCHNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -23366,15 +25093,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPATCHNamespacedServiceWithPath */ - private com.squareup.okhttp.Call proxyPATCHNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPATCHNamespacedServiceWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPATCHNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -23503,13 +25239,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPATCHNode */ - private com.squareup.okhttp.Call proxyPATCHNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPATCHNode + * @param name name of the Node (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPATCHNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -23622,14 +25365,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPATCHNodeWithPath */ - private com.squareup.okhttp.Call proxyPATCHNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPATCHNodeWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPATCHNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -23750,14 +25501,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPOSTNamespacedPod */ - private com.squareup.okhttp.Call proxyPOSTNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPOSTNamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPOSTNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -23878,15 +25637,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPOSTNamespacedPodWithPath */ - private com.squareup.okhttp.Call proxyPOSTNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPOSTNamespacedPodWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPOSTNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -24015,14 +25783,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPOSTNamespacedService */ - private com.squareup.okhttp.Call proxyPOSTNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPOSTNamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPOSTNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -24143,15 +25919,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPOSTNamespacedServiceWithPath */ - private com.squareup.okhttp.Call proxyPOSTNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPOSTNamespacedServiceWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPOSTNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -24280,13 +26065,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPOSTNode */ - private com.squareup.okhttp.Call proxyPOSTNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPOSTNode + * @param name name of the Node (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPOSTNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -24399,14 +26191,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPOSTNodeWithPath */ - private com.squareup.okhttp.Call proxyPOSTNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPOSTNodeWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPOSTNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -24527,14 +26327,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPUTNamespacedPod */ - private com.squareup.okhttp.Call proxyPUTNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPUTNamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPUTNamespacedPodCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -24655,15 +26463,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPUTNamespacedPodWithPath */ - private com.squareup.okhttp.Call proxyPUTNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPUTNamespacedPodWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPUTNamespacedPodWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -24792,14 +26609,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPUTNamespacedService */ - private com.squareup.okhttp.Call proxyPUTNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPUTNamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPUTNamespacedServiceCall(String name, String namespace, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -24920,15 +26745,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPUTNamespacedServiceWithPath */ - private com.squareup.okhttp.Call proxyPUTNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPUTNamespacedServiceWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPUTNamespacedServiceWithPathCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -25057,13 +26891,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPUTNode */ - private com.squareup.okhttp.Call proxyPUTNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPUTNode + * @param name name of the Node (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPUTNodeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -25176,14 +27017,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for proxyPUTNodeWithPath */ - private com.squareup.okhttp.Call proxyPUTNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for proxyPUTNodeWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call proxyPUTNodeWithPathCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/proxy/nodes/{name}/{path}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/proxy/nodes/{name}/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); @@ -25304,13 +27153,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readComponentStatus */ - private com.squareup.okhttp.Call readComponentStatusCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readComponentStatus + * @param name name of the ComponentStatus (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readComponentStatusCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/componentstatuses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/componentstatuses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -25428,13 +27285,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespace */ - private com.squareup.okhttp.Call readNamespaceCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespace + * @param name name of the Namespace (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespaceCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -25562,13 +27429,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespaceStatus */ - private com.squareup.okhttp.Call readNamespaceStatusCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespaceStatus + * @param name name of the Namespace (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespaceStatusCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -25686,14 +27561,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedConfigMap */ - private com.squareup.okhttp.Call readNamespacedConfigMapCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedConfigMapCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -25829,14 +27715,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedEndpoints */ - private com.squareup.okhttp.Call readNamespacedEndpointsCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedEndpoints + * @param name name of the Endpoints (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedEndpointsCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -25972,14 +27869,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedEvent */ - private com.squareup.okhttp.Call readNamespacedEventCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedEvent + * @param name name of the Event (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedEventCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -26115,14 +28023,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedLimitRange */ - private com.squareup.okhttp.Call readNamespacedLimitRangeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedLimitRange + * @param name name of the LimitRange (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedLimitRangeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -26258,14 +28177,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedPersistentVolumeClaim */ - private com.squareup.okhttp.Call readNamespacedPersistentVolumeClaimCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedPersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedPersistentVolumeClaimCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -26401,14 +28331,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedPersistentVolumeClaimStatus */ - private com.squareup.okhttp.Call readNamespacedPersistentVolumeClaimStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedPersistentVolumeClaimStatus + * @param name name of the PersistentVolumeClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedPersistentVolumeClaimStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -26534,14 +28473,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedPod */ - private com.squareup.okhttp.Call readNamespacedPodCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedPodCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -26677,14 +28627,30 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedPodLog */ - private com.squareup.okhttp.Call readNamespacedPodLogCall(String name, String namespace, String container, Boolean follow, Integer limitBytes, String pretty, Boolean previous, Integer sinceSeconds, Integer tailLines, Boolean timestamps, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedPodLog + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param container The container for which to stream logs. Defaults to only container if there is one container in the pod. (optional) + * @param follow Follow the log stream of the pod. Defaults to false. (optional) + * @param limitBytes If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param previous Return previous terminated container logs. Defaults to false. (optional) + * @param sinceSeconds A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) + * @param tailLines If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime (optional) + * @param timestamps If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedPodLogCall(String name, String namespace, String container, Boolean follow, Integer limitBytes, String pretty, Boolean previous, Integer sinceSeconds, Integer tailLines, Boolean timestamps, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/log".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/log" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (container != null) @@ -26845,14 +28811,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedPodStatus */ - private com.squareup.okhttp.Call readNamespacedPodStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedPodStatus + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedPodStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -26978,14 +28953,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedPodTemplate */ - private com.squareup.okhttp.Call readNamespacedPodTemplateCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedPodTemplate + * @param name name of the PodTemplate (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedPodTemplateCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -27121,14 +29107,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedReplicationController */ - private com.squareup.okhttp.Call readNamespacedReplicationControllerCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedReplicationController + * @param name name of the ReplicationController (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicationControllerCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -27264,14 +29261,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedReplicationControllerStatus */ - private com.squareup.okhttp.Call readNamespacedReplicationControllerStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedReplicationControllerStatus + * @param name name of the ReplicationController (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicationControllerStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -27397,14 +29403,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedResourceQuota */ - private com.squareup.okhttp.Call readNamespacedResourceQuotaCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedResourceQuota + * @param name name of the ResourceQuota (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedResourceQuotaCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -27540,14 +29557,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedResourceQuotaStatus */ - private com.squareup.okhttp.Call readNamespacedResourceQuotaStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedResourceQuotaStatus + * @param name name of the ResourceQuota (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedResourceQuotaStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -27673,14 +29699,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedScaleScale */ - private com.squareup.okhttp.Call readNamespacedScaleScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedScaleScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedScaleScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -27806,14 +29841,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedSecret */ - private com.squareup.okhttp.Call readNamespacedSecretCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedSecret + * @param name name of the Secret (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedSecretCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/secrets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/secrets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -27949,14 +29995,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedService */ - private com.squareup.okhttp.Call readNamespacedServiceCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedServiceCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -28092,14 +30149,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedServiceAccount */ - private com.squareup.okhttp.Call readNamespacedServiceAccountCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedServiceAccount + * @param name name of the ServiceAccount (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedServiceAccountCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -28235,14 +30303,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedServiceStatus */ - private com.squareup.okhttp.Call readNamespacedServiceStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedServiceStatus + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedServiceStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -28368,13 +30445,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNode */ - private com.squareup.okhttp.Call readNodeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNode + * @param name name of the Node (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNodeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -28502,13 +30589,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNodeStatus */ - private com.squareup.okhttp.Call readNodeStatusCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNodeStatus + * @param name name of the Node (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNodeStatusCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -28626,13 +30721,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readPersistentVolume */ - private com.squareup.okhttp.Call readPersistentVolumeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readPersistentVolume + * @param name name of the PersistentVolume (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readPersistentVolumeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/persistentvolumes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -28760,13 +30865,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readPersistentVolumeStatus */ - private com.squareup.okhttp.Call readPersistentVolumeStatusCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readPersistentVolumeStatus + * @param name name of the PersistentVolume (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readPersistentVolumeStatusCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/persistentvolumes/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -28884,13 +30997,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespace */ - private com.squareup.okhttp.Call replaceNamespaceCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespace + * @param name name of the Namespace (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespaceCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -29016,13 +31138,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespaceFinalize */ - private com.squareup.okhttp.Call replaceNamespaceFinalizeCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespaceFinalize + * @param name name of the Namespace (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespaceFinalizeCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}/finalize".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{name}/finalize" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -29148,13 +31279,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespaceStatus */ - private com.squareup.okhttp.Call replaceNamespaceStatusCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespaceStatus + * @param name name of the Namespace (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespaceStatusCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -29280,14 +31420,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedConfigMap */ - private com.squareup.okhttp.Call replaceNamespacedConfigMapCall(String name, String namespace, V1ConfigMap body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedConfigMapCall(String name, String namespace, V1ConfigMap body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -29421,14 +31571,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedEndpoints */ - private com.squareup.okhttp.Call replaceNamespacedEndpointsCall(String name, String namespace, V1Endpoints body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedEndpoints + * @param name name of the Endpoints (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedEndpointsCall(String name, String namespace, V1Endpoints body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -29562,14 +31722,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedEvent */ - private com.squareup.okhttp.Call replaceNamespacedEventCall(String name, String namespace, V1Event body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedEvent + * @param name name of the Event (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedEventCall(String name, String namespace, V1Event body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -29703,14 +31873,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedLimitRange */ - private com.squareup.okhttp.Call replaceNamespacedLimitRangeCall(String name, String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedLimitRange + * @param name name of the LimitRange (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedLimitRangeCall(String name, String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -29844,14 +32024,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedPersistentVolumeClaim */ - private com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedPersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -29985,14 +32175,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedPersistentVolumeClaimStatus */ - private com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimStatusCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedPersistentVolumeClaimStatus + * @param name name of the PersistentVolumeClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimStatusCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -30126,14 +32326,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedPod */ - private com.squareup.okhttp.Call replaceNamespacedPodCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedPod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedPodCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -30267,14 +32477,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedPodStatus */ - private com.squareup.okhttp.Call replaceNamespacedPodStatusCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedPodStatus + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedPodStatusCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -30408,14 +32628,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedPodTemplate */ - private com.squareup.okhttp.Call replaceNamespacedPodTemplateCall(String name, String namespace, V1PodTemplate body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedPodTemplate + * @param name name of the PodTemplate (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedPodTemplateCall(String name, String namespace, V1PodTemplate body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -30549,14 +32779,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedReplicationController */ - private com.squareup.okhttp.Call replaceNamespacedReplicationControllerCall(String name, String namespace, V1ReplicationController body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedReplicationController + * @param name name of the ReplicationController (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicationControllerCall(String name, String namespace, V1ReplicationController body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -30690,14 +32930,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedReplicationControllerStatus */ - private com.squareup.okhttp.Call replaceNamespacedReplicationControllerStatusCall(String name, String namespace, V1ReplicationController body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedReplicationControllerStatus + * @param name name of the ReplicationController (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicationControllerStatusCall(String name, String namespace, V1ReplicationController body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -30831,14 +33081,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedResourceQuota */ - private com.squareup.okhttp.Call replaceNamespacedResourceQuotaCall(String name, String namespace, V1ResourceQuota body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedResourceQuota + * @param name name of the ResourceQuota (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedResourceQuotaCall(String name, String namespace, V1ResourceQuota body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -30972,14 +33232,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedResourceQuotaStatus */ - private com.squareup.okhttp.Call replaceNamespacedResourceQuotaStatusCall(String name, String namespace, V1ResourceQuota body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedResourceQuotaStatus + * @param name name of the ResourceQuota (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedResourceQuotaStatusCall(String name, String namespace, V1ResourceQuota body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -31113,14 +33383,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedScaleScale */ - private com.squareup.okhttp.Call replaceNamespacedScaleScaleCall(String name, String namespace, V1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedScaleScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedScaleScaleCall(String name, String namespace, V1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -31254,14 +33534,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedSecret */ - private com.squareup.okhttp.Call replaceNamespacedSecretCall(String name, String namespace, V1Secret body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedSecret + * @param name name of the Secret (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedSecretCall(String name, String namespace, V1Secret body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/secrets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/secrets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -31395,14 +33685,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedService */ - private com.squareup.okhttp.Call replaceNamespacedServiceCall(String name, String namespace, V1Service body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedService + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedServiceCall(String name, String namespace, V1Service body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -31536,14 +33836,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedServiceAccount */ - private com.squareup.okhttp.Call replaceNamespacedServiceAccountCall(String name, String namespace, V1ServiceAccount body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedServiceAccount + * @param name name of the ServiceAccount (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedServiceAccountCall(String name, String namespace, V1ServiceAccount body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -31677,14 +33987,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedServiceStatus */ - private com.squareup.okhttp.Call replaceNamespacedServiceStatusCall(String name, String namespace, V1Service body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedServiceStatus + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedServiceStatusCall(String name, String namespace, V1Service body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -31818,13 +34138,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNode */ - private com.squareup.okhttp.Call replaceNodeCall(String name, V1Node body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNode + * @param name name of the Node (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNodeCall(String name, V1Node body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -31950,13 +34279,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNodeStatus */ - private com.squareup.okhttp.Call replaceNodeStatusCall(String name, V1Node body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNodeStatus + * @param name name of the Node (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNodeStatusCall(String name, V1Node body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/nodes/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -32082,13 +34420,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replacePersistentVolume */ - private com.squareup.okhttp.Call replacePersistentVolumeCall(String name, V1PersistentVolume body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replacePersistentVolume + * @param name name of the PersistentVolume (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replacePersistentVolumeCall(String name, V1PersistentVolume body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/persistentvolumes/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -32214,13 +34561,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replacePersistentVolumeStatus */ - private com.squareup.okhttp.Call replacePersistentVolumeStatusCall(String name, V1PersistentVolume body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replacePersistentVolumeStatus + * @param name name of the PersistentVolume (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replacePersistentVolumeStatusCall(String name, V1PersistentVolume body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/persistentvolumes/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsApi.java index 234f377c7c..43485312cd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsV1beta1Api.java index 02af5b117a..9fa8af0255 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsV1beta1Api.java @@ -72,13 +72,22 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createNamespacedDaemonSet */ - private com.squareup.okhttp.Call createNamespacedDaemonSetCall(String namespace, V1beta1DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedDaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedDaemonSetCall(String namespace, V1beta1DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -204,13 +213,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedDeployment */ - private com.squareup.okhttp.Call createNamespacedDeploymentCall(String namespace, ExtensionsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedDeployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedDeploymentCall(String namespace, ExtensionsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -336,14 +354,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedDeploymentRollbackRollback */ - private com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackCall(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedDeploymentRollbackRollback + * @param name name of the DeploymentRollback (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackCall(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -477,13 +505,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedIngress */ - private com.squareup.okhttp.Call createNamespacedIngressCall(String namespace, V1beta1Ingress body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedIngress + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedIngressCall(String namespace, V1beta1Ingress body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -609,13 +646,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedNetworkPolicy */ - private com.squareup.okhttp.Call createNamespacedNetworkPolicyCall(String namespace, V1beta1NetworkPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedNetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedNetworkPolicyCall(String namespace, V1beta1NetworkPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -741,13 +787,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedReplicaSet */ - private com.squareup.okhttp.Call createNamespacedReplicaSetCall(String namespace, V1beta1ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedReplicaSetCall(String namespace, V1beta1ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -873,12 +928,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createPodSecurityPolicy */ - private com.squareup.okhttp.Call createPodSecurityPolicyCall(V1beta1PodSecurityPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createPodSecurityPolicy + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createPodSecurityPolicyCall(V1beta1PodSecurityPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -996,12 +1059,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createThirdPartyResource */ - private com.squareup.okhttp.Call createThirdPartyResourceCall(V1beta1ThirdPartyResource body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createThirdPartyResource + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createThirdPartyResourceCall(V1beta1ThirdPartyResource body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1119,13 +1190,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedDaemonSet */ - private com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedDaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1268,13 +1352,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedDeployment */ - private com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedDeployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1417,13 +1514,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedIngress */ - private com.squareup.okhttp.Call deleteCollectionNamespacedIngressCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedIngress + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedIngressCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1566,13 +1676,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedNetworkPolicy */ - private com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedNetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1715,13 +1838,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedReplicaSet */ - private com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1864,12 +2000,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionPodSecurityPolicy */ - private com.squareup.okhttp.Call deleteCollectionPodSecurityPolicyCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionPodSecurityPolicy + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionPodSecurityPolicyCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2004,12 +2152,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionThirdPartyResource */ - private com.squareup.okhttp.Call deleteCollectionThirdPartyResourceCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionThirdPartyResource + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionThirdPartyResourceCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2144,14 +2304,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedDaemonSet */ - private com.squareup.okhttp.Call deleteNamespacedDaemonSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedDaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedDaemonSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2300,14 +2473,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedDeployment */ - private com.squareup.okhttp.Call deleteNamespacedDeploymentCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedDeploymentCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2456,14 +2642,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedIngress */ - private com.squareup.okhttp.Call deleteNamespacedIngressCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedIngress + * @param name name of the Ingress (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedIngressCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2612,14 +2811,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedNetworkPolicy */ - private com.squareup.okhttp.Call deleteNamespacedNetworkPolicyCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedNetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedNetworkPolicyCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2768,14 +2980,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedReplicaSet */ - private com.squareup.okhttp.Call deleteNamespacedReplicaSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedReplicaSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2924,13 +3149,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deletePodSecurityPolicy */ - private com.squareup.okhttp.Call deletePodSecurityPolicyCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deletePodSecurityPolicy + * @param name name of the PodSecurityPolicy (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deletePodSecurityPolicyCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3071,13 +3308,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteThirdPartyResource */ - private com.squareup.okhttp.Call deleteThirdPartyResourceCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteThirdPartyResource + * @param name name of the ThirdPartyResource (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteThirdPartyResourceCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3218,12 +3467,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/"; List localVarQueryParams = new ArrayList(); @@ -3328,12 +3583,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listDaemonSetForAllNamespaces */ - private com.squareup.okhttp.Call listDaemonSetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listDaemonSetForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listDaemonSetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/daemonsets".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/daemonsets"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -3468,12 +3735,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listDeploymentForAllNamespaces */ - private com.squareup.okhttp.Call listDeploymentForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listDeploymentForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listDeploymentForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/deployments".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/deployments"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -3608,12 +3887,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listIngressForAllNamespaces */ - private com.squareup.okhttp.Call listIngressForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listIngressForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listIngressForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/ingresses".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/ingresses"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -3748,13 +4039,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedDaemonSet */ - private com.squareup.okhttp.Call listNamespacedDaemonSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedDaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedDaemonSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3897,13 +4201,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedDeployment */ - private com.squareup.okhttp.Call listNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedDeployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -4046,13 +4363,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedIngress */ - private com.squareup.okhttp.Call listNamespacedIngressCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedIngress + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedIngressCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -4195,13 +4525,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedNetworkPolicy */ - private com.squareup.okhttp.Call listNamespacedNetworkPolicyCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedNetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedNetworkPolicyCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -4344,13 +4687,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedReplicaSet */ - private com.squareup.okhttp.Call listNamespacedReplicaSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedReplicaSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -4493,12 +4849,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNetworkPolicyForAllNamespaces */ - private com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNetworkPolicyForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/networkpolicies".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/networkpolicies"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -4633,12 +5001,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listPodSecurityPolicy */ - private com.squareup.okhttp.Call listPodSecurityPolicyCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listPodSecurityPolicy + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listPodSecurityPolicyCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -4773,12 +5153,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listReplicaSetForAllNamespaces */ - private com.squareup.okhttp.Call listReplicaSetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listReplicaSetForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listReplicaSetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/replicasets".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/replicasets"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -4913,12 +5305,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listThirdPartyResource */ - private com.squareup.okhttp.Call listThirdPartyResourceCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listThirdPartyResource + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listThirdPartyResourceCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -5053,14 +5457,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedDaemonSet */ - private com.squareup.okhttp.Call patchNamespacedDaemonSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedDaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDaemonSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -5194,14 +5608,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedDaemonSetStatus */ - private com.squareup.okhttp.Call patchNamespacedDaemonSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedDaemonSetStatus + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDaemonSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -5335,14 +5759,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedDeployment */ - private com.squareup.okhttp.Call patchNamespacedDeploymentCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -5476,14 +5910,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedDeploymentStatus */ - private com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedDeploymentStatus + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -5617,14 +6061,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedDeploymentsScale */ - private com.squareup.okhttp.Call patchNamespacedDeploymentsScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedDeploymentsScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentsScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -5758,14 +6212,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedIngress */ - private com.squareup.okhttp.Call patchNamespacedIngressCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedIngress + * @param name name of the Ingress (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedIngressCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -5899,14 +6363,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedIngressStatus */ - private com.squareup.okhttp.Call patchNamespacedIngressStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedIngressStatus + * @param name name of the Ingress (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedIngressStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6040,14 +6514,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedNetworkPolicy */ - private com.squareup.okhttp.Call patchNamespacedNetworkPolicyCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedNetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedNetworkPolicyCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6181,14 +6665,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedReplicaSet */ - private com.squareup.okhttp.Call patchNamespacedReplicaSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicaSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6322,14 +6816,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedReplicaSetStatus */ - private com.squareup.okhttp.Call patchNamespacedReplicaSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedReplicaSetStatus + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicaSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6463,14 +6967,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedReplicasetsScale */ - private com.squareup.okhttp.Call patchNamespacedReplicasetsScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedReplicasetsScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicasetsScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6604,14 +7118,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedReplicationcontrollersScale */ - private com.squareup.okhttp.Call patchNamespacedReplicationcontrollersScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedReplicationcontrollersScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicationcontrollersScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6745,13 +7269,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchPodSecurityPolicy */ - private com.squareup.okhttp.Call patchPodSecurityPolicyCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchPodSecurityPolicy + * @param name name of the PodSecurityPolicy (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchPodSecurityPolicyCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -6877,13 +7410,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchThirdPartyResource */ - private com.squareup.okhttp.Call patchThirdPartyResourceCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchThirdPartyResource + * @param name name of the ThirdPartyResource (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchThirdPartyResourceCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7009,14 +7551,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedDaemonSet */ - private com.squareup.okhttp.Call readNamespacedDaemonSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedDaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDaemonSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7152,14 +7705,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedDaemonSetStatus */ - private com.squareup.okhttp.Call readNamespacedDaemonSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedDaemonSetStatus + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDaemonSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7285,14 +7847,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedDeployment */ - private com.squareup.okhttp.Call readNamespacedDeploymentCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7428,14 +8001,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedDeploymentStatus */ - private com.squareup.okhttp.Call readNamespacedDeploymentStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedDeploymentStatus + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7561,14 +8143,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedDeploymentsScale */ - private com.squareup.okhttp.Call readNamespacedDeploymentsScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedDeploymentsScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentsScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7694,14 +8285,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedIngress */ - private com.squareup.okhttp.Call readNamespacedIngressCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedIngress + * @param name name of the Ingress (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedIngressCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7837,14 +8439,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedIngressStatus */ - private com.squareup.okhttp.Call readNamespacedIngressStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedIngressStatus + * @param name name of the Ingress (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedIngressStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -7970,14 +8581,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedNetworkPolicy */ - private com.squareup.okhttp.Call readNamespacedNetworkPolicyCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedNetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedNetworkPolicyCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8113,14 +8735,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedReplicaSet */ - private com.squareup.okhttp.Call readNamespacedReplicaSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicaSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8256,14 +8889,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedReplicaSetStatus */ - private com.squareup.okhttp.Call readNamespacedReplicaSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedReplicaSetStatus + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicaSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8389,14 +9031,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedReplicasetsScale */ - private com.squareup.okhttp.Call readNamespacedReplicasetsScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedReplicasetsScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicasetsScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8522,14 +9173,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedReplicationcontrollersScale */ - private com.squareup.okhttp.Call readNamespacedReplicationcontrollersScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedReplicationcontrollersScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicationcontrollersScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8655,13 +9315,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readPodSecurityPolicy */ - private com.squareup.okhttp.Call readPodSecurityPolicyCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readPodSecurityPolicy + * @param name name of the PodSecurityPolicy (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readPodSecurityPolicyCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8789,13 +9459,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readThirdPartyResource */ - private com.squareup.okhttp.Call readThirdPartyResourceCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readThirdPartyResource + * @param name name of the ThirdPartyResource (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readThirdPartyResourceCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -8923,14 +9603,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedDaemonSet */ - private com.squareup.okhttp.Call replaceNamespacedDaemonSetCall(String name, String namespace, V1beta1DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedDaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDaemonSetCall(String name, String namespace, V1beta1DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9064,14 +9754,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedDaemonSetStatus */ - private com.squareup.okhttp.Call replaceNamespacedDaemonSetStatusCall(String name, String namespace, V1beta1DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedDaemonSetStatus + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDaemonSetStatusCall(String name, String namespace, V1beta1DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9205,14 +9905,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedDeployment */ - private com.squareup.okhttp.Call replaceNamespacedDeploymentCall(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentCall(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9346,14 +10056,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedDeploymentStatus */ - private com.squareup.okhttp.Call replaceNamespacedDeploymentStatusCall(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedDeploymentStatus + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentStatusCall(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9487,14 +10207,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedDeploymentsScale */ - private com.squareup.okhttp.Call replaceNamespacedDeploymentsScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedDeploymentsScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentsScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9628,14 +10358,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedIngress */ - private com.squareup.okhttp.Call replaceNamespacedIngressCall(String name, String namespace, V1beta1Ingress body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedIngress + * @param name name of the Ingress (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedIngressCall(String name, String namespace, V1beta1Ingress body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9769,14 +10509,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedIngressStatus */ - private com.squareup.okhttp.Call replaceNamespacedIngressStatusCall(String name, String namespace, V1beta1Ingress body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedIngressStatus + * @param name name of the Ingress (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedIngressStatusCall(String name, String namespace, V1beta1Ingress body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -9910,14 +10660,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedNetworkPolicy */ - private com.squareup.okhttp.Call replaceNamespacedNetworkPolicyCall(String name, String namespace, V1beta1NetworkPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedNetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedNetworkPolicyCall(String name, String namespace, V1beta1NetworkPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10051,14 +10811,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedReplicaSet */ - private com.squareup.okhttp.Call replaceNamespacedReplicaSetCall(String name, String namespace, V1beta1ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicaSetCall(String name, String namespace, V1beta1ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10192,14 +10962,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedReplicaSetStatus */ - private com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusCall(String name, String namespace, V1beta1ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedReplicaSetStatus + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusCall(String name, String namespace, V1beta1ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10333,14 +11113,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedReplicasetsScale */ - private com.squareup.okhttp.Call replaceNamespacedReplicasetsScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedReplicasetsScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicasetsScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10474,14 +11264,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedReplicationcontrollersScale */ - private com.squareup.okhttp.Call replaceNamespacedReplicationcontrollersScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedReplicationcontrollersScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicationcontrollersScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10615,13 +11415,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replacePodSecurityPolicy */ - private com.squareup.okhttp.Call replacePodSecurityPolicyCall(String name, V1beta1PodSecurityPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replacePodSecurityPolicy + * @param name name of the PodSecurityPolicy (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replacePodSecurityPolicyCall(String name, V1beta1PodSecurityPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/extensions/v1beta1/podsecuritypolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -10747,13 +11556,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceThirdPartyResource */ - private com.squareup.okhttp.Call replaceThirdPartyResourceCall(String name, V1beta1ThirdPartyResource body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceThirdPartyResource + * @param name name of the ThirdPartyResource (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceThirdPartyResourceCall(String name, V1beta1ThirdPartyResource body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/LogsApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/LogsApi.java index 53dffd943b..d09e1a1d04 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/LogsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/LogsApi.java @@ -53,13 +53,20 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for logFileHandler */ - private com.squareup.okhttp.Call logFileHandlerCall(String logpath, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for logFileHandler + * @param logpath path to the log (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call logFileHandlerCall(String logpath, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/logs/{logpath}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "logpath" + "\\}", apiClient.escapeString(logpath.toString())); + String localVarPath = "/logs/{logpath}" + .replaceAll("\\{" + "logpath" + "\\}", apiClient.escapeString(logpath.toString())); List localVarQueryParams = new ArrayList(); @@ -168,12 +175,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, callback); return call; } - /* Build call for logFileListHandler */ - private com.squareup.okhttp.Call logFileListHandlerCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for logFileListHandler + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call logFileListHandlerCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/logs/".replaceAll("\\{format\\}","json"); + String localVarPath = "/logs/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyApi.java index f2df6bbdfb..7786da719c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/policy/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/policy/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyV1beta1Api.java index b8005bbe65..4c7c07ad01 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyV1beta1Api.java @@ -58,13 +58,22 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createNamespacedPodDisruptionBudget */ - private com.squareup.okhttp.Call createNamespacedPodDisruptionBudgetCall(String namespace, V1beta1PodDisruptionBudget body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedPodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedPodDisruptionBudgetCall(String namespace, V1beta1PodDisruptionBudget body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -190,13 +199,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedPodDisruptionBudget */ - private com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedPodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -339,14 +361,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedPodDisruptionBudget */ - private com.squareup.okhttp.Call deleteNamespacedPodDisruptionBudgetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedPodDisruptionBudget + * @param name name of the PodDisruptionBudget (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedPodDisruptionBudgetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -495,12 +530,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/policy/v1beta1/"; List localVarQueryParams = new ArrayList(); @@ -605,13 +646,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedPodDisruptionBudget */ - private com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedPodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -754,12 +808,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listPodDisruptionBudgetForAllNamespaces */ - private com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listPodDisruptionBudgetForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/poddisruptionbudgets".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/policy/v1beta1/poddisruptionbudgets"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -894,14 +960,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedPodDisruptionBudget */ - private com.squareup.okhttp.Call patchNamespacedPodDisruptionBudgetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedPodDisruptionBudget + * @param name name of the PodDisruptionBudget (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedPodDisruptionBudgetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1035,14 +1111,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedPodDisruptionBudgetStatus */ - private com.squareup.okhttp.Call patchNamespacedPodDisruptionBudgetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedPodDisruptionBudgetStatus + * @param name name of the PodDisruptionBudget (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedPodDisruptionBudgetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1176,14 +1262,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedPodDisruptionBudget */ - private com.squareup.okhttp.Call readNamespacedPodDisruptionBudgetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedPodDisruptionBudget + * @param name name of the PodDisruptionBudget (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedPodDisruptionBudgetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1319,14 +1416,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedPodDisruptionBudgetStatus */ - private com.squareup.okhttp.Call readNamespacedPodDisruptionBudgetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedPodDisruptionBudgetStatus + * @param name name of the PodDisruptionBudget (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedPodDisruptionBudgetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1452,14 +1558,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedPodDisruptionBudget */ - private com.squareup.okhttp.Call replaceNamespacedPodDisruptionBudgetCall(String name, String namespace, V1beta1PodDisruptionBudget body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedPodDisruptionBudget + * @param name name of the PodDisruptionBudget (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedPodDisruptionBudgetCall(String name, String namespace, V1beta1PodDisruptionBudget body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1593,14 +1709,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedPodDisruptionBudgetStatus */ - private com.squareup.okhttp.Call replaceNamespacedPodDisruptionBudgetStatusCall(String name, String namespace, V1beta1PodDisruptionBudget body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedPodDisruptionBudgetStatus + * @param name name of the PodDisruptionBudget (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedPodDisruptionBudgetStatusCall(String name, String namespace, V1beta1PodDisruptionBudget body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationApi.java index 54cd47b744..ad91aa7515 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1Api.java index 60f038a50d..cd22a32302 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1Api.java @@ -64,12 +64,20 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createClusterRole */ - private com.squareup.okhttp.Call createClusterRoleCall(V1alpha1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createClusterRole + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createClusterRoleCall(V1alpha1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -187,12 +195,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createClusterRoleBinding */ - private com.squareup.okhttp.Call createClusterRoleBindingCall(V1alpha1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createClusterRoleBinding + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createClusterRoleBindingCall(V1alpha1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -310,13 +326,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedRole */ - private com.squareup.okhttp.Call createNamespacedRoleCall(String namespace, V1alpha1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedRole + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedRoleCall(String namespace, V1alpha1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -442,13 +467,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedRoleBinding */ - private com.squareup.okhttp.Call createNamespacedRoleBindingCall(String namespace, V1alpha1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedRoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedRoleBindingCall(String namespace, V1alpha1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -574,13 +608,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteClusterRole */ - private com.squareup.okhttp.Call deleteClusterRoleCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteClusterRoleCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -721,13 +767,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteClusterRoleBinding */ - private com.squareup.okhttp.Call deleteClusterRoleBindingCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteClusterRoleBindingCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -868,12 +926,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionClusterRole */ - private com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1008,12 +1078,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionClusterRoleBinding */ - private com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1148,13 +1230,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedRole */ - private com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedRole + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1297,13 +1392,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedRoleBinding */ - private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedRoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1446,14 +1554,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedRole */ - private com.squareup.okhttp.Call deleteNamespacedRoleCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedRoleCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1602,14 +1723,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedRoleBinding */ - private com.squareup.okhttp.Call deleteNamespacedRoleBindingCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedRoleBindingCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1758,12 +1892,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/"; List localVarQueryParams = new ArrayList(); @@ -1868,12 +2008,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listClusterRole */ - private com.squareup.okhttp.Call listClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2008,12 +2160,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listClusterRoleBinding */ - private com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2148,13 +2312,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedRole */ - private com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedRole + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2297,13 +2474,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedRoleBinding */ - private com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedRoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2446,12 +2636,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listRoleBindingForAllNamespaces */ - private com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listRoleBindingForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -2586,12 +2788,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listRoleForAllNamespaces */ - private com.squareup.okhttp.Call listRoleForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listRoleForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listRoleForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/roles".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/roles"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -2726,13 +2940,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchClusterRole */ - private com.squareup.okhttp.Call patchClusterRoleCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchClusterRoleCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2858,13 +3081,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchClusterRoleBinding */ - private com.squareup.okhttp.Call patchClusterRoleBindingCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchClusterRoleBindingCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2990,14 +3222,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedRole */ - private com.squareup.okhttp.Call patchNamespacedRoleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedRoleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3131,14 +3373,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedRoleBinding */ - private com.squareup.okhttp.Call patchNamespacedRoleBindingCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedRoleBindingCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3272,13 +3524,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readClusterRole */ - private com.squareup.okhttp.Call readClusterRoleCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readClusterRole + * @param name name of the ClusterRole (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readClusterRoleCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3396,13 +3656,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readClusterRoleBinding */ - private com.squareup.okhttp.Call readClusterRoleBindingCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readClusterRoleBindingCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3520,14 +3788,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedRole */ - private com.squareup.okhttp.Call readNamespacedRoleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedRoleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3653,14 +3930,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedRoleBinding */ - private com.squareup.okhttp.Call readNamespacedRoleBindingCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedRoleBindingCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3786,13 +4072,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceClusterRole */ - private com.squareup.okhttp.Call replaceClusterRoleCall(String name, V1alpha1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceClusterRoleCall(String name, V1alpha1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3918,13 +4213,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceClusterRoleBinding */ - private com.squareup.okhttp.Call replaceClusterRoleBindingCall(String name, V1alpha1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceClusterRoleBindingCall(String name, V1alpha1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -4050,14 +4354,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedRole */ - private com.squareup.okhttp.Call replaceNamespacedRoleCall(String name, String namespace, V1alpha1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedRoleCall(String name, String namespace, V1alpha1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -4191,14 +4505,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedRoleBinding */ - private com.squareup.okhttp.Call replaceNamespacedRoleBindingCall(String name, String namespace, V1alpha1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedRoleBindingCall(String name, String namespace, V1alpha1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1Api.java index e96797e874..8b6dc5814c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1Api.java @@ -64,12 +64,20 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createClusterRole */ - private com.squareup.okhttp.Call createClusterRoleCall(V1beta1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createClusterRole + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createClusterRoleCall(V1beta1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -187,12 +195,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createClusterRoleBinding */ - private com.squareup.okhttp.Call createClusterRoleBindingCall(V1beta1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createClusterRoleBinding + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createClusterRoleBindingCall(V1beta1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -310,13 +326,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedRole */ - private com.squareup.okhttp.Call createNamespacedRoleCall(String namespace, V1beta1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedRole + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedRoleCall(String namespace, V1beta1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -442,13 +467,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for createNamespacedRoleBinding */ - private com.squareup.okhttp.Call createNamespacedRoleBindingCall(String namespace, V1beta1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedRoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedRoleBindingCall(String namespace, V1beta1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -574,13 +608,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteClusterRole */ - private com.squareup.okhttp.Call deleteClusterRoleCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteClusterRoleCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -721,13 +767,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteClusterRoleBinding */ - private com.squareup.okhttp.Call deleteClusterRoleBindingCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteClusterRoleBindingCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -868,12 +926,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionClusterRole */ - private com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1008,12 +1078,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionClusterRoleBinding */ - private com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1148,13 +1230,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedRole */ - private com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedRole + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1297,13 +1392,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedRoleBinding */ - private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedRoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1446,14 +1554,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedRole */ - private com.squareup.okhttp.Call deleteNamespacedRoleCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedRoleCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1602,14 +1723,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedRoleBinding */ - private com.squareup.okhttp.Call deleteNamespacedRoleBindingCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedRoleBindingCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1758,12 +1892,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/"; List localVarQueryParams = new ArrayList(); @@ -1868,12 +2008,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listClusterRole */ - private com.squareup.okhttp.Call listClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2008,12 +2160,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listClusterRoleBinding */ - private com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2148,13 +2312,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedRole */ - private com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedRole + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2297,13 +2474,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedRoleBinding */ - private com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedRoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2446,12 +2636,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listRoleBindingForAllNamespaces */ - private com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listRoleBindingForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -2586,12 +2788,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listRoleForAllNamespaces */ - private com.squareup.okhttp.Call listRoleForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listRoleForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listRoleForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/roles".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/roles"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -2726,13 +2940,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchClusterRole */ - private com.squareup.okhttp.Call patchClusterRoleCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchClusterRoleCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2858,13 +3081,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchClusterRoleBinding */ - private com.squareup.okhttp.Call patchClusterRoleBindingCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchClusterRoleBindingCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -2990,14 +3222,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedRole */ - private com.squareup.okhttp.Call patchNamespacedRoleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedRoleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3131,14 +3373,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedRoleBinding */ - private com.squareup.okhttp.Call patchNamespacedRoleBindingCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedRoleBindingCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3272,13 +3524,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readClusterRole */ - private com.squareup.okhttp.Call readClusterRoleCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readClusterRole + * @param name name of the ClusterRole (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readClusterRoleCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3396,13 +3656,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readClusterRoleBinding */ - private com.squareup.okhttp.Call readClusterRoleBindingCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readClusterRoleBindingCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3520,14 +3788,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedRole */ - private com.squareup.okhttp.Call readNamespacedRoleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedRoleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3653,14 +3930,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedRoleBinding */ - private com.squareup.okhttp.Call readNamespacedRoleBindingCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedRoleBindingCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3786,13 +4072,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceClusterRole */ - private com.squareup.okhttp.Call replaceClusterRoleCall(String name, V1beta1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceClusterRoleCall(String name, V1beta1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -3918,13 +4213,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceClusterRoleBinding */ - private com.squareup.okhttp.Call replaceClusterRoleBindingCall(String name, V1beta1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceClusterRoleBindingCall(String name, V1beta1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -4050,14 +4354,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedRole */ - private com.squareup.okhttp.Call replaceNamespacedRoleCall(String name, String namespace, V1beta1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedRoleCall(String name, String namespace, V1beta1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -4191,14 +4505,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedRoleBinding */ - private com.squareup.okhttp.Call replaceNamespacedRoleBindingCall(String name, String namespace, V1beta1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedRoleBindingCall(String name, String namespace, V1beta1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsApi.java index 8426f52ae4..4166752265 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/settings.k8s.io/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/settings.k8s.io/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsV1alpha1Api.java index bad7f09d42..5e0bcc5441 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsV1alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsV1alpha1Api.java @@ -58,13 +58,22 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createNamespacedPodPreset */ - private com.squareup.okhttp.Call createNamespacedPodPresetCall(String namespace, V1alpha1PodPreset body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createNamespacedPodPreset + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedPodPresetCall(String namespace, V1alpha1PodPreset body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -190,13 +199,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionNamespacedPodPreset */ - private com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionNamespacedPodPreset + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -339,14 +361,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteNamespacedPodPreset */ - private com.squareup.okhttp.Call deleteNamespacedPodPresetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteNamespacedPodPreset + * @param name name of the PodPreset (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedPodPresetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -495,12 +530,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/settings.k8s.io/v1alpha1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/settings.k8s.io/v1alpha1/"; List localVarQueryParams = new ArrayList(); @@ -605,13 +646,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listNamespacedPodPreset */ - private com.squareup.okhttp.Call listNamespacedPodPresetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listNamespacedPodPreset + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedPodPresetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -754,12 +808,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listPodPresetForAllNamespaces */ - private com.squareup.okhttp.Call listPodPresetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listPodPresetForAllNamespaces + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listPodPresetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/settings.k8s.io/v1alpha1/podpresets".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/settings.k8s.io/v1alpha1/podpresets"; List localVarQueryParams = new ArrayList(); if (fieldSelector != null) @@ -894,14 +960,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchNamespacedPodPreset */ - private com.squareup.okhttp.Call patchNamespacedPodPresetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchNamespacedPodPreset + * @param name name of the PodPreset (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedPodPresetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1035,14 +1111,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readNamespacedPodPreset */ - private com.squareup.okhttp.Call readNamespacedPodPresetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readNamespacedPodPreset + * @param name name of the PodPreset (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedPodPresetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -1178,14 +1265,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceNamespacedPodPreset */ - private com.squareup.okhttp.Call replaceNamespacedPodPresetCall(String name, String namespace, V1alpha1PodPreset body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceNamespacedPodPreset + * @param name name of the PodPreset (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedPodPresetCall(String name, String namespace, V1alpha1PodPreset body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageApi.java index d0eacff6b1..9dab1ca980 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getAPIGroup */ - private com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/storage.k8s.io/"; List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1Api.java index 461ebc5eba..f363663dd1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1Api.java @@ -58,12 +58,20 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createStorageClass */ - private com.squareup.okhttp.Call createStorageClassCall(V1StorageClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createStorageClass + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createStorageClassCall(V1StorageClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/storageclasses".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/storage.k8s.io/v1/storageclasses"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -181,12 +189,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionStorageClass */ - private com.squareup.okhttp.Call deleteCollectionStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionStorageClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/storageclasses".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/storage.k8s.io/v1/storageclasses"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -321,13 +341,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteStorageClass */ - private com.squareup.okhttp.Call deleteStorageClassCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteStorageClass + * @param name name of the StorageClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteStorageClassCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -468,12 +500,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/storage.k8s.io/v1/"; List localVarQueryParams = new ArrayList(); @@ -578,12 +616,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listStorageClass */ - private com.squareup.okhttp.Call listStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listStorageClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/storageclasses".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/storage.k8s.io/v1/storageclasses"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -718,13 +768,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchStorageClass */ - private com.squareup.okhttp.Call patchStorageClassCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchStorageClass + * @param name name of the StorageClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchStorageClassCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -850,13 +909,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readStorageClass */ - private com.squareup.okhttp.Call readStorageClassCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readStorageClass + * @param name name of the StorageClass (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readStorageClassCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -984,13 +1053,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceStorageClass */ - private com.squareup.okhttp.Call replaceStorageClassCall(String name, V1StorageClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceStorageClass + * @param name name of the StorageClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceStorageClassCall(String name, V1StorageClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1beta1Api.java index ffcd7e027a..3aad5dfe5d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1beta1Api.java @@ -58,12 +58,20 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createStorageClass */ - private com.squareup.okhttp.Call createStorageClassCall(V1beta1StorageClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createStorageClass + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createStorageClassCall(V1beta1StorageClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -181,12 +189,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteCollectionStorageClass */ - private com.squareup.okhttp.Call deleteCollectionStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteCollectionStorageClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -321,13 +341,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteStorageClass */ - private com.squareup.okhttp.Call deleteStorageClassCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteStorageClass + * @param name name of the StorageClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteStorageClassCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -468,12 +500,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getAPIResources */ - private com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1beta1/".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/storage.k8s.io/v1beta1/"; List localVarQueryParams = new ArrayList(); @@ -578,12 +616,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listStorageClass */ - private com.squareup.okhttp.Call listStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listStorageClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses"; List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -718,13 +768,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for patchStorageClass */ - private com.squareup.okhttp.Call patchStorageClassCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for patchStorageClass + * @param name name of the StorageClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchStorageClassCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -850,13 +909,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for readStorageClass */ - private com.squareup.okhttp.Call readStorageClassCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for readStorageClass + * @param name name of the StorageClass (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readStorageClassCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) @@ -984,13 +1053,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for replaceStorageClass */ - private com.squareup.okhttp.Call replaceStorageClassCall(String name, V1beta1StorageClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for replaceStorageClass + * @param name name of the StorageClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceStorageClassCall(String name, V1beta1StorageClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/apis/storage.k8s.io/v1beta1/storageclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); if (pretty != null) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ThirdPartyResourcesApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ThirdPartyResourcesApi.java index 3a9d0d336a..cbe394e217 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/ThirdPartyResourcesApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ThirdPartyResourcesApi.java @@ -54,15 +54,25 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for createThirdPartyResource */ - private com.squareup.okhttp.Call createThirdPartyResourceCall(String namespace, String fqdn, String resource, Object body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for createThirdPartyResource + * @param namespace The Resource's namespace (required) + * @param fqdn The Third party Resource fqdn (required) + * @param resource The Resource type (required) + * @param body The JSON schema of the Resource to create. (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createThirdPartyResourceCall(String namespace, String fqdn, String resource, Object body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "fqdn" + "\\}", apiClient.escapeString(fqdn.toString())) - .replaceAll("\\{" + "resource" + "\\}", apiClient.escapeString(resource.toString())); + String localVarPath = "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "fqdn" + "\\}", apiClient.escapeString(fqdn.toString())) + .replaceAll("\\{" + "resource" + "\\}", apiClient.escapeString(resource.toString())); List localVarQueryParams = new ArrayList(); @@ -199,12 +209,22 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for deleteThirdPartyResource */ - private com.squareup.okhttp.Call deleteThirdPartyResourceCall(V1DeleteOptions body, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for deleteThirdPartyResource + * @param body (required) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteThirdPartyResourceCall(V1DeleteOptions body, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}".replaceAll("\\{format\\}","json"); + String localVarPath = "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}"; List localVarQueryParams = new ArrayList(); if (gracePeriodSeconds != null) @@ -332,16 +352,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for getThirdPartyResource */ - private com.squareup.okhttp.Call getThirdPartyResourceCall(String namespace, String name, String fqdn, String resource, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getThirdPartyResource + * @param namespace The Resource's namespace (required) + * @param name The Resource's name (required) + * @param fqdn The Third party Resource fqdn (required) + * @param resource The Resource type (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getThirdPartyResourceCall(String namespace, String name, String fqdn, String resource, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "fqdn" + "\\}", apiClient.escapeString(fqdn.toString())) - .replaceAll("\\{" + "resource" + "\\}", apiClient.escapeString(resource.toString())); + String localVarPath = "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "fqdn" + "\\}", apiClient.escapeString(fqdn.toString())) + .replaceAll("\\{" + "resource" + "\\}", apiClient.escapeString(resource.toString())); List localVarQueryParams = new ArrayList(); @@ -478,14 +508,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for listThirdPartyResource */ - private com.squareup.okhttp.Call listThirdPartyResourceCall(String fqdn, String resource, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for listThirdPartyResource + * @param fqdn The Third party Resource fqdn (required) + * @param resource The Resource type (required) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listThirdPartyResourceCall(String fqdn, String resource, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/{fqdn}/v1/{resource}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "fqdn" + "\\}", apiClient.escapeString(fqdn.toString())) - .replaceAll("\\{" + "resource" + "\\}", apiClient.escapeString(resource.toString())); + String localVarPath = "/apis/{fqdn}/v1/{resource}" + .replaceAll("\\{" + "fqdn" + "\\}", apiClient.escapeString(fqdn.toString())) + .replaceAll("\\{" + "resource" + "\\}", apiClient.escapeString(resource.toString())); List localVarQueryParams = new ArrayList(); if (watch != null) @@ -611,15 +650,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /* Build call for updateThirdPartyResource */ - private com.squareup.okhttp.Call updateThirdPartyResourceCall(String namespace, String fqdn, String resource, Object body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for updateThirdPartyResource + * @param namespace The Resource's namespace (required) + * @param fqdn The Third party Resource fqdn (required) + * @param resource The Resource type (required) + * @param body The JSON schema of the Resource to create. (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call updateThirdPartyResourceCall(String namespace, String fqdn, String resource, Object body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}".replaceAll("\\{format\\}","json") - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "fqdn" + "\\}", apiClient.escapeString(fqdn.toString())) - .replaceAll("\\{" + "resource" + "\\}", apiClient.escapeString(resource.toString())); + String localVarPath = "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "fqdn" + "\\}", apiClient.escapeString(fqdn.toString())) + .replaceAll("\\{" + "resource" + "\\}", apiClient.escapeString(resource.toString())); List localVarQueryParams = new ArrayList(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/VersionApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/VersionApi.java index 0fb42d1674..7e3a0ef4b9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/VersionApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/VersionApi.java @@ -54,12 +54,18 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /* Build call for getCode */ - private com.squareup.okhttp.Call getCodeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + /** + * Build call for getCode + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getCodeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/version/".replaceAll("\\{format\\}","json"); + String localVarPath = "/version/"; List localVarQueryParams = new ArrayList();