From 33d8b8cd0a63a08d5ba0eaee4f4e6d3d38049a48 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 26 May 2024 03:11:24 +0200 Subject: [PATCH] APIClient and query/body/params --- __fixtures__/output/swagger-client.merged.ts | 3134 ++++----- __fixtures__/output/swagger-client.ts | 2590 ++++---- package.json | 3 + packages/fetch-api-client/src/index.ts | 222 +- packages/node-api-client/src/index.ts | 161 +- .../openapi.generate.test.ts.snap | 5724 ++++++++--------- packages/schema-sdk/package.json | 1 + packages/schema-sdk/src/openapi.ts | 42 +- 8 files changed, 6071 insertions(+), 5806 deletions(-) diff --git a/__fixtures__/output/swagger-client.merged.ts b/__fixtures__/output/swagger-client.merged.ts index 107fac8..08469f6 100644 --- a/__fixtures__/output/swagger-client.merged.ts +++ b/__fixtures__/output/swagger-client.merged.ts @@ -1,4 +1,4 @@ -import { APIClient } from "@interweb/fetch-api-client"; +import { APIClient, APIClientRequestOpts } from "@interweb/fetch-api-client"; export interface MutatingWebhook { admissionReviewVersions: string[]; clientConfig: WebhookClientConfig; @@ -10206,3136 +10206,3136 @@ export class KubernetesClient extends APIClient { const path = "/openapi/v2"; return this.get(path); } - async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest): Promise { + async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/.well-known/openid-configuration/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoreAPIVersions(params: GetCoreAPIVersionsRequest): Promise { + async getCoreAPIVersions(params: GetCoreAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest): Promise { + async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest): Promise { + async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/componentstatuses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest): Promise { + async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/componentstatuses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest): Promise { + async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/configmaps`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest): Promise { + async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/endpoints`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest): Promise { + async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest): Promise { + async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/limitranges`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1Namespace(params: ListCoreV1NamespaceRequest): Promise { + async listCoreV1Namespace(params: ListCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest): Promise { + async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest): Promise { + async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/bindings`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest): Promise { + async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/configmaps`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest): Promise { + async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/configmaps`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest): Promise { + async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/configmaps`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest): Promise { + async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/configmaps/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest): Promise { + async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/configmaps/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest): Promise { + async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/configmaps/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest): Promise { + async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/configmaps/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest): Promise { + async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/endpoints`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest): Promise { + async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/endpoints`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest): Promise { + async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/endpoints`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest): Promise { + async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/endpoints/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest): Promise { + async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/endpoints/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest): Promise { + async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/endpoints/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest): Promise { + async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/endpoints/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest): Promise { + async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/events`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest): Promise { + async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/events`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest): Promise { + async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/events`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest): Promise { + async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/events/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest): Promise { + async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/events/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest): Promise { + async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/events/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest): Promise { + async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/events/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest): Promise { + async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/limitranges`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest): Promise { + async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/limitranges`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest): Promise { + async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/limitranges`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest): Promise { + async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/limitranges/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest): Promise { + async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/limitranges/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest): Promise { + async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/limitranges/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest): Promise { + async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/limitranges/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest): Promise { + async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest): Promise { + async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest): Promise { + async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest): Promise { + async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest): Promise { + async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest): Promise { + async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest): Promise { + async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest): Promise { + async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest): Promise { + async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/attach`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest): Promise { + async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/attach`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest): Promise { + async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/binding`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest): Promise { + async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/eviction`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest): Promise { + async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/exec`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest): Promise { + async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/exec`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest): Promise { + async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/log`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest): Promise { + async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/portforward`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest): Promise { + async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/portforward`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest): Promise { + async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest): Promise { + async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest): Promise { + async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest): Promise { + async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNamespacedPodProxy(params: ConnectCoreV1OptionsNamespacedPodProxyRequest): Promise { + async connectCoreV1OptionsNamespacedPodProxy(params: ConnectCoreV1OptionsNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNamespacedPodProxy(params: ConnectCoreV1HeadNamespacedPodProxyRequest): Promise { + async connectCoreV1HeadNamespacedPodProxy(params: ConnectCoreV1HeadNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest): Promise { + async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNamespacedPodProxyWithPath(params: ConnectCoreV1OptionsNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1OptionsNamespacedPodProxyWithPath(params: ConnectCoreV1OptionsNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNamespacedPodProxyWithPath(params: ConnectCoreV1HeadNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1HeadNamespacedPodProxyWithPath(params: ConnectCoreV1HeadNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest): Promise { + async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest): Promise { + async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest): Promise { + async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest): Promise { + async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/podtemplates`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest): Promise { + async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/podtemplates`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest): Promise { + async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/podtemplates`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest): Promise { + async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/podtemplates/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest): Promise { + async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/podtemplates/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest): Promise { + async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/podtemplates/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest): Promise { + async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/podtemplates/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest): Promise { + async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest): Promise { + async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest): Promise { + async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest): Promise { + async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest): Promise { + async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest): Promise { + async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest): Promise { + async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/scale`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/scale`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/scale`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest): Promise { + async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/resourcequotas`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest): Promise { + async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/resourcequotas`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest): Promise { + async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/resourcequotas`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest): Promise { + async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest): Promise { + async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest): Promise { + async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest): Promise { + async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest): Promise { + async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/secrets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest): Promise { + async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/secrets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest): Promise { + async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/secrets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest): Promise { + async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/secrets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest): Promise { + async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/secrets/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest): Promise { + async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/secrets/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest): Promise { + async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/secrets/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest): Promise { + async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest): Promise { + async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest): Promise { + async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest): Promise { + async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest): Promise { + async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest): Promise { + async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest): Promise { + async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest): Promise { + async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts/${params.name}/token`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest): Promise { + async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest): Promise { + async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest): Promise { + async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest): Promise { + async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest): Promise { + async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest): Promise { + async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest): Promise { + async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest): Promise { + async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest): Promise { + async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest): Promise { + async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNamespacedServiceProxy(params: ConnectCoreV1OptionsNamespacedServiceProxyRequest): Promise { + async connectCoreV1OptionsNamespacedServiceProxy(params: ConnectCoreV1OptionsNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNamespacedServiceProxy(params: ConnectCoreV1HeadNamespacedServiceProxyRequest): Promise { + async connectCoreV1HeadNamespacedServiceProxy(params: ConnectCoreV1HeadNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest): Promise { + async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNamespacedServiceProxyWithPath(params: ConnectCoreV1OptionsNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1OptionsNamespacedServiceProxyWithPath(params: ConnectCoreV1OptionsNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNamespacedServiceProxyWithPath(params: ConnectCoreV1HeadNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1HeadNamespacedServiceProxyWithPath(params: ConnectCoreV1HeadNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest): Promise { + async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest): Promise { + async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest): Promise { + async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest): Promise { + async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest): Promise { + async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest): Promise { + async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest): Promise { + async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest): Promise { + async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.name}/finalize`; - return await this.put(path, params.body); + return await this.put(path, null, params.body, opts); } - async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest): Promise { + async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest): Promise { + async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest): Promise { + async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1Node(params: ListCoreV1NodeRequest): Promise { + async listCoreV1Node(params: ListCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1Node(params: CreateCoreV1NodeRequest): Promise { + async createCoreV1Node(params: CreateCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest): Promise { + async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1Node(params: ReadCoreV1NodeRequest): Promise { + async readCoreV1Node(params: ReadCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest): Promise { + async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1Node(params: DeleteCoreV1NodeRequest): Promise { + async deleteCoreV1Node(params: DeleteCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1Node(params: PatchCoreV1NodeRequest): Promise { + async patchCoreV1Node(params: PatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest): Promise { + async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest): Promise { + async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest): Promise { + async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest): Promise { + async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNodeProxy(params: ConnectCoreV1OptionsNodeProxyRequest): Promise { + async connectCoreV1OptionsNodeProxy(params: ConnectCoreV1OptionsNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNodeProxy(params: ConnectCoreV1HeadNodeProxyRequest): Promise { + async connectCoreV1HeadNodeProxy(params: ConnectCoreV1HeadNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest): Promise { + async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest): Promise { + async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest): Promise { + async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest): Promise { + async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest): Promise { + async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNodeProxyWithPath(params: ConnectCoreV1OptionsNodeProxyWithPathRequest): Promise { + async connectCoreV1OptionsNodeProxyWithPath(params: ConnectCoreV1OptionsNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNodeProxyWithPath(params: ConnectCoreV1HeadNodeProxyWithPathRequest): Promise { + async connectCoreV1HeadNodeProxyWithPath(params: ConnectCoreV1HeadNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest): Promise { + async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest): Promise { + async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest): Promise { + async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest): Promise { + async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest): Promise { + async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumeclaims`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest): Promise { + async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest): Promise { + async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest): Promise { + async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest): Promise { + async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest): Promise { + async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest): Promise { + async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest): Promise { + async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest): Promise { + async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest): Promise { + async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest): Promise { + async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1PodForAllNamespaces(params: ListCoreV1PodForAllNamespacesRequest): Promise { + async listCoreV1PodForAllNamespaces(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/pods`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest): Promise { + async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/podtemplates`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest): Promise { + async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/replicationcontrollers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest): Promise { + async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/resourcequotas`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest): Promise { + async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/secrets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest): Promise { + async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/serviceaccounts`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest): Promise { + async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/services`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest): Promise { + async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/configmaps`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest): Promise { + async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/endpoints`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest): Promise { + async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest): Promise { + async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/limitranges`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest): Promise { + async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest): Promise { + async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/configmaps`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest): Promise { + async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/configmaps/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest): Promise { + async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/endpoints`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest): Promise { + async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/endpoints/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest): Promise { + async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest): Promise { + async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/events/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest): Promise { + async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/limitranges`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest): Promise { + async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/limitranges/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest): Promise { + async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/persistentvolumeclaims`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest): Promise { + async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/pods`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest): Promise { + async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/pods/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest): Promise { + async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/podtemplates`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest): Promise { + async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/podtemplates/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest): Promise { + async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/replicationcontrollers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest): Promise { + async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/replicationcontrollers/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest): Promise { + async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/resourcequotas`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest): Promise { + async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/resourcequotas/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest): Promise { + async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/secrets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest): Promise { + async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/secrets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest): Promise { + async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/serviceaccounts`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest): Promise { + async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/serviceaccounts/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest): Promise { + async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/services`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest): Promise { + async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.namespace}/services/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest): Promise { + async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest): Promise { + async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/nodes`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1Node(params: WatchCoreV1NodeRequest): Promise { + async watchCoreV1Node(params: WatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/nodes/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest): Promise { + async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/persistentvolumeclaims`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest): Promise { + async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/persistentvolumes`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest): Promise { + async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/persistentvolumes/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest): Promise { + async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/pods`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest): Promise { + async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/podtemplates`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest): Promise { + async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/replicationcontrollers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest): Promise { + async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/resourcequotas`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest): Promise { + async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/secrets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest): Promise { + async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/serviceaccounts`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest): Promise { + async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/services`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAPIVersions(params: GetAPIVersionsRequest): Promise { + async getAPIVersions(params: GetAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest): Promise { + async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest): Promise { + async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest): Promise { + async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest): Promise { + async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest): Promise { + async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest): Promise { + async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest): Promise { + async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest): Promise { + async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest): Promise { + async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest): Promise { + async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest): Promise { + async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest): Promise { + async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest): Promise { + async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest): Promise { + async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest): Promise { + async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest): Promise { + async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest): Promise { + async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest): Promise { + async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest): Promise { + async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest): Promise { + async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest): Promise { + async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest): Promise { + async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest): Promise { + async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest): Promise { + async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest): Promise { + async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest): Promise { + async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest): Promise { + async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest): Promise { + async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/watch/apiservices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest): Promise { + async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/watch/apiservices/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAppsAPIGroup(params: GetAppsAPIGroupRequest): Promise { + async getAppsAPIGroup(params: GetAppsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest): Promise { + async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest): Promise { + async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/controllerrevisions`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest): Promise { + async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/daemonsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest): Promise { + async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/deployments`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest): Promise { + async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest): Promise { + async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest): Promise { + async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest): Promise { + async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest): Promise { + async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest): Promise { + async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest): Promise { + async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest): Promise { + async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest): Promise { + async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest): Promise { + async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest): Promise { + async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest): Promise { + async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest): Promise { + async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest): Promise { + async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest): Promise { + async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest): Promise { + async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest): Promise { + async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest): Promise { + async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest): Promise { + async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest): Promise { + async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest): Promise { + async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest): Promise { + async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest): Promise { + async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest): Promise { + async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest): Promise { + async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/scale`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest): Promise { + async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/scale`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest): Promise { + async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/scale`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest): Promise { + async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest): Promise { + async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest): Promise { + async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest): Promise { + async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest): Promise { + async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest): Promise { + async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest): Promise { + async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest): Promise { + async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest): Promise { + async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest): Promise { + async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest): Promise { + async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/scale`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest): Promise { + async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/scale`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest): Promise { + async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/scale`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest): Promise { + async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest): Promise { + async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest): Promise { + async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest): Promise { + async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest): Promise { + async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest): Promise { + async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest): Promise { + async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest): Promise { + async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest): Promise { + async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest): Promise { + async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest): Promise { + async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/scale`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest): Promise { + async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/scale`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest): Promise { + async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/scale`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest): Promise { + async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest): Promise { + async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest): Promise { + async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest): Promise { + async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/replicasets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest): Promise { + async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/statefulsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest): Promise { + async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/controllerrevisions`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest): Promise { + async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/daemonsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest): Promise { + async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/deployments`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest): Promise { + async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/controllerrevisions`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest): Promise { + async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/controllerrevisions/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest): Promise { + async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/daemonsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest): Promise { + async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/daemonsets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest): Promise { + async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/deployments`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest): Promise { + async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/deployments/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest): Promise { + async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/replicasets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest): Promise { + async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/replicasets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest): Promise { + async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/statefulsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest): Promise { + async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/statefulsets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest): Promise { + async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/replicasets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest): Promise { + async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/statefulsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest): Promise { + async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authentication.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest): Promise { + async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authentication.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest): Promise { + async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authentication.k8s.io/v1/tokenreviews`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest): Promise { + async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest): Promise { + async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest): Promise { + async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/v1/namespaces/${params.namespace}/localsubjectaccessreviews`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest): Promise { + async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/v1/selfsubjectaccessreviews`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest): Promise { + async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/v1/selfsubjectrulesreviews`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest): Promise { + async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/v1/subjectaccessreviews`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest): Promise { + async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest): Promise { + async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest): Promise { + async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest): Promise { + async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/watch/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest): Promise { + async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/watch/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/watch/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAutoscalingV2beta1APIResources(params: GetAutoscalingV2beta1APIResourcesRequest): Promise { + async getAutoscalingV2beta1APIResources(params: GetAutoscalingV2beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespacesRequest): Promise { + async listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespacesRequest): Promise { + async watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerListRequest): Promise { + async watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/watch/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta1/watch/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAutoscalingV2beta2APIResources(params: GetAutoscalingV2beta2APIResourcesRequest): Promise { + async getAutoscalingV2beta2APIResources(params: GetAutoscalingV2beta2APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespacesRequest): Promise { + async listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespacesRequest): Promise { + async watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerListRequest): Promise { + async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/watch/namespaces/${params.namespace}/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/watch/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getBatchAPIGroup(params: GetBatchAPIGroupRequest): Promise { + async getBatchAPIGroup(params: GetBatchAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest): Promise { + async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest): Promise { + async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/cronjobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest): Promise { + async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/jobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest): Promise { + async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest): Promise { + async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest): Promise { + async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest): Promise { + async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest): Promise { + async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest): Promise { + async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest): Promise { + async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest): Promise { + async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest): Promise { + async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest): Promise { + async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest): Promise { + async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest): Promise { + async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest): Promise { + async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest): Promise { + async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest): Promise { + async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest): Promise { + async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest): Promise { + async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest): Promise { + async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest): Promise { + async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest): Promise { + async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest): Promise { + async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/cronjobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest): Promise { + async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/jobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest): Promise { + async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/namespaces/${params.namespace}/cronjobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest): Promise { + async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/namespaces/${params.namespace}/cronjobs/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest): Promise { + async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/namespaces/${params.namespace}/jobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest): Promise { + async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/namespaces/${params.namespace}/jobs/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getBatchV1beta1APIResources(params: GetBatchV1beta1APIResourcesRequest): Promise { + async getBatchV1beta1APIResources(params: GetBatchV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1beta1CronJobForAllNamespaces(params: ListBatchV1beta1CronJobForAllNamespacesRequest): Promise { + async listBatchV1beta1CronJobForAllNamespaces(params: ListBatchV1beta1CronJobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/cronjobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1beta1NamespacedCronJob(params: ListBatchV1beta1NamespacedCronJobRequest): Promise { + async listBatchV1beta1NamespacedCronJob(params: ListBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/namespaces/${params.namespace}/cronjobs`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createBatchV1beta1NamespacedCronJob(params: CreateBatchV1beta1NamespacedCronJobRequest): Promise { + async createBatchV1beta1NamespacedCronJob(params: CreateBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/namespaces/${params.namespace}/cronjobs`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteBatchV1beta1CollectionNamespacedCronJob(params: DeleteBatchV1beta1CollectionNamespacedCronJobRequest): Promise { + async deleteBatchV1beta1CollectionNamespacedCronJob(params: DeleteBatchV1beta1CollectionNamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/namespaces/${params.namespace}/cronjobs`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readBatchV1beta1NamespacedCronJob(params: ReadBatchV1beta1NamespacedCronJobRequest): Promise { + async readBatchV1beta1NamespacedCronJob(params: ReadBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/namespaces/${params.namespace}/cronjobs/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1beta1NamespacedCronJob(params: ReplaceBatchV1beta1NamespacedCronJobRequest): Promise { + async replaceBatchV1beta1NamespacedCronJob(params: ReplaceBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/namespaces/${params.namespace}/cronjobs/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteBatchV1beta1NamespacedCronJob(params: DeleteBatchV1beta1NamespacedCronJobRequest): Promise { + async deleteBatchV1beta1NamespacedCronJob(params: DeleteBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/namespaces/${params.namespace}/cronjobs/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchBatchV1beta1NamespacedCronJob(params: PatchBatchV1beta1NamespacedCronJobRequest): Promise { + async patchBatchV1beta1NamespacedCronJob(params: PatchBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/namespaces/${params.namespace}/cronjobs/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readBatchV1beta1NamespacedCronJobStatus(params: ReadBatchV1beta1NamespacedCronJobStatusRequest): Promise { + async readBatchV1beta1NamespacedCronJobStatus(params: ReadBatchV1beta1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/namespaces/${params.namespace}/cronjobs/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1beta1NamespacedCronJobStatus(params: ReplaceBatchV1beta1NamespacedCronJobStatusRequest): Promise { + async replaceBatchV1beta1NamespacedCronJobStatus(params: ReplaceBatchV1beta1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/namespaces/${params.namespace}/cronjobs/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchBatchV1beta1NamespacedCronJobStatus(params: PatchBatchV1beta1NamespacedCronJobStatusRequest): Promise { + async patchBatchV1beta1NamespacedCronJobStatus(params: PatchBatchV1beta1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/namespaces/${params.namespace}/cronjobs/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchBatchV1beta1CronJobListForAllNamespaces(params: WatchBatchV1beta1CronJobListForAllNamespacesRequest): Promise { + async watchBatchV1beta1CronJobListForAllNamespaces(params: WatchBatchV1beta1CronJobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/watch/cronjobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1beta1NamespacedCronJobList(params: WatchBatchV1beta1NamespacedCronJobListRequest): Promise { + async watchBatchV1beta1NamespacedCronJobList(params: WatchBatchV1beta1NamespacedCronJobListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/watch/namespaces/${params.namespace}/cronjobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1beta1NamespacedCronJob(params: WatchBatchV1beta1NamespacedCronJobRequest): Promise { + async watchBatchV1beta1NamespacedCronJob(params: WatchBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1beta1/watch/namespaces/${params.namespace}/cronjobs/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest): Promise { + async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest): Promise { + async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest): Promise { + async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest): Promise { + async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest): Promise { + async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest): Promise { + async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest): Promise { + async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest): Promise { + async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest): Promise { + async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/approval`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/approval`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/approval`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest): Promise { + async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/watch/certificatesigningrequests`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest): Promise { + async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest): Promise { + async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest): Promise { + async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest): Promise { + async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/leases`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest): Promise { + async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest): Promise { + async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest): Promise { + async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest): Promise { + async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest): Promise { + async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest): Promise { + async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest): Promise { + async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest): Promise { + async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/watch/leases`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest): Promise { + async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/watch/namespaces/${params.namespace}/leases`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest): Promise { + async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/watch/namespaces/${params.namespace}/leases/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest): Promise { + async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest): Promise { + async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest): Promise { + async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/endpointslices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest): Promise { + async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/watch/endpointslices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest): Promise { + async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/watch/namespaces/${params.namespace}/endpointslices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/watch/namespaces/${params.namespace}/endpointslices/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getDiscoveryV1beta1APIResources(params: GetDiscoveryV1beta1APIResourcesRequest): Promise { + async getDiscoveryV1beta1APIResources(params: GetDiscoveryV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1beta1EndpointSliceForAllNamespaces(params: ListDiscoveryV1beta1EndpointSliceForAllNamespacesRequest): Promise { + async listDiscoveryV1beta1EndpointSliceForAllNamespaces(params: ListDiscoveryV1beta1EndpointSliceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/endpointslices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1beta1NamespacedEndpointSlice(params: ListDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async listDiscoveryV1beta1NamespacedEndpointSlice(params: ListDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/namespaces/${params.namespace}/endpointslices`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createDiscoveryV1beta1NamespacedEndpointSlice(params: CreateDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async createDiscoveryV1beta1NamespacedEndpointSlice(params: CreateDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/namespaces/${params.namespace}/endpointslices`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/namespaces/${params.namespace}/endpointslices`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readDiscoveryV1beta1NamespacedEndpointSlice(params: ReadDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async readDiscoveryV1beta1NamespacedEndpointSlice(params: ReadDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/namespaces/${params.namespace}/endpointslices/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceDiscoveryV1beta1NamespacedEndpointSlice(params: ReplaceDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async replaceDiscoveryV1beta1NamespacedEndpointSlice(params: ReplaceDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/namespaces/${params.namespace}/endpointslices/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteDiscoveryV1beta1NamespacedEndpointSlice(params: DeleteDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1beta1NamespacedEndpointSlice(params: DeleteDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/namespaces/${params.namespace}/endpointslices/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchDiscoveryV1beta1NamespacedEndpointSlice(params: PatchDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async patchDiscoveryV1beta1NamespacedEndpointSlice(params: PatchDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/namespaces/${params.namespace}/endpointslices/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesRequest): Promise { + async watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/watch/endpointslices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1beta1NamespacedEndpointSliceList(params: WatchDiscoveryV1beta1NamespacedEndpointSliceListRequest): Promise { + async watchDiscoveryV1beta1NamespacedEndpointSliceList(params: WatchDiscoveryV1beta1NamespacedEndpointSliceListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/watch/namespaces/${params.namespace}/endpointslices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1beta1NamespacedEndpointSlice(params: WatchDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async watchDiscoveryV1beta1NamespacedEndpointSlice(params: WatchDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1beta1/watch/namespaces/${params.namespace}/endpointslices/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getEventsAPIGroup(params: GetEventsAPIGroupRequest): Promise { + async getEventsAPIGroup(params: GetEventsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest): Promise { + async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest): Promise { + async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest): Promise { + async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest): Promise { + async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest): Promise { + async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest): Promise { + async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest): Promise { + async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest): Promise { + async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest): Promise { + async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest): Promise { + async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/watch/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest): Promise { + async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/watch/namespaces/${params.namespace}/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest): Promise { + async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/watch/namespaces/${params.namespace}/events/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getEventsV1beta1APIResources(params: GetEventsV1beta1APIResourcesRequest): Promise { + async getEventsV1beta1APIResources(params: GetEventsV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1beta1EventForAllNamespaces(params: ListEventsV1beta1EventForAllNamespacesRequest): Promise { + async listEventsV1beta1EventForAllNamespaces(params: ListEventsV1beta1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1beta1NamespacedEvent(params: ListEventsV1beta1NamespacedEventRequest): Promise { + async listEventsV1beta1NamespacedEvent(params: ListEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/namespaces/${params.namespace}/events`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createEventsV1beta1NamespacedEvent(params: CreateEventsV1beta1NamespacedEventRequest): Promise { + async createEventsV1beta1NamespacedEvent(params: CreateEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/namespaces/${params.namespace}/events`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteEventsV1beta1CollectionNamespacedEvent(params: DeleteEventsV1beta1CollectionNamespacedEventRequest): Promise { + async deleteEventsV1beta1CollectionNamespacedEvent(params: DeleteEventsV1beta1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/namespaces/${params.namespace}/events`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readEventsV1beta1NamespacedEvent(params: ReadEventsV1beta1NamespacedEventRequest): Promise { + async readEventsV1beta1NamespacedEvent(params: ReadEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/namespaces/${params.namespace}/events/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceEventsV1beta1NamespacedEvent(params: ReplaceEventsV1beta1NamespacedEventRequest): Promise { + async replaceEventsV1beta1NamespacedEvent(params: ReplaceEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/namespaces/${params.namespace}/events/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteEventsV1beta1NamespacedEvent(params: DeleteEventsV1beta1NamespacedEventRequest): Promise { + async deleteEventsV1beta1NamespacedEvent(params: DeleteEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/namespaces/${params.namespace}/events/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchEventsV1beta1NamespacedEvent(params: PatchEventsV1beta1NamespacedEventRequest): Promise { + async patchEventsV1beta1NamespacedEvent(params: PatchEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/namespaces/${params.namespace}/events/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchEventsV1beta1EventListForAllNamespaces(params: WatchEventsV1beta1EventListForAllNamespacesRequest): Promise { + async watchEventsV1beta1EventListForAllNamespaces(params: WatchEventsV1beta1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/watch/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1beta1NamespacedEventList(params: WatchEventsV1beta1NamespacedEventListRequest): Promise { + async watchEventsV1beta1NamespacedEventList(params: WatchEventsV1beta1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/watch/namespaces/${params.namespace}/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1beta1NamespacedEvent(params: WatchEventsV1beta1NamespacedEventRequest): Promise { + async watchEventsV1beta1NamespacedEvent(params: WatchEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1beta1/watch/namespaces/${params.namespace}/events/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest): Promise { + async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getFlowcontrolApiserverV1beta1APIResources(params: GetFlowcontrolApiserverV1beta1APIResourcesRequest): Promise { + async getFlowcontrolApiserverV1beta1APIResources(params: GetFlowcontrolApiserverV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listFlowcontrolApiserverV1beta1FlowSchema(params: ListFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async listFlowcontrolApiserverV1beta1FlowSchema(params: ListFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createFlowcontrolApiserverV1beta1FlowSchema(params: CreateFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async createFlowcontrolApiserverV1beta1FlowSchema(params: CreateFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteFlowcontrolApiserverV1beta1CollectionFlowSchema(params: DeleteFlowcontrolApiserverV1beta1CollectionFlowSchemaRequest): Promise { + async deleteFlowcontrolApiserverV1beta1CollectionFlowSchema(params: DeleteFlowcontrolApiserverV1beta1CollectionFlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readFlowcontrolApiserverV1beta1FlowSchema(params: ReadFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async readFlowcontrolApiserverV1beta1FlowSchema(params: ReadFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceFlowcontrolApiserverV1beta1FlowSchema(params: ReplaceFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async replaceFlowcontrolApiserverV1beta1FlowSchema(params: ReplaceFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteFlowcontrolApiserverV1beta1FlowSchema(params: DeleteFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async deleteFlowcontrolApiserverV1beta1FlowSchema(params: DeleteFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchFlowcontrolApiserverV1beta1FlowSchema(params: PatchFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async patchFlowcontrolApiserverV1beta1FlowSchema(params: PatchFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readFlowcontrolApiserverV1beta1FlowSchemaStatus(params: ReadFlowcontrolApiserverV1beta1FlowSchemaStatusRequest): Promise { + async readFlowcontrolApiserverV1beta1FlowSchemaStatus(params: ReadFlowcontrolApiserverV1beta1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceFlowcontrolApiserverV1beta1FlowSchemaStatus(params: ReplaceFlowcontrolApiserverV1beta1FlowSchemaStatusRequest): Promise { + async replaceFlowcontrolApiserverV1beta1FlowSchemaStatus(params: ReplaceFlowcontrolApiserverV1beta1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchFlowcontrolApiserverV1beta1FlowSchemaStatus(params: PatchFlowcontrolApiserverV1beta1FlowSchemaStatusRequest): Promise { + async patchFlowcontrolApiserverV1beta1FlowSchemaStatus(params: PatchFlowcontrolApiserverV1beta1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ListFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async listFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ListFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: CreateFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async createFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: CreateFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteFlowcontrolApiserverV1beta1CollectionPriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1beta1CollectionPriorityLevelConfigurationRequest): Promise { + async deleteFlowcontrolApiserverV1beta1CollectionPriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1beta1CollectionPriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async readFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ReplaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async replaceFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ReplaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async deleteFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: PatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async patchFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: PatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: ReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest): Promise { + async readFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: ReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: ReplaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest): Promise { + async replaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: ReplaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: PatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest): Promise { + async patchFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: PatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchFlowcontrolApiserverV1beta1FlowSchemaList(params: WatchFlowcontrolApiserverV1beta1FlowSchemaListRequest): Promise { + async watchFlowcontrolApiserverV1beta1FlowSchemaList(params: WatchFlowcontrolApiserverV1beta1FlowSchemaListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/flowschemas`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchFlowcontrolApiserverV1beta1FlowSchema(params: WatchFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async watchFlowcontrolApiserverV1beta1FlowSchema(params: WatchFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/flowschemas/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchFlowcontrolApiserverV1beta1PriorityLevelConfigurationList(params: WatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationListRequest): Promise { + async watchFlowcontrolApiserverV1beta1PriorityLevelConfigurationList(params: WatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/prioritylevelconfigurations`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: WatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async watchFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: WatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/prioritylevelconfigurations/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest): Promise { + async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest): Promise { + async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest): Promise { + async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest): Promise { + async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest): Promise { + async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest): Promise { + async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest): Promise { + async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest): Promise { + async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest): Promise { + async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest): Promise { + async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingresses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest): Promise { + async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest): Promise { + async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest): Promise { + async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest): Promise { + async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest): Promise { + async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest): Promise { + async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest): Promise { + async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest): Promise { + async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest): Promise { + async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest): Promise { + async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest): Promise { + async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest): Promise { + async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/networkpolicies`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest): Promise { + async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/ingressclasses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest): Promise { + async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/ingressclasses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest): Promise { + async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/ingresses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest): Promise { + async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.namespace}/ingresses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest): Promise { + async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.namespace}/ingresses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest): Promise { + async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.namespace}/networkpolicies`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.namespace}/networkpolicies/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest): Promise { + async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/networkpolicies`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNodeAPIGroup(params: GetNodeAPIGroupRequest): Promise { + async getNodeAPIGroup(params: GetNodeAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest): Promise { + async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest): Promise { + async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest): Promise { + async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest): Promise { + async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest): Promise { + async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest): Promise { + async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest): Promise { + async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest): Promise { + async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest): Promise { + async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/watch/runtimeclasses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest): Promise { + async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/watch/runtimeclasses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNodeV1beta1APIResources(params: GetNodeV1beta1APIResourcesRequest): Promise { + async getNodeV1beta1APIResources(params: GetNodeV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1beta1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNodeV1beta1RuntimeClass(params: ListNodeV1beta1RuntimeClassRequest): Promise { + async listNodeV1beta1RuntimeClass(params: ListNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1beta1/runtimeclasses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNodeV1beta1RuntimeClass(params: CreateNodeV1beta1RuntimeClassRequest): Promise { + async createNodeV1beta1RuntimeClass(params: CreateNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1beta1/runtimeclasses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNodeV1beta1CollectionRuntimeClass(params: DeleteNodeV1beta1CollectionRuntimeClassRequest): Promise { + async deleteNodeV1beta1CollectionRuntimeClass(params: DeleteNodeV1beta1CollectionRuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1beta1/runtimeclasses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNodeV1beta1RuntimeClass(params: ReadNodeV1beta1RuntimeClassRequest): Promise { + async readNodeV1beta1RuntimeClass(params: ReadNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1beta1/runtimeclasses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNodeV1beta1RuntimeClass(params: ReplaceNodeV1beta1RuntimeClassRequest): Promise { + async replaceNodeV1beta1RuntimeClass(params: ReplaceNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1beta1/runtimeclasses/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNodeV1beta1RuntimeClass(params: DeleteNodeV1beta1RuntimeClassRequest): Promise { + async deleteNodeV1beta1RuntimeClass(params: DeleteNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1beta1/runtimeclasses/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNodeV1beta1RuntimeClass(params: PatchNodeV1beta1RuntimeClassRequest): Promise { + async patchNodeV1beta1RuntimeClass(params: PatchNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1beta1/runtimeclasses/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchNodeV1beta1RuntimeClassList(params: WatchNodeV1beta1RuntimeClassListRequest): Promise { + async watchNodeV1beta1RuntimeClassList(params: WatchNodeV1beta1RuntimeClassListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1beta1/watch/runtimeclasses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNodeV1beta1RuntimeClass(params: WatchNodeV1beta1RuntimeClassRequest): Promise { + async watchNodeV1beta1RuntimeClass(params: WatchNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1beta1/watch/runtimeclasses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest): Promise { + async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest): Promise { + async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest): Promise { + async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest): Promise { + async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/watch/namespaces/${params.namespace}/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/watch/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest): Promise { + async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/watch/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getPolicyV1beta1APIResources(params: GetPolicyV1beta1APIResourcesRequest): Promise { + async getPolicyV1beta1APIResources(params: GetPolicyV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listPolicyV1beta1NamespacedPodDisruptionBudget(params: ListPolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async listPolicyV1beta1NamespacedPodDisruptionBudget(params: ListPolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/namespaces/${params.namespace}/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createPolicyV1beta1NamespacedPodDisruptionBudget(params: CreatePolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async createPolicyV1beta1NamespacedPodDisruptionBudget(params: CreatePolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/namespaces/${params.namespace}/poddisruptionbudgets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1beta1CollectionNamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1beta1CollectionNamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/namespaces/${params.namespace}/poddisruptionbudgets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readPolicyV1beta1NamespacedPodDisruptionBudget(params: ReadPolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async readPolicyV1beta1NamespacedPodDisruptionBudget(params: ReadPolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1beta1NamespacedPodDisruptionBudget(params: ReplacePolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async replacePolicyV1beta1NamespacedPodDisruptionBudget(params: ReplacePolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deletePolicyV1beta1NamespacedPodDisruptionBudget(params: DeletePolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1beta1NamespacedPodDisruptionBudget(params: DeletePolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchPolicyV1beta1NamespacedPodDisruptionBudget(params: PatchPolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async patchPolicyV1beta1NamespacedPodDisruptionBudget(params: PatchPolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1beta1PodDisruptionBudgetForAllNamespacesRequest): Promise { + async listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1beta1PodDisruptionBudgetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listPolicyV1beta1PodSecurityPolicy(params: ListPolicyV1beta1PodSecurityPolicyRequest): Promise { + async listPolicyV1beta1PodSecurityPolicy(params: ListPolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/podsecuritypolicies`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createPolicyV1beta1PodSecurityPolicy(params: CreatePolicyV1beta1PodSecurityPolicyRequest): Promise { + async createPolicyV1beta1PodSecurityPolicy(params: CreatePolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/podsecuritypolicies`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deletePolicyV1beta1CollectionPodSecurityPolicy(params: DeletePolicyV1beta1CollectionPodSecurityPolicyRequest): Promise { + async deletePolicyV1beta1CollectionPodSecurityPolicy(params: DeletePolicyV1beta1CollectionPodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/podsecuritypolicies`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readPolicyV1beta1PodSecurityPolicy(params: ReadPolicyV1beta1PodSecurityPolicyRequest): Promise { + async readPolicyV1beta1PodSecurityPolicy(params: ReadPolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/podsecuritypolicies/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1beta1PodSecurityPolicy(params: ReplacePolicyV1beta1PodSecurityPolicyRequest): Promise { + async replacePolicyV1beta1PodSecurityPolicy(params: ReplacePolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/podsecuritypolicies/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deletePolicyV1beta1PodSecurityPolicy(params: DeletePolicyV1beta1PodSecurityPolicyRequest): Promise { + async deletePolicyV1beta1PodSecurityPolicy(params: DeletePolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/podsecuritypolicies/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchPolicyV1beta1PodSecurityPolicy(params: PatchPolicyV1beta1PodSecurityPolicyRequest): Promise { + async patchPolicyV1beta1PodSecurityPolicy(params: PatchPolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/podsecuritypolicies/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchPolicyV1beta1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1beta1NamespacedPodDisruptionBudgetListRequest): Promise { + async watchPolicyV1beta1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1beta1NamespacedPodDisruptionBudgetListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/watch/namespaces/${params.namespace}/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1beta1NamespacedPodDisruptionBudget(params: WatchPolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async watchPolicyV1beta1NamespacedPodDisruptionBudget(params: WatchPolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/watch/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1beta1PodDisruptionBudgetListForAllNamespacesRequest): Promise { + async watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1beta1PodDisruptionBudgetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/watch/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1beta1PodSecurityPolicyList(params: WatchPolicyV1beta1PodSecurityPolicyListRequest): Promise { + async watchPolicyV1beta1PodSecurityPolicyList(params: WatchPolicyV1beta1PodSecurityPolicyListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/watch/podsecuritypolicies`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1beta1PodSecurityPolicy(params: WatchPolicyV1beta1PodSecurityPolicyRequest): Promise { + async watchPolicyV1beta1PodSecurityPolicy(params: WatchPolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1beta1/watch/podsecuritypolicies/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest): Promise { + async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest): Promise { + async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest): Promise { + async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest): Promise { + async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest): Promise { + async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest): Promise { + async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest): Promise { + async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest): Promise { + async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest): Promise { + async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest): Promise { + async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest): Promise { + async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest): Promise { + async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest): Promise { + async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest): Promise { + async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest): Promise { + async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest): Promise { + async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest): Promise { + async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/rolebindings`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest): Promise { + async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/roles`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterroles`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest): Promise { + async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.namespace}/rolebindings`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.namespace}/rolebindings/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.namespace}/roles`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest): Promise { + async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.namespace}/roles/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest): Promise { + async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/rolebindings`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest): Promise { + async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/roles`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest): Promise { + async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest): Promise { + async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest): Promise { + async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest): Promise { + async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest): Promise { + async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest): Promise { + async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest): Promise { + async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest): Promise { + async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest): Promise { + async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest): Promise { + async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/watch/priorityclasses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest): Promise { + async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/watch/priorityclasses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getStorageAPIGroup(params: GetStorageAPIGroupRequest): Promise { + async getStorageAPIGroup(params: GetStorageAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest): Promise { + async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest): Promise { + async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest): Promise { + async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest): Promise { + async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest): Promise { + async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest): Promise { + async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest): Promise { + async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest): Promise { + async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1CSINode(params: ListStorageV1CSINodeRequest): Promise { + async listStorageV1CSINode(params: ListStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest): Promise { + async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest): Promise { + async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest): Promise { + async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest): Promise { + async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest): Promise { + async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest): Promise { + async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest): Promise { + async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest): Promise { + async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest): Promise { + async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest): Promise { + async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest): Promise { + async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest): Promise { + async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest): Promise { + async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest): Promise { + async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest): Promise { + async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest): Promise { + async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest): Promise { + async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest): Promise { + async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest): Promise { + async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest): Promise { + async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest): Promise { + async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest): Promise { + async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest): Promise { + async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest): Promise { + async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/csidrivers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest): Promise { + async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/csidrivers/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest): Promise { + async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/csinodes`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest): Promise { + async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/csinodes/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest): Promise { + async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/storageclasses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest): Promise { + async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/storageclasses/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest): Promise { + async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/volumeattachments`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest): Promise { + async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/volumeattachments/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getStorageV1beta1APIResources(params: GetStorageV1beta1APIResourcesRequest): Promise { + async getStorageV1beta1APIResources(params: GetStorageV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listStorageV1beta1CSIStorageCapacityForAllNamespaces(params: ListStorageV1beta1CSIStorageCapacityForAllNamespacesRequest): Promise { + async listStorageV1beta1CSIStorageCapacityForAllNamespaces(params: ListStorageV1beta1CSIStorageCapacityForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/csistoragecapacities`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listStorageV1beta1NamespacedCSIStorageCapacity(params: ListStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async listStorageV1beta1NamespacedCSIStorageCapacity(params: ListStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/namespaces/${params.namespace}/csistoragecapacities`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1beta1NamespacedCSIStorageCapacity(params: CreateStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async createStorageV1beta1NamespacedCSIStorageCapacity(params: CreateStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/namespaces/${params.namespace}/csistoragecapacities`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1beta1CollectionNamespacedCSIStorageCapacity(params: DeleteStorageV1beta1CollectionNamespacedCSIStorageCapacityRequest): Promise { + async deleteStorageV1beta1CollectionNamespacedCSIStorageCapacity(params: DeleteStorageV1beta1CollectionNamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/namespaces/${params.namespace}/csistoragecapacities`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1beta1NamespacedCSIStorageCapacity(params: ReadStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async readStorageV1beta1NamespacedCSIStorageCapacity(params: ReadStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/namespaces/${params.namespace}/csistoragecapacities/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1beta1NamespacedCSIStorageCapacity(params: ReplaceStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async replaceStorageV1beta1NamespacedCSIStorageCapacity(params: ReplaceStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/namespaces/${params.namespace}/csistoragecapacities/${params.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1beta1NamespacedCSIStorageCapacity(params: DeleteStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async deleteStorageV1beta1NamespacedCSIStorageCapacity(params: DeleteStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/namespaces/${params.namespace}/csistoragecapacities/${params.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1beta1NamespacedCSIStorageCapacity(params: PatchStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async patchStorageV1beta1NamespacedCSIStorageCapacity(params: PatchStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/namespaces/${params.namespace}/csistoragecapacities/${params.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchStorageV1beta1CSIStorageCapacityListForAllNamespaces(params: WatchStorageV1beta1CSIStorageCapacityListForAllNamespacesRequest): Promise { + async watchStorageV1beta1CSIStorageCapacityListForAllNamespaces(params: WatchStorageV1beta1CSIStorageCapacityListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/watch/csistoragecapacities`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1beta1NamespacedCSIStorageCapacityList(params: WatchStorageV1beta1NamespacedCSIStorageCapacityListRequest): Promise { + async watchStorageV1beta1NamespacedCSIStorageCapacityList(params: WatchStorageV1beta1NamespacedCSIStorageCapacityListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/watch/namespaces/${params.namespace}/csistoragecapacities`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1beta1NamespacedCSIStorageCapacity(params: WatchStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async watchStorageV1beta1NamespacedCSIStorageCapacity(params: WatchStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1beta1/watch/namespaces/${params.namespace}/csistoragecapacities/${params.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async logFileListHandler(params: LogFileListHandlerRequest): Promise { + async logFileListHandler(params: LogFileListHandlerRequest, opts?: APIClientRequestOpts): Promise { const path = `/logs/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async logFileHandler(params: LogFileHandlerRequest): Promise { + async logFileHandler(params: LogFileHandlerRequest, opts?: APIClientRequestOpts): Promise { const path = `/logs/${params.logpath}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest): Promise { + async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest, opts?: APIClientRequestOpts): Promise { const path = `/openid/v1/jwks/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCodeVersion(params: GetCodeVersionRequest): Promise { + async getCodeVersion(params: GetCodeVersionRequest, opts?: APIClientRequestOpts): Promise { const path = `/version/`; - return await this.get(path); + return await this.get(path, null, null, opts); } } \ No newline at end of file diff --git a/__fixtures__/output/swagger-client.ts b/__fixtures__/output/swagger-client.ts index ddc2922..19745b3 100644 --- a/__fixtures__/output/swagger-client.ts +++ b/__fixtures__/output/swagger-client.ts @@ -1,4 +1,4 @@ -import { APIClient } from "@interweb/fetch-api-client"; +import { APIClient, APIClientRequestOpts } from "@interweb/fetch-api-client"; /* io.k8s.api.admissionregistration.v1.MutatingWebhook */ /* MutatingWebhook describes an admission webhook and the resources and operations it applies to. */ export interface MutatingWebhook { @@ -11599,2592 +11599,2592 @@ export class KubernetesClient extends APIClient { const path = "/openapi/v2"; return this.get(path); } - async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest): Promise { + async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/.well-known/openid-configuration/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoreAPIVersions(params: GetCoreAPIVersionsRequest): Promise { + async getCoreAPIVersions(params: GetCoreAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest): Promise { + async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest): Promise { + async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/componentstatuses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest): Promise { + async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/componentstatuses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest): Promise { + async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/configmaps`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest): Promise { + async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/endpoints`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest): Promise { + async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest): Promise { + async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/limitranges`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1Namespace(params: ListCoreV1NamespaceRequest): Promise { + async listCoreV1Namespace(params: ListCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest): Promise { + async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest): Promise { + async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/bindings`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest): Promise { + async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/configmaps`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest): Promise { + async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/configmaps`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest): Promise { + async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/configmaps`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest): Promise { + async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest): Promise { + async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest): Promise { + async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest): Promise { + async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest): Promise { + async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/endpoints`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest): Promise { + async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/endpoints`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest): Promise { + async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/endpoints`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest): Promise { + async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest): Promise { + async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest): Promise { + async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest): Promise { + async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest): Promise { + async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/events`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest): Promise { + async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/events`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest): Promise { + async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/events`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest): Promise { + async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest): Promise { + async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest): Promise { + async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest): Promise { + async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest): Promise { + async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/limitranges`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest): Promise { + async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/limitranges`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest): Promise { + async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/limitranges`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest): Promise { + async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest): Promise { + async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest): Promise { + async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest): Promise { + async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest): Promise { + async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest): Promise { + async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest): Promise { + async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest): Promise { + async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest): Promise { + async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest): Promise { + async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest): Promise { + async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest): Promise { + async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest): Promise { + async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/attach`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest): Promise { + async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/attach`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest): Promise { + async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/binding`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest): Promise { + async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/eviction`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest): Promise { + async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/exec`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest): Promise { + async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/exec`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest): Promise { + async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/log`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest): Promise { + async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/portforward`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest): Promise { + async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/portforward`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest): Promise { + async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest): Promise { + async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest): Promise { + async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest): Promise { + async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest): Promise { + async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest): Promise { + async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest): Promise { + async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest): Promise { + async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest): Promise { + async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest): Promise { + async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest): Promise { + async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest): Promise { + async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest): Promise { + async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest): Promise { + async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest): Promise { + async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest): Promise { + async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest): Promise { + async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest): Promise { + async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest): Promise { + async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest): Promise { + async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest): Promise { + async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest): Promise { + async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/scale`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/scale`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/scale`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest): Promise { + async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest): Promise { + async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest): Promise { + async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest): Promise { + async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest): Promise { + async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest): Promise { + async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest): Promise { + async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest): Promise { + async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/secrets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest): Promise { + async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/secrets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest): Promise { + async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/secrets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest): Promise { + async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest): Promise { + async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest): Promise { + async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest): Promise { + async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest): Promise { + async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest): Promise { + async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest): Promise { + async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest): Promise { + async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest): Promise { + async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest): Promise { + async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest): Promise { + async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest): Promise { + async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}/token`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest): Promise { + async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest): Promise { + async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest): Promise { + async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest): Promise { + async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest): Promise { + async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest): Promise { + async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest): Promise { + async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest): Promise { + async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest): Promise { + async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest): Promise { + async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest): Promise { + async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest): Promise { + async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest): Promise { + async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest): Promise { + async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest): Promise { + async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest): Promise { + async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest): Promise { + async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest): Promise { + async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest): Promise { + async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.name}/finalize`; - return await this.put(path, params.body); + return await this.put(path, null, params.body, opts); } - async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest): Promise { + async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest): Promise { + async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest): Promise { + async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/namespaces/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1Node(params: ListCoreV1NodeRequest): Promise { + async listCoreV1Node(params: ListCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1Node(params: CreateCoreV1NodeRequest): Promise { + async createCoreV1Node(params: CreateCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest): Promise { + async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1Node(params: ReadCoreV1NodeRequest): Promise { + async readCoreV1Node(params: ReadCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest): Promise { + async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1Node(params: DeleteCoreV1NodeRequest): Promise { + async deleteCoreV1Node(params: DeleteCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1Node(params: PatchCoreV1NodeRequest): Promise { + async patchCoreV1Node(params: PatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest): Promise { + async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/proxy`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest): Promise { + async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/proxy`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest): Promise { + async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/proxy`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest): Promise { + async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/proxy`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest): Promise { + async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/proxy`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest): Promise { + async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest): Promise { + async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest): Promise { + async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest): Promise { + async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest): Promise { + async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest): Promise { + async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest): Promise { + async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest): Promise { + async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/nodes/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest): Promise { + async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumeclaims`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest): Promise { + async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest): Promise { + async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest): Promise { + async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest): Promise { + async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest): Promise { + async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest): Promise { + async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest): Promise { + async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest): Promise { + async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest): Promise { + async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest): Promise { + async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/persistentvolumes/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async getPods(params: ListCoreV1PodForAllNamespacesRequest): Promise { + async getPods(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/pods`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listPods(params: ListCoreV1PodForAllNamespacesRequest): Promise { + async listPods(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/pods`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest): Promise { + async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/podtemplates`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest): Promise { + async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/replicationcontrollers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest): Promise { + async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/resourcequotas`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest): Promise { + async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/secrets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest): Promise { + async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/serviceaccounts`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest): Promise { + async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/services`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest): Promise { + async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/configmaps`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest): Promise { + async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/endpoints`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest): Promise { + async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest): Promise { + async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/limitranges`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest): Promise { + async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest): Promise { + async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/configmaps`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest): Promise { + async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/configmaps/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest): Promise { + async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/endpoints`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest): Promise { + async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/endpoints/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest): Promise { + async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest): Promise { + async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/events/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest): Promise { + async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/limitranges`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest): Promise { + async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/limitranges/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest): Promise { + async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/persistentvolumeclaims`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest): Promise { + async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/pods`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest): Promise { + async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/pods/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest): Promise { + async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/podtemplates`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest): Promise { + async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest): Promise { + async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/replicationcontrollers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest): Promise { + async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest): Promise { + async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/resourcequotas`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest): Promise { + async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest): Promise { + async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/secrets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest): Promise { + async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/secrets/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest): Promise { + async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/serviceaccounts`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest): Promise { + async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest): Promise { + async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/services`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest): Promise { + async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.namespace}/services/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest): Promise { + async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/namespaces/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest): Promise { + async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/nodes`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1Node(params: WatchCoreV1NodeRequest): Promise { + async watchCoreV1Node(params: WatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/nodes/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest): Promise { + async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/persistentvolumeclaims`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest): Promise { + async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/persistentvolumes`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest): Promise { + async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/persistentvolumes/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest): Promise { + async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/pods`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest): Promise { + async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/podtemplates`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest): Promise { + async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/replicationcontrollers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest): Promise { + async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/resourcequotas`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest): Promise { + async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/secrets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest): Promise { + async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/serviceaccounts`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest): Promise { + async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/api/v1/watch/services`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAPIVersions(params: GetAPIVersionsRequest): Promise { + async getAPIVersions(params: GetAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest): Promise { + async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest): Promise { + async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest): Promise { + async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest): Promise { + async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest): Promise { + async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest): Promise { + async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest): Promise { + async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest): Promise { + async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest): Promise { + async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest): Promise { + async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest): Promise { + async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest): Promise { + async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest): Promise { + async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest): Promise { + async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest): Promise { + async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest): Promise { + async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest): Promise { + async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest): Promise { + async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest): Promise { + async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest): Promise { + async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest): Promise { + async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest): Promise { + async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest): Promise { + async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest): Promise { + async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest): Promise { + async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest): Promise { + async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest): Promise { + async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest): Promise { + async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/watch/apiservices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest): Promise { + async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apiregistration.k8s.io/v1/watch/apiservices/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAppsAPIGroup(params: GetAppsAPIGroupRequest): Promise { + async getAppsAPIGroup(params: GetAppsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest): Promise { + async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest): Promise { + async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/controllerrevisions`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest): Promise { + async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/daemonsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest): Promise { + async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/deployments`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest): Promise { + async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest): Promise { + async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest): Promise { + async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest): Promise { + async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest): Promise { + async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest): Promise { + async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest): Promise { + async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest): Promise { + async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest): Promise { + async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest): Promise { + async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest): Promise { + async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest): Promise { + async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest): Promise { + async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest): Promise { + async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest): Promise { + async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest): Promise { + async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest): Promise { + async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest): Promise { + async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest): Promise { + async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest): Promise { + async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest): Promise { + async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest): Promise { + async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest): Promise { + async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest): Promise { + async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest): Promise { + async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/scale`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest): Promise { + async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/scale`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest): Promise { + async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/scale`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest): Promise { + async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest): Promise { + async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest): Promise { + async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest): Promise { + async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest): Promise { + async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest): Promise { + async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest): Promise { + async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest): Promise { + async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest): Promise { + async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest): Promise { + async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest): Promise { + async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/scale`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest): Promise { + async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/scale`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest): Promise { + async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/scale`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest): Promise { + async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest): Promise { + async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest): Promise { + async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest): Promise { + async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest): Promise { + async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest): Promise { + async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest): Promise { + async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest): Promise { + async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest): Promise { + async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest): Promise { + async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest): Promise { + async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/scale`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest): Promise { + async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/scale`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest): Promise { + async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/scale`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest): Promise { + async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest): Promise { + async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest): Promise { + async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest): Promise { + async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/replicasets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest): Promise { + async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/statefulsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest): Promise { + async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/controllerrevisions`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest): Promise { + async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/daemonsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest): Promise { + async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/deployments`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest): Promise { + async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/controllerrevisions`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest): Promise { + async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest): Promise { + async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/daemonsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest): Promise { + async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest): Promise { + async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/deployments`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest): Promise { + async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/deployments/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest): Promise { + async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/replicasets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest): Promise { + async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/replicasets/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest): Promise { + async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/statefulsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest): Promise { + async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest): Promise { + async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/replicasets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest): Promise { + async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/apps/v1/watch/statefulsets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest): Promise { + async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authentication.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest): Promise { + async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authentication.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest): Promise { + async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authentication.k8s.io/v1/tokenreviews`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest): Promise { + async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest): Promise { + async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest): Promise { + async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/v1/namespaces/${params.path.namespace}/localsubjectaccessreviews`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest): Promise { + async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/v1/selfsubjectaccessreviews`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest): Promise { + async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/v1/selfsubjectrulesreviews`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest): Promise { + async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/authorization.k8s.io/v1/subjectaccessreviews`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest): Promise { + async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest): Promise { + async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest): Promise { + async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest): Promise { + async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/watch/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest): Promise { + async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v1/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAutoscalingV2beta2APIResources(params: GetAutoscalingV2beta2APIResourcesRequest): Promise { + async getAutoscalingV2beta2APIResources(params: GetAutoscalingV2beta2APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespacesRequest): Promise { + async listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespacesRequest): Promise { + async watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerListRequest): Promise { + async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/autoscaling/v2beta2/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getBatchAPIGroup(params: GetBatchAPIGroupRequest): Promise { + async getBatchAPIGroup(params: GetBatchAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest): Promise { + async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest): Promise { + async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/cronjobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest): Promise { + async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/jobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest): Promise { + async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest): Promise { + async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest): Promise { + async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest): Promise { + async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest): Promise { + async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest): Promise { + async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest): Promise { + async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest): Promise { + async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest): Promise { + async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest): Promise { + async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest): Promise { + async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest): Promise { + async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest): Promise { + async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest): Promise { + async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest): Promise { + async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest): Promise { + async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest): Promise { + async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest): Promise { + async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest): Promise { + async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest): Promise { + async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest): Promise { + async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/cronjobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest): Promise { + async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/jobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest): Promise { + async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/cronjobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest): Promise { + async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest): Promise { + async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/jobs`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest): Promise { + async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/jobs/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest): Promise { + async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest): Promise { + async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest): Promise { + async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest): Promise { + async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest): Promise { + async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest): Promise { + async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest): Promise { + async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest): Promise { + async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest): Promise { + async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/approval`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/approval`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/approval`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest): Promise { + async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/watch/certificatesigningrequests`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest): Promise { + async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest): Promise { + async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest): Promise { + async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest): Promise { + async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/leases`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest): Promise { + async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest): Promise { + async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest): Promise { + async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest): Promise { + async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest): Promise { + async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest): Promise { + async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest): Promise { + async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest): Promise { + async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/watch/leases`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest): Promise { + async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/watch/namespaces/${params.path.namespace}/leases`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest): Promise { + async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/coordination.k8s.io/v1/watch/namespaces/${params.path.namespace}/leases/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest): Promise { + async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest): Promise { + async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest): Promise { + async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/endpointslices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest): Promise { + async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/watch/endpointslices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest): Promise { + async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/watch/namespaces/${params.path.namespace}/endpointslices`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/discovery.k8s.io/v1/watch/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getEventsAPIGroup(params: GetEventsAPIGroupRequest): Promise { + async getEventsAPIGroup(params: GetEventsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest): Promise { + async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest): Promise { + async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest): Promise { + async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest): Promise { + async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest): Promise { + async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest): Promise { + async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest): Promise { + async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest): Promise { + async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest): Promise { + async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest): Promise { + async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/watch/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest): Promise { + async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/watch/namespaces/${params.path.namespace}/events`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest): Promise { + async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/events.k8s.io/v1/watch/namespaces/${params.path.namespace}/events/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest): Promise { + async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/flowcontrol.apiserver.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest): Promise { + async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest): Promise { + async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest): Promise { + async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest): Promise { + async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest): Promise { + async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest): Promise { + async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest): Promise { + async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest): Promise { + async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest): Promise { + async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest): Promise { + async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/ingresses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest): Promise { + async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest): Promise { + async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest): Promise { + async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest): Promise { + async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest): Promise { + async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest): Promise { + async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest): Promise { + async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest): Promise { + async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest): Promise { + async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest): Promise { + async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest): Promise { + async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest): Promise { + async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/networkpolicies`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest): Promise { + async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/ingressclasses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest): Promise { + async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/ingressclasses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest): Promise { + async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/ingresses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest): Promise { + async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/ingresses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest): Promise { + async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest): Promise { + async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/networkpolicies`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest): Promise { + async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/networking.k8s.io/v1/watch/networkpolicies`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNodeAPIGroup(params: GetNodeAPIGroupRequest): Promise { + async getNodeAPIGroup(params: GetNodeAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest): Promise { + async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest): Promise { + async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest): Promise { + async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest): Promise { + async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest): Promise { + async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest): Promise { + async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest): Promise { + async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest): Promise { + async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest): Promise { + async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/watch/runtimeclasses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest): Promise { + async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/node.k8s.io/v1/watch/runtimeclasses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest): Promise { + async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest): Promise { + async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest): Promise { + async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest): Promise { + async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/watch/namespaces/${params.path.namespace}/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/watch/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest): Promise { + async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/policy/v1/watch/poddisruptionbudgets`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest): Promise { + async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest): Promise { + async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest): Promise { + async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest): Promise { + async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest): Promise { + async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest): Promise { + async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest): Promise { + async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest): Promise { + async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest): Promise { + async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest): Promise { + async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest): Promise { + async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest): Promise { + async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest): Promise { + async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest): Promise { + async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest): Promise { + async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest): Promise { + async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest): Promise { + async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/rolebindings`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest): Promise { + async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/roles`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterroles`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest): Promise { + async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/rolebindings`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/roles`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest): Promise { + async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/roles/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest): Promise { + async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/rolebindings`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest): Promise { + async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/rbac.authorization.k8s.io/v1/watch/roles`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest): Promise { + async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest): Promise { + async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest): Promise { + async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest): Promise { + async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest): Promise { + async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest): Promise { + async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest): Promise { + async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest): Promise { + async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest): Promise { + async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest): Promise { + async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/watch/priorityclasses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest): Promise { + async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/scheduling.k8s.io/v1/watch/priorityclasses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getStorageAPIGroup(params: GetStorageAPIGroupRequest): Promise { + async getStorageAPIGroup(params: GetStorageAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest): Promise { + async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest): Promise { + async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest): Promise { + async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest): Promise { + async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest): Promise { + async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest): Promise { + async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest): Promise { + async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest): Promise { + async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1CSINode(params: ListStorageV1CSINodeRequest): Promise { + async listStorageV1CSINode(params: ListStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest): Promise { + async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest): Promise { + async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest): Promise { + async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest): Promise { + async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest): Promise { + async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest): Promise { + async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest): Promise { + async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest): Promise { + async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest): Promise { + async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest): Promise { + async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest): Promise { + async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest): Promise { + async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest): Promise { + async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest): Promise { + async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest): Promise { + async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest): Promise { + async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest): Promise { + async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest): Promise { + async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest): Promise { + async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest): Promise { + async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest): Promise { + async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}/status`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest): Promise { + async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}/status`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest): Promise { + async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}/status`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest): Promise { + async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/csidrivers`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest): Promise { + async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/csidrivers/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest): Promise { + async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/csinodes`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest): Promise { + async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/csinodes/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest): Promise { + async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/storageclasses`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest): Promise { + async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/storageclasses/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest): Promise { + async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/volumeattachments`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest): Promise { + async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = `/apis/storage.k8s.io/v1/watch/volumeattachments/${params.path.name}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async logFileListHandler(params: LogFileListHandlerRequest): Promise { + async logFileListHandler(params: LogFileListHandlerRequest, opts?: APIClientRequestOpts): Promise { const path = `/logs/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async logFileHandler(params: LogFileHandlerRequest): Promise { + async logFileHandler(params: LogFileHandlerRequest, opts?: APIClientRequestOpts): Promise { const path = `/logs/${params.path.logpath}`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest): Promise { + async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest, opts?: APIClientRequestOpts): Promise { const path = `/openid/v1/jwks/`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCodeVersion(params: GetCodeVersionRequest): Promise { + async getCodeVersion(params: GetCodeVersionRequest, opts?: APIClientRequestOpts): Promise { const path = `/version/`; - return await this.get(path); + return await this.get(path, null, null, opts); } } \ No newline at end of file diff --git a/package.json b/package.json index 5eb75cf..3e33ac6 100644 --- a/package.json +++ b/package.json @@ -40,5 +40,8 @@ "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "typescript": "^5.1.6" + }, + "dependencies": { + "@interweb/fetch-api-client": "^0.4.1" } } diff --git a/packages/fetch-api-client/src/index.ts b/packages/fetch-api-client/src/index.ts index 4ca46a1..ee4c012 100644 --- a/packages/fetch-api-client/src/index.ts +++ b/packages/fetch-api-client/src/index.ts @@ -1,4 +1,4 @@ -import fetch from 'isomorphic-fetch'; +import { URLSearchParams } from 'url'; interface RequestOptions { hostname: string; @@ -13,6 +13,93 @@ export interface APIClientOptions { restEndpoint: string; } +export interface APIClientRequestHeaders { + accept?: string | string[] | undefined; + 'accept-charset'?: string | string[] | undefined; + 'accept-encoding'?: string | string[] | undefined; + 'accept-language'?: string | string[] | undefined; + 'accept-ranges'?: string | undefined; + 'access-control-allow-credentials'?: string | undefined; + 'access-control-allow-headers'?: string | undefined; + 'access-control-allow-methods'?: string | undefined; + 'access-control-allow-origin'?: string | undefined; + 'access-control-expose-headers'?: string | undefined; + 'access-control-max-age'?: string | undefined; + 'access-control-request-headers'?: string | undefined; + 'access-control-request-method'?: string | undefined; + age?: string | undefined; + allow?: string | undefined; + authorization?: string | undefined; + 'cache-control'?: string | undefined; + 'cdn-cache-control'?: string | undefined; + connection?: string | string[] | undefined; + 'content-disposition'?: string | undefined; + 'content-encoding'?: string | undefined; + 'content-language'?: string | undefined; + 'content-length'?: string | number | undefined; + 'content-location'?: string | undefined; + 'content-range'?: string | undefined; + 'content-security-policy'?: string | undefined; + 'content-security-policy-report-only'?: string | undefined; + cookie?: string | string[] | undefined; + dav?: string | string[] | undefined; + dnt?: string | undefined; + date?: string | undefined; + etag?: string | undefined; + expect?: string | undefined; + expires?: string | undefined; + forwarded?: string | undefined; + from?: string | undefined; + host?: string | undefined; + 'if-match'?: string | undefined; + 'if-modified-since'?: string | undefined; + 'if-none-match'?: string | undefined; + 'if-range'?: string | undefined; + 'if-unmodified-since'?: string | undefined; + 'last-modified'?: string | undefined; + link?: string | string[] | undefined; + location?: string | undefined; + 'max-forwards'?: string | undefined; + origin?: string | undefined; + prgama?: string | string[] | undefined; + 'proxy-authenticate'?: string | string[] | undefined; + 'proxy-authorization'?: string | undefined; + 'public-key-pins'?: string | undefined; + 'public-key-pins-report-only'?: string | undefined; + range?: string | undefined; + referer?: string | undefined; + 'referrer-policy'?: string | undefined; + refresh?: string | undefined; + 'retry-after'?: string | undefined; + 'sec-websocket-accept'?: string | undefined; + 'sec-websocket-extensions'?: string | string[] | undefined; + 'sec-websocket-key'?: string | undefined; + 'sec-websocket-protocol'?: string | string[] | undefined; + 'sec-websocket-version'?: string | undefined; + server?: string | undefined; + 'set-cookie'?: string | string[] | undefined; + 'strict-transport-security'?: string | undefined; + te?: string | undefined; + trailer?: string | undefined; + 'transfer-encoding'?: string | undefined; + 'user-agent'?: string | undefined; + upgrade?: string | undefined; + 'upgrade-insecure-requests'?: string | undefined; + vary?: string | undefined; + via?: string | string[] | undefined; + warning?: string | undefined; + 'www-authenticate'?: string | string[] | undefined; + 'x-content-type-options'?: string | undefined; + 'x-dns-prefetch-control'?: string | undefined; + 'x-frame-options'?: string | undefined; + 'x-xss-protection'?: string | undefined; +} +export type APIClientRequestOpts = { + headers?: APIClientRequestHeaders; + timeout?: number; + isFormData?: boolean; +}; + export class APIClient { private baseUrl: string; private defaultTimeout: number = 10000; // 10 seconds @@ -21,7 +108,7 @@ export class APIClient { this.baseUrl = options.restEndpoint; } - private buildUrl(endpoint: string, query?: { [key: string]: any }): string { + private buildFullPath(endpoint: string, query?: { [key: string]: any }): string { const url = new URL(endpoint, this.baseUrl); if (query) { Object.keys(query).forEach(key => url.searchParams.append(key, query[key])); @@ -31,87 +118,142 @@ export class APIClient { private async request(options: RequestOptions): Promise { const { path, headers, method, params, timeout } = options; - const url = this.buildUrl(path, method === 'GET' && params); + const url = this.buildFullPath(path, method === 'GET' ? params : undefined); + + const controller = new AbortController(); + const id = setTimeout(() => controller.abort(), timeout || this.defaultTimeout); + const fetchOptions: RequestInit = { method, headers, + signal: controller.signal, body: method !== 'GET' && method !== 'DELETE' ? JSON.stringify(params) : null, }; - const controller = new AbortController(); - const id = setTimeout(() => controller.abort(), timeout || this.defaultTimeout); - fetchOptions.signal = controller.signal; + try { + const response = await fetch(url, fetchOptions); + clearTimeout(id); - const response = await fetch(url, fetchOptions); - clearTimeout(id); + if (!response.ok) { + throw new Error(`HTTP error! status: ${response.status}`); + } - if (!response.ok) { - throw new Error(`HTTP error! status: ${response.status}`); + return response.json() as Promise; + } catch (error) { + clearTimeout(id); + throw error; } - - return response.json() as Promise; } - get(endpoint: string, query?: { [key: string]: any }, opts: { headers?: { [key: string]: string }, timeout?: number } = {}): Promise { + get( + endpoint: string, + query?: { [key: string]: any }, + body?: void, + opts: APIClientRequestOpts = {} + ): Promise { return this.request({ path: endpoint, method: 'GET', + // @ts-ignore headers: opts.headers, timeout: opts.timeout || this.defaultTimeout, - params: query, // Correctly use query parameters for GET - hostname: '', + params: query, }); } - post(endpoint: string, params: Params, opts: { headers?: { [key: string]: string }, timeout?: number } = {}): Promise { + post( + endpoint: string, + query?: { [key: string]: any }, + body?: Params, + opts: APIClientRequestOpts = {} + ): Promise { + const headers = opts.isFormData + ? { + 'Content-Type': 'application/x-www-form-urlencoded', + ...opts.headers, + } + : { + 'Content-Type': 'application/json', + ...opts.headers, + }; + const bodyContent = opts.isFormData + ? new URLSearchParams(body as any).toString() + : JSON.stringify(body); + return this.request({ path: endpoint, method: 'POST', - headers: { - 'Content-Type': 'application/json', - ...opts.headers, - }, - params, + // @ts-ignore + headers, timeout: opts.timeout || this.defaultTimeout, - hostname: '', + params: bodyContent, }); } - put(endpoint: string, params: Params, opts: { headers?: { [key: string]: string }, timeout?: number } = {}): Promise { - return this.request({ - path: endpoint, - method: 'PUT', - headers: { + patch( + endpoint: string, + query?: { [key: string]: any }, + body?: Params, + opts: APIClientRequestOpts = {} + ): Promise { + const headers = opts.isFormData + ? { + 'Content-Type': 'application/x-www-form-urlencoded', + ...opts.headers, + } + : { 'Content-Type': 'application/json', ...opts.headers, - }, - params, + }; + const bodyContent = opts.isFormData + ? new URLSearchParams(body as any).toString() + : JSON.stringify(body); + + return this.request({ + path: endpoint, + method: 'PATCH', + // @ts-ignore + headers, timeout: opts.timeout || this.defaultTimeout, - hostname: '', + params: bodyContent, }); } - patch(endpoint: string, params: Params, opts: { headers?: { [key: string]: string }, timeout?: number } = {}): Promise { + put( + endpoint: string, + query?: { [key: string]: any }, + body?: Params, + opts: APIClientRequestOpts = {} + ): Promise { + const headers = { + 'Content-Type': 'application/json', + ...opts.headers, + }; + const bodyContent = JSON.stringify(body); + return this.request({ path: endpoint, - method: 'PATCH', - headers: { - 'Content-Type': 'application/json', - ...opts.headers, - }, - params, + method: 'PUT', + // @ts-ignore + headers, timeout: opts.timeout || this.defaultTimeout, - hostname: '', + params: bodyContent, }); } - delete(endpoint: string, opts: { headers?: { [key: string]: string }, timeout?: number } = {}): Promise { + delete( + endpoint: string, + query?: { [key: string]: any }, + body?: void, + opts: APIClientRequestOpts = {} + ): Promise { return this.request({ path: endpoint, method: 'DELETE', + // @ts-ignore headers: opts.headers, timeout: opts.timeout || this.defaultTimeout, - hostname: '', + params: query, }); } } diff --git a/packages/node-api-client/src/index.ts b/packages/node-api-client/src/index.ts index fa7219e..1e75a38 100644 --- a/packages/node-api-client/src/index.ts +++ b/packages/node-api-client/src/index.ts @@ -6,7 +6,7 @@ interface RequestOptions { hostname: string; path: string; headers?: { [key: string]: string }; - method?: 'GET' | 'POST' | 'PUT' | 'DELETE'; + method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; params?: Params; timeout?: number; } @@ -15,6 +15,91 @@ export interface APIClientOptions { restEndpoint: string; } +export interface APIClientRequestHeaders { + accept?: string | string[] | undefined; + 'accept-charset'?: string | string[] | undefined; + 'accept-encoding'?: string | string[] | undefined; + 'accept-language'?: string | string[] | undefined; + 'accept-ranges'?: string | undefined; + 'access-control-allow-credentials'?: string | undefined; + 'access-control-allow-headers'?: string | undefined; + 'access-control-allow-methods'?: string | undefined; + 'access-control-allow-origin'?: string | undefined; + 'access-control-expose-headers'?: string | undefined; + 'access-control-max-age'?: string | undefined; + 'access-control-request-headers'?: string | undefined; + 'access-control-request-method'?: string | undefined; + age?: string | undefined; + allow?: string | undefined; + authorization?: string | undefined; + 'cache-control'?: string | undefined; + 'cdn-cache-control'?: string | undefined; + connection?: string | string[] | undefined; + 'content-disposition'?: string | undefined; + 'content-encoding'?: string | undefined; + 'content-language'?: string | undefined; + 'content-length'?: string | number | undefined; + 'content-location'?: string | undefined; + 'content-range'?: string | undefined; + 'content-security-policy'?: string | undefined; + 'content-security-policy-report-only'?: string | undefined; + cookie?: string | string[] | undefined; + dav?: string | string[] | undefined; + dnt?: string | undefined; + date?: string | undefined; + etag?: string | undefined; + expect?: string | undefined; + expires?: string | undefined; + forwarded?: string | undefined; + from?: string | undefined; + host?: string | undefined; + 'if-match'?: string | undefined; + 'if-modified-since'?: string | undefined; + 'if-none-match'?: string | undefined; + 'if-range'?: string | undefined; + 'if-unmodified-since'?: string | undefined; + 'last-modified'?: string | undefined; + link?: string | string[] | undefined; + location?: string | undefined; + 'max-forwards'?: string | undefined; + origin?: string | undefined; + prgama?: string | string[] | undefined; + 'proxy-authenticate'?: string | string[] | undefined; + 'proxy-authorization'?: string | undefined; + 'public-key-pins'?: string | undefined; + 'public-key-pins-report-only'?: string | undefined; + range?: string | undefined; + referer?: string | undefined; + 'referrer-policy'?: string | undefined; + refresh?: string | undefined; + 'retry-after'?: string | undefined; + 'sec-websocket-accept'?: string | undefined; + 'sec-websocket-extensions'?: string | string[] | undefined; + 'sec-websocket-key'?: string | undefined; + 'sec-websocket-protocol'?: string | string[] | undefined; + 'sec-websocket-version'?: string | undefined; + server?: string | undefined; + 'set-cookie'?: string | string[] | undefined; + 'strict-transport-security'?: string | undefined; + te?: string | undefined; + trailer?: string | undefined; + 'transfer-encoding'?: string | undefined; + 'user-agent'?: string | undefined; + upgrade?: string | undefined; + 'upgrade-insecure-requests'?: string | undefined; + vary?: string | undefined; + via?: string | string[] | undefined; + warning?: string | undefined; + 'www-authenticate'?: string | string[] | undefined; + 'x-content-type-options'?: string | undefined; + 'x-dns-prefetch-control'?: string | undefined; + 'x-frame-options'?: string | undefined; + 'x-xss-protection'?: string | undefined; +} +export type APIClientRequestOpts = { + headers?: APIClientRequestHeaders; + timeout?: number; +}; export class APIClient { private hostname: string; private port: number = 8001; // Default Kubernetes proxy port @@ -26,13 +111,18 @@ export class APIClient { this.port = url.port ? parseInt(url.port) : this.port; } + private buildFullPath(endpoint: string, query?: { [key: string]: any }): string { + const queryString = query ? `?${querystring.stringify(query)}` : ''; + return endpoint + queryString; + } + get( endpoint: string, query?: { [key: string]: any }, - opts: http.RequestOptions & { timeout?: number } = {} + body?: void, + opts: APIClientRequestOpts = {} ): Promise { - const queryString = query ? `?${querystring.stringify(query)}` : ''; - const fullPath = endpoint + queryString; + const fullPath = this.buildFullPath(endpoint, query); return this.request({ path: fullPath, method: 'GET', @@ -44,9 +134,11 @@ export class APIClient { post( endpoint: string, - params: Params, + query?: { [key: string]: any }, + body?: Params, opts: http.RequestOptions & { timeout?: number; isFormData?: boolean } = {} ): Promise { + const fullPath = this.buildFullPath(endpoint, query); const headers: http.OutgoingHttpHeaders = opts.isFormData ? { 'Content-Type': 'application/x-www-form-urlencoded', @@ -56,27 +148,29 @@ export class APIClient { 'Content-Type': 'application/json', ...opts.headers, }; - const body = opts.isFormData - ? new URLSearchParams(params as any).toString() - : JSON.stringify(params); - headers['Content-Length'] = Buffer.byteLength(body).toString(); + const bodyContent = opts.isFormData + ? new URLSearchParams(body as any).toString() + : JSON.stringify(body); + headers['Content-Length'] = Buffer.byteLength(bodyContent).toString(); return this.request({ - path: endpoint, + path: fullPath, method: 'POST', // @ts-ignore headers, // @ts-ignore - params: body, + params: bodyContent, timeout: opts.timeout || this.defaultTimeout, }); } patch( endpoint: string, - params: Params, + query?: { [key: string]: any }, + body?: Params, opts: http.RequestOptions & { timeout?: number; isFormData?: boolean } = {} ): Promise { + const fullPath = this.buildFullPath(endpoint, query); const headers: http.OutgoingHttpHeaders = opts.isFormData ? { 'Content-Type': 'application/x-www-form-urlencoded', @@ -86,51 +180,56 @@ export class APIClient { 'Content-Type': 'application/json', ...opts.headers, }; - const body = opts.isFormData - ? new URLSearchParams(params as any).toString() - : JSON.stringify(params); - headers['Content-Length'] = Buffer.byteLength(body).toString(); + const bodyContent = opts.isFormData + ? new URLSearchParams(body as any).toString() + : JSON.stringify(body); + headers['Content-Length'] = Buffer.byteLength(bodyContent).toString(); return this.request({ - path: endpoint, - // @ts-ignore + path: fullPath, method: 'PATCH', // @ts-ignore headers, // @ts-ignore - params: body, + params: bodyContent, timeout: opts.timeout || this.defaultTimeout, }); } put( endpoint: string, - params: Params, + query?: { [key: string]: any }, + body?: Params, opts: http.RequestOptions & { timeout?: number } = {} ): Promise { - const stringParams = JSON.stringify(params); - const defaultHeaders = { + const fullPath = this.buildFullPath(endpoint, query); + const bodyContent = JSON.stringify(body); + const headers = { 'Content-Type': 'application/json', - 'Content-Length': Buffer.byteLength(stringParams).toString(), + 'Content-Length': Buffer.byteLength(bodyContent).toString(), ...opts.headers, }; + return this.request({ - path: endpoint, + path: fullPath, method: 'PUT', // @ts-ignore - headers: defaultHeaders, + headers, // @ts-ignore - params: stringParams, + params: bodyContent, timeout: opts.timeout || this.defaultTimeout, }); } - delete( + delete( endpoint: string, + query?: { [key: string]: any }, + body?: void, opts: http.RequestOptions & { timeout?: number } = {} ): Promise { + const fullPath = this.buildFullPath(endpoint, query); return this.request({ - path: endpoint, + path: fullPath, method: 'DELETE', // @ts-ignore headers: opts.headers, @@ -169,16 +268,12 @@ export class APIClient { reject(error); }); - // @ts-ignore req.setTimeout(options.timeout, () => { req.abort(); reject(new Error('Request timeout')); }); - if ( - options.params && - (options.method === 'POST' || options.method === 'PUT') - ) { + if (options.params && ['POST', 'PUT', 'PATCH'].includes(options.method)) { req.write(options.params); } diff --git a/packages/schema-sdk/__tests__/__snapshots__/openapi.generate.test.ts.snap b/packages/schema-sdk/__tests__/__snapshots__/openapi.generate.test.ts.snap index 28b89a5..dc4c3ca 100644 --- a/packages/schema-sdk/__tests__/__snapshots__/openapi.generate.test.ts.snap +++ b/packages/schema-sdk/__tests__/__snapshots__/openapi.generate.test.ts.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`merged 1`] = ` -"import { APIClient } from "@interweb/fetch-api-client"; +"import { APIClient, APIClientRequestOpts } from "@interweb/fetch-api-client"; export interface MutatingWebhook { admissionReviewVersions: string[]; clientConfig: WebhookClientConfig; @@ -10209,3143 +10209,3143 @@ export class KubernetesClient extends APIClient { const path = "/openapi/v2"; return this.get(path); } - async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest): Promise { + async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/.well-known/openid-configuration/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoreAPIVersions(params: GetCoreAPIVersionsRequest): Promise { + async getCoreAPIVersions(params: GetCoreAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest): Promise { + async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest): Promise { + async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/componentstatuses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest): Promise { + async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/componentstatuses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest): Promise { + async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/configmaps\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest): Promise { + async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/endpoints\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest): Promise { + async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest): Promise { + async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/limitranges\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1Namespace(params: ListCoreV1NamespaceRequest): Promise { + async listCoreV1Namespace(params: ListCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest): Promise { + async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest): Promise { + async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/bindings\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest): Promise { + async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/configmaps\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest): Promise { + async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/configmaps\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest): Promise { + async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/configmaps\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest): Promise { + async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/configmaps/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest): Promise { + async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/configmaps/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest): Promise { + async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/configmaps/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest): Promise { + async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/configmaps/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest): Promise { + async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/endpoints\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest): Promise { + async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/endpoints\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest): Promise { + async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/endpoints\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest): Promise { + async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/endpoints/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest): Promise { + async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/endpoints/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest): Promise { + async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/endpoints/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest): Promise { + async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/endpoints/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest): Promise { + async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/events\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest): Promise { + async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/events\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest): Promise { + async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/events\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest): Promise { + async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest): Promise { + async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest): Promise { + async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest): Promise { + async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest): Promise { + async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/limitranges\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest): Promise { + async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/limitranges\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest): Promise { + async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/limitranges\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest): Promise { + async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/limitranges/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest): Promise { + async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/limitranges/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest): Promise { + async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/limitranges/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest): Promise { + async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/limitranges/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest): Promise { + async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest): Promise { + async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest): Promise { + async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest): Promise { + async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest): Promise { + async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest): Promise { + async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest): Promise { + async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest): Promise { + async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest): Promise { + async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/attach\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest): Promise { + async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/attach\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest): Promise { + async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/binding\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest): Promise { + async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/eviction\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest): Promise { + async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/exec\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest): Promise { + async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/exec\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest): Promise { + async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/log\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest): Promise { + async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/portforward\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest): Promise { + async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/portforward\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest): Promise { + async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest): Promise { + async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest): Promise { + async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest): Promise { + async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNamespacedPodProxy(params: ConnectCoreV1OptionsNamespacedPodProxyRequest): Promise { + async connectCoreV1OptionsNamespacedPodProxy(params: ConnectCoreV1OptionsNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNamespacedPodProxy(params: ConnectCoreV1HeadNamespacedPodProxyRequest): Promise { + async connectCoreV1HeadNamespacedPodProxy(params: ConnectCoreV1HeadNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest): Promise { + async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNamespacedPodProxyWithPath(params: ConnectCoreV1OptionsNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1OptionsNamespacedPodProxyWithPath(params: ConnectCoreV1OptionsNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNamespacedPodProxyWithPath(params: ConnectCoreV1HeadNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1HeadNamespacedPodProxyWithPath(params: ConnectCoreV1HeadNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest): Promise { + async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest): Promise { + async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest): Promise { + async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest): Promise { + async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest): Promise { + async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest): Promise { + async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest): Promise { + async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest): Promise { + async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest): Promise { + async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest): Promise { + async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest): Promise { + async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest): Promise { + async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest): Promise { + async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest): Promise { + async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest): Promise { + async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest): Promise { + async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest): Promise { + async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/scale\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/scale\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/scale\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest): Promise { + async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest): Promise { + async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest): Promise { + async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest): Promise { + async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest): Promise { + async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest): Promise { + async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest): Promise { + async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest): Promise { + async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/secrets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest): Promise { + async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/secrets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest): Promise { + async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/secrets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest): Promise { + async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/secrets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest): Promise { + async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/secrets/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest): Promise { + async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/secrets/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest): Promise { + async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/secrets/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest): Promise { + async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest): Promise { + async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest): Promise { + async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest): Promise { + async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest): Promise { + async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest): Promise { + async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest): Promise { + async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest): Promise { + async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts/\${params.name}/token\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest): Promise { + async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest): Promise { + async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest): Promise { + async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest): Promise { + async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest): Promise { + async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest): Promise { + async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest): Promise { + async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest): Promise { + async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest): Promise { + async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest): Promise { + async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNamespacedServiceProxy(params: ConnectCoreV1OptionsNamespacedServiceProxyRequest): Promise { + async connectCoreV1OptionsNamespacedServiceProxy(params: ConnectCoreV1OptionsNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNamespacedServiceProxy(params: ConnectCoreV1HeadNamespacedServiceProxyRequest): Promise { + async connectCoreV1HeadNamespacedServiceProxy(params: ConnectCoreV1HeadNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest): Promise { + async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNamespacedServiceProxyWithPath(params: ConnectCoreV1OptionsNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1OptionsNamespacedServiceProxyWithPath(params: ConnectCoreV1OptionsNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNamespacedServiceProxyWithPath(params: ConnectCoreV1HeadNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1HeadNamespacedServiceProxyWithPath(params: ConnectCoreV1HeadNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest): Promise { + async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest): Promise { + async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest): Promise { + async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest): Promise { + async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest): Promise { + async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest): Promise { + async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest): Promise { + async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest): Promise { + async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.name}/finalize\`; - return await this.put(path, params.body); + return await this.put(path, null, params.body, opts); } - async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest): Promise { + async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest): Promise { + async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest): Promise { + async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1Node(params: ListCoreV1NodeRequest): Promise { + async listCoreV1Node(params: ListCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1Node(params: CreateCoreV1NodeRequest): Promise { + async createCoreV1Node(params: CreateCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest): Promise { + async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1Node(params: ReadCoreV1NodeRequest): Promise { + async readCoreV1Node(params: ReadCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest): Promise { + async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1Node(params: DeleteCoreV1NodeRequest): Promise { + async deleteCoreV1Node(params: DeleteCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1Node(params: PatchCoreV1NodeRequest): Promise { + async patchCoreV1Node(params: PatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest): Promise { + async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest): Promise { + async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest): Promise { + async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest): Promise { + async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNodeProxy(params: ConnectCoreV1OptionsNodeProxyRequest): Promise { + async connectCoreV1OptionsNodeProxy(params: ConnectCoreV1OptionsNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy\`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNodeProxy(params: ConnectCoreV1HeadNodeProxyRequest): Promise { + async connectCoreV1HeadNodeProxy(params: ConnectCoreV1HeadNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy\`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest): Promise { + async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest): Promise { + async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest): Promise { + async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest): Promise { + async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest): Promise { + async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1OptionsNodeProxyWithPath(params: ConnectCoreV1OptionsNodeProxyWithPathRequest): Promise { + async connectCoreV1OptionsNodeProxyWithPath(params: ConnectCoreV1OptionsNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; - return await this.options(path); + return await this.options(path, null, null, opts); } - async connectCoreV1HeadNodeProxyWithPath(params: ConnectCoreV1HeadNodeProxyWithPathRequest): Promise { + async connectCoreV1HeadNodeProxyWithPath(params: ConnectCoreV1HeadNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; - return await this.head(path); + return await this.head(path, null, null, opts); } - async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest): Promise { + async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest): Promise { + async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest): Promise { + async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest): Promise { + async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest): Promise { + async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumeclaims\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest): Promise { + async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest): Promise { + async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest): Promise { + async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest): Promise { + async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest): Promise { + async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest): Promise { + async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest): Promise { + async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest): Promise { + async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest): Promise { + async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest): Promise { + async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1PodForAllNamespaces(params: ListCoreV1PodForAllNamespacesRequest): Promise { + async listCoreV1PodForAllNamespaces(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/pods\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest): Promise { + async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/podtemplates\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest): Promise { + async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/replicationcontrollers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest): Promise { + async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/resourcequotas\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest): Promise { + async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/secrets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest): Promise { + async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/serviceaccounts\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest): Promise { + async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/services\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest): Promise { + async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/configmaps\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest): Promise { + async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/endpoints\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest): Promise { + async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest): Promise { + async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/limitranges\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest): Promise { + async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest): Promise { + async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/configmaps\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest): Promise { + async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/configmaps/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest): Promise { + async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/endpoints\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest): Promise { + async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/endpoints/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest): Promise { + async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest): Promise { + async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest): Promise { + async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/limitranges\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest): Promise { + async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/limitranges/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest): Promise { + async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/persistentvolumeclaims\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest): Promise { + async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/pods\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest): Promise { + async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/pods/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest): Promise { + async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/podtemplates\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest): Promise { + async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/podtemplates/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest): Promise { + async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/replicationcontrollers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest): Promise { + async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest): Promise { + async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/resourcequotas\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest): Promise { + async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/resourcequotas/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest): Promise { + async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/secrets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest): Promise { + async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/secrets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest): Promise { + async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/serviceaccounts\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest): Promise { + async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/serviceaccounts/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest): Promise { + async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/services\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest): Promise { + async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.namespace}/services/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest): Promise { + async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest): Promise { + async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/nodes\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1Node(params: WatchCoreV1NodeRequest): Promise { + async watchCoreV1Node(params: WatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/nodes/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest): Promise { + async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/persistentvolumeclaims\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest): Promise { + async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/persistentvolumes\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest): Promise { + async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/persistentvolumes/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest): Promise { + async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/pods\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest): Promise { + async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/podtemplates\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest): Promise { + async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/replicationcontrollers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest): Promise { + async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/resourcequotas\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest): Promise { + async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/secrets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest): Promise { + async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/serviceaccounts\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest): Promise { + async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/services\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAPIVersions(params: GetAPIVersionsRequest): Promise { + async getAPIVersions(params: GetAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest): Promise { + async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest): Promise { + async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest): Promise { + async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest): Promise { + async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest): Promise { + async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest): Promise { + async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest): Promise { + async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest): Promise { + async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest): Promise { + async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest): Promise { + async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest): Promise { + async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest): Promise { + async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest): Promise { + async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest): Promise { + async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest): Promise { + async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest): Promise { + async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest): Promise { + async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest): Promise { + async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest): Promise { + async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest): Promise { + async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest): Promise { + async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest): Promise { + async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest): Promise { + async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest): Promise { + async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest): Promise { + async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest): Promise { + async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest): Promise { + async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest): Promise { + async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/watch/apiservices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest): Promise { + async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/watch/apiservices/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAppsAPIGroup(params: GetAppsAPIGroupRequest): Promise { + async getAppsAPIGroup(params: GetAppsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest): Promise { + async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest): Promise { + async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/controllerrevisions\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest): Promise { + async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/daemonsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest): Promise { + async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/deployments\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest): Promise { + async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest): Promise { + async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest): Promise { + async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest): Promise { + async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest): Promise { + async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest): Promise { + async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest): Promise { + async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest): Promise { + async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest): Promise { + async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest): Promise { + async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest): Promise { + async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest): Promise { + async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest): Promise { + async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest): Promise { + async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest): Promise { + async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest): Promise { + async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest): Promise { + async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest): Promise { + async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest): Promise { + async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest): Promise { + async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest): Promise { + async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest): Promise { + async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest): Promise { + async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest): Promise { + async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest): Promise { + async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/scale\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest): Promise { + async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/scale\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest): Promise { + async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/scale\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest): Promise { + async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest): Promise { + async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest): Promise { + async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest): Promise { + async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest): Promise { + async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest): Promise { + async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest): Promise { + async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest): Promise { + async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest): Promise { + async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest): Promise { + async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest): Promise { + async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/scale\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest): Promise { + async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/scale\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest): Promise { + async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/scale\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest): Promise { + async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest): Promise { + async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest): Promise { + async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest): Promise { + async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest): Promise { + async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest): Promise { + async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest): Promise { + async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest): Promise { + async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest): Promise { + async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest): Promise { + async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest): Promise { + async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/scale\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest): Promise { + async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/scale\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest): Promise { + async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/scale\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest): Promise { + async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest): Promise { + async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest): Promise { + async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest): Promise { + async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/replicasets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest): Promise { + async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/statefulsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest): Promise { + async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/controllerrevisions\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest): Promise { + async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/daemonsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest): Promise { + async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/deployments\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest): Promise { + async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/controllerrevisions\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest): Promise { + async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/controllerrevisions/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest): Promise { + async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/daemonsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest): Promise { + async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/daemonsets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest): Promise { + async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/deployments\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest): Promise { + async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/deployments/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest): Promise { + async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/replicasets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest): Promise { + async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/replicasets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest): Promise { + async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/statefulsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest): Promise { + async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/statefulsets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest): Promise { + async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/replicasets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest): Promise { + async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/statefulsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest): Promise { + async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authentication.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest): Promise { + async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authentication.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest): Promise { + async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authentication.k8s.io/v1/tokenreviews\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest): Promise { + async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest): Promise { + async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest): Promise { + async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/v1/namespaces/\${params.namespace}/localsubjectaccessreviews\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest): Promise { + async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/v1/selfsubjectaccessreviews\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest): Promise { + async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/v1/selfsubjectrulesreviews\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest): Promise { + async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/v1/subjectaccessreviews\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest): Promise { + async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest): Promise { + async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest): Promise { + async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest): Promise { + async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/watch/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest): Promise { + async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/watch/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/watch/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAutoscalingV2beta1APIResources(params: GetAutoscalingV2beta1APIResourcesRequest): Promise { + async getAutoscalingV2beta1APIResources(params: GetAutoscalingV2beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespacesRequest): Promise { + async listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespacesRequest): Promise { + async watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerListRequest): Promise { + async watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/watch/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest): Promise { + async watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta1/watch/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAutoscalingV2beta2APIResources(params: GetAutoscalingV2beta2APIResourcesRequest): Promise { + async getAutoscalingV2beta2APIResources(params: GetAutoscalingV2beta2APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespacesRequest): Promise { + async listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespacesRequest): Promise { + async watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerListRequest): Promise { + async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/watch/namespaces/\${params.namespace}/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/watch/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getBatchAPIGroup(params: GetBatchAPIGroupRequest): Promise { + async getBatchAPIGroup(params: GetBatchAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest): Promise { + async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest): Promise { + async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/cronjobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest): Promise { + async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/jobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest): Promise { + async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest): Promise { + async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest): Promise { + async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest): Promise { + async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest): Promise { + async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest): Promise { + async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest): Promise { + async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest): Promise { + async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest): Promise { + async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest): Promise { + async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest): Promise { + async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest): Promise { + async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest): Promise { + async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest): Promise { + async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest): Promise { + async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest): Promise { + async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest): Promise { + async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest): Promise { + async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest): Promise { + async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest): Promise { + async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest): Promise { + async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/cronjobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest): Promise { + async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/jobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest): Promise { + async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/namespaces/\${params.namespace}/cronjobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest): Promise { + async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest): Promise { + async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/namespaces/\${params.namespace}/jobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest): Promise { + async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/namespaces/\${params.namespace}/jobs/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getBatchV1beta1APIResources(params: GetBatchV1beta1APIResourcesRequest): Promise { + async getBatchV1beta1APIResources(params: GetBatchV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1beta1CronJobForAllNamespaces(params: ListBatchV1beta1CronJobForAllNamespacesRequest): Promise { + async listBatchV1beta1CronJobForAllNamespaces(params: ListBatchV1beta1CronJobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/cronjobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1beta1NamespacedCronJob(params: ListBatchV1beta1NamespacedCronJobRequest): Promise { + async listBatchV1beta1NamespacedCronJob(params: ListBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/namespaces/\${params.namespace}/cronjobs\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createBatchV1beta1NamespacedCronJob(params: CreateBatchV1beta1NamespacedCronJobRequest): Promise { + async createBatchV1beta1NamespacedCronJob(params: CreateBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/namespaces/\${params.namespace}/cronjobs\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteBatchV1beta1CollectionNamespacedCronJob(params: DeleteBatchV1beta1CollectionNamespacedCronJobRequest): Promise { + async deleteBatchV1beta1CollectionNamespacedCronJob(params: DeleteBatchV1beta1CollectionNamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/namespaces/\${params.namespace}/cronjobs\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readBatchV1beta1NamespacedCronJob(params: ReadBatchV1beta1NamespacedCronJobRequest): Promise { + async readBatchV1beta1NamespacedCronJob(params: ReadBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1beta1NamespacedCronJob(params: ReplaceBatchV1beta1NamespacedCronJobRequest): Promise { + async replaceBatchV1beta1NamespacedCronJob(params: ReplaceBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteBatchV1beta1NamespacedCronJob(params: DeleteBatchV1beta1NamespacedCronJobRequest): Promise { + async deleteBatchV1beta1NamespacedCronJob(params: DeleteBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchBatchV1beta1NamespacedCronJob(params: PatchBatchV1beta1NamespacedCronJobRequest): Promise { + async patchBatchV1beta1NamespacedCronJob(params: PatchBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readBatchV1beta1NamespacedCronJobStatus(params: ReadBatchV1beta1NamespacedCronJobStatusRequest): Promise { + async readBatchV1beta1NamespacedCronJobStatus(params: ReadBatchV1beta1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/namespaces/\${params.namespace}/cronjobs/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1beta1NamespacedCronJobStatus(params: ReplaceBatchV1beta1NamespacedCronJobStatusRequest): Promise { + async replaceBatchV1beta1NamespacedCronJobStatus(params: ReplaceBatchV1beta1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/namespaces/\${params.namespace}/cronjobs/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchBatchV1beta1NamespacedCronJobStatus(params: PatchBatchV1beta1NamespacedCronJobStatusRequest): Promise { + async patchBatchV1beta1NamespacedCronJobStatus(params: PatchBatchV1beta1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/namespaces/\${params.namespace}/cronjobs/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchBatchV1beta1CronJobListForAllNamespaces(params: WatchBatchV1beta1CronJobListForAllNamespacesRequest): Promise { + async watchBatchV1beta1CronJobListForAllNamespaces(params: WatchBatchV1beta1CronJobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/watch/cronjobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1beta1NamespacedCronJobList(params: WatchBatchV1beta1NamespacedCronJobListRequest): Promise { + async watchBatchV1beta1NamespacedCronJobList(params: WatchBatchV1beta1NamespacedCronJobListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/watch/namespaces/\${params.namespace}/cronjobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1beta1NamespacedCronJob(params: WatchBatchV1beta1NamespacedCronJobRequest): Promise { + async watchBatchV1beta1NamespacedCronJob(params: WatchBatchV1beta1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1beta1/watch/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest): Promise { + async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest): Promise { + async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest): Promise { + async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest): Promise { + async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest): Promise { + async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest): Promise { + async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest): Promise { + async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest): Promise { + async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest): Promise { + async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/approval\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/approval\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/approval\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest): Promise { + async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/watch/certificatesigningrequests\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest): Promise { + async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest): Promise { + async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest): Promise { + async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest): Promise { + async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/leases\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest): Promise { + async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest): Promise { + async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest): Promise { + async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest): Promise { + async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest): Promise { + async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest): Promise { + async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest): Promise { + async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest): Promise { + async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/watch/leases\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest): Promise { + async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/watch/namespaces/\${params.namespace}/leases\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest): Promise { + async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/watch/namespaces/\${params.namespace}/leases/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest): Promise { + async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest): Promise { + async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest): Promise { + async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/endpointslices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest): Promise { + async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/watch/endpointslices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest): Promise { + async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/watch/namespaces/\${params.namespace}/endpointslices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/watch/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getDiscoveryV1beta1APIResources(params: GetDiscoveryV1beta1APIResourcesRequest): Promise { + async getDiscoveryV1beta1APIResources(params: GetDiscoveryV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1beta1EndpointSliceForAllNamespaces(params: ListDiscoveryV1beta1EndpointSliceForAllNamespacesRequest): Promise { + async listDiscoveryV1beta1EndpointSliceForAllNamespaces(params: ListDiscoveryV1beta1EndpointSliceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/endpointslices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1beta1NamespacedEndpointSlice(params: ListDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async listDiscoveryV1beta1NamespacedEndpointSlice(params: ListDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/namespaces/\${params.namespace}/endpointslices\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createDiscoveryV1beta1NamespacedEndpointSlice(params: CreateDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async createDiscoveryV1beta1NamespacedEndpointSlice(params: CreateDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/namespaces/\${params.namespace}/endpointslices\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1beta1CollectionNamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/namespaces/\${params.namespace}/endpointslices\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readDiscoveryV1beta1NamespacedEndpointSlice(params: ReadDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async readDiscoveryV1beta1NamespacedEndpointSlice(params: ReadDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceDiscoveryV1beta1NamespacedEndpointSlice(params: ReplaceDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async replaceDiscoveryV1beta1NamespacedEndpointSlice(params: ReplaceDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteDiscoveryV1beta1NamespacedEndpointSlice(params: DeleteDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1beta1NamespacedEndpointSlice(params: DeleteDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchDiscoveryV1beta1NamespacedEndpointSlice(params: PatchDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async patchDiscoveryV1beta1NamespacedEndpointSlice(params: PatchDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesRequest): Promise { + async watchDiscoveryV1beta1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1beta1EndpointSliceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/watch/endpointslices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1beta1NamespacedEndpointSliceList(params: WatchDiscoveryV1beta1NamespacedEndpointSliceListRequest): Promise { + async watchDiscoveryV1beta1NamespacedEndpointSliceList(params: WatchDiscoveryV1beta1NamespacedEndpointSliceListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/watch/namespaces/\${params.namespace}/endpointslices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1beta1NamespacedEndpointSlice(params: WatchDiscoveryV1beta1NamespacedEndpointSliceRequest): Promise { + async watchDiscoveryV1beta1NamespacedEndpointSlice(params: WatchDiscoveryV1beta1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1beta1/watch/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getEventsAPIGroup(params: GetEventsAPIGroupRequest): Promise { + async getEventsAPIGroup(params: GetEventsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest): Promise { + async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest): Promise { + async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest): Promise { + async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest): Promise { + async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest): Promise { + async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest): Promise { + async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest): Promise { + async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest): Promise { + async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest): Promise { + async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest): Promise { + async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/watch/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest): Promise { + async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/watch/namespaces/\${params.namespace}/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest): Promise { + async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/watch/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getEventsV1beta1APIResources(params: GetEventsV1beta1APIResourcesRequest): Promise { + async getEventsV1beta1APIResources(params: GetEventsV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1beta1EventForAllNamespaces(params: ListEventsV1beta1EventForAllNamespacesRequest): Promise { + async listEventsV1beta1EventForAllNamespaces(params: ListEventsV1beta1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1beta1NamespacedEvent(params: ListEventsV1beta1NamespacedEventRequest): Promise { + async listEventsV1beta1NamespacedEvent(params: ListEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/namespaces/\${params.namespace}/events\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createEventsV1beta1NamespacedEvent(params: CreateEventsV1beta1NamespacedEventRequest): Promise { + async createEventsV1beta1NamespacedEvent(params: CreateEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/namespaces/\${params.namespace}/events\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteEventsV1beta1CollectionNamespacedEvent(params: DeleteEventsV1beta1CollectionNamespacedEventRequest): Promise { + async deleteEventsV1beta1CollectionNamespacedEvent(params: DeleteEventsV1beta1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/namespaces/\${params.namespace}/events\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readEventsV1beta1NamespacedEvent(params: ReadEventsV1beta1NamespacedEventRequest): Promise { + async readEventsV1beta1NamespacedEvent(params: ReadEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceEventsV1beta1NamespacedEvent(params: ReplaceEventsV1beta1NamespacedEventRequest): Promise { + async replaceEventsV1beta1NamespacedEvent(params: ReplaceEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteEventsV1beta1NamespacedEvent(params: DeleteEventsV1beta1NamespacedEventRequest): Promise { + async deleteEventsV1beta1NamespacedEvent(params: DeleteEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchEventsV1beta1NamespacedEvent(params: PatchEventsV1beta1NamespacedEventRequest): Promise { + async patchEventsV1beta1NamespacedEvent(params: PatchEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchEventsV1beta1EventListForAllNamespaces(params: WatchEventsV1beta1EventListForAllNamespacesRequest): Promise { + async watchEventsV1beta1EventListForAllNamespaces(params: WatchEventsV1beta1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/watch/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1beta1NamespacedEventList(params: WatchEventsV1beta1NamespacedEventListRequest): Promise { + async watchEventsV1beta1NamespacedEventList(params: WatchEventsV1beta1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/watch/namespaces/\${params.namespace}/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1beta1NamespacedEvent(params: WatchEventsV1beta1NamespacedEventRequest): Promise { + async watchEventsV1beta1NamespacedEvent(params: WatchEventsV1beta1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1beta1/watch/namespaces/\${params.namespace}/events/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest): Promise { + async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getFlowcontrolApiserverV1beta1APIResources(params: GetFlowcontrolApiserverV1beta1APIResourcesRequest): Promise { + async getFlowcontrolApiserverV1beta1APIResources(params: GetFlowcontrolApiserverV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listFlowcontrolApiserverV1beta1FlowSchema(params: ListFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async listFlowcontrolApiserverV1beta1FlowSchema(params: ListFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createFlowcontrolApiserverV1beta1FlowSchema(params: CreateFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async createFlowcontrolApiserverV1beta1FlowSchema(params: CreateFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteFlowcontrolApiserverV1beta1CollectionFlowSchema(params: DeleteFlowcontrolApiserverV1beta1CollectionFlowSchemaRequest): Promise { + async deleteFlowcontrolApiserverV1beta1CollectionFlowSchema(params: DeleteFlowcontrolApiserverV1beta1CollectionFlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readFlowcontrolApiserverV1beta1FlowSchema(params: ReadFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async readFlowcontrolApiserverV1beta1FlowSchema(params: ReadFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceFlowcontrolApiserverV1beta1FlowSchema(params: ReplaceFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async replaceFlowcontrolApiserverV1beta1FlowSchema(params: ReplaceFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteFlowcontrolApiserverV1beta1FlowSchema(params: DeleteFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async deleteFlowcontrolApiserverV1beta1FlowSchema(params: DeleteFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchFlowcontrolApiserverV1beta1FlowSchema(params: PatchFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async patchFlowcontrolApiserverV1beta1FlowSchema(params: PatchFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readFlowcontrolApiserverV1beta1FlowSchemaStatus(params: ReadFlowcontrolApiserverV1beta1FlowSchemaStatusRequest): Promise { + async readFlowcontrolApiserverV1beta1FlowSchemaStatus(params: ReadFlowcontrolApiserverV1beta1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceFlowcontrolApiserverV1beta1FlowSchemaStatus(params: ReplaceFlowcontrolApiserverV1beta1FlowSchemaStatusRequest): Promise { + async replaceFlowcontrolApiserverV1beta1FlowSchemaStatus(params: ReplaceFlowcontrolApiserverV1beta1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchFlowcontrolApiserverV1beta1FlowSchemaStatus(params: PatchFlowcontrolApiserverV1beta1FlowSchemaStatusRequest): Promise { + async patchFlowcontrolApiserverV1beta1FlowSchemaStatus(params: PatchFlowcontrolApiserverV1beta1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ListFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async listFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ListFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: CreateFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async createFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: CreateFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteFlowcontrolApiserverV1beta1CollectionPriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1beta1CollectionPriorityLevelConfigurationRequest): Promise { + async deleteFlowcontrolApiserverV1beta1CollectionPriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1beta1CollectionPriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async readFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ReplaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async replaceFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: ReplaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async deleteFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: PatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async patchFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: PatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: ReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest): Promise { + async readFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: ReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: ReplaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest): Promise { + async replaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: ReplaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: PatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest): Promise { + async patchFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus(params: PatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchFlowcontrolApiserverV1beta1FlowSchemaList(params: WatchFlowcontrolApiserverV1beta1FlowSchemaListRequest): Promise { + async watchFlowcontrolApiserverV1beta1FlowSchemaList(params: WatchFlowcontrolApiserverV1beta1FlowSchemaListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/flowschemas\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchFlowcontrolApiserverV1beta1FlowSchema(params: WatchFlowcontrolApiserverV1beta1FlowSchemaRequest): Promise { + async watchFlowcontrolApiserverV1beta1FlowSchema(params: WatchFlowcontrolApiserverV1beta1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/flowschemas/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchFlowcontrolApiserverV1beta1PriorityLevelConfigurationList(params: WatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationListRequest): Promise { + async watchFlowcontrolApiserverV1beta1PriorityLevelConfigurationList(params: WatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/prioritylevelconfigurations\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: WatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest): Promise { + async watchFlowcontrolApiserverV1beta1PriorityLevelConfiguration(params: WatchFlowcontrolApiserverV1beta1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/prioritylevelconfigurations/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest): Promise { + async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest): Promise { + async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest): Promise { + async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest): Promise { + async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest): Promise { + async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest): Promise { + async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest): Promise { + async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest): Promise { + async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest): Promise { + async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest): Promise { + async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingresses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest): Promise { + async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest): Promise { + async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest): Promise { + async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest): Promise { + async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest): Promise { + async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest): Promise { + async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest): Promise { + async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest): Promise { + async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest): Promise { + async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest): Promise { + async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest): Promise { + async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest): Promise { + async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/networkpolicies\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest): Promise { + async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/ingressclasses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest): Promise { + async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/ingressclasses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest): Promise { + async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/ingresses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest): Promise { + async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.namespace}/ingresses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest): Promise { + async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.namespace}/ingresses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest): Promise { + async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.namespace}/networkpolicies\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.namespace}/networkpolicies/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest): Promise { + async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/networkpolicies\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNodeAPIGroup(params: GetNodeAPIGroupRequest): Promise { + async getNodeAPIGroup(params: GetNodeAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest): Promise { + async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest): Promise { + async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest): Promise { + async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest): Promise { + async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest): Promise { + async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest): Promise { + async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest): Promise { + async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest): Promise { + async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest): Promise { + async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/watch/runtimeclasses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest): Promise { + async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/watch/runtimeclasses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNodeV1beta1APIResources(params: GetNodeV1beta1APIResourcesRequest): Promise { + async getNodeV1beta1APIResources(params: GetNodeV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1beta1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNodeV1beta1RuntimeClass(params: ListNodeV1beta1RuntimeClassRequest): Promise { + async listNodeV1beta1RuntimeClass(params: ListNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1beta1/runtimeclasses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNodeV1beta1RuntimeClass(params: CreateNodeV1beta1RuntimeClassRequest): Promise { + async createNodeV1beta1RuntimeClass(params: CreateNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1beta1/runtimeclasses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNodeV1beta1CollectionRuntimeClass(params: DeleteNodeV1beta1CollectionRuntimeClassRequest): Promise { + async deleteNodeV1beta1CollectionRuntimeClass(params: DeleteNodeV1beta1CollectionRuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1beta1/runtimeclasses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNodeV1beta1RuntimeClass(params: ReadNodeV1beta1RuntimeClassRequest): Promise { + async readNodeV1beta1RuntimeClass(params: ReadNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1beta1/runtimeclasses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNodeV1beta1RuntimeClass(params: ReplaceNodeV1beta1RuntimeClassRequest): Promise { + async replaceNodeV1beta1RuntimeClass(params: ReplaceNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1beta1/runtimeclasses/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNodeV1beta1RuntimeClass(params: DeleteNodeV1beta1RuntimeClassRequest): Promise { + async deleteNodeV1beta1RuntimeClass(params: DeleteNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1beta1/runtimeclasses/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNodeV1beta1RuntimeClass(params: PatchNodeV1beta1RuntimeClassRequest): Promise { + async patchNodeV1beta1RuntimeClass(params: PatchNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1beta1/runtimeclasses/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchNodeV1beta1RuntimeClassList(params: WatchNodeV1beta1RuntimeClassListRequest): Promise { + async watchNodeV1beta1RuntimeClassList(params: WatchNodeV1beta1RuntimeClassListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1beta1/watch/runtimeclasses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNodeV1beta1RuntimeClass(params: WatchNodeV1beta1RuntimeClassRequest): Promise { + async watchNodeV1beta1RuntimeClass(params: WatchNodeV1beta1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1beta1/watch/runtimeclasses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest): Promise { + async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest): Promise { + async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest): Promise { + async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest): Promise { + async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/watch/namespaces/\${params.namespace}/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/watch/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest): Promise { + async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/watch/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getPolicyV1beta1APIResources(params: GetPolicyV1beta1APIResourcesRequest): Promise { + async getPolicyV1beta1APIResources(params: GetPolicyV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listPolicyV1beta1NamespacedPodDisruptionBudget(params: ListPolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async listPolicyV1beta1NamespacedPodDisruptionBudget(params: ListPolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/namespaces/\${params.namespace}/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createPolicyV1beta1NamespacedPodDisruptionBudget(params: CreatePolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async createPolicyV1beta1NamespacedPodDisruptionBudget(params: CreatePolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/namespaces/\${params.namespace}/poddisruptionbudgets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1beta1CollectionNamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1beta1CollectionNamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/namespaces/\${params.namespace}/poddisruptionbudgets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readPolicyV1beta1NamespacedPodDisruptionBudget(params: ReadPolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async readPolicyV1beta1NamespacedPodDisruptionBudget(params: ReadPolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1beta1NamespacedPodDisruptionBudget(params: ReplacePolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async replacePolicyV1beta1NamespacedPodDisruptionBudget(params: ReplacePolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deletePolicyV1beta1NamespacedPodDisruptionBudget(params: DeletePolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1beta1NamespacedPodDisruptionBudget(params: DeletePolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchPolicyV1beta1NamespacedPodDisruptionBudget(params: PatchPolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async patchPolicyV1beta1NamespacedPodDisruptionBudget(params: PatchPolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async readPolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1beta1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1beta1PodDisruptionBudgetForAllNamespacesRequest): Promise { + async listPolicyV1beta1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1beta1PodDisruptionBudgetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listPolicyV1beta1PodSecurityPolicy(params: ListPolicyV1beta1PodSecurityPolicyRequest): Promise { + async listPolicyV1beta1PodSecurityPolicy(params: ListPolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/podsecuritypolicies\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createPolicyV1beta1PodSecurityPolicy(params: CreatePolicyV1beta1PodSecurityPolicyRequest): Promise { + async createPolicyV1beta1PodSecurityPolicy(params: CreatePolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/podsecuritypolicies\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deletePolicyV1beta1CollectionPodSecurityPolicy(params: DeletePolicyV1beta1CollectionPodSecurityPolicyRequest): Promise { + async deletePolicyV1beta1CollectionPodSecurityPolicy(params: DeletePolicyV1beta1CollectionPodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/podsecuritypolicies\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readPolicyV1beta1PodSecurityPolicy(params: ReadPolicyV1beta1PodSecurityPolicyRequest): Promise { + async readPolicyV1beta1PodSecurityPolicy(params: ReadPolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/podsecuritypolicies/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1beta1PodSecurityPolicy(params: ReplacePolicyV1beta1PodSecurityPolicyRequest): Promise { + async replacePolicyV1beta1PodSecurityPolicy(params: ReplacePolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/podsecuritypolicies/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deletePolicyV1beta1PodSecurityPolicy(params: DeletePolicyV1beta1PodSecurityPolicyRequest): Promise { + async deletePolicyV1beta1PodSecurityPolicy(params: DeletePolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/podsecuritypolicies/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchPolicyV1beta1PodSecurityPolicy(params: PatchPolicyV1beta1PodSecurityPolicyRequest): Promise { + async patchPolicyV1beta1PodSecurityPolicy(params: PatchPolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/podsecuritypolicies/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchPolicyV1beta1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1beta1NamespacedPodDisruptionBudgetListRequest): Promise { + async watchPolicyV1beta1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1beta1NamespacedPodDisruptionBudgetListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/watch/namespaces/\${params.namespace}/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1beta1NamespacedPodDisruptionBudget(params: WatchPolicyV1beta1NamespacedPodDisruptionBudgetRequest): Promise { + async watchPolicyV1beta1NamespacedPodDisruptionBudget(params: WatchPolicyV1beta1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/watch/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1beta1PodDisruptionBudgetListForAllNamespacesRequest): Promise { + async watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1beta1PodDisruptionBudgetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/watch/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1beta1PodSecurityPolicyList(params: WatchPolicyV1beta1PodSecurityPolicyListRequest): Promise { + async watchPolicyV1beta1PodSecurityPolicyList(params: WatchPolicyV1beta1PodSecurityPolicyListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/watch/podsecuritypolicies\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1beta1PodSecurityPolicy(params: WatchPolicyV1beta1PodSecurityPolicyRequest): Promise { + async watchPolicyV1beta1PodSecurityPolicy(params: WatchPolicyV1beta1PodSecurityPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1beta1/watch/podsecuritypolicies/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest): Promise { + async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest): Promise { + async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest): Promise { + async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest): Promise { + async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest): Promise { + async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest): Promise { + async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest): Promise { + async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest): Promise { + async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest): Promise { + async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest): Promise { + async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest): Promise { + async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest): Promise { + async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest): Promise { + async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest): Promise { + async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest): Promise { + async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest): Promise { + async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest): Promise { + async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/rolebindings\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest): Promise { + async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/roles\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterroles\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest): Promise { + async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.namespace}/rolebindings\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.namespace}/rolebindings/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.namespace}/roles\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest): Promise { + async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.namespace}/roles/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest): Promise { + async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/rolebindings\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest): Promise { + async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/roles\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest): Promise { + async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest): Promise { + async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest): Promise { + async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest): Promise { + async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest): Promise { + async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest): Promise { + async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest): Promise { + async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest): Promise { + async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest): Promise { + async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest): Promise { + async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/watch/priorityclasses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest): Promise { + async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/watch/priorityclasses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getStorageAPIGroup(params: GetStorageAPIGroupRequest): Promise { + async getStorageAPIGroup(params: GetStorageAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest): Promise { + async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest): Promise { + async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest): Promise { + async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest): Promise { + async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest): Promise { + async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest): Promise { + async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest): Promise { + async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest): Promise { + async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1CSINode(params: ListStorageV1CSINodeRequest): Promise { + async listStorageV1CSINode(params: ListStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest): Promise { + async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest): Promise { + async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest): Promise { + async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest): Promise { + async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest): Promise { + async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest): Promise { + async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest): Promise { + async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest): Promise { + async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest): Promise { + async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest): Promise { + async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest): Promise { + async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest): Promise { + async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest): Promise { + async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest): Promise { + async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest): Promise { + async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest): Promise { + async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest): Promise { + async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest): Promise { + async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest): Promise { + async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest): Promise { + async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest): Promise { + async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest): Promise { + async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest): Promise { + async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest): Promise { + async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/csidrivers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest): Promise { + async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/csidrivers/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest): Promise { + async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/csinodes\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest): Promise { + async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/csinodes/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest): Promise { + async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/storageclasses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest): Promise { + async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/storageclasses/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest): Promise { + async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/volumeattachments\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest): Promise { + async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/volumeattachments/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getStorageV1beta1APIResources(params: GetStorageV1beta1APIResourcesRequest): Promise { + async getStorageV1beta1APIResources(params: GetStorageV1beta1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listStorageV1beta1CSIStorageCapacityForAllNamespaces(params: ListStorageV1beta1CSIStorageCapacityForAllNamespacesRequest): Promise { + async listStorageV1beta1CSIStorageCapacityForAllNamespaces(params: ListStorageV1beta1CSIStorageCapacityForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/csistoragecapacities\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listStorageV1beta1NamespacedCSIStorageCapacity(params: ListStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async listStorageV1beta1NamespacedCSIStorageCapacity(params: ListStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/namespaces/\${params.namespace}/csistoragecapacities\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1beta1NamespacedCSIStorageCapacity(params: CreateStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async createStorageV1beta1NamespacedCSIStorageCapacity(params: CreateStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/namespaces/\${params.namespace}/csistoragecapacities\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1beta1CollectionNamespacedCSIStorageCapacity(params: DeleteStorageV1beta1CollectionNamespacedCSIStorageCapacityRequest): Promise { + async deleteStorageV1beta1CollectionNamespacedCSIStorageCapacity(params: DeleteStorageV1beta1CollectionNamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/namespaces/\${params.namespace}/csistoragecapacities\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1beta1NamespacedCSIStorageCapacity(params: ReadStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async readStorageV1beta1NamespacedCSIStorageCapacity(params: ReadStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/namespaces/\${params.namespace}/csistoragecapacities/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1beta1NamespacedCSIStorageCapacity(params: ReplaceStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async replaceStorageV1beta1NamespacedCSIStorageCapacity(params: ReplaceStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/namespaces/\${params.namespace}/csistoragecapacities/\${params.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1beta1NamespacedCSIStorageCapacity(params: DeleteStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async deleteStorageV1beta1NamespacedCSIStorageCapacity(params: DeleteStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/namespaces/\${params.namespace}/csistoragecapacities/\${params.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1beta1NamespacedCSIStorageCapacity(params: PatchStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async patchStorageV1beta1NamespacedCSIStorageCapacity(params: PatchStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/namespaces/\${params.namespace}/csistoragecapacities/\${params.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchStorageV1beta1CSIStorageCapacityListForAllNamespaces(params: WatchStorageV1beta1CSIStorageCapacityListForAllNamespacesRequest): Promise { + async watchStorageV1beta1CSIStorageCapacityListForAllNamespaces(params: WatchStorageV1beta1CSIStorageCapacityListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/watch/csistoragecapacities\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1beta1NamespacedCSIStorageCapacityList(params: WatchStorageV1beta1NamespacedCSIStorageCapacityListRequest): Promise { + async watchStorageV1beta1NamespacedCSIStorageCapacityList(params: WatchStorageV1beta1NamespacedCSIStorageCapacityListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/watch/namespaces/\${params.namespace}/csistoragecapacities\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1beta1NamespacedCSIStorageCapacity(params: WatchStorageV1beta1NamespacedCSIStorageCapacityRequest): Promise { + async watchStorageV1beta1NamespacedCSIStorageCapacity(params: WatchStorageV1beta1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1beta1/watch/namespaces/\${params.namespace}/csistoragecapacities/\${params.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async logFileListHandler(params: LogFileListHandlerRequest): Promise { + async logFileListHandler(params: LogFileListHandlerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/logs/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async logFileHandler(params: LogFileHandlerRequest): Promise { + async logFileHandler(params: LogFileHandlerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/logs/\${params.logpath}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest): Promise { + async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/openid/v1/jwks/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCodeVersion(params: GetCodeVersionRequest): Promise { + async getCodeVersion(params: GetCodeVersionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/version/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } }" `; exports[`swagger 1`] = ` -"import { APIClient } from "@interweb/fetch-api-client"; +"import { APIClient, APIClientRequestOpts } from "@interweb/fetch-api-client"; /* io.k8s.api.admissionregistration.v1.MutatingWebhook */ /* MutatingWebhook describes an admission webhook and the resources and operations it applies to. */ export interface MutatingWebhook { @@ -24946,2593 +24946,2593 @@ export class KubernetesClient extends APIClient { const path = "/openapi/v2"; return this.get(path); } - async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest): Promise { + async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/.well-known/openid-configuration/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoreAPIVersions(params: GetCoreAPIVersionsRequest): Promise { + async getCoreAPIVersions(params: GetCoreAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest): Promise { + async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest): Promise { + async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/componentstatuses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest): Promise { + async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/componentstatuses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest): Promise { + async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/configmaps\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest): Promise { + async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/endpoints\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest): Promise { + async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest): Promise { + async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/limitranges\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1Namespace(params: ListCoreV1NamespaceRequest): Promise { + async listCoreV1Namespace(params: ListCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest): Promise { + async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest): Promise { + async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/bindings\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest): Promise { + async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest): Promise { + async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest): Promise { + async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest): Promise { + async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest): Promise { + async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest): Promise { + async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest): Promise { + async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest): Promise { + async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest): Promise { + async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest): Promise { + async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest): Promise { + async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest): Promise { + async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest): Promise { + async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest): Promise { + async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest): Promise { + async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/events\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest): Promise { + async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/events\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest): Promise { + async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/events\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest): Promise { + async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest): Promise { + async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest): Promise { + async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest): Promise { + async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest): Promise { + async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest): Promise { + async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest): Promise { + async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest): Promise { + async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest): Promise { + async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest): Promise { + async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest): Promise { + async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest): Promise { + async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest): Promise { + async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest): Promise { + async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest): Promise { + async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest): Promise { + async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest): Promise { + async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest): Promise { + async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest): Promise { + async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest): Promise { + async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest): Promise { + async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/attach\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest): Promise { + async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/attach\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest): Promise { + async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/binding\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest): Promise { + async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/eviction\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest): Promise { + async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/exec\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest): Promise { + async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/exec\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest): Promise { + async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/log\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest): Promise { + async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/portforward\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest): Promise { + async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/portforward\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest): Promise { + async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest): Promise { + async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest): Promise { + async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest): Promise { + async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest): Promise { + async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest): Promise { + async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest): Promise { + async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest): Promise { + async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest): Promise { + async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest): Promise { + async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest): Promise { + async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest): Promise { + async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest): Promise { + async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest): Promise { + async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest): Promise { + async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest): Promise { + async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest): Promise { + async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest): Promise { + async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest): Promise { + async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest): Promise { + async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest): Promise { + async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest): Promise { + async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest): Promise { + async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/scale\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/scale\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest): Promise { + async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/scale\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest): Promise { + async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest): Promise { + async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest): Promise { + async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest): Promise { + async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest): Promise { + async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest): Promise { + async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest): Promise { + async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest): Promise { + async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest): Promise { + async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest): Promise { + async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest): Promise { + async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest): Promise { + async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest): Promise { + async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest): Promise { + async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest): Promise { + async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest): Promise { + async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest): Promise { + async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest): Promise { + async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest): Promise { + async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest): Promise { + async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest): Promise { + async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest): Promise { + async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest): Promise { + async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest): Promise { + async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}/token\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest): Promise { + async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest): Promise { + async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest): Promise { + async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest): Promise { + async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest): Promise { + async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest): Promise { + async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest): Promise { + async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest): Promise { + async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest): Promise { + async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest): Promise { + async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest): Promise { + async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest): Promise { + async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest): Promise { + async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest): Promise { + async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest): Promise { + async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest): Promise { + async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest): Promise { + async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest): Promise { + async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest): Promise { + async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest): Promise { + async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.name}/finalize\`; - return await this.put(path, params.body); + return await this.put(path, null, params.body, opts); } - async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest): Promise { + async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest): Promise { + async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest): Promise { + async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/namespaces/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1Node(params: ListCoreV1NodeRequest): Promise { + async listCoreV1Node(params: ListCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1Node(params: CreateCoreV1NodeRequest): Promise { + async createCoreV1Node(params: CreateCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest): Promise { + async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1Node(params: ReadCoreV1NodeRequest): Promise { + async readCoreV1Node(params: ReadCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest): Promise { + async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1Node(params: DeleteCoreV1NodeRequest): Promise { + async deleteCoreV1Node(params: DeleteCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1Node(params: PatchCoreV1NodeRequest): Promise { + async patchCoreV1Node(params: PatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest): Promise { + async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/proxy\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest): Promise { + async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/proxy\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest): Promise { + async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/proxy\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest): Promise { + async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/proxy\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest): Promise { + async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/proxy\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest): Promise { + async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest): Promise { + async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.post(path, params.body); + return await this.post(path, null, null, opts); } - async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest): Promise { + async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.put(path, params.body); + return await this.put(path, null, null, opts); } - async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest): Promise { + async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.delete(path); + return await this.delete(path, null, null, opts); } - async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest): Promise { + async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/proxy/\${params.path.path}\`; - return await this.patch(path, params.body); + return await this.patch(path, null, null, opts); } - async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest): Promise { + async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest): Promise { + async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest): Promise { + async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/nodes/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest): Promise { + async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumeclaims\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest): Promise { + async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest): Promise { + async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest): Promise { + async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest): Promise { + async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest): Promise { + async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest): Promise { + async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest): Promise { + async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest): Promise { + async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest): Promise { + async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest): Promise { + async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/persistentvolumes/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async getPods(params: ListCoreV1PodForAllNamespacesRequest): Promise { + async getPods(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/pods\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listPods(params: ListCoreV1PodForAllNamespacesRequest): Promise { + async listPods(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/pods\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest): Promise { + async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/podtemplates\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest): Promise { + async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/replicationcontrollers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest): Promise { + async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/resourcequotas\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest): Promise { + async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/secrets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest): Promise { + async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/serviceaccounts\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest): Promise { + async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/services\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest): Promise { + async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/configmaps\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest): Promise { + async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/endpoints\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest): Promise { + async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest): Promise { + async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/limitranges\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest): Promise { + async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest): Promise { + async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/configmaps\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest): Promise { + async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/configmaps/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest): Promise { + async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/endpoints\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest): Promise { + async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/endpoints/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest): Promise { + async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest): Promise { + async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest): Promise { + async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/limitranges\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest): Promise { + async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/limitranges/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest): Promise { + async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/persistentvolumeclaims\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest): Promise { + async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest): Promise { + async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/pods\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest): Promise { + async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/pods/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest): Promise { + async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/podtemplates\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest): Promise { + async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/podtemplates/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest): Promise { + async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/replicationcontrollers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest): Promise { + async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest): Promise { + async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/resourcequotas\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest): Promise { + async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest): Promise { + async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/secrets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest): Promise { + async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/secrets/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest): Promise { + async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/serviceaccounts\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest): Promise { + async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest): Promise { + async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/services\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest): Promise { + async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest): Promise { + async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/namespaces/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest): Promise { + async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/nodes\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1Node(params: WatchCoreV1NodeRequest): Promise { + async watchCoreV1Node(params: WatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/nodes/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest): Promise { + async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/persistentvolumeclaims\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest): Promise { + async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/persistentvolumes\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest): Promise { + async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/persistentvolumes/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest): Promise { + async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/pods\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest): Promise { + async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/podtemplates\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest): Promise { + async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/replicationcontrollers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest): Promise { + async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/resourcequotas\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest): Promise { + async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/secrets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest): Promise { + async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/serviceaccounts\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest): Promise { + async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/api/v1/watch/services\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAPIVersions(params: GetAPIVersionsRequest): Promise { + async getAPIVersions(params: GetAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest): Promise { + async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest): Promise { + async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest): Promise { + async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest): Promise { + async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest): Promise { + async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest): Promise { + async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest): Promise { + async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest): Promise { + async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest): Promise { + async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest): Promise { + async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest): Promise { + async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest): Promise { + async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest): Promise { + async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest): Promise { + async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest): Promise { + async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest): Promise { + async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest): Promise { + async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest): Promise { + async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest): Promise { + async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest): Promise { + async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest): Promise { + async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest): Promise { + async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest): Promise { + async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest): Promise { + async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest): Promise { + async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest): Promise { + async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest): Promise { + async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest): Promise { + async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest): Promise { + async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest): Promise { + async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest): Promise { + async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/watch/apiservices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest): Promise { + async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apiregistration.k8s.io/v1/watch/apiservices/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAppsAPIGroup(params: GetAppsAPIGroupRequest): Promise { + async getAppsAPIGroup(params: GetAppsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest): Promise { + async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest): Promise { + async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/controllerrevisions\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest): Promise { + async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/daemonsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest): Promise { + async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/deployments\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest): Promise { + async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest): Promise { + async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest): Promise { + async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest): Promise { + async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest): Promise { + async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest): Promise { + async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest): Promise { + async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest): Promise { + async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest): Promise { + async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest): Promise { + async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest): Promise { + async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest): Promise { + async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest): Promise { + async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest): Promise { + async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest): Promise { + async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest): Promise { + async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest): Promise { + async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest): Promise { + async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest): Promise { + async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest): Promise { + async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest): Promise { + async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest): Promise { + async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest): Promise { + async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest): Promise { + async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest): Promise { + async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/scale\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest): Promise { + async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/scale\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest): Promise { + async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/scale\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest): Promise { + async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest): Promise { + async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest): Promise { + async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest): Promise { + async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest): Promise { + async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest): Promise { + async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest): Promise { + async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest): Promise { + async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest): Promise { + async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest): Promise { + async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest): Promise { + async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/scale\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest): Promise { + async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/scale\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest): Promise { + async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/scale\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest): Promise { + async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest): Promise { + async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest): Promise { + async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest): Promise { + async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest): Promise { + async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest): Promise { + async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest): Promise { + async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest): Promise { + async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest): Promise { + async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest): Promise { + async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest): Promise { + async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/scale\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest): Promise { + async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/scale\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest): Promise { + async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/scale\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest): Promise { + async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest): Promise { + async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest): Promise { + async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest): Promise { + async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/replicasets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest): Promise { + async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/statefulsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest): Promise { + async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/controllerrevisions\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest): Promise { + async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/daemonsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest): Promise { + async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/deployments\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest): Promise { + async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/controllerrevisions\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest): Promise { + async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/controllerrevisions/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest): Promise { + async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/daemonsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest): Promise { + async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest): Promise { + async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/deployments\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest): Promise { + async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/deployments/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest): Promise { + async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/replicasets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest): Promise { + async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest): Promise { + async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/statefulsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest): Promise { + async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest): Promise { + async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/replicasets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest): Promise { + async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/apps/v1/watch/statefulsets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest): Promise { + async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authentication.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest): Promise { + async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authentication.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest): Promise { + async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authentication.k8s.io/v1/tokenreviews\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest): Promise { + async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest): Promise { + async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest): Promise { + async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/v1/namespaces/\${params.path.namespace}/localsubjectaccessreviews\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest): Promise { + async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/v1/selfsubjectaccessreviews\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest): Promise { + async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/v1/selfsubjectrulesreviews\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest): Promise { + async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/authorization.k8s.io/v1/subjectaccessreviews\`; - return await this.post(path, params.body); + return await this.post(path, null, params.body, opts); } - async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest): Promise { + async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest): Promise { + async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest): Promise { + async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest): Promise { + async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/watch/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest): Promise { + async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/watch/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest): Promise { + async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v1/watch/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getAutoscalingV2beta2APIResources(params: GetAutoscalingV2beta2APIResourcesRequest): Promise { + async getAutoscalingV2beta2APIResources(params: GetAutoscalingV2beta2APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespacesRequest): Promise { + async listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest): Promise { + async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespacesRequest): Promise { + async watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerListRequest): Promise { + async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/watch/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest): Promise { + async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/autoscaling/v2beta2/watch/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getBatchAPIGroup(params: GetBatchAPIGroupRequest): Promise { + async getBatchAPIGroup(params: GetBatchAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest): Promise { + async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest): Promise { + async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/cronjobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest): Promise { + async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/jobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest): Promise { + async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest): Promise { + async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest): Promise { + async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest): Promise { + async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest): Promise { + async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest): Promise { + async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest): Promise { + async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest): Promise { + async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest): Promise { + async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest): Promise { + async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest): Promise { + async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest): Promise { + async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest): Promise { + async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest): Promise { + async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest): Promise { + async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest): Promise { + async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest): Promise { + async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest): Promise { + async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest): Promise { + async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest): Promise { + async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest): Promise { + async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/cronjobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest): Promise { + async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/jobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest): Promise { + async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/namespaces/\${params.path.namespace}/cronjobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest): Promise { + async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest): Promise { + async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/namespaces/\${params.path.namespace}/jobs\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest): Promise { + async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/batch/v1/watch/namespaces/\${params.path.namespace}/jobs/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest): Promise { + async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest): Promise { + async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest): Promise { + async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest): Promise { + async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest): Promise { + async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest): Promise { + async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest): Promise { + async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest): Promise { + async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest): Promise { + async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/approval\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/approval\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest): Promise { + async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/approval\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest): Promise { + async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest): Promise { + async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/watch/certificatesigningrequests\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest): Promise { + async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest): Promise { + async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest): Promise { + async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest): Promise { + async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/leases\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest): Promise { + async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest): Promise { + async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest): Promise { + async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest): Promise { + async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest): Promise { + async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest): Promise { + async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest): Promise { + async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest): Promise { + async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/watch/leases\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest): Promise { + async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/watch/namespaces/\${params.path.namespace}/leases\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest): Promise { + async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/coordination.k8s.io/v1/watch/namespaces/\${params.path.namespace}/leases/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest): Promise { + async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest): Promise { + async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest): Promise { + async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/endpointslices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest): Promise { + async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/watch/endpointslices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest): Promise { + async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/watch/namespaces/\${params.path.namespace}/endpointslices\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest): Promise { + async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/discovery.k8s.io/v1/watch/namespaces/\${params.path.namespace}/endpointslices/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getEventsAPIGroup(params: GetEventsAPIGroupRequest): Promise { + async getEventsAPIGroup(params: GetEventsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest): Promise { + async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest): Promise { + async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest): Promise { + async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest): Promise { + async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest): Promise { + async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest): Promise { + async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest): Promise { + async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest): Promise { + async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest): Promise { + async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest): Promise { + async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/watch/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest): Promise { + async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/watch/namespaces/\${params.path.namespace}/events\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest): Promise { + async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/events.k8s.io/v1/watch/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest): Promise { + async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/flowcontrol.apiserver.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest): Promise { + async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest): Promise { + async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest): Promise { + async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest): Promise { + async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest): Promise { + async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest): Promise { + async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest): Promise { + async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest): Promise { + async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest): Promise { + async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest): Promise { + async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/ingresses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest): Promise { + async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest): Promise { + async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest): Promise { + async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest): Promise { + async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest): Promise { + async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest): Promise { + async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest): Promise { + async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest): Promise { + async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest): Promise { + async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest): Promise { + async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest): Promise { + async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest): Promise { + async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/networkpolicies\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest): Promise { + async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/ingressclasses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest): Promise { + async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/ingressclasses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest): Promise { + async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/ingresses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest): Promise { + async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.path.namespace}/ingresses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest): Promise { + async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest): Promise { + async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.path.namespace}/networkpolicies\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest): Promise { + async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.path.namespace}/networkpolicies/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest): Promise { + async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/networking.k8s.io/v1/watch/networkpolicies\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNodeAPIGroup(params: GetNodeAPIGroupRequest): Promise { + async getNodeAPIGroup(params: GetNodeAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest): Promise { + async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest): Promise { + async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest): Promise { + async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest): Promise { + async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest): Promise { + async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest): Promise { + async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest): Promise { + async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest): Promise { + async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest): Promise { + async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/watch/runtimeclasses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest): Promise { + async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/node.k8s.io/v1/watch/runtimeclasses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest): Promise { + async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest): Promise { + async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest): Promise { + async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest): Promise { + async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest): Promise { + async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/watch/namespaces/\${params.path.namespace}/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest): Promise { + async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/watch/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest): Promise { + async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/policy/v1/watch/poddisruptionbudgets\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest): Promise { + async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest): Promise { + async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest): Promise { + async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest): Promise { + async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest): Promise { + async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest): Promise { + async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest): Promise { + async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest): Promise { + async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest): Promise { + async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest): Promise { + async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest): Promise { + async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest): Promise { + async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest): Promise { + async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest): Promise { + async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest): Promise { + async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest): Promise { + async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest): Promise { + async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/rolebindings\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest): Promise { + async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/roles\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest): Promise { + async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterroles\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest): Promise { + async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.path.namespace}/rolebindings\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.path.namespace}/rolebindings/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest): Promise { + async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.path.namespace}/roles\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest): Promise { + async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.path.namespace}/roles/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest): Promise { + async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/rolebindings\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest): Promise { + async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/rbac.authorization.k8s.io/v1/watch/roles\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest): Promise { + async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest): Promise { + async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest): Promise { + async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest): Promise { + async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest): Promise { + async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest): Promise { + async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest): Promise { + async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest): Promise { + async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest): Promise { + async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest): Promise { + async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/watch/priorityclasses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest): Promise { + async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/scheduling.k8s.io/v1/watch/priorityclasses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getStorageAPIGroup(params: GetStorageAPIGroupRequest): Promise { + async getStorageAPIGroup(params: GetStorageAPIGroupRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest): Promise { + async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest): Promise { + async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest): Promise { + async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest): Promise { + async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest): Promise { + async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest): Promise { + async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest): Promise { + async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest): Promise { + async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1CSINode(params: ListStorageV1CSINodeRequest): Promise { + async listStorageV1CSINode(params: ListStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest): Promise { + async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest): Promise { + async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest): Promise { + async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest): Promise { + async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest): Promise { + async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest): Promise { + async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest): Promise { + async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest): Promise { + async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest): Promise { + async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest): Promise { + async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest): Promise { + async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest): Promise { + async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest): Promise { + async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest): Promise { + async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; - return await this.get(path); + return await this.get(path, params.query, null, opts); } - async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest): Promise { + async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; - return await this.post(path, params.body); + return await this.post(path, params.query, params.body, opts); } - async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest): Promise { + async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest): Promise { + async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest): Promise { + async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest): Promise { + async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}\`; - return await this.delete(path); + return await this.delete(path, params.query, params.body, opts); } - async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest): Promise { + async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest): Promise { + async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}/status\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest): Promise { + async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}/status\`; - return await this.put(path, params.body); + return await this.put(path, params.query, params.body, opts); } - async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest): Promise { + async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}/status\`; - return await this.patch(path, params.body); + return await this.patch(path, params.query, params.body, opts); } - async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest): Promise { + async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/csidrivers\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest): Promise { + async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/csidrivers/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest): Promise { + async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/csinodes\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest): Promise { + async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/csinodes/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest): Promise { + async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/storageclasses\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest): Promise { + async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/storageclasses/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest): Promise { + async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/volumeattachments\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest): Promise { + async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { const path = \`/apis/storage.k8s.io/v1/watch/volumeattachments/\${params.path.name}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async logFileListHandler(params: LogFileListHandlerRequest): Promise { + async logFileListHandler(params: LogFileListHandlerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/logs/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async logFileHandler(params: LogFileHandlerRequest): Promise { + async logFileHandler(params: LogFileHandlerRequest, opts?: APIClientRequestOpts): Promise { const path = \`/logs/\${params.path.logpath}\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest): Promise { + async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest, opts?: APIClientRequestOpts): Promise { const path = \`/openid/v1/jwks/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } - async getCodeVersion(params: GetCodeVersionRequest): Promise { + async getCodeVersion(params: GetCodeVersionRequest, opts?: APIClientRequestOpts): Promise { const path = \`/version/\`; - return await this.get(path); + return await this.get(path, null, null, opts); } }" `; diff --git a/packages/schema-sdk/package.json b/packages/schema-sdk/package.json index 0a3ad31..299590f 100644 --- a/packages/schema-sdk/package.json +++ b/packages/schema-sdk/package.json @@ -32,6 +32,7 @@ "@babel/generator": "^7.24.4", "@babel/types": "^7.24.0", "@interweb-utils/casing": "^0.2.0", + "@interweb/fetch-api-client": "^0.4.1", "deepmerge": "^4.3.1", "schema-typescript": "^0.9.0" }, diff --git a/packages/schema-sdk/src/openapi.ts b/packages/schema-sdk/src/openapi.ts index 6e13aa6..cba61ff 100644 --- a/packages/schema-sdk/src/openapi.ts +++ b/packages/schema-sdk/src/openapi.ts @@ -444,26 +444,45 @@ export const createOperation = ( method: string, alias?: string ): t.ClassMethod => { - const typeName = - getOperationTypeName(options, operation, method, path) + 'Request'; + const typeName = getOperationTypeName(options, operation, method, path) + 'Request'; const id = t.identifier('params'); id.typeAnnotation = t.tsTypeAnnotation( t.tsTypeReference(t.identifier(typeName)) ); - const params = [id]; + + const opts = t.identifier('opts'); + opts.optional = true; + opts.typeAnnotation = t.tsTypeAnnotation( + t.tsTypeReference(t.identifier('APIClientRequestOpts')) + ); + + const params = [ + id, + opts + ]; + + const hasBody = operation.parameters?.some( + (param) => param.in === 'body' || param.in === 'formData' + ); + + const hasQuery = operation.parameters?.some( + (param) => param.in === 'query' + ); const returnType = getOperationReturnType(options, operation, method); const methodName = getOperationMethodName(options, operation, method, path); const callMethod = t.callExpression( t.memberExpression(t.thisExpression(), t.identifier(method)), - ['post', 'put', 'patch', 'formData'].includes(method) - ? [ - t.identifier('path'), - t.memberExpression(t.identifier('params'), t.identifier('body')), - ] - : [t.identifier('path')] + [ + t.identifier('path'), + hasQuery ? t.memberExpression(t.identifier('params'), t.identifier('query')) : t.nullLiteral(), // The query parameter + hasBody ? t.memberExpression(t.identifier('params'), t.identifier('body')) : t.nullLiteral(), // The body parameter + t.identifier('opts') + ] + ); + callMethod.typeParameters = t.tsTypeParameterInstantiation([returnType]); const methodFunction = t.classMethod( @@ -513,6 +532,7 @@ export function generateMethods( const alias = options.operationNamingStrategy?.aliases?.[operation.operationId]; + if (alias) { methods.push( createOperation(options, operation, path, method, alias) @@ -606,6 +626,10 @@ export function generateOpenApiClient( t.identifier('APIClient'), t.identifier('APIClient') ), + t.importSpecifier( + t.identifier('APIClientRequestOpts'), + t.identifier('APIClientRequestOpts') + ), ], t.stringLiteral(options.npmApiClient) ),