diff --git a/kubernetes/.openapi-generator/swagger.json-default.sha256 b/kubernetes/.openapi-generator/swagger.json-default.sha256
index 4916ab4695..e224e5c989 100644
--- a/kubernetes/.openapi-generator/swagger.json-default.sha256
+++ b/kubernetes/.openapi-generator/swagger.json-default.sha256
@@ -1 +1 @@
-b41435edfacf2f648f065211836417b7ac128554c81938a2f41fa23f326b7cd3
\ No newline at end of file
+55bb6dc96902e8bb64d4518816cf258124f7232ddcfac6d7e4c023b6c95f0788
\ No newline at end of file
diff --git a/kubernetes/api/openapi.yaml b/kubernetes/api/openapi.yaml
index 8b811b3007..816fe9455a 100644
--- a/kubernetes/api/openapi.yaml
+++ b/kubernetes/api/openapi.yaml
@@ -72586,7 +72586,7 @@ paths:
- custom_objects
x-accepts:
- application/json
- /apis/{group}/{version}/{plural}#:
+ /apis/{group}/{version}/{resource_plural}:
get:
description: list or watch namespace scoped custom objects
operationId: listCustomObjectForAllNamespaces
@@ -72611,7 +72611,7 @@ paths:
- description: The custom resource's plural name. For TPRs this would be lowercase
plural kind.
in: path
- name: plural
+ name: resource_plural
required: true
schema:
type: string
@@ -73067,6 +73067,12 @@ paths:
name: dryRun
schema:
type: string
+ - description: A selector to restrict the list of returned objects by their
+ fields. Defaults to everything.
+ in: query
+ name: fieldSelector
+ schema:
+ type: string
requestBody:
content:
application/json:
diff --git a/kubernetes/docs/CustomObjectsApi.md b/kubernetes/docs/CustomObjectsApi.md
index 62a1182a0f..1c20a6f42b 100644
--- a/kubernetes/docs/CustomObjectsApi.md
+++ b/kubernetes/docs/CustomObjectsApi.md
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost*
| [**getNamespacedCustomObjectScale**](CustomObjectsApi.md#getNamespacedCustomObjectScale) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale | |
| [**getNamespacedCustomObjectStatus**](CustomObjectsApi.md#getNamespacedCustomObjectStatus) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status | |
| [**listClusterCustomObject**](CustomObjectsApi.md#listClusterCustomObject) | **GET** /apis/{group}/{version}/{plural} | |
-| [**listCustomObjectForAllNamespaces**](CustomObjectsApi.md#listCustomObjectForAllNamespaces) | **GET** /apis/{group}/{version}/{plural}# | |
+| [**listCustomObjectForAllNamespaces**](CustomObjectsApi.md#listCustomObjectForAllNamespaces) | **GET** /apis/{group}/{version}/{resource_plural} | |
| [**listNamespacedCustomObject**](CustomObjectsApi.md#listNamespacedCustomObject) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural} | |
| [**patchClusterCustomObject**](CustomObjectsApi.md#patchClusterCustomObject) | **PATCH** /apis/{group}/{version}/{plural}/{name} | |
| [**patchClusterCustomObjectScale**](CustomObjectsApi.md#patchClusterCustomObjectScale) | **PATCH** /apis/{group}/{version}/{plural}/{name}/scale | |
@@ -404,7 +404,7 @@ public class Example {
# **deleteCollectionNamespacedCustomObject**
-> Object deleteCollectionNamespacedCustomObject(group, version, namespace, plural).pretty(pretty).labelSelector(labelSelector).gracePeriodSeconds(gracePeriodSeconds).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).dryRun(dryRun).body(body).execute();
+> Object deleteCollectionNamespacedCustomObject(group, version, namespace, plural).pretty(pretty).labelSelector(labelSelector).gracePeriodSeconds(gracePeriodSeconds).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).dryRun(dryRun).fieldSelector(fieldSelector).body(body).execute();
@@ -442,6 +442,7 @@ public class Example {
Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
+ String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions |
try {
Object result = apiInstance.deleteCollectionNamespacedCustomObject(group, version, namespace, plural)
@@ -451,6 +452,7 @@ public class Example {
.orphanDependents(orphanDependents)
.propagationPolicy(propagationPolicy)
.dryRun(dryRun)
+ .fieldSelector(fieldSelector)
.body(body)
.execute();
System.out.println(result);
@@ -479,6 +481,7 @@ public class Example {
| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] |
| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] |
| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] |
+| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] |
| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] |
### Return type
@@ -1242,7 +1245,7 @@ public class Example {
# **listCustomObjectForAllNamespaces**
-> Object listCustomObjectForAllNamespaces(group, version, plural).pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).timeoutSeconds(timeoutSeconds).watch(watch).execute();
+> Object listCustomObjectForAllNamespaces(group, version, resourcePlural).pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).timeoutSeconds(timeoutSeconds).watch(watch).execute();
@@ -1272,7 +1275,7 @@ public class Example {
CustomObjectsApi apiInstance = new CustomObjectsApi(defaultClient);
String group = "group_example"; // String | The custom resource's group name
String version = "version_example"; // String | The custom resource's version
- String plural = "plural_example"; // String | The custom resource's plural name. For TPRs this would be lowercase plural kind.
+ String resourcePlural = "resourcePlural_example"; // String | The custom resource's plural name. For TPRs this would be lowercase plural kind.
String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed.
Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.
String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
@@ -1284,7 +1287,7 @@ public class Example {
Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.
try {
- Object result = apiInstance.listCustomObjectForAllNamespaces(group, version, plural)
+ Object result = apiInstance.listCustomObjectForAllNamespaces(group, version, resourcePlural)
.pretty(pretty)
.allowWatchBookmarks(allowWatchBookmarks)
._continue(_continue)
@@ -1314,7 +1317,7 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **group** | **String**| The custom resource's group name | |
| **version** | **String**| The custom resource's version | |
-| **plural** | **String**| The custom resource's plural name. For TPRs this would be lowercase plural kind. | |
+| **resourcePlural** | **String**| The custom resource's plural name. For TPRs this would be lowercase plural kind. | |
| **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] |
| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] |
| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] |
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiCallback.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiCallback.java
index 6dac807a7c..4ee3eea705 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiCallback.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiCallback.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java
index a18ccfe6d4..28a8a5e2b5 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -140,7 +140,7 @@ private void init() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("Kubernetes Java Client/21.0.0-SNAPSHOT");
+ setUserAgent("Kubernetes Java Client/22.0.1-SNAPSHOT");
authentications = new HashMap();
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java
index 949fb45e95..056c35d8df 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,7 +20,7 @@
* ApiException class.
*/
@SuppressWarnings("serial")
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiException extends Exception {
private static final long serialVersionUID = 1L;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiResponse.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiResponse.java
index 3228aa6911..1b03e38975 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiResponse.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiResponse.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java
index f299b1a08f..0194bbf387 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -12,9 +12,9 @@
*/
package io.kubernetes.client.openapi;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class Configuration {
- public static final String VERSION = "21.0.0-SNAPSHOT";
+ public static final String VERSION = "22.0.1-SNAPSHOT";
private static ApiClient defaultApiClient = new ApiClient();
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/GzipRequestInterceptor.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/GzipRequestInterceptor.java
index 7b0cf738c6..ec4cfbb653 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/GzipRequestInterceptor.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/GzipRequestInterceptor.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java
index d7d2d55794..dda3ec708c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -23,9 +23,6 @@
import io.gsonfire.GsonFireBuilder;
import io.gsonfire.TypeSelector;
-import io.kubernetes.client.gson.V1MetadataExclusionStrategy;
-import io.kubernetes.client.gson.V1StatusPreProcessor;
-import io.kubernetes.client.openapi.models.V1Status;
import okio.ByteString;
import java.io.IOException;
@@ -38,9 +35,6 @@
import java.time.ZoneId;
import java.time.ZoneOffset;
import java.time.format.DateTimeFormatter;
-import java.time.format.DateTimeFormatterBuilder;
-import java.time.format.DateTimeParseException;
-import java.time.temporal.ChronoField;
import java.util.Date;
import java.util.Locale;
import java.util.Map;
@@ -56,20 +50,9 @@
public class JSON {
private static Gson gson;
private static boolean isLenientOnJson = false;
-
- private static final DateTimeFormatter RFC3339MICRO_FORMATTER =
- new DateTimeFormatterBuilder()
- .parseDefaulting(ChronoField.OFFSET_SECONDS, 0)
- .append(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss"))
- .optionalStart()
- .appendFraction(ChronoField.NANO_OF_SECOND, 6, 6, true)
- .optionalEnd()
- .appendLiteral("Z")
- .toFormatter();
-
private static DateTypeAdapter dateTypeAdapter = new DateTypeAdapter();
private static SqlDateTypeAdapter sqlDateTypeAdapter = new SqlDateTypeAdapter();
- private static OffsetDateTimeTypeAdapter offsetDateTimeTypeAdapter = new OffsetDateTimeTypeAdapter(RFC3339MICRO_FORMATTER);
+ private static OffsetDateTimeTypeAdapter offsetDateTimeTypeAdapter = new OffsetDateTimeTypeAdapter();
private static LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter();
private static ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter();
@@ -82,11 +65,8 @@ public class JSON {
public static GsonBuilder createGson() {
GsonFireBuilder fireBuilder = new GsonFireBuilder()
;
- GsonBuilder builder =
- fireBuilder
- .registerPreProcessor(V1Status.class, new V1StatusPreProcessor())
- .createGsonBuilder();
- return builder.setExclusionStrategies(new V1MetadataExclusionStrategy());
+ GsonBuilder builder = fireBuilder.createGsonBuilder();
+ return builder;
}
private static String getDiscriminatorValue(JsonElement readElement, String discriminatorField) {
@@ -813,14 +793,11 @@ public static class ByteArrayAdapter extends TypeAdapter {
@Override
public void write(JsonWriter out, byte[] value) throws IOException {
- boolean oldHtmlSafe = out.isHtmlSafe();
- out.setHtmlSafe(false);
if (value == null) {
out.nullValue();
} else {
out.value(ByteString.of(value).base64());
}
- out.setHtmlSafe(oldHtmlSafe);
}
@Override
@@ -876,12 +853,7 @@ public OffsetDateTime read(JsonReader in) throws IOException {
if (date.endsWith("+0000")) {
date = date.substring(0, date.length()-5) + "Z";
}
- try {
- return OffsetDateTime.parse(date, formatter);
- } catch (DateTimeParseException e) {
- // backward-compatibility for ISO8601 timestamp format
- return OffsetDateTime.parse(date, DateTimeFormatter.ISO_OFFSET_DATE_TIME);
- }
+ return OffsetDateTime.parse(date, formatter);
}
}
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java
index 9d0468b3af..1328dc552d 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -12,7 +12,7 @@
*/
package io.kubernetes.client.openapi;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class Pair {
private String name = "";
private String value = "";
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressRequestBody.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressRequestBody.java
index e042f2088d..9f03aa6f25 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressRequestBody.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressRequestBody.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressResponseBody.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressResponseBody.java
index c239f01743..ae03d657b5 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressResponseBody.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressResponseBody.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerConfiguration.java
index 9b8aa57f1f..c041ad371c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerConfiguration.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerConfiguration.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -17,7 +17,7 @@
/**
* Representing a Server configuration.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ServerConfiguration {
public String URL;
public String description;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerVariable.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerVariable.java
index b641aa57b4..e6857c296a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerVariable.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerVariable.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -17,7 +17,7 @@
/**
* Representing a Server Variable for server URL template substitution.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ServerVariable {
public String description;
public String defaultValue;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java
index 8633242ff2..4ece441c4c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -15,7 +15,7 @@
import java.util.Collection;
import java.util.Iterator;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationApi.java
index 59cdbb0f7a..b653787870 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1Api.java
index 02d11b6810..d20ff16ff0 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1alpha1Api.java
index ec7b5d8c02..f350907a79 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1alpha1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1alpha1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1beta1Api.java
index 7896f4823b..7f3a7e5955 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1beta1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1beta1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsApi.java
index 951e53394e..7544849e1c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsV1Api.java
index 992bbb0928..69670f9514 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationApi.java
index 832fc258bb..f8a512b3bf 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationV1Api.java
index 00102cc259..22ff8404e1 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApisApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApisApi.java
index 1362148023..a2c3661bbf 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApisApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApisApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsApi.java
index 76609a3477..a64df6e023 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsV1Api.java
index 0eb9868d26..7bdc9c8917 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationApi.java
index 9c79b0ad5e..1aeadc1a65 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1Api.java
index 9d533f9464..0e01b54166 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1alpha1Api.java
index 1be19de38a..d2376f27b2 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1alpha1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1alpha1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1beta1Api.java
index 504bfee37c..3e8ffee7f2 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1beta1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1beta1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationApi.java
index 1b465b2b48..3469f82c3f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationV1Api.java
index 8ed96109c5..9dc4dbf82c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingApi.java
index fa11861915..d2d6089798 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV1Api.java
index 53d6cb6080..dfd4ea69ff 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV2Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV2Api.java
index 9ab942f1f5..493432bf46 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV2Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV2Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchApi.java
index 714eb18ca7..d5d6ca22b9 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchV1Api.java
index 50a09b0fae..320a22e4e6 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesApi.java
index acd53a9d2f..9fb184c95f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1Api.java
index b7551ce22d..b5a6cb97dd 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1alpha1Api.java
index 4a8bf32313..5f1afb0445 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1alpha1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1alpha1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationApi.java
index a83c8c5015..38fcdea192 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1Api.java
index b698879c07..1b084e790c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1alpha1Api.java
index f426ab6703..47ad762568 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1alpha1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1alpha1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreApi.java
index 578b022566..e47097b9d3 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreV1Api.java
index 9bfde77194..48abfc3d62 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CustomObjectsApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CustomObjectsApi.java
index 02953015ac..536844904a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CustomObjectsApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CustomObjectsApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -1102,7 +1102,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api
public APIdeleteCollectionClusterCustomObjectRequest deleteCollectionClusterCustomObject(String group, String version, String plural) {
return new APIdeleteCollectionClusterCustomObjectRequest(group, version, plural);
}
- private okhttp3.Call deleteCollectionNamespacedCustomObjectCall(String group, String version, String namespace, String plural, String pretty, String labelSelector, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, String dryRun, V1DeleteOptions body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteCollectionNamespacedCustomObjectCall(String group, String version, String namespace, String plural, String pretty, String labelSelector, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, String dryRun, String fieldSelector, V1DeleteOptions body, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -1155,6 +1155,10 @@ private okhttp3.Call deleteCollectionNamespacedCustomObjectCall(String group, St
localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun));
}
+ if (fieldSelector != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector));
+ }
+
final String[] localVarAccepts = {
"application/json"
};
@@ -1176,7 +1180,7 @@ private okhttp3.Call deleteCollectionNamespacedCustomObjectCall(String group, St
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteCollectionNamespacedCustomObjectValidateBeforeCall(String group, String version, String namespace, String plural, String pretty, String labelSelector, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, String dryRun, V1DeleteOptions body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteCollectionNamespacedCustomObjectValidateBeforeCall(String group, String version, String namespace, String plural, String pretty, String labelSelector, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, String dryRun, String fieldSelector, V1DeleteOptions body, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'group' is set
if (group == null) {
throw new ApiException("Missing the required parameter 'group' when calling deleteCollectionNamespacedCustomObject(Async)");
@@ -1197,20 +1201,20 @@ private okhttp3.Call deleteCollectionNamespacedCustomObjectValidateBeforeCall(St
throw new ApiException("Missing the required parameter 'plural' when calling deleteCollectionNamespacedCustomObject(Async)");
}
- return deleteCollectionNamespacedCustomObjectCall(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, body, _callback);
+ return deleteCollectionNamespacedCustomObjectCall(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, fieldSelector, body, _callback);
}
- private ApiResponse deleteCollectionNamespacedCustomObjectWithHttpInfo(String group, String version, String namespace, String plural, String pretty, String labelSelector, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, String dryRun, V1DeleteOptions body) throws ApiException {
- okhttp3.Call localVarCall = deleteCollectionNamespacedCustomObjectValidateBeforeCall(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, body, null);
+ private ApiResponse deleteCollectionNamespacedCustomObjectWithHttpInfo(String group, String version, String namespace, String plural, String pretty, String labelSelector, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, String dryRun, String fieldSelector, V1DeleteOptions body) throws ApiException {
+ okhttp3.Call localVarCall = deleteCollectionNamespacedCustomObjectValidateBeforeCall(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, fieldSelector, body, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteCollectionNamespacedCustomObjectAsync(String group, String version, String namespace, String plural, String pretty, String labelSelector, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, String dryRun, V1DeleteOptions body, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteCollectionNamespacedCustomObjectAsync(String group, String version, String namespace, String plural, String pretty, String labelSelector, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, String dryRun, String fieldSelector, V1DeleteOptions body, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteCollectionNamespacedCustomObjectValidateBeforeCall(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, body, _callback);
+ okhttp3.Call localVarCall = deleteCollectionNamespacedCustomObjectValidateBeforeCall(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, fieldSelector, body, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
@@ -1227,6 +1231,7 @@ public class APIdeleteCollectionNamespacedCustomObjectRequest {
private Boolean orphanDependents;
private String propagationPolicy;
private String dryRun;
+ private String fieldSelector;
private V1DeleteOptions body;
private APIdeleteCollectionNamespacedCustomObjectRequest(String group, String version, String namespace, String plural) {
@@ -1296,6 +1301,16 @@ public APIdeleteCollectionNamespacedCustomObjectRequest dryRun(String dryRun) {
return this;
}
+ /**
+ * Set fieldSelector
+ * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
+ * @return APIdeleteCollectionNamespacedCustomObjectRequest
+ */
+ public APIdeleteCollectionNamespacedCustomObjectRequest fieldSelector(String fieldSelector) {
+ this.fieldSelector = fieldSelector;
+ return this;
+ }
+
/**
* Set body
* @param body (optional)
@@ -1319,7 +1334,7 @@ public APIdeleteCollectionNamespacedCustomObjectRequest body(V1DeleteOptions bod
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteCollectionNamespacedCustomObjectCall(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, body, _callback);
+ return deleteCollectionNamespacedCustomObjectCall(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, fieldSelector, body, _callback);
}
/**
@@ -1334,7 +1349,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public Object execute() throws ApiException {
- ApiResponse localVarResp = deleteCollectionNamespacedCustomObjectWithHttpInfo(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, body);
+ ApiResponse localVarResp = deleteCollectionNamespacedCustomObjectWithHttpInfo(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, fieldSelector, body);
return localVarResp.getData();
}
@@ -1350,7 +1365,7 @@ public Object execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteCollectionNamespacedCustomObjectWithHttpInfo(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, body);
+ return deleteCollectionNamespacedCustomObjectWithHttpInfo(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, fieldSelector, body);
}
/**
@@ -1366,7 +1381,7 @@ public ApiResponse executeWithHttpInfo() throws ApiException {
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteCollectionNamespacedCustomObjectAsync(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, body, _callback);
+ return deleteCollectionNamespacedCustomObjectAsync(group, version, namespace, plural, pretty, labelSelector, gracePeriodSeconds, orphanDependents, propagationPolicy, dryRun, fieldSelector, body, _callback);
}
}
@@ -3284,7 +3299,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api
public APIlistClusterCustomObjectRequest listClusterCustomObject(String group, String version, String plural) {
return new APIlistClusterCustomObjectRequest(group, version, plural);
}
- private okhttp3.Call listCustomObjectForAllNamespacesCall(String group, String version, String plural, String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Integer timeoutSeconds, Boolean watch, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call listCustomObjectForAllNamespacesCall(String group, String version, String resourcePlural, String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Integer timeoutSeconds, Boolean watch, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -3301,10 +3316,10 @@ private okhttp3.Call listCustomObjectForAllNamespacesCall(String group, String v
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/apis/{group}/{version}/{plural}#"
+ String localVarPath = "/apis/{group}/{version}/{resource_plural}"
.replace("{" + "group" + "}", localVarApiClient.escapeString(group.toString()))
.replace("{" + "version" + "}", localVarApiClient.escapeString(version.toString()))
- .replace("{" + "plural" + "}", localVarApiClient.escapeString(plural.toString()));
+ .replace("{" + "resource_plural" + "}", localVarApiClient.escapeString(resourcePlural.toString()));
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -3373,7 +3388,7 @@ private okhttp3.Call listCustomObjectForAllNamespacesCall(String group, String v
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call listCustomObjectForAllNamespacesValidateBeforeCall(String group, String version, String plural, String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Integer timeoutSeconds, Boolean watch, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call listCustomObjectForAllNamespacesValidateBeforeCall(String group, String version, String resourcePlural, String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Integer timeoutSeconds, Boolean watch, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'group' is set
if (group == null) {
throw new ApiException("Missing the required parameter 'group' when calling listCustomObjectForAllNamespaces(Async)");
@@ -3384,25 +3399,25 @@ private okhttp3.Call listCustomObjectForAllNamespacesValidateBeforeCall(String g
throw new ApiException("Missing the required parameter 'version' when calling listCustomObjectForAllNamespaces(Async)");
}
- // verify the required parameter 'plural' is set
- if (plural == null) {
- throw new ApiException("Missing the required parameter 'plural' when calling listCustomObjectForAllNamespaces(Async)");
+ // verify the required parameter 'resourcePlural' is set
+ if (resourcePlural == null) {
+ throw new ApiException("Missing the required parameter 'resourcePlural' when calling listCustomObjectForAllNamespaces(Async)");
}
- return listCustomObjectForAllNamespacesCall(group, version, plural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch, _callback);
+ return listCustomObjectForAllNamespacesCall(group, version, resourcePlural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch, _callback);
}
- private ApiResponse listCustomObjectForAllNamespacesWithHttpInfo(String group, String version, String plural, String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Integer timeoutSeconds, Boolean watch) throws ApiException {
- okhttp3.Call localVarCall = listCustomObjectForAllNamespacesValidateBeforeCall(group, version, plural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch, null);
+ private ApiResponse listCustomObjectForAllNamespacesWithHttpInfo(String group, String version, String resourcePlural, String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Integer timeoutSeconds, Boolean watch) throws ApiException {
+ okhttp3.Call localVarCall = listCustomObjectForAllNamespacesValidateBeforeCall(group, version, resourcePlural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call listCustomObjectForAllNamespacesAsync(String group, String version, String plural, String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Integer timeoutSeconds, Boolean watch, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call listCustomObjectForAllNamespacesAsync(String group, String version, String resourcePlural, String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Integer timeoutSeconds, Boolean watch, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = listCustomObjectForAllNamespacesValidateBeforeCall(group, version, plural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch, _callback);
+ okhttp3.Call localVarCall = listCustomObjectForAllNamespacesValidateBeforeCall(group, version, resourcePlural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
@@ -3411,7 +3426,7 @@ private okhttp3.Call listCustomObjectForAllNamespacesAsync(String group, String
public class APIlistCustomObjectForAllNamespacesRequest {
private final String group;
private final String version;
- private final String plural;
+ private final String resourcePlural;
private String pretty;
private Boolean allowWatchBookmarks;
private String _continue;
@@ -3423,10 +3438,10 @@ public class APIlistCustomObjectForAllNamespacesRequest {
private Integer timeoutSeconds;
private Boolean watch;
- private APIlistCustomObjectForAllNamespacesRequest(String group, String version, String plural) {
+ private APIlistCustomObjectForAllNamespacesRequest(String group, String version, String resourcePlural) {
this.group = group;
this.version = version;
- this.plural = plural;
+ this.resourcePlural = resourcePlural;
}
/**
@@ -3542,7 +3557,7 @@ public APIlistCustomObjectForAllNamespacesRequest watch(Boolean watch) {
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return listCustomObjectForAllNamespacesCall(group, version, plural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch, _callback);
+ return listCustomObjectForAllNamespacesCall(group, version, resourcePlural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch, _callback);
}
/**
@@ -3557,7 +3572,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public Object execute() throws ApiException {
- ApiResponse localVarResp = listCustomObjectForAllNamespacesWithHttpInfo(group, version, plural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch);
+ ApiResponse localVarResp = listCustomObjectForAllNamespacesWithHttpInfo(group, version, resourcePlural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch);
return localVarResp.getData();
}
@@ -3573,7 +3588,7 @@ public Object execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return listCustomObjectForAllNamespacesWithHttpInfo(group, version, plural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch);
+ return listCustomObjectForAllNamespacesWithHttpInfo(group, version, resourcePlural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch);
}
/**
@@ -3589,7 +3604,7 @@ public ApiResponse executeWithHttpInfo() throws ApiException {
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return listCustomObjectForAllNamespacesAsync(group, version, plural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch, _callback);
+ return listCustomObjectForAllNamespacesAsync(group, version, resourcePlural, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds, watch, _callback);
}
}
@@ -3598,7 +3613,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api
* list or watch namespace scoped custom objects
* @param group The custom resource's group name (required)
* @param version The custom resource's version (required)
- * @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
+ * @param resourcePlural The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
* @return APIlistCustomObjectForAllNamespacesRequest
* @http.response.details
@@ -3607,8 +3622,8 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api
401 Unauthorized -
*/
- public APIlistCustomObjectForAllNamespacesRequest listCustomObjectForAllNamespaces(String group, String version, String plural) {
- return new APIlistCustomObjectForAllNamespacesRequest(group, version, plural);
+ public APIlistCustomObjectForAllNamespacesRequest listCustomObjectForAllNamespaces(String group, String version, String resourcePlural) {
+ return new APIlistCustomObjectForAllNamespacesRequest(group, version, resourcePlural);
}
private okhttp3.Call listNamespacedCustomObjectCall(String group, String version, String namespace, String plural, String pretty, Boolean allowWatchBookmarks, String _continue, String fieldSelector, String labelSelector, Integer limit, String resourceVersion, String resourceVersionMatch, Integer timeoutSeconds, Boolean watch, final ApiCallback _callback) throws ApiException {
String basePath = null;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryApi.java
index b22c024741..5e9803ba3e 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryV1Api.java
index 4a9cdd8eb7..140831f9fe 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsApi.java
index e9a0bd40d6..4f08c6f50d 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsV1Api.java
index 73aac41f3e..58d383b7d8 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverApi.java
index f5d43d4658..c03971cdc9 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1Api.java
index 96995d400b..457c0117fe 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1beta3Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1beta3Api.java
index 38660916b7..99b39d5f8a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1beta3Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1beta3Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverApi.java
index b49d133ddf..7acfa572e8 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverV1alpha1Api.java
index d817a3bd78..5fd6b9751b 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverV1alpha1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverV1alpha1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/LogsApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/LogsApi.java
index dbf44dffdf..9b88b10cef 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/LogsApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/LogsApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingApi.java
index 2aaf9dd0bd..64be8c7e3a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1Api.java
index 6f8d567780..16e473dc22 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1beta1Api.java
index 901d1e4d0a..ca997c4013 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1beta1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1beta1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeApi.java
index 92b58f6975..56da74f3ec 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeV1Api.java
index 97b380973c..cb889fe5c4 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/OpenidApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/OpenidApi.java
index d04b085579..b98bc5eb70 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/OpenidApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/OpenidApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyApi.java
index 6b09af4cbf..1419a54bc7 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyV1Api.java
index b95d365c64..d9ceb9d0c6 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationApi.java
index 99a39fafc4..e8382a5304 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationV1Api.java
index 989991cd5f..bf242b7437 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceApi.java
index 2812c7afdb..6e85c5d6b0 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha3Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha3Api.java
index 311727860f..d88a797849 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha3Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha3Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingApi.java
index 2a3519df6c..bb9b324a12 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingV1Api.java
index a83565723c..c08d0d0072 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageApi.java
index 5da3efe305..6e3f91c73c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1Api.java
index eb916ec499..c1e5335469 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1alpha1Api.java
index 989a18ea47..9d0792b285 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1alpha1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1alpha1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1beta1Api.java
index 3323a60d94..bc7379a75f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1beta1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1beta1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationApi.java
index c6faf4d3ba..835a5ccb32 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationV1alpha1Api.java
index 7d3be0f4ce..1248bf3ad0 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationV1alpha1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationV1alpha1Api.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/VersionApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/VersionApi.java
index 3bffd415fc..74d8ebc2df 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/VersionApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/VersionApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/WellKnownApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/WellKnownApi.java
index d3f263f54b..2eabf80d7f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/WellKnownApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/WellKnownApi.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java
index 50d25188fd..2af6455848 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,7 +19,7 @@
import java.util.Map;
import java.util.List;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/Authentication.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/Authentication.java
index 44cf01b8b7..c9b4761e65 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/Authentication.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/Authentication.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBasicAuth.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBasicAuth.java
index 88e8a6258e..b7e2772521 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBasicAuth.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBasicAuth.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java
index f0a7e661da..aa24e36d34 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,7 +21,7 @@
import java.util.Optional;
import java.util.function.Supplier;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class HttpBearerAuth implements Authentication {
private final String scheme;
private Supplier tokenSupplier;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AbstractOpenApiSchema.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AbstractOpenApiSchema.java
index 1f960d40cd..c2aa343d99 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AbstractOpenApiSchema.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AbstractOpenApiSchema.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,7 +20,7 @@
/**
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public abstract class AbstractOpenApiSchema {
// store the actual instance of the schema/object
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java
index 6ce5e7f4d8..b84dba428a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class AdmissionregistrationV1ServiceReference {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -79,6 +82,7 @@ public AdmissionregistrationV1ServiceReference name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "`name` is the name of the service. Required")
public String getName() {
return name;
}
@@ -98,6 +102,7 @@ public AdmissionregistrationV1ServiceReference namespace(String namespace) {
* @return namespace
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "`namespace` is the namespace of the service. Required")
public String getNamespace() {
return namespace;
}
@@ -117,6 +122,7 @@ public AdmissionregistrationV1ServiceReference path(String path) {
* @return path
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`path` is an optional URL path which will be sent in any request to this service.")
public String getPath() {
return path;
}
@@ -136,6 +142,7 @@ public AdmissionregistrationV1ServiceReference port(Integer port) {
* @return port
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).")
public Integer getPort() {
return port;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java
index 55c75944f0..2ffb39af19 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.AdmissionregistrationV1ServiceReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* WebhookClientConfig contains the information to make a TLS connection with the webhook
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "WebhookClientConfig contains the information to make a TLS connection with the webhook")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class AdmissionregistrationV1WebhookClientConfig {
public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle";
@SerializedName(SERIALIZED_NAME_CA_BUNDLE)
@@ -76,6 +79,7 @@ public AdmissionregistrationV1WebhookClientConfig caBundle(byte[] caBundle) {
* @return caBundle
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.")
public byte[] getCaBundle() {
return caBundle;
}
@@ -95,6 +99,7 @@ public AdmissionregistrationV1WebhookClientConfig service(AdmissionregistrationV
* @return service
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public AdmissionregistrationV1ServiceReference getService() {
return service;
}
@@ -114,6 +119,7 @@ public AdmissionregistrationV1WebhookClientConfig url(String url) {
* @return url
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.")
public String getUrl() {
return url;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java
index 6c86fc2cdd..0ef1c70ee8 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiextensionsV1ServiceReference {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -79,6 +82,7 @@ public ApiextensionsV1ServiceReference name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "name is the name of the service. Required")
public String getName() {
return name;
}
@@ -98,6 +102,7 @@ public ApiextensionsV1ServiceReference namespace(String namespace) {
* @return namespace
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "namespace is the namespace of the service. Required")
public String getNamespace() {
return namespace;
}
@@ -117,6 +122,7 @@ public ApiextensionsV1ServiceReference path(String path) {
* @return path
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "path is an optional URL path at which the webhook will be contacted.")
public String getPath() {
return path;
}
@@ -136,6 +142,7 @@ public ApiextensionsV1ServiceReference port(Integer port) {
* @return port
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.")
public Integer getPort() {
return port;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java
index 351050ba2f..a1ad393e5e 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.ApiextensionsV1ServiceReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* WebhookClientConfig contains the information to make a TLS connection with the webhook.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "WebhookClientConfig contains the information to make a TLS connection with the webhook.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiextensionsV1WebhookClientConfig {
public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle";
@SerializedName(SERIALIZED_NAME_CA_BUNDLE)
@@ -76,6 +79,7 @@ public ApiextensionsV1WebhookClientConfig caBundle(byte[] caBundle) {
* @return caBundle
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.")
public byte[] getCaBundle() {
return caBundle;
}
@@ -95,6 +99,7 @@ public ApiextensionsV1WebhookClientConfig service(ApiextensionsV1ServiceReferenc
* @return service
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public ApiextensionsV1ServiceReference getService() {
return service;
}
@@ -114,6 +119,7 @@ public ApiextensionsV1WebhookClientConfig url(String url) {
* @return url
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.")
public String getUrl() {
return url;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java
index acea494f26..f988ac0857 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiregistrationV1ServiceReference {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -75,6 +78,7 @@ public ApiregistrationV1ServiceReference name(String name) {
* @return name
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Name is the name of the service")
public String getName() {
return name;
}
@@ -94,6 +98,7 @@ public ApiregistrationV1ServiceReference namespace(String namespace) {
* @return namespace
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Namespace is the namespace of the service")
public String getNamespace() {
return namespace;
}
@@ -113,6 +118,7 @@ public ApiregistrationV1ServiceReference port(Integer port) {
* @return port
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).")
public Integer getPort() {
return port;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AuthenticationV1TokenRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AuthenticationV1TokenRequest.java
index 4356bf0800..ab575048d3 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AuthenticationV1TokenRequest.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AuthenticationV1TokenRequest.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import io.kubernetes.client.openapi.models.V1TokenRequestSpec;
import io.kubernetes.client.openapi.models.V1TokenRequestStatus;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* TokenRequest requests a token for a given service account.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "TokenRequest requests a token for a given service account.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class AuthenticationV1TokenRequest implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -86,6 +89,7 @@ public AuthenticationV1TokenRequest apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -105,6 +109,7 @@ public AuthenticationV1TokenRequest kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -124,6 +129,7 @@ public AuthenticationV1TokenRequest metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -143,6 +149,7 @@ public AuthenticationV1TokenRequest spec(V1TokenRequestSpec spec) {
* @return spec
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1TokenRequestSpec getSpec() {
return spec;
}
@@ -162,6 +169,7 @@ public AuthenticationV1TokenRequest status(V1TokenRequestStatus status) {
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1TokenRequestStatus getStatus() {
return status;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EndpointPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EndpointPort.java
index a6f59b797f..23cfd061ec 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EndpointPort.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EndpointPort.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* EndpointPort is a tuple that describes a single port.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EndpointPort is a tuple that describes a single port.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class CoreV1EndpointPort {
public static final String SERIALIZED_NAME_APP_PROTOCOL = "appProtocol";
@SerializedName(SERIALIZED_NAME_APP_PROTOCOL)
@@ -79,6 +82,7 @@ public CoreV1EndpointPort appProtocol(String appProtocol) {
* @return appProtocol
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.")
public String getAppProtocol() {
return appProtocol;
}
@@ -98,6 +102,7 @@ public CoreV1EndpointPort name(String name) {
* @return name
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.")
public String getName() {
return name;
}
@@ -117,6 +122,7 @@ public CoreV1EndpointPort port(Integer port) {
* @return port
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The port number of the endpoint.")
public Integer getPort() {
return port;
}
@@ -136,6 +142,7 @@ public CoreV1EndpointPort protocol(String protocol) {
* @return protocol
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.")
public String getProtocol() {
return protocol;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java
index bea9d7f2f1..839c8a1669 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -22,6 +22,8 @@
import io.kubernetes.client.openapi.models.V1EventSource;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import io.kubernetes.client.openapi.models.V1ObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -53,7 +55,8 @@
/**
* Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class CoreV1Event implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_ACTION = "action";
@SerializedName(SERIALIZED_NAME_ACTION)
@@ -136,6 +139,7 @@ public CoreV1Event action(String action) {
* @return action
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "What action was taken/failed regarding to the Regarding object.")
public String getAction() {
return action;
}
@@ -155,6 +159,7 @@ public CoreV1Event apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -174,6 +179,7 @@ public CoreV1Event count(Integer count) {
* @return count
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The number of times this event has occurred.")
public Integer getCount() {
return count;
}
@@ -193,6 +199,7 @@ public CoreV1Event eventTime(OffsetDateTime eventTime) {
* @return eventTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Time when this Event was first observed.")
public OffsetDateTime getEventTime() {
return eventTime;
}
@@ -212,6 +219,7 @@ public CoreV1Event firstTimestamp(OffsetDateTime firstTimestamp) {
* @return firstTimestamp
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)")
public OffsetDateTime getFirstTimestamp() {
return firstTimestamp;
}
@@ -231,6 +239,7 @@ public CoreV1Event involvedObject(V1ObjectReference involvedObject) {
* @return involvedObject
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1ObjectReference getInvolvedObject() {
return involvedObject;
}
@@ -250,6 +259,7 @@ public CoreV1Event kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -269,6 +279,7 @@ public CoreV1Event lastTimestamp(OffsetDateTime lastTimestamp) {
* @return lastTimestamp
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The time at which the most recent occurrence of this event was recorded.")
public OffsetDateTime getLastTimestamp() {
return lastTimestamp;
}
@@ -288,6 +299,7 @@ public CoreV1Event message(String message) {
* @return message
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "A human-readable description of the status of this operation.")
public String getMessage() {
return message;
}
@@ -307,6 +319,7 @@ public CoreV1Event metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -326,6 +339,7 @@ public CoreV1Event reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.")
public String getReason() {
return reason;
}
@@ -345,6 +359,7 @@ public CoreV1Event related(V1ObjectReference related) {
* @return related
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectReference getRelated() {
return related;
}
@@ -364,6 +379,7 @@ public CoreV1Event reportingComponent(String reportingComponent) {
* @return reportingComponent
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.")
public String getReportingComponent() {
return reportingComponent;
}
@@ -383,6 +399,7 @@ public CoreV1Event reportingInstance(String reportingInstance) {
* @return reportingInstance
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "ID of the controller instance, e.g. `kubelet-xyzf`.")
public String getReportingInstance() {
return reportingInstance;
}
@@ -402,6 +419,7 @@ public CoreV1Event series(CoreV1EventSeries series) {
* @return series
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public CoreV1EventSeries getSeries() {
return series;
}
@@ -421,6 +439,7 @@ public CoreV1Event source(V1EventSource source) {
* @return source
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1EventSource getSource() {
return source;
}
@@ -440,6 +459,7 @@ public CoreV1Event type(String type) {
* @return type
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Type of this event (Normal, Warning), new types could be added in the future")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java
index b219b851d9..443ecc1e2f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.CoreV1Event;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* EventList is a list of events.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EventList is a list of events.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class CoreV1EventList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public CoreV1EventList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public CoreV1EventList addItemsItem(CoreV1Event itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "List of events")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public CoreV1EventList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public CoreV1EventList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java
index bb218b08ea..af6258bd48 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class CoreV1EventSeries {
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
@@ -72,6 +75,7 @@ public CoreV1EventSeries count(Integer count) {
* @return count
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Number of occurrences in this series up to the last heartbeat time")
public Integer getCount() {
return count;
}
@@ -91,6 +95,7 @@ public CoreV1EventSeries lastObservedTime(OffsetDateTime lastObservedTime) {
* @return lastObservedTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Time of the last occurrence observed")
public OffsetDateTime getLastObservedTime() {
return lastObservedTime;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/DiscoveryV1EndpointPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/DiscoveryV1EndpointPort.java
index f16fbcb6df..df5dbc1aa9 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/DiscoveryV1EndpointPort.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/DiscoveryV1EndpointPort.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* EndpointPort represents a Port used by an EndpointSlice
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EndpointPort represents a Port used by an EndpointSlice")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class DiscoveryV1EndpointPort {
public static final String SERIALIZED_NAME_APP_PROTOCOL = "appProtocol";
@SerializedName(SERIALIZED_NAME_APP_PROTOCOL)
@@ -79,6 +82,7 @@ public DiscoveryV1EndpointPort appProtocol(String appProtocol) {
* @return appProtocol
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.")
public String getAppProtocol() {
return appProtocol;
}
@@ -98,6 +102,7 @@ public DiscoveryV1EndpointPort name(String name) {
* @return name
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.")
public String getName() {
return name;
}
@@ -117,6 +122,7 @@ public DiscoveryV1EndpointPort port(Integer port) {
* @return port
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "port represents the port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.")
public Integer getPort() {
return port;
}
@@ -136,6 +142,7 @@ public DiscoveryV1EndpointPort protocol(String protocol) {
* @return protocol
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.")
public String getProtocol() {
return protocol;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java
index 8e84961c39..a1a69232a2 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -22,6 +22,8 @@
import io.kubernetes.client.openapi.models.V1EventSource;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import io.kubernetes.client.openapi.models.V1ObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -53,7 +55,8 @@
/**
* Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class EventsV1Event implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_ACTION = "action";
@SerializedName(SERIALIZED_NAME_ACTION)
@@ -136,6 +139,7 @@ public EventsV1Event action(String action) {
* @return action
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.")
public String getAction() {
return action;
}
@@ -155,6 +159,7 @@ public EventsV1Event apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -174,6 +179,7 @@ public EventsV1Event deprecatedCount(Integer deprecatedCount) {
* @return deprecatedCount
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.")
public Integer getDeprecatedCount() {
return deprecatedCount;
}
@@ -193,6 +199,7 @@ public EventsV1Event deprecatedFirstTimestamp(OffsetDateTime deprecatedFirstTime
* @return deprecatedFirstTimestamp
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.")
public OffsetDateTime getDeprecatedFirstTimestamp() {
return deprecatedFirstTimestamp;
}
@@ -212,6 +219,7 @@ public EventsV1Event deprecatedLastTimestamp(OffsetDateTime deprecatedLastTimest
* @return deprecatedLastTimestamp
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.")
public OffsetDateTime getDeprecatedLastTimestamp() {
return deprecatedLastTimestamp;
}
@@ -231,6 +239,7 @@ public EventsV1Event deprecatedSource(V1EventSource deprecatedSource) {
* @return deprecatedSource
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1EventSource getDeprecatedSource() {
return deprecatedSource;
}
@@ -250,6 +259,7 @@ public EventsV1Event eventTime(OffsetDateTime eventTime) {
* @return eventTime
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "eventTime is the time when this Event was first observed. It is required.")
public OffsetDateTime getEventTime() {
return eventTime;
}
@@ -269,6 +279,7 @@ public EventsV1Event kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -288,6 +299,7 @@ public EventsV1Event metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -307,6 +319,7 @@ public EventsV1Event note(String note) {
* @return note
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.")
public String getNote() {
return note;
}
@@ -326,6 +339,7 @@ public EventsV1Event reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.")
public String getReason() {
return reason;
}
@@ -345,6 +359,7 @@ public EventsV1Event regarding(V1ObjectReference regarding) {
* @return regarding
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectReference getRegarding() {
return regarding;
}
@@ -364,6 +379,7 @@ public EventsV1Event related(V1ObjectReference related) {
* @return related
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectReference getRelated() {
return related;
}
@@ -383,6 +399,7 @@ public EventsV1Event reportingController(String reportingController) {
* @return reportingController
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.")
public String getReportingController() {
return reportingController;
}
@@ -402,6 +419,7 @@ public EventsV1Event reportingInstance(String reportingInstance) {
* @return reportingInstance
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.")
public String getReportingInstance() {
return reportingInstance;
}
@@ -421,6 +439,7 @@ public EventsV1Event series(EventsV1EventSeries series) {
* @return series
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public EventsV1EventSeries getSeries() {
return series;
}
@@ -440,6 +459,7 @@ public EventsV1Event type(String type) {
* @return type
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java
index 6878f844d0..04d6b8b899 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.EventsV1Event;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* EventList is a list of Event objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EventList is a list of Event objects.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class EventsV1EventList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public EventsV1EventList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public EventsV1EventList addItemsItem(EventsV1Event itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "items is a list of schema objects.")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public EventsV1EventList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public EventsV1EventList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java
index 596f34adfd..a7599dd6c1 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class EventsV1EventSeries {
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
@@ -72,6 +75,7 @@ public EventsV1EventSeries count(Integer count) {
* @return count
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "count is the number of occurrences in this series up to the last heartbeat time.")
public Integer getCount() {
return count;
}
@@ -91,6 +95,7 @@ public EventsV1EventSeries lastObservedTime(OffsetDateTime lastObservedTime) {
* @return lastObservedTime
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "lastObservedTime is the time when last Event from the series was seen before last heartbeat.")
public OffsetDateTime getLastObservedTime() {
return lastObservedTime;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1Subject.java
index 5793168bab..75d225d710 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1Subject.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1Subject.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1GroupSubject;
import io.kubernetes.client.openapi.models.V1ServiceAccountSubject;
import io.kubernetes.client.openapi.models.V1UserSubject;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class FlowcontrolV1Subject {
public static final String SERIALIZED_NAME_GROUP = "group";
@SerializedName(SERIALIZED_NAME_GROUP)
@@ -82,6 +85,7 @@ public FlowcontrolV1Subject group(V1GroupSubject group) {
* @return group
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1GroupSubject getGroup() {
return group;
}
@@ -101,6 +105,7 @@ public FlowcontrolV1Subject kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "`kind` indicates which one of the other fields is non-empty. Required")
public String getKind() {
return kind;
}
@@ -120,6 +125,7 @@ public FlowcontrolV1Subject serviceAccount(V1ServiceAccountSubject serviceAccoun
* @return serviceAccount
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ServiceAccountSubject getServiceAccount() {
return serviceAccount;
}
@@ -139,6 +145,7 @@ public FlowcontrolV1Subject user(V1UserSubject user) {
* @return user
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1UserSubject getUser() {
return user;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1Subject.java
index f7d00deb16..0fdc9635a9 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1Subject.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1Subject.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class RbacV1Subject {
public static final String SERIALIZED_NAME_API_GROUP = "apiGroup";
@SerializedName(SERIALIZED_NAME_API_GROUP)
@@ -79,6 +82,7 @@ public RbacV1Subject apiGroup(String apiGroup) {
* @return apiGroup
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.")
public String getApiGroup() {
return apiGroup;
}
@@ -98,6 +102,7 @@ public RbacV1Subject kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.")
public String getKind() {
return kind;
}
@@ -117,6 +122,7 @@ public RbacV1Subject name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Name of the object being referenced.")
public String getName() {
return name;
}
@@ -136,6 +142,7 @@ public RbacV1Subject namespace(String namespace) {
* @return namespace
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.")
public String getNamespace() {
return namespace;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/StorageV1TokenRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/StorageV1TokenRequest.java
index 5070f9679d..429a06a853 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/StorageV1TokenRequest.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/StorageV1TokenRequest.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* TokenRequest contains parameters of a service account token.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "TokenRequest contains parameters of a service account token.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class StorageV1TokenRequest {
public static final String SERIALIZED_NAME_AUDIENCE = "audience";
@SerializedName(SERIALIZED_NAME_AUDIENCE)
@@ -71,6 +74,7 @@ public StorageV1TokenRequest audience(String audience) {
* @return audience
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.")
public String getAudience() {
return audience;
}
@@ -90,6 +94,7 @@ public StorageV1TokenRequest expirationSeconds(Long expirationSeconds) {
* @return expirationSeconds
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".")
public Long getExpirationSeconds() {
return expirationSeconds;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java
index fe4a6e49df..aa04c7192d 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1GroupVersionForDiscovery;
import io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* APIGroup contains the name, the supported versions, and the preferred version of a group.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "APIGroup contains the name, the supported versions, and the preferred version of a group.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIGroup {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -91,6 +94,7 @@ public V1APIGroup apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1APIGroup kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -129,6 +134,7 @@ public V1APIGroup name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "name is the name of the group.")
public String getName() {
return name;
}
@@ -148,6 +154,7 @@ public V1APIGroup preferredVersion(V1GroupVersionForDiscovery preferredVersion)
* @return preferredVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1GroupVersionForDiscovery getPreferredVersion() {
return preferredVersion;
}
@@ -175,6 +182,7 @@ public V1APIGroup addServerAddressByClientCIDRsItem(V1ServerAddressByClientCIDR
* @return serverAddressByClientCIDRs
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.")
public List getServerAddressByClientCIDRs() {
return serverAddressByClientCIDRs;
}
@@ -202,6 +210,7 @@ public V1APIGroup addVersionsItem(V1GroupVersionForDiscovery versionsItem) {
* @return versions
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "versions are the versions supported in this group.")
public List getVersions() {
return versions;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java
index fc76bf46da..310dccd8d4 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1APIGroup;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIGroupList {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -78,6 +81,7 @@ public V1APIGroupList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -105,6 +109,7 @@ public V1APIGroupList addGroupsItem(V1APIGroup groupsItem) {
* @return groups
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "groups is a list of APIGroup.")
public List getGroups() {
return groups;
}
@@ -124,6 +129,7 @@ public V1APIGroupList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java
index 11a171cb72..5586ec1754 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* APIResource specifies the name of a resource and whether it is namespaced.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "APIResource specifies the name of a resource and whether it is namespaced.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIResource {
public static final String SERIALIZED_NAME_CATEGORIES = "categories";
@SerializedName(SERIALIZED_NAME_CATEGORIES)
@@ -113,6 +116,7 @@ public V1APIResource addCategoriesItem(String categoriesItem) {
* @return categories
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "categories is a list of the grouped resources this resource belongs to (e.g. 'all')")
public List getCategories() {
return categories;
}
@@ -132,6 +136,7 @@ public V1APIResource group(String group) {
* @return group
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".")
public String getGroup() {
return group;
}
@@ -151,6 +156,7 @@ public V1APIResource kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')")
public String getKind() {
return kind;
}
@@ -170,6 +176,7 @@ public V1APIResource name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "name is the plural name of the resource.")
public String getName() {
return name;
}
@@ -189,6 +196,7 @@ public V1APIResource namespaced(Boolean namespaced) {
* @return namespaced
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "namespaced indicates if a resource is namespaced or not.")
public Boolean getNamespaced() {
return namespaced;
}
@@ -216,6 +224,7 @@ public V1APIResource addShortNamesItem(String shortNamesItem) {
* @return shortNames
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "shortNames is a list of suggested short names of the resource.")
public List getShortNames() {
return shortNames;
}
@@ -235,6 +244,7 @@ public V1APIResource singularName(String singularName) {
* @return singularName
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.")
public String getSingularName() {
return singularName;
}
@@ -254,6 +264,7 @@ public V1APIResource storageVersionHash(String storageVersionHash) {
* @return storageVersionHash
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.")
public String getStorageVersionHash() {
return storageVersionHash;
}
@@ -281,6 +292,7 @@ public V1APIResource addVerbsItem(String verbsItem) {
* @return verbs
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)")
public List getVerbs() {
return verbs;
}
@@ -300,6 +312,7 @@ public V1APIResource version(String version) {
* @return version
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".")
public String getVersion() {
return version;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java
index e4bf5df94f..530bd54a82 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1APIResource;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIResourceList {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -82,6 +85,7 @@ public V1APIResourceList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -101,6 +105,7 @@ public V1APIResourceList groupVersion(String groupVersion) {
* @return groupVersion
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "groupVersion is the group and version this APIResourceList is for.")
public String getGroupVersion() {
return groupVersion;
}
@@ -120,6 +125,7 @@ public V1APIResourceList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -147,6 +153,7 @@ public V1APIResourceList addResourcesItem(V1APIResource resourcesItem) {
* @return resources
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "resources contains the name of the resources and if they are namespaced.")
public List getResources() {
return resources;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java
index 6359ab24f6..58017301ff 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1APIServiceSpec;
import io.kubernetes.client.openapi.models.V1APIServiceStatus;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* APIService represents a server for a particular GroupVersion. Name must be \"version.group\".
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIService implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -86,6 +89,7 @@ public V1APIService apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -105,6 +109,7 @@ public V1APIService kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -124,6 +129,7 @@ public V1APIService metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -143,6 +149,7 @@ public V1APIService spec(V1APIServiceSpec spec) {
* @return spec
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1APIServiceSpec getSpec() {
return spec;
}
@@ -162,6 +169,7 @@ public V1APIService status(V1APIServiceStatus status) {
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1APIServiceStatus getStatus() {
return status;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java
index 54ad920639..9607787577 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* APIServiceCondition describes the state of an APIService at a particular point
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "APIServiceCondition describes the state of an APIService at a particular point")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIServiceCondition {
public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime";
@SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME)
@@ -84,6 +87,7 @@ public V1APIServiceCondition lastTransitionTime(OffsetDateTime lastTransitionTim
* @return lastTransitionTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Last time the condition transitioned from one status to another.")
public OffsetDateTime getLastTransitionTime() {
return lastTransitionTime;
}
@@ -103,6 +107,7 @@ public V1APIServiceCondition message(String message) {
* @return message
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Human-readable message indicating details about last transition.")
public String getMessage() {
return message;
}
@@ -122,6 +127,7 @@ public V1APIServiceCondition reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Unique, one-word, CamelCase reason for the condition's last transition.")
public String getReason() {
return reason;
}
@@ -141,6 +147,7 @@ public V1APIServiceCondition status(String status) {
* @return status
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Status is the status of the condition. Can be True, False, Unknown.")
public String getStatus() {
return status;
}
@@ -160,6 +167,7 @@ public V1APIServiceCondition type(String type) {
* @return type
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Type is the type of the condition.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java
index b162c920b6..7279065369 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1APIService;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* APIServiceList is a list of APIService objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "APIServiceList is a list of APIService objects.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIServiceList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1APIServiceList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1APIServiceList addItemsItem(V1APIService itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Items is the list of APIService")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1APIServiceList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1APIServiceList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java
index 9f21812adf..11dcfacabd 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.ApiregistrationV1ServiceReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIServiceSpec {
public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle";
@SerializedName(SERIALIZED_NAME_CA_BUNDLE)
@@ -92,6 +95,7 @@ public V1APIServiceSpec caBundle(byte[] caBundle) {
* @return caBundle
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.")
public byte[] getCaBundle() {
return caBundle;
}
@@ -111,6 +115,7 @@ public V1APIServiceSpec group(String group) {
* @return group
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Group is the API group name this server hosts")
public String getGroup() {
return group;
}
@@ -130,6 +135,7 @@ public V1APIServiceSpec groupPriorityMinimum(Integer groupPriorityMinimum) {
* @return groupPriorityMinimum
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s")
public Integer getGroupPriorityMinimum() {
return groupPriorityMinimum;
}
@@ -149,6 +155,7 @@ public V1APIServiceSpec insecureSkipTLSVerify(Boolean insecureSkipTLSVerify) {
* @return insecureSkipTLSVerify
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.")
public Boolean getInsecureSkipTLSVerify() {
return insecureSkipTLSVerify;
}
@@ -168,6 +175,7 @@ public V1APIServiceSpec service(ApiregistrationV1ServiceReference service) {
* @return service
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public ApiregistrationV1ServiceReference getService() {
return service;
}
@@ -187,6 +195,7 @@ public V1APIServiceSpec version(String version) {
* @return version
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Version is the API version this server hosts. For example, \"v1\"")
public String getVersion() {
return version;
}
@@ -206,6 +215,7 @@ public V1APIServiceSpec versionPriority(Integer versionPriority) {
* @return versionPriority
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.")
public Integer getVersionPriority() {
return versionPriority;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java
index f6d1c31f24..ad00328045 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1APIServiceCondition;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* APIServiceStatus contains derived information about an API server
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "APIServiceStatus contains derived information about an API server")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIServiceStatus {
public static final String SERIALIZED_NAME_CONDITIONS = "conditions";
@SerializedName(SERIALIZED_NAME_CONDITIONS)
@@ -78,6 +81,7 @@ public V1APIServiceStatus addConditionsItem(V1APIServiceCondition conditionsItem
* @return conditions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Current service state of apiService.")
public List getConditions() {
return conditions;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java
index d47297be1b..0ae9d4b39e 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIVersions {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -82,6 +85,7 @@ public V1APIVersions apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -101,6 +105,7 @@ public V1APIVersions kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -128,6 +133,7 @@ public V1APIVersions addServerAddressByClientCIDRsItem(V1ServerAddressByClientCI
* @return serverAddressByClientCIDRs
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.")
public List getServerAddressByClientCIDRs() {
return serverAddressByClientCIDRs;
}
@@ -155,6 +161,7 @@ public V1APIVersions addVersionsItem(String versionsItem) {
* @return versions
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "versions are the api versions that are available.")
public List getVersions() {
return versions;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java
index 33d25d0b7c..679cced847 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AWSElasticBlockStoreVolumeSource {
public static final String SERIALIZED_NAME_FS_TYPE = "fsType";
@SerializedName(SERIALIZED_NAME_FS_TYPE)
@@ -79,6 +82,7 @@ public V1AWSElasticBlockStoreVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore")
public String getFsType() {
return fsType;
}
@@ -98,6 +102,7 @@ public V1AWSElasticBlockStoreVolumeSource partition(Integer partition) {
* @return partition
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).")
public Integer getPartition() {
return partition;
}
@@ -117,6 +122,7 @@ public V1AWSElasticBlockStoreVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore")
public Boolean getReadOnly() {
return readOnly;
}
@@ -136,6 +142,7 @@ public V1AWSElasticBlockStoreVolumeSource volumeID(String volumeID) {
* @return volumeID
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore")
public String getVolumeID() {
return volumeID;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java
index 1289fc91e8..551f7cdda1 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1NodeAffinity;
import io.kubernetes.client.openapi.models.V1PodAffinity;
import io.kubernetes.client.openapi.models.V1PodAntiAffinity;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* Affinity is a group of affinity scheduling rules.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Affinity is a group of affinity scheduling rules.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Affinity {
public static final String SERIALIZED_NAME_NODE_AFFINITY = "nodeAffinity";
@SerializedName(SERIALIZED_NAME_NODE_AFFINITY)
@@ -78,6 +81,7 @@ public V1Affinity nodeAffinity(V1NodeAffinity nodeAffinity) {
* @return nodeAffinity
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1NodeAffinity getNodeAffinity() {
return nodeAffinity;
}
@@ -97,6 +101,7 @@ public V1Affinity podAffinity(V1PodAffinity podAffinity) {
* @return podAffinity
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1PodAffinity getPodAffinity() {
return podAffinity;
}
@@ -116,6 +121,7 @@ public V1Affinity podAntiAffinity(V1PodAntiAffinity podAntiAffinity) {
* @return podAntiAffinity
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1PodAntiAffinity getPodAntiAffinity() {
return podAntiAffinity;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java
index 699b298ce5..1c7682fc43 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1LabelSelector;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AggregationRule {
public static final String SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS = "clusterRoleSelectors";
@SerializedName(SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS)
@@ -78,6 +81,7 @@ public V1AggregationRule addClusterRoleSelectorsItem(V1LabelSelector clusterRole
* @return clusterRoleSelectors
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added")
public List getClusterRoleSelectors() {
return clusterRoleSelectors;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AppArmorProfile.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AppArmorProfile.java
index 18d4aafc92..485cb72524 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AppArmorProfile.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AppArmorProfile.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* AppArmorProfile defines a pod or container's AppArmor settings.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "AppArmorProfile defines a pod or container's AppArmor settings.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AppArmorProfile {
public static final String SERIALIZED_NAME_LOCALHOST_PROFILE = "localhostProfile";
@SerializedName(SERIALIZED_NAME_LOCALHOST_PROFILE)
@@ -71,6 +74,7 @@ public V1AppArmorProfile localhostProfile(String localhostProfile) {
* @return localhostProfile
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".")
public String getLocalhostProfile() {
return localhostProfile;
}
@@ -90,6 +94,7 @@ public V1AppArmorProfile type(String type) {
* @return type
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java
index 4a4f3fcd8a..26ff1811d2 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* AttachedVolume describes a volume attached to a node
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "AttachedVolume describes a volume attached to a node")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AttachedVolume {
public static final String SERIALIZED_NAME_DEVICE_PATH = "devicePath";
@SerializedName(SERIALIZED_NAME_DEVICE_PATH)
@@ -71,6 +74,7 @@ public V1AttachedVolume devicePath(String devicePath) {
* @return devicePath
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "DevicePath represents the device path where the volume should be available")
public String getDevicePath() {
return devicePath;
}
@@ -90,6 +94,7 @@ public V1AttachedVolume name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Name of the attached volume")
public String getName() {
return name;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AuditAnnotation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AuditAnnotation.java
index abd5e7233b..1c6c1aec90 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AuditAnnotation.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AuditAnnotation.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* AuditAnnotation describes how to produce an audit annotation for an API request.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "AuditAnnotation describes how to produce an audit annotation for an API request.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AuditAnnotation {
public static final String SERIALIZED_NAME_KEY = "key";
@SerializedName(SERIALIZED_NAME_KEY)
@@ -71,6 +74,7 @@ public V1AuditAnnotation key(String key) {
* @return key
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\". If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. Required.")
public String getKey() {
return key;
}
@@ -90,6 +94,7 @@ public V1AuditAnnotation valueExpression(String valueExpression) {
* @return valueExpression
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. Required.")
public String getValueExpression() {
return valueExpression;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java
index d54f1eb796..dcaf2bdd4f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AzureDiskVolumeSource {
public static final String SERIALIZED_NAME_CACHING_MODE = "cachingMode";
@SerializedName(SERIALIZED_NAME_CACHING_MODE)
@@ -87,6 +90,7 @@ public V1AzureDiskVolumeSource cachingMode(String cachingMode) {
* @return cachingMode
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "cachingMode is the Host Caching mode: None, Read Only, Read Write.")
public String getCachingMode() {
return cachingMode;
}
@@ -106,6 +110,7 @@ public V1AzureDiskVolumeSource diskName(String diskName) {
* @return diskName
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "diskName is the Name of the data disk in the blob storage")
public String getDiskName() {
return diskName;
}
@@ -125,6 +130,7 @@ public V1AzureDiskVolumeSource diskURI(String diskURI) {
* @return diskURI
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "diskURI is the URI of data disk in the blob storage")
public String getDiskURI() {
return diskURI;
}
@@ -144,6 +150,7 @@ public V1AzureDiskVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.")
public String getFsType() {
return fsType;
}
@@ -163,6 +170,7 @@ public V1AzureDiskVolumeSource kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared")
public String getKind() {
return kind;
}
@@ -182,6 +190,7 @@ public V1AzureDiskVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.")
public Boolean getReadOnly() {
return readOnly;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java
index 8a3f19d029..df6a9ca240 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AzureFilePersistentVolumeSource {
public static final String SERIALIZED_NAME_READ_ONLY = "readOnly";
@SerializedName(SERIALIZED_NAME_READ_ONLY)
@@ -79,6 +82,7 @@ public V1AzureFilePersistentVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.")
public Boolean getReadOnly() {
return readOnly;
}
@@ -98,6 +102,7 @@ public V1AzureFilePersistentVolumeSource secretName(String secretName) {
* @return secretName
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "secretName is the name of secret that contains Azure Storage Account Name and Key")
public String getSecretName() {
return secretName;
}
@@ -117,6 +122,7 @@ public V1AzureFilePersistentVolumeSource secretNamespace(String secretNamespace)
* @return secretNamespace
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod")
public String getSecretNamespace() {
return secretNamespace;
}
@@ -136,6 +142,7 @@ public V1AzureFilePersistentVolumeSource shareName(String shareName) {
* @return shareName
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "shareName is the azure Share Name")
public String getShareName() {
return shareName;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java
index 9cfb998568..3053399578 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AzureFileVolumeSource {
public static final String SERIALIZED_NAME_READ_ONLY = "readOnly";
@SerializedName(SERIALIZED_NAME_READ_ONLY)
@@ -75,6 +78,7 @@ public V1AzureFileVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.")
public Boolean getReadOnly() {
return readOnly;
}
@@ -94,6 +98,7 @@ public V1AzureFileVolumeSource secretName(String secretName) {
* @return secretName
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "secretName is the name of secret that contains Azure Storage Account Name and Key")
public String getSecretName() {
return secretName;
}
@@ -113,6 +118,7 @@ public V1AzureFileVolumeSource shareName(String shareName) {
* @return shareName
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "shareName is the azure share Name")
public String getShareName() {
return shareName;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java
index 7d6f28a133..7902d406f0 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import io.kubernetes.client.openapi.models.V1ObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Binding implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -81,6 +84,7 @@ public V1Binding apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -100,6 +104,7 @@ public V1Binding kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -119,6 +124,7 @@ public V1Binding metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -138,6 +144,7 @@ public V1Binding target(V1ObjectReference target) {
* @return target
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1ObjectReference getTarget() {
return target;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java
index 172cc83804..a638f78e4f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* BoundObjectReference is a reference to an object that a token is bound to.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "BoundObjectReference is a reference to an object that a token is bound to.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1BoundObjectReference {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -79,6 +82,7 @@ public V1BoundObjectReference apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "API version of the referent.")
public String getApiVersion() {
return apiVersion;
}
@@ -98,6 +102,7 @@ public V1BoundObjectReference kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind of the referent. Valid kinds are 'Pod' and 'Secret'.")
public String getKind() {
return kind;
}
@@ -117,6 +122,7 @@ public V1BoundObjectReference name(String name) {
* @return name
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Name of the referent.")
public String getName() {
return name;
}
@@ -136,6 +142,7 @@ public V1BoundObjectReference uid(String uid) {
* @return uid
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "UID of the referent.")
public String getUid() {
return uid;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java
index 9c15da4e19..487591bed7 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CSIDriverSpec;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSIDriver implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -81,6 +84,7 @@ public V1CSIDriver apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -100,6 +104,7 @@ public V1CSIDriver kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -119,6 +124,7 @@ public V1CSIDriver metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -138,6 +144,7 @@ public V1CSIDriver spec(V1CSIDriverSpec spec) {
* @return spec
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1CSIDriverSpec getSpec() {
return spec;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java
index da0d23621b..5bf23daf6e 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CSIDriver;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* CSIDriverList is a collection of CSIDriver objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CSIDriverList is a collection of CSIDriver objects.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSIDriverList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1CSIDriverList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1CSIDriverList addItemsItem(V1CSIDriver itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "items is the list of CSIDriver")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1CSIDriverList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1CSIDriverList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java
index 9be167e9b7..665668c62c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.StorageV1TokenRequest;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* CSIDriverSpec is the specification of a CSIDriver.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CSIDriverSpec is the specification of a CSIDriver.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSIDriverSpec {
public static final String SERIALIZED_NAME_ATTACH_REQUIRED = "attachRequired";
@SerializedName(SERIALIZED_NAME_ATTACH_REQUIRED)
@@ -98,6 +101,7 @@ public V1CSIDriverSpec attachRequired(Boolean attachRequired) {
* @return attachRequired
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable.")
public Boolean getAttachRequired() {
return attachRequired;
}
@@ -117,6 +121,7 @@ public V1CSIDriverSpec fsGroupPolicy(String fsGroupPolicy) {
* @return fsGroupPolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field was immutable in Kubernetes < 1.29 and now is mutable. Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.")
public String getFsGroupPolicy() {
return fsGroupPolicy;
}
@@ -136,6 +141,7 @@ public V1CSIDriverSpec podInfoOnMount(Boolean podInfoOnMount) {
* @return podInfoOnMount
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume defined by a CSIVolumeSource, otherwise \"false\" \"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver. This field was immutable in Kubernetes < 1.29 and now is mutable.")
public Boolean getPodInfoOnMount() {
return podInfoOnMount;
}
@@ -155,6 +161,7 @@ public V1CSIDriverSpec requiresRepublish(Boolean requiresRepublish) {
* @return requiresRepublish
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false. Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.")
public Boolean getRequiresRepublish() {
return requiresRepublish;
}
@@ -174,6 +181,7 @@ public V1CSIDriverSpec seLinuxMount(Boolean seLinuxMount) {
* @return seLinuxMount
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "seLinuxMount specifies if the CSI driver supports \"-o context\" mount option. When \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context. When \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem. Default is \"false\".")
public Boolean getSeLinuxMount() {
return seLinuxMount;
}
@@ -193,6 +201,7 @@ public V1CSIDriverSpec storageCapacity(Boolean storageCapacity) {
* @return storageCapacity
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true. The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object. Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published. This field was immutable in Kubernetes <= 1.22 and now is mutable.")
public Boolean getStorageCapacity() {
return storageCapacity;
}
@@ -220,6 +229,7 @@ public V1CSIDriverSpec addTokenRequestsItem(StorageV1TokenRequest tokenRequestsI
* @return tokenRequests
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": { \"\": { \"token\": , \"expirationTimestamp\": , }, ... } Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.")
public List getTokenRequests() {
return tokenRequests;
}
@@ -247,6 +257,7 @@ public V1CSIDriverSpec addVolumeLifecycleModesItem(String volumeLifecycleModesIt
* @return volumeLifecycleModes
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta. This field is immutable.")
public List getVolumeLifecycleModes() {
return volumeLifecycleModes;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java
index b945274f37..e4a0d082c6 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CSINodeSpec;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSINode implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -81,6 +84,7 @@ public V1CSINode apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -100,6 +104,7 @@ public V1CSINode kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -119,6 +124,7 @@ public V1CSINode metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -138,6 +144,7 @@ public V1CSINode spec(V1CSINodeSpec spec) {
* @return spec
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1CSINodeSpec getSpec() {
return spec;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java
index d164f0808b..85d67a1d9c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1VolumeNodeResources;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* CSINodeDriver holds information about the specification of one CSI driver installed on a node
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CSINodeDriver holds information about the specification of one CSI driver installed on a node")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSINodeDriver {
public static final String SERIALIZED_NAME_ALLOCATABLE = "allocatable";
@SerializedName(SERIALIZED_NAME_ALLOCATABLE)
@@ -82,6 +85,7 @@ public V1CSINodeDriver allocatable(V1VolumeNodeResources allocatable) {
* @return allocatable
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1VolumeNodeResources getAllocatable() {
return allocatable;
}
@@ -101,6 +105,7 @@ public V1CSINodeDriver name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.")
public String getName() {
return name;
}
@@ -120,6 +125,7 @@ public V1CSINodeDriver nodeID(String nodeID) {
* @return nodeID
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.")
public String getNodeID() {
return nodeID;
}
@@ -147,6 +153,7 @@ public V1CSINodeDriver addTopologyKeysItem(String topologyKeysItem) {
* @return topologyKeys
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.")
public List getTopologyKeys() {
return topologyKeys;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java
index 08d5f3a276..319e2f900b 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CSINode;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* CSINodeList is a collection of CSINode objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CSINodeList is a collection of CSINode objects.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSINodeList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1CSINodeList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1CSINodeList addItemsItem(V1CSINode itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "items is the list of CSINode")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1CSINodeList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1CSINodeList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java
index aa08f93302..c9215e1d19 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CSINodeDriver;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* CSINodeSpec holds information about the specification of all CSI drivers installed on a node
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CSINodeSpec holds information about the specification of all CSI drivers installed on a node")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSINodeSpec {
public static final String SERIALIZED_NAME_DRIVERS = "drivers";
@SerializedName(SERIALIZED_NAME_DRIVERS)
@@ -78,6 +81,7 @@ public V1CSINodeSpec addDriversItem(V1CSINodeDriver driversItem) {
* @return drivers
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.")
public List getDrivers() {
return drivers;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java
index 22a56753d9..aa621389a4 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1SecretReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
@@ -51,7 +53,8 @@
/**
* Represents storage that is managed by an external CSI volume driver (Beta feature)
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents storage that is managed by an external CSI volume driver (Beta feature)")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSIPersistentVolumeSource {
public static final String SERIALIZED_NAME_CONTROLLER_EXPAND_SECRET_REF = "controllerExpandSecretRef";
@SerializedName(SERIALIZED_NAME_CONTROLLER_EXPAND_SECRET_REF)
@@ -106,6 +109,7 @@ public V1CSIPersistentVolumeSource controllerExpandSecretRef(V1SecretReference c
* @return controllerExpandSecretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecretReference getControllerExpandSecretRef() {
return controllerExpandSecretRef;
}
@@ -125,6 +129,7 @@ public V1CSIPersistentVolumeSource controllerPublishSecretRef(V1SecretReference
* @return controllerPublishSecretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecretReference getControllerPublishSecretRef() {
return controllerPublishSecretRef;
}
@@ -144,6 +149,7 @@ public V1CSIPersistentVolumeSource driver(String driver) {
* @return driver
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "driver is the name of the driver to use for this volume. Required.")
public String getDriver() {
return driver;
}
@@ -163,6 +169,7 @@ public V1CSIPersistentVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".")
public String getFsType() {
return fsType;
}
@@ -182,6 +189,7 @@ public V1CSIPersistentVolumeSource nodeExpandSecretRef(V1SecretReference nodeExp
* @return nodeExpandSecretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecretReference getNodeExpandSecretRef() {
return nodeExpandSecretRef;
}
@@ -201,6 +209,7 @@ public V1CSIPersistentVolumeSource nodePublishSecretRef(V1SecretReference nodePu
* @return nodePublishSecretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecretReference getNodePublishSecretRef() {
return nodePublishSecretRef;
}
@@ -220,6 +229,7 @@ public V1CSIPersistentVolumeSource nodeStageSecretRef(V1SecretReference nodeStag
* @return nodeStageSecretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecretReference getNodeStageSecretRef() {
return nodeStageSecretRef;
}
@@ -239,6 +249,7 @@ public V1CSIPersistentVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).")
public Boolean getReadOnly() {
return readOnly;
}
@@ -266,6 +277,7 @@ public V1CSIPersistentVolumeSource putVolumeAttributesItem(String key, String vo
* @return volumeAttributes
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "volumeAttributes of the volume to publish.")
public Map getVolumeAttributes() {
return volumeAttributes;
}
@@ -285,6 +297,7 @@ public V1CSIPersistentVolumeSource volumeHandle(String volumeHandle) {
* @return volumeHandle
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.")
public String getVolumeHandle() {
return volumeHandle;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacity.java
index cb879c4bf4..f0e6d49ff6 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacity.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacity.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.custom.Quantity;
import io.kubernetes.client.openapi.models.V1LabelSelector;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. For example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\" The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero The producer of these objects can decide which approach is more suitable. They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. For example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\" The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero The producer of these objects can decide which approach is more suitable. They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSIStorageCapacity implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -94,6 +97,7 @@ public V1CSIStorageCapacity apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -113,6 +117,7 @@ public V1CSIStorageCapacity capacity(Quantity capacity) {
* @return capacity
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.")
public Quantity getCapacity() {
return capacity;
}
@@ -132,6 +137,7 @@ public V1CSIStorageCapacity kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -151,6 +157,7 @@ public V1CSIStorageCapacity maximumVolumeSize(Quantity maximumVolumeSize) {
* @return maximumVolumeSize
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.")
public Quantity getMaximumVolumeSize() {
return maximumVolumeSize;
}
@@ -170,6 +177,7 @@ public V1CSIStorageCapacity metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -189,6 +197,7 @@ public V1CSIStorageCapacity nodeTopology(V1LabelSelector nodeTopology) {
* @return nodeTopology
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1LabelSelector getNodeTopology() {
return nodeTopology;
}
@@ -208,6 +217,7 @@ public V1CSIStorageCapacity storageClassName(String storageClassName) {
* @return storageClassName
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.")
public String getStorageClassName() {
return storageClassName;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacityList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacityList.java
index effc2f23e8..cffc408a34 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacityList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacityList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CSIStorageCapacity;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* CSIStorageCapacityList is a collection of CSIStorageCapacity objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSIStorageCapacityList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1CSIStorageCapacityList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1CSIStorageCapacityList addItemsItem(V1CSIStorageCapacity itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "items is the list of CSIStorageCapacity objects.")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1CSIStorageCapacityList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1CSIStorageCapacityList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java
index 66c230ccfc..30536c7dc7 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1LocalObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
@@ -51,7 +53,8 @@
/**
* Represents a source location of a volume to mount, managed by an external CSI driver
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a source location of a volume to mount, managed by an external CSI driver")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSIVolumeSource {
public static final String SERIALIZED_NAME_DRIVER = "driver";
@SerializedName(SERIALIZED_NAME_DRIVER)
@@ -86,6 +89,7 @@ public V1CSIVolumeSource driver(String driver) {
* @return driver
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.")
public String getDriver() {
return driver;
}
@@ -105,6 +109,7 @@ public V1CSIVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.")
public String getFsType() {
return fsType;
}
@@ -124,6 +129,7 @@ public V1CSIVolumeSource nodePublishSecretRef(V1LocalObjectReference nodePublish
* @return nodePublishSecretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1LocalObjectReference getNodePublishSecretRef() {
return nodePublishSecretRef;
}
@@ -143,6 +149,7 @@ public V1CSIVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).")
public Boolean getReadOnly() {
return readOnly;
}
@@ -170,6 +177,7 @@ public V1CSIVolumeSource putVolumeAttributesItem(String key, String volumeAttrib
* @return volumeAttributes
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.")
public Map getVolumeAttributes() {
return volumeAttributes;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java
index dcf4982e85..4675b06520 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* Adds and removes POSIX capabilities from running containers.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Adds and removes POSIX capabilities from running containers.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Capabilities {
public static final String SERIALIZED_NAME_ADD = "add";
@SerializedName(SERIALIZED_NAME_ADD)
@@ -81,6 +84,7 @@ public V1Capabilities addAddItem(String addItem) {
* @return add
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Added capabilities")
public List getAdd() {
return add;
}
@@ -108,6 +112,7 @@ public V1Capabilities addDropItem(String dropItem) {
* @return drop
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Removed capabilities")
public List getDrop() {
return drop;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java
index 9b5ea1e5b0..005a5b8baa 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1SecretReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CephFSPersistentVolumeSource {
public static final String SERIALIZED_NAME_MONITORS = "monitors";
@SerializedName(SERIALIZED_NAME_MONITORS)
@@ -98,6 +101,7 @@ public V1CephFSPersistentVolumeSource addMonitorsItem(String monitorsItem) {
* @return monitors
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it")
public List getMonitors() {
return monitors;
}
@@ -117,6 +121,7 @@ public V1CephFSPersistentVolumeSource path(String path) {
* @return path
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /")
public String getPath() {
return path;
}
@@ -136,6 +141,7 @@ public V1CephFSPersistentVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it")
public Boolean getReadOnly() {
return readOnly;
}
@@ -155,6 +161,7 @@ public V1CephFSPersistentVolumeSource secretFile(String secretFile) {
* @return secretFile
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it")
public String getSecretFile() {
return secretFile;
}
@@ -174,6 +181,7 @@ public V1CephFSPersistentVolumeSource secretRef(V1SecretReference secretRef) {
* @return secretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecretReference getSecretRef() {
return secretRef;
}
@@ -193,6 +201,7 @@ public V1CephFSPersistentVolumeSource user(String user) {
* @return user
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it")
public String getUser() {
return user;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java
index 123f67c9b1..3fc35d7dc6 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1LocalObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CephFSVolumeSource {
public static final String SERIALIZED_NAME_MONITORS = "monitors";
@SerializedName(SERIALIZED_NAME_MONITORS)
@@ -98,6 +101,7 @@ public V1CephFSVolumeSource addMonitorsItem(String monitorsItem) {
* @return monitors
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it")
public List getMonitors() {
return monitors;
}
@@ -117,6 +121,7 @@ public V1CephFSVolumeSource path(String path) {
* @return path
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /")
public String getPath() {
return path;
}
@@ -136,6 +141,7 @@ public V1CephFSVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it")
public Boolean getReadOnly() {
return readOnly;
}
@@ -155,6 +161,7 @@ public V1CephFSVolumeSource secretFile(String secretFile) {
* @return secretFile
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it")
public String getSecretFile() {
return secretFile;
}
@@ -174,6 +181,7 @@ public V1CephFSVolumeSource secretRef(V1LocalObjectReference secretRef) {
* @return secretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1LocalObjectReference getSecretRef() {
return secretRef;
}
@@ -193,6 +201,7 @@ public V1CephFSVolumeSource user(String user) {
* @return user
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it")
public String getUser() {
return user;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java
index e3fab0b917..159373f521 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1CertificateSigningRequestSpec;
import io.kubernetes.client.openapi.models.V1CertificateSigningRequestStatus;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. Kubelets use this API to obtain: 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName). 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName). This API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. Kubelets use this API to obtain: 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName). 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName). This API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CertificateSigningRequest implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -86,6 +89,7 @@ public V1CertificateSigningRequest apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -105,6 +109,7 @@ public V1CertificateSigningRequest kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -124,6 +129,7 @@ public V1CertificateSigningRequest metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -143,6 +149,7 @@ public V1CertificateSigningRequest spec(V1CertificateSigningRequestSpec spec) {
* @return spec
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1CertificateSigningRequestSpec getSpec() {
return spec;
}
@@ -162,6 +169,7 @@ public V1CertificateSigningRequest status(V1CertificateSigningRequestStatus stat
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1CertificateSigningRequestStatus getStatus() {
return status;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java
index 6a2d55cf5c..e973de4c23 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CertificateSigningRequestCondition {
public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime";
@SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME)
@@ -88,6 +91,7 @@ public V1CertificateSigningRequestCondition lastTransitionTime(OffsetDateTime la
* @return lastTransitionTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.")
public OffsetDateTime getLastTransitionTime() {
return lastTransitionTime;
}
@@ -107,6 +111,7 @@ public V1CertificateSigningRequestCondition lastUpdateTime(OffsetDateTime lastUp
* @return lastUpdateTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "lastUpdateTime is the time of the last update to this condition")
public OffsetDateTime getLastUpdateTime() {
return lastUpdateTime;
}
@@ -126,6 +131,7 @@ public V1CertificateSigningRequestCondition message(String message) {
* @return message
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "message contains a human readable message with details about the request state")
public String getMessage() {
return message;
}
@@ -145,6 +151,7 @@ public V1CertificateSigningRequestCondition reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "reason indicates a brief reason for the request state")
public String getReason() {
return reason;
}
@@ -164,6 +171,7 @@ public V1CertificateSigningRequestCondition status(String status) {
* @return status
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\".")
public String getStatus() {
return status;
}
@@ -183,6 +191,7 @@ public V1CertificateSigningRequestCondition type(String type) {
* @return type
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java
index 214ceca9c9..0fc74c462d 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CertificateSigningRequest;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* CertificateSigningRequestList is a collection of CertificateSigningRequest objects
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CertificateSigningRequestList is a collection of CertificateSigningRequest objects")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CertificateSigningRequestList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1CertificateSigningRequestList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1CertificateSigningRequestList addItemsItem(V1CertificateSigningRequest
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "items is a collection of CertificateSigningRequest objects")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1CertificateSigningRequestList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1CertificateSigningRequestList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java
index dc83571fcb..3bbda2781e 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* CertificateSigningRequestSpec contains the certificate request.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CertificateSigningRequestSpec contains the certificate request.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CertificateSigningRequestSpec {
public static final String SERIALIZED_NAME_EXPIRATION_SECONDS = "expirationSeconds";
@SerializedName(SERIALIZED_NAME_EXPIRATION_SECONDS)
@@ -99,6 +102,7 @@ public V1CertificateSigningRequestSpec expirationSeconds(Integer expirationSecon
* @return expirationSeconds
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration. The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager. Certificate signers may not honor this field for various reasons: 1. Old signer that is unaware of the field (such as the in-tree implementations prior to v1.22) 2. Signer whose configured maximum is shorter than the requested duration 3. Signer whose configured minimum is longer than the requested duration The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.")
public Integer getExpirationSeconds() {
return expirationSeconds;
}
@@ -126,6 +130,7 @@ public V1CertificateSigningRequestSpec putExtraItem(String key, List ext
* @return extra
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.")
public Map> getExtra() {
return extra;
}
@@ -153,6 +158,7 @@ public V1CertificateSigningRequestSpec addGroupsItem(String groupsItem) {
* @return groups
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.")
public List getGroups() {
return groups;
}
@@ -172,6 +178,7 @@ public V1CertificateSigningRequestSpec request(byte[] request) {
* @return request
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.")
public byte[] getRequest() {
return request;
}
@@ -191,6 +198,7 @@ public V1CertificateSigningRequestSpec signerName(String signerName) {
* @return signerName
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "signerName indicates the requested signer, and is a qualified name. List/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector. Well-known Kubernetes signers are: 1. \"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager. 2. \"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager. 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager. More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers Custom signerNames can also be specified. The signer defines: 1. Trust distribution: how trust (CA bundles) are distributed. 2. Permitted subjects: and behavior when a disallowed subject is requested. 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested. 4. Required, permitted, or forbidden key usages / extended key usages. 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin. 6. Whether or not requests for CA certificates are allowed.")
public String getSignerName() {
return signerName;
}
@@ -210,6 +218,7 @@ public V1CertificateSigningRequestSpec uid(String uid) {
* @return uid
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.")
public String getUid() {
return uid;
}
@@ -237,6 +246,7 @@ public V1CertificateSigningRequestSpec addUsagesItem(String usagesItem) {
* @return usages
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "usages specifies a set of key usages requested in the issued certificate. Requests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\". Requests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\". Valid values are: \"signing\", \"digital signature\", \"content commitment\", \"key encipherment\", \"key agreement\", \"data encipherment\", \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\", \"server auth\", \"client auth\", \"code signing\", \"email protection\", \"s/mime\", \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\", \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\"")
public List getUsages() {
return usages;
}
@@ -256,6 +266,7 @@ public V1CertificateSigningRequestSpec username(String username) {
* @return username
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.")
public String getUsername() {
return username;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java
index e7d45ffe46..49fc5251d9 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CertificateSigningRequestCondition;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CertificateSigningRequestStatus {
public static final String SERIALIZED_NAME_CERTIFICATE = "certificate";
@SerializedName(SERIALIZED_NAME_CERTIFICATE)
@@ -74,6 +77,7 @@ public V1CertificateSigningRequestStatus certificate(byte[] certificate) {
* @return certificate
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable. If the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty. Validation requirements: 1. certificate must contain one or more PEM blocks. 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280. 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated, to allow for explanatory text as described in section 5.2 of RFC7468. If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. The certificate is encoded in PEM format. When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of: base64( -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- )")
public byte[] getCertificate() {
return certificate;
}
@@ -101,6 +105,7 @@ public V1CertificateSigningRequestStatus addConditionsItem(V1CertificateSigningR
* @return conditions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\".")
public List getConditions() {
return conditions;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java
index d3600eb7ce..4de6dd94fa 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1SecretReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CinderPersistentVolumeSource {
public static final String SERIALIZED_NAME_FS_TYPE = "fsType";
@SerializedName(SERIALIZED_NAME_FS_TYPE)
@@ -80,6 +83,7 @@ public V1CinderPersistentVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md")
public String getFsType() {
return fsType;
}
@@ -99,6 +103,7 @@ public V1CinderPersistentVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md")
public Boolean getReadOnly() {
return readOnly;
}
@@ -118,6 +123,7 @@ public V1CinderPersistentVolumeSource secretRef(V1SecretReference secretRef) {
* @return secretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecretReference getSecretRef() {
return secretRef;
}
@@ -137,6 +143,7 @@ public V1CinderPersistentVolumeSource volumeID(String volumeID) {
* @return volumeID
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md")
public String getVolumeID() {
return volumeID;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java
index 66ac39f20c..1ccb7f1da1 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1LocalObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CinderVolumeSource {
public static final String SERIALIZED_NAME_FS_TYPE = "fsType";
@SerializedName(SERIALIZED_NAME_FS_TYPE)
@@ -80,6 +83,7 @@ public V1CinderVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md")
public String getFsType() {
return fsType;
}
@@ -99,6 +103,7 @@ public V1CinderVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md")
public Boolean getReadOnly() {
return readOnly;
}
@@ -118,6 +123,7 @@ public V1CinderVolumeSource secretRef(V1LocalObjectReference secretRef) {
* @return secretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1LocalObjectReference getSecretRef() {
return secretRef;
}
@@ -137,6 +143,7 @@ public V1CinderVolumeSource volumeID(String volumeID) {
* @return volumeID
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md")
public String getVolumeID() {
return volumeID;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java
index bbb58584a9..6d90e2e9c1 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ClientIPConfig represents the configurations of Client IP based session affinity.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ClientIPConfig represents the configurations of Client IP based session affinity.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ClientIPConfig {
public static final String SERIALIZED_NAME_TIMEOUT_SECONDS = "timeoutSeconds";
@SerializedName(SERIALIZED_NAME_TIMEOUT_SECONDS)
@@ -67,6 +70,7 @@ public V1ClientIPConfig timeoutSeconds(Integer timeoutSeconds) {
* @return timeoutSeconds
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).")
public Integer getTimeoutSeconds() {
return timeoutSeconds;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java
index 3e490700cf..38dae125c5 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1AggregationRule;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import io.kubernetes.client.openapi.models.V1PolicyRule;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -53,7 +55,8 @@
/**
* ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ClusterRole implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_AGGREGATION_RULE = "aggregationRule";
@SerializedName(SERIALIZED_NAME_AGGREGATION_RULE)
@@ -88,6 +91,7 @@ public V1ClusterRole aggregationRule(V1AggregationRule aggregationRule) {
* @return aggregationRule
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1AggregationRule getAggregationRule() {
return aggregationRule;
}
@@ -107,6 +111,7 @@ public V1ClusterRole apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -126,6 +131,7 @@ public V1ClusterRole kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -145,6 +151,7 @@ public V1ClusterRole metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -172,6 +179,7 @@ public V1ClusterRole addRulesItem(V1PolicyRule rulesItem) {
* @return rules
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Rules holds all the PolicyRules for this ClusterRole")
public List getRules() {
return rules;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java
index 1144c9a955..eae12648e3 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.RbacV1Subject;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import io.kubernetes.client.openapi.models.V1RoleRef;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -53,7 +55,8 @@
/**
* ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ClusterRoleBinding implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -88,6 +91,7 @@ public V1ClusterRoleBinding apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -107,6 +111,7 @@ public V1ClusterRoleBinding kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -126,6 +131,7 @@ public V1ClusterRoleBinding metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -145,6 +151,7 @@ public V1ClusterRoleBinding roleRef(V1RoleRef roleRef) {
* @return roleRef
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1RoleRef getRoleRef() {
return roleRef;
}
@@ -172,6 +179,7 @@ public V1ClusterRoleBinding addSubjectsItem(RbacV1Subject subjectsItem) {
* @return subjects
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Subjects holds references to the objects the role applies to.")
public List getSubjects() {
return subjects;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java
index 433692b66c..1596fadd0f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ClusterRoleBinding;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* ClusterRoleBindingList is a collection of ClusterRoleBindings
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ClusterRoleBindingList is a collection of ClusterRoleBindings")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ClusterRoleBindingList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1ClusterRoleBindingList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1ClusterRoleBindingList addItemsItem(V1ClusterRoleBinding itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Items is a list of ClusterRoleBindings")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1ClusterRoleBindingList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1ClusterRoleBindingList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java
index 48342058ba..13f82a396b 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ClusterRole;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* ClusterRoleList is a collection of ClusterRoles
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ClusterRoleList is a collection of ClusterRoles")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ClusterRoleList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1ClusterRoleList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1ClusterRoleList addItemsItem(V1ClusterRole itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Items is a list of ClusterRoles")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1ClusterRoleList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1ClusterRoleList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterTrustBundleProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterTrustBundleProjection.java
index 1b1cda081a..191544b073 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterTrustBundleProjection.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterTrustBundleProjection.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1LabelSelector;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ClusterTrustBundleProjection {
public static final String SERIALIZED_NAME_LABEL_SELECTOR = "labelSelector";
@SerializedName(SERIALIZED_NAME_LABEL_SELECTOR)
@@ -84,6 +87,7 @@ public V1ClusterTrustBundleProjection labelSelector(V1LabelSelector labelSelecto
* @return labelSelector
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1LabelSelector getLabelSelector() {
return labelSelector;
}
@@ -103,6 +107,7 @@ public V1ClusterTrustBundleProjection name(String name) {
* @return name
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.")
public String getName() {
return name;
}
@@ -122,6 +127,7 @@ public V1ClusterTrustBundleProjection optional(Boolean optional) {
* @return optional
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.")
public Boolean getOptional() {
return optional;
}
@@ -141,6 +147,7 @@ public V1ClusterTrustBundleProjection path(String path) {
* @return path
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Relative path from the volume root to write the bundle.")
public String getPath() {
return path;
}
@@ -160,6 +167,7 @@ public V1ClusterTrustBundleProjection signerName(String signerName) {
* @return signerName
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.")
public String getSignerName() {
return signerName;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java
index 9d31dcd581..01ed51ff69 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* Information about the condition of a component.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Information about the condition of a component.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ComponentCondition {
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
@@ -79,6 +82,7 @@ public V1ComponentCondition error(String error) {
* @return error
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Condition error code for a component. For example, a health check error code.")
public String getError() {
return error;
}
@@ -98,6 +102,7 @@ public V1ComponentCondition message(String message) {
* @return message
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Message about the condition for a component. For example, information about a health check.")
public String getMessage() {
return message;
}
@@ -117,6 +122,7 @@ public V1ComponentCondition status(String status) {
* @return status
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".")
public String getStatus() {
return status;
}
@@ -136,6 +142,7 @@ public V1ComponentCondition type(String type) {
* @return type
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Type of condition for a component. Valid value: \"Healthy\"")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java
index 41ff4adce1..8170e2c619 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ComponentCondition;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ComponentStatus implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1ComponentStatus apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1ComponentStatus addConditionsItem(V1ComponentCondition conditionsItem)
* @return conditions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "List of component conditions observed")
public List getConditions() {
return conditions;
}
@@ -129,6 +134,7 @@ public V1ComponentStatus kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1ComponentStatus metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java
index 0756ae54b0..bbe2d73fbd 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ComponentStatus;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ComponentStatusList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1ComponentStatusList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1ComponentStatusList addItemsItem(V1ComponentStatus itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "List of ComponentStatus objects.")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1ComponentStatusList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1ComponentStatusList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Condition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Condition.java
index 0402e604b5..f93d659e54 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Condition.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Condition.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* Condition contains details for one aspect of the current state of this API Resource.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Condition contains details for one aspect of the current state of this API Resource.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Condition {
public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime";
@SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME)
@@ -88,6 +91,7 @@ public V1Condition lastTransitionTime(OffsetDateTime lastTransitionTime) {
* @return lastTransitionTime
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.")
public OffsetDateTime getLastTransitionTime() {
return lastTransitionTime;
}
@@ -107,6 +111,7 @@ public V1Condition message(String message) {
* @return message
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "message is a human readable message indicating details about the transition. This may be an empty string.")
public String getMessage() {
return message;
}
@@ -126,6 +131,7 @@ public V1Condition observedGeneration(Long observedGeneration) {
* @return observedGeneration
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.")
public Long getObservedGeneration() {
return observedGeneration;
}
@@ -145,6 +151,7 @@ public V1Condition reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.")
public String getReason() {
return reason;
}
@@ -164,6 +171,7 @@ public V1Condition status(String status) {
* @return status
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "status of the condition, one of True, False, Unknown.")
public String getStatus() {
return status;
}
@@ -183,6 +191,7 @@ public V1Condition type(String type) {
* @return type
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "type of condition in CamelCase or in foo.example.com/CamelCase.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java
index 5fbd06a362..6540ab6ff4 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
@@ -51,7 +53,8 @@
/**
* ConfigMap holds configuration data for pods to consume.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ConfigMap holds configuration data for pods to consume.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ConfigMap implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -90,6 +93,7 @@ public V1ConfigMap apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -117,6 +121,7 @@ public V1ConfigMap putBinaryDataItem(String key, byte[] binaryDataItem) {
* @return binaryData
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.")
public Map getBinaryData() {
return binaryData;
}
@@ -144,6 +149,7 @@ public V1ConfigMap putDataItem(String key, String dataItem) {
* @return data
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.")
public Map getData() {
return data;
}
@@ -163,6 +169,7 @@ public V1ConfigMap immutable(Boolean immutable) {
* @return immutable
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.")
public Boolean getImmutable() {
return immutable;
}
@@ -182,6 +189,7 @@ public V1ConfigMap kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -201,6 +209,7 @@ public V1ConfigMap metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java
index 8b895aba22..a26cb0f79d 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ConfigMapEnvSource {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -71,6 +74,7 @@ public V1ConfigMapEnvSource name(String name) {
* @return name
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names")
public String getName() {
return name;
}
@@ -90,6 +94,7 @@ public V1ConfigMapEnvSource optional(Boolean optional) {
* @return optional
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Specify whether the ConfigMap must be defined")
public Boolean getOptional() {
return optional;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java
index 22b5dbbeab..f49bf1b550 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* Selects a key from a ConfigMap.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Selects a key from a ConfigMap.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ConfigMapKeySelector {
public static final String SERIALIZED_NAME_KEY = "key";
@SerializedName(SERIALIZED_NAME_KEY)
@@ -75,6 +78,7 @@ public V1ConfigMapKeySelector key(String key) {
* @return key
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The key to select.")
public String getKey() {
return key;
}
@@ -94,6 +98,7 @@ public V1ConfigMapKeySelector name(String name) {
* @return name
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names")
public String getName() {
return name;
}
@@ -113,6 +118,7 @@ public V1ConfigMapKeySelector optional(Boolean optional) {
* @return optional
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Specify whether the ConfigMap or its key must be defined")
public Boolean getOptional() {
return optional;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java
index 5377b705ec..2741904ddc 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ConfigMap;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* ConfigMapList is a resource containing a list of ConfigMap objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ConfigMapList is a resource containing a list of ConfigMap objects.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ConfigMapList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1ConfigMapList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1ConfigMapList addItemsItem(V1ConfigMap itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Items is the list of ConfigMaps.")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1ConfigMapList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1ConfigMapList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java
index 7d0d9428a6..900b3b0842 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ConfigMapNodeConfigSource {
public static final String SERIALIZED_NAME_KUBELET_CONFIG_KEY = "kubeletConfigKey";
@SerializedName(SERIALIZED_NAME_KUBELET_CONFIG_KEY)
@@ -83,6 +86,7 @@ public V1ConfigMapNodeConfigSource kubeletConfigKey(String kubeletConfigKey) {
* @return kubeletConfigKey
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.")
public String getKubeletConfigKey() {
return kubeletConfigKey;
}
@@ -102,6 +106,7 @@ public V1ConfigMapNodeConfigSource name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.")
public String getName() {
return name;
}
@@ -121,6 +126,7 @@ public V1ConfigMapNodeConfigSource namespace(String namespace) {
* @return namespace
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.")
public String getNamespace() {
return namespace;
}
@@ -140,6 +146,7 @@ public V1ConfigMapNodeConfigSource resourceVersion(String resourceVersion) {
* @return resourceVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.")
public String getResourceVersion() {
return resourceVersion;
}
@@ -159,6 +166,7 @@ public V1ConfigMapNodeConfigSource uid(String uid) {
* @return uid
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.")
public String getUid() {
return uid;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java
index c11f829b0d..6251ab968e 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1KeyToPath;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ConfigMapProjection {
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
@@ -86,6 +89,7 @@ public V1ConfigMapProjection addItemsItem(V1KeyToPath itemsItem) {
* @return items
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.")
public List getItems() {
return items;
}
@@ -105,6 +109,7 @@ public V1ConfigMapProjection name(String name) {
* @return name
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names")
public String getName() {
return name;
}
@@ -124,6 +129,7 @@ public V1ConfigMapProjection optional(Boolean optional) {
* @return optional
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "optional specify whether the ConfigMap or its keys must be defined")
public Boolean getOptional() {
return optional;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java
index f9e3af0d41..0624cb1702 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1KeyToPath;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ConfigMapVolumeSource {
public static final String SERIALIZED_NAME_DEFAULT_MODE = "defaultMode";
@SerializedName(SERIALIZED_NAME_DEFAULT_MODE)
@@ -82,6 +85,7 @@ public V1ConfigMapVolumeSource defaultMode(Integer defaultMode) {
* @return defaultMode
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.")
public Integer getDefaultMode() {
return defaultMode;
}
@@ -109,6 +113,7 @@ public V1ConfigMapVolumeSource addItemsItem(V1KeyToPath itemsItem) {
* @return items
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.")
public List getItems() {
return items;
}
@@ -128,6 +133,7 @@ public V1ConfigMapVolumeSource name(String name) {
* @return name
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names")
public String getName() {
return name;
}
@@ -147,6 +153,7 @@ public V1ConfigMapVolumeSource optional(Boolean optional) {
* @return optional
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "optional specify whether the ConfigMap or its keys must be defined")
public Boolean getOptional() {
return optional;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java
index 80e3f2579d..060c0b4600 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -28,6 +28,8 @@
import io.kubernetes.client.openapi.models.V1SecurityContext;
import io.kubernetes.client.openapi.models.V1VolumeDevice;
import io.kubernetes.client.openapi.models.V1VolumeMount;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -60,7 +62,8 @@
/**
* A single application container that you want to run within a pod.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "A single application container that you want to run within a pod.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Container {
public static final String SERIALIZED_NAME_ARGS = "args";
@SerializedName(SERIALIZED_NAME_ARGS)
@@ -179,6 +182,7 @@ public V1Container addArgsItem(String argsItem) {
* @return args
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell")
public List getArgs() {
return args;
}
@@ -206,6 +210,7 @@ public V1Container addCommandItem(String commandItem) {
* @return command
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell")
public List getCommand() {
return command;
}
@@ -233,6 +238,7 @@ public V1Container addEnvItem(V1EnvVar envItem) {
* @return env
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "List of environment variables to set in the container. Cannot be updated.")
public List getEnv() {
return env;
}
@@ -260,6 +266,7 @@ public V1Container addEnvFromItem(V1EnvFromSource envFromItem) {
* @return envFrom
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.")
public List getEnvFrom() {
return envFrom;
}
@@ -279,6 +286,7 @@ public V1Container image(String image) {
* @return image
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.")
public String getImage() {
return image;
}
@@ -298,6 +306,7 @@ public V1Container imagePullPolicy(String imagePullPolicy) {
* @return imagePullPolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images")
public String getImagePullPolicy() {
return imagePullPolicy;
}
@@ -317,6 +326,7 @@ public V1Container lifecycle(V1Lifecycle lifecycle) {
* @return lifecycle
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1Lifecycle getLifecycle() {
return lifecycle;
}
@@ -336,6 +346,7 @@ public V1Container livenessProbe(V1Probe livenessProbe) {
* @return livenessProbe
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1Probe getLivenessProbe() {
return livenessProbe;
}
@@ -355,6 +366,7 @@ public V1Container name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.")
public String getName() {
return name;
}
@@ -382,6 +394,7 @@ public V1Container addPortsItem(V1ContainerPort portsItem) {
* @return ports
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.")
public List getPorts() {
return ports;
}
@@ -401,6 +414,7 @@ public V1Container readinessProbe(V1Probe readinessProbe) {
* @return readinessProbe
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1Probe getReadinessProbe() {
return readinessProbe;
}
@@ -428,6 +442,7 @@ public V1Container addResizePolicyItem(V1ContainerResizePolicy resizePolicyItem)
* @return resizePolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Resources resize policy for the container.")
public List getResizePolicy() {
return resizePolicy;
}
@@ -447,6 +462,7 @@ public V1Container resources(V1ResourceRequirements resources) {
* @return resources
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ResourceRequirements getResources() {
return resources;
}
@@ -466,6 +482,7 @@ public V1Container restartPolicy(String restartPolicy) {
* @return restartPolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.")
public String getRestartPolicy() {
return restartPolicy;
}
@@ -485,6 +502,7 @@ public V1Container securityContext(V1SecurityContext securityContext) {
* @return securityContext
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecurityContext getSecurityContext() {
return securityContext;
}
@@ -504,6 +522,7 @@ public V1Container startupProbe(V1Probe startupProbe) {
* @return startupProbe
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1Probe getStartupProbe() {
return startupProbe;
}
@@ -523,6 +542,7 @@ public V1Container stdin(Boolean stdin) {
* @return stdin
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.")
public Boolean getStdin() {
return stdin;
}
@@ -542,6 +562,7 @@ public V1Container stdinOnce(Boolean stdinOnce) {
* @return stdinOnce
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false")
public Boolean getStdinOnce() {
return stdinOnce;
}
@@ -561,6 +582,7 @@ public V1Container terminationMessagePath(String terminationMessagePath) {
* @return terminationMessagePath
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.")
public String getTerminationMessagePath() {
return terminationMessagePath;
}
@@ -580,6 +602,7 @@ public V1Container terminationMessagePolicy(String terminationMessagePolicy) {
* @return terminationMessagePolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.")
public String getTerminationMessagePolicy() {
return terminationMessagePolicy;
}
@@ -599,6 +622,7 @@ public V1Container tty(Boolean tty) {
* @return tty
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.")
public Boolean getTty() {
return tty;
}
@@ -626,6 +650,7 @@ public V1Container addVolumeDevicesItem(V1VolumeDevice volumeDevicesItem) {
* @return volumeDevices
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "volumeDevices is the list of block devices to be used by the container.")
public List getVolumeDevices() {
return volumeDevices;
}
@@ -653,6 +678,7 @@ public V1Container addVolumeMountsItem(V1VolumeMount volumeMountsItem) {
* @return volumeMounts
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Pod volumes to mount into the container's filesystem. Cannot be updated.")
public List getVolumeMounts() {
return volumeMounts;
}
@@ -672,6 +698,7 @@ public V1Container workingDir(String workingDir) {
* @return workingDir
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.")
public String getWorkingDir() {
return workingDir;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java
index a0a6eb95ba..f059e13974 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* Describe a container image
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Describe a container image")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ContainerImage {
public static final String SERIALIZED_NAME_NAMES = "names";
@SerializedName(SERIALIZED_NAME_NAMES)
@@ -81,6 +84,7 @@ public V1ContainerImage addNamesItem(String namesItem) {
* @return names
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Names by which this image is known. e.g. [\"kubernetes.example/hyperkube:v1.0.7\", \"cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7\"]")
public List getNames() {
return names;
}
@@ -100,6 +104,7 @@ public V1ContainerImage sizeBytes(Long sizeBytes) {
* @return sizeBytes
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The size of the image in bytes.")
public Long getSizeBytes() {
return sizeBytes;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java
index 0cf60d6bbc..fce3acdffe 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ContainerPort represents a network port in a single container.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ContainerPort represents a network port in a single container.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ContainerPort {
public static final String SERIALIZED_NAME_CONTAINER_PORT = "containerPort";
@SerializedName(SERIALIZED_NAME_CONTAINER_PORT)
@@ -83,6 +86,7 @@ public V1ContainerPort containerPort(Integer containerPort) {
* @return containerPort
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.")
public Integer getContainerPort() {
return containerPort;
}
@@ -102,6 +106,7 @@ public V1ContainerPort hostIP(String hostIP) {
* @return hostIP
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "What host IP to bind the external port to.")
public String getHostIP() {
return hostIP;
}
@@ -121,6 +126,7 @@ public V1ContainerPort hostPort(Integer hostPort) {
* @return hostPort
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.")
public Integer getHostPort() {
return hostPort;
}
@@ -140,6 +146,7 @@ public V1ContainerPort name(String name) {
* @return name
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.")
public String getName() {
return name;
}
@@ -159,6 +166,7 @@ public V1ContainerPort protocol(String protocol) {
* @return protocol
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".")
public String getProtocol() {
return protocol;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerResizePolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerResizePolicy.java
index 5ada925638..26a70539ae 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerResizePolicy.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerResizePolicy.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ContainerResizePolicy represents resource resize policy for the container.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ContainerResizePolicy represents resource resize policy for the container.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ContainerResizePolicy {
public static final String SERIALIZED_NAME_RESOURCE_NAME = "resourceName";
@SerializedName(SERIALIZED_NAME_RESOURCE_NAME)
@@ -71,6 +74,7 @@ public V1ContainerResizePolicy resourceName(String resourceName) {
* @return resourceName
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.")
public String getResourceName() {
return resourceName;
}
@@ -90,6 +94,7 @@ public V1ContainerResizePolicy restartPolicy(String restartPolicy) {
* @return restartPolicy
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.")
public String getRestartPolicy() {
return restartPolicy;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java
index 2c8dcbe9a8..7026bed5e9 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1ContainerStateRunning;
import io.kubernetes.client.openapi.models.V1ContainerStateTerminated;
import io.kubernetes.client.openapi.models.V1ContainerStateWaiting;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ContainerState {
public static final String SERIALIZED_NAME_RUNNING = "running";
@SerializedName(SERIALIZED_NAME_RUNNING)
@@ -78,6 +81,7 @@ public V1ContainerState running(V1ContainerStateRunning running) {
* @return running
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ContainerStateRunning getRunning() {
return running;
}
@@ -97,6 +101,7 @@ public V1ContainerState terminated(V1ContainerStateTerminated terminated) {
* @return terminated
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ContainerStateTerminated getTerminated() {
return terminated;
}
@@ -116,6 +121,7 @@ public V1ContainerState waiting(V1ContainerStateWaiting waiting) {
* @return waiting
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ContainerStateWaiting getWaiting() {
return waiting;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java
index 59bd1ad03b..da7db2b29d 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* ContainerStateRunning is a running state of a container.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ContainerStateRunning is a running state of a container.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ContainerStateRunning {
public static final String SERIALIZED_NAME_STARTED_AT = "startedAt";
@SerializedName(SERIALIZED_NAME_STARTED_AT)
@@ -68,6 +71,7 @@ public V1ContainerStateRunning startedAt(OffsetDateTime startedAt) {
* @return startedAt
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Time at which the container was last (re-)started")
public OffsetDateTime getStartedAt() {
return startedAt;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java
index ff0c5deb70..17dcd71539 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* ContainerStateTerminated is a terminated state of a container.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ContainerStateTerminated is a terminated state of a container.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ContainerStateTerminated {
public static final String SERIALIZED_NAME_CONTAINER_I_D = "containerID";
@SerializedName(SERIALIZED_NAME_CONTAINER_I_D)
@@ -92,6 +95,7 @@ public V1ContainerStateTerminated containerID(String containerID) {
* @return containerID
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Container's ID in the format '://'")
public String getContainerID() {
return containerID;
}
@@ -111,6 +115,7 @@ public V1ContainerStateTerminated exitCode(Integer exitCode) {
* @return exitCode
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Exit status from the last termination of the container")
public Integer getExitCode() {
return exitCode;
}
@@ -130,6 +135,7 @@ public V1ContainerStateTerminated finishedAt(OffsetDateTime finishedAt) {
* @return finishedAt
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Time at which the container last terminated")
public OffsetDateTime getFinishedAt() {
return finishedAt;
}
@@ -149,6 +155,7 @@ public V1ContainerStateTerminated message(String message) {
* @return message
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Message regarding the last termination of the container")
public String getMessage() {
return message;
}
@@ -168,6 +175,7 @@ public V1ContainerStateTerminated reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "(brief) reason from the last termination of the container")
public String getReason() {
return reason;
}
@@ -187,6 +195,7 @@ public V1ContainerStateTerminated signal(Integer signal) {
* @return signal
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Signal from the last termination of the container")
public Integer getSignal() {
return signal;
}
@@ -206,6 +215,7 @@ public V1ContainerStateTerminated startedAt(OffsetDateTime startedAt) {
* @return startedAt
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Time at which previous execution of the container started")
public OffsetDateTime getStartedAt() {
return startedAt;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java
index 0edf7409b5..4325ae0476 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ContainerStateWaiting is a waiting state of a container.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ContainerStateWaiting is a waiting state of a container.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ContainerStateWaiting {
public static final String SERIALIZED_NAME_MESSAGE = "message";
@SerializedName(SERIALIZED_NAME_MESSAGE)
@@ -71,6 +74,7 @@ public V1ContainerStateWaiting message(String message) {
* @return message
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Message regarding why the container is not yet running.")
public String getMessage() {
return message;
}
@@ -90,6 +94,7 @@ public V1ContainerStateWaiting reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "(brief) reason the container is not yet running.")
public String getReason() {
return reason;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java
index b78a6b6564..d7a5caa8ff 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -24,6 +24,8 @@
import io.kubernetes.client.openapi.models.V1ResourceRequirements;
import io.kubernetes.client.openapi.models.V1ResourceStatus;
import io.kubernetes.client.openapi.models.V1VolumeMountStatus;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -58,7 +60,8 @@
/**
* ContainerStatus contains details for the current status of this container.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ContainerStatus contains details for the current status of this container.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ContainerStatus {
public static final String SERIALIZED_NAME_ALLOCATED_RESOURCES = "allocatedResources";
@SerializedName(SERIALIZED_NAME_ALLOCATED_RESOURCES)
@@ -137,6 +140,7 @@ public V1ContainerStatus putAllocatedResourcesItem(String key, Quantity allocate
* @return allocatedResources
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.")
public Map getAllocatedResources() {
return allocatedResources;
}
@@ -164,6 +168,7 @@ public V1ContainerStatus addAllocatedResourcesStatusItem(V1ResourceStatus alloca
* @return allocatedResourcesStatus
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "AllocatedResourcesStatus represents the status of various resources allocated for this Pod.")
public List getAllocatedResourcesStatus() {
return allocatedResourcesStatus;
}
@@ -183,6 +188,7 @@ public V1ContainerStatus containerID(String containerID) {
* @return containerID
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\").")
public String getContainerID() {
return containerID;
}
@@ -202,6 +208,7 @@ public V1ContainerStatus image(String image) {
* @return image
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images.")
public String getImage() {
return image;
}
@@ -221,6 +228,7 @@ public V1ContainerStatus imageID(String imageID) {
* @return imageID
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime.")
public String getImageID() {
return imageID;
}
@@ -240,6 +248,7 @@ public V1ContainerStatus lastState(V1ContainerState lastState) {
* @return lastState
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ContainerState getLastState() {
return lastState;
}
@@ -259,6 +268,7 @@ public V1ContainerStatus name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated.")
public String getName() {
return name;
}
@@ -278,6 +288,7 @@ public V1ContainerStatus ready(Boolean ready) {
* @return ready
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field). The value is typically used to determine whether a container is ready to accept traffic.")
public Boolean getReady() {
return ready;
}
@@ -297,6 +308,7 @@ public V1ContainerStatus resources(V1ResourceRequirements resources) {
* @return resources
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ResourceRequirements getResources() {
return resources;
}
@@ -316,6 +328,7 @@ public V1ContainerStatus restartCount(Integer restartCount) {
* @return restartCount
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative.")
public Integer getRestartCount() {
return restartCount;
}
@@ -335,6 +348,7 @@ public V1ContainerStatus started(Boolean started) {
* @return started
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false.")
public Boolean getStarted() {
return started;
}
@@ -354,6 +368,7 @@ public V1ContainerStatus state(V1ContainerState state) {
* @return state
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ContainerState getState() {
return state;
}
@@ -373,6 +388,7 @@ public V1ContainerStatus user(V1ContainerUser user) {
* @return user
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ContainerUser getUser() {
return user;
}
@@ -400,6 +416,7 @@ public V1ContainerStatus addVolumeMountsItem(V1VolumeMountStatus volumeMountsIte
* @return volumeMounts
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Status of volume mounts.")
public List getVolumeMounts() {
return volumeMounts;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerUser.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerUser.java
index c97d210bbf..a63cc53f15 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerUser.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerUser.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1LinuxContainerUser;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* ContainerUser represents user identity information
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ContainerUser represents user identity information")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ContainerUser {
public static final String SERIALIZED_NAME_LINUX = "linux";
@SerializedName(SERIALIZED_NAME_LINUX)
@@ -68,6 +71,7 @@ public V1ContainerUser linux(V1LinuxContainerUser linux) {
* @return linux
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1LinuxContainerUser getLinux() {
return linux;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java
index 0d6f281cef..dee1edb090 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ControllerRevision implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -84,6 +87,7 @@ public V1ControllerRevision apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -103,6 +107,7 @@ public V1ControllerRevision data(Object data) {
* @return data
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Data is the serialized representation of the state.")
public Object getData() {
return data;
}
@@ -122,6 +127,7 @@ public V1ControllerRevision kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -141,6 +147,7 @@ public V1ControllerRevision metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -160,6 +167,7 @@ public V1ControllerRevision revision(Long revision) {
* @return revision
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Revision indicates the revision of the state represented by Data.")
public Long getRevision() {
return revision;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java
index 489485a742..229e8fbcfa 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ControllerRevision;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* ControllerRevisionList is a resource containing a list of ControllerRevision objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ControllerRevisionList is a resource containing a list of ControllerRevision objects.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ControllerRevisionList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1ControllerRevisionList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1ControllerRevisionList addItemsItem(V1ControllerRevision itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Items is the list of ControllerRevisions")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1ControllerRevisionList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1ControllerRevisionList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJob.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJob.java
index ba9ebe69de..3e10b0d877 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJob.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJob.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1CronJobSpec;
import io.kubernetes.client.openapi.models.V1CronJobStatus;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* CronJob represents the configuration of a single cron job.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CronJob represents the configuration of a single cron job.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CronJob implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -86,6 +89,7 @@ public V1CronJob apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -105,6 +109,7 @@ public V1CronJob kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -124,6 +129,7 @@ public V1CronJob metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -143,6 +149,7 @@ public V1CronJob spec(V1CronJobSpec spec) {
* @return spec
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1CronJobSpec getSpec() {
return spec;
}
@@ -162,6 +169,7 @@ public V1CronJob status(V1CronJobStatus status) {
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1CronJobStatus getStatus() {
return status;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobList.java
index 25d72e3b5f..7271617efe 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CronJob;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* CronJobList is a collection of cron jobs.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CronJobList is a collection of cron jobs.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CronJobList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1CronJobList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1CronJobList addItemsItem(V1CronJob itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "items is the list of CronJobs.")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1CronJobList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1CronJobList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobSpec.java
index dbbf34e78f..9e244dad1a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobSpec.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobSpec.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1JobTemplateSpec;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* CronJobSpec describes how the job execution will look like and when it will actually run.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CronJobSpec describes how the job execution will look like and when it will actually run.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CronJobSpec {
public static final String SERIALIZED_NAME_CONCURRENCY_POLICY = "concurrencyPolicy";
@SerializedName(SERIALIZED_NAME_CONCURRENCY_POLICY)
@@ -96,6 +99,7 @@ public V1CronJobSpec concurrencyPolicy(String concurrencyPolicy) {
* @return concurrencyPolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one")
public String getConcurrencyPolicy() {
return concurrencyPolicy;
}
@@ -115,6 +119,7 @@ public V1CronJobSpec failedJobsHistoryLimit(Integer failedJobsHistoryLimit) {
* @return failedJobsHistoryLimit
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.")
public Integer getFailedJobsHistoryLimit() {
return failedJobsHistoryLimit;
}
@@ -134,6 +139,7 @@ public V1CronJobSpec jobTemplate(V1JobTemplateSpec jobTemplate) {
* @return jobTemplate
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1JobTemplateSpec getJobTemplate() {
return jobTemplate;
}
@@ -153,6 +159,7 @@ public V1CronJobSpec schedule(String schedule) {
* @return schedule
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.")
public String getSchedule() {
return schedule;
}
@@ -172,6 +179,7 @@ public V1CronJobSpec startingDeadlineSeconds(Long startingDeadlineSeconds) {
* @return startingDeadlineSeconds
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.")
public Long getStartingDeadlineSeconds() {
return startingDeadlineSeconds;
}
@@ -191,6 +199,7 @@ public V1CronJobSpec successfulJobsHistoryLimit(Integer successfulJobsHistoryLim
* @return successfulJobsHistoryLimit
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.")
public Integer getSuccessfulJobsHistoryLimit() {
return successfulJobsHistoryLimit;
}
@@ -210,6 +219,7 @@ public V1CronJobSpec suspend(Boolean suspend) {
* @return suspend
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.")
public Boolean getSuspend() {
return suspend;
}
@@ -229,6 +239,7 @@ public V1CronJobSpec timeZone(String timeZone) {
* @return timeZone
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones")
public String getTimeZone() {
return timeZone;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobStatus.java
index 15cae22b1d..8d83a8f69c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobStatus.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobStatus.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.ArrayList;
@@ -52,7 +54,8 @@
/**
* CronJobStatus represents the current state of a cron job.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CronJobStatus represents the current state of a cron job.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CronJobStatus {
public static final String SERIALIZED_NAME_ACTIVE = "active";
@SerializedName(SERIALIZED_NAME_ACTIVE)
@@ -87,6 +90,7 @@ public V1CronJobStatus addActiveItem(V1ObjectReference activeItem) {
* @return active
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "A list of pointers to currently running jobs.")
public List getActive() {
return active;
}
@@ -106,6 +110,7 @@ public V1CronJobStatus lastScheduleTime(OffsetDateTime lastScheduleTime) {
* @return lastScheduleTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Information when was the last time the job was successfully scheduled.")
public OffsetDateTime getLastScheduleTime() {
return lastScheduleTime;
}
@@ -125,6 +130,7 @@ public V1CronJobStatus lastSuccessfulTime(OffsetDateTime lastSuccessfulTime) {
* @return lastSuccessfulTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Information when was the last time the job successfully completed.")
public OffsetDateTime getLastSuccessfulTime() {
return lastSuccessfulTime;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java
index 74f2c01073..4966a7877a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* CrossVersionObjectReference contains enough information to let you identify the referred resource.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CrossVersionObjectReference contains enough information to let you identify the referred resource.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CrossVersionObjectReference {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -75,6 +78,7 @@ public V1CrossVersionObjectReference apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "apiVersion is the API version of the referent")
public String getApiVersion() {
return apiVersion;
}
@@ -94,6 +98,7 @@ public V1CrossVersionObjectReference kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -113,6 +118,7 @@ public V1CrossVersionObjectReference name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names")
public String getName() {
return name;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java
index 8b6a4163da..0affd92e75 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* CustomResourceColumnDefinition specifies a column for server side printing.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceColumnDefinition specifies a column for server side printing.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceColumnDefinition {
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
@@ -87,6 +90,7 @@ public V1CustomResourceColumnDefinition description(String description) {
* @return description
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "description is a human readable description of this column.")
public String getDescription() {
return description;
}
@@ -106,6 +110,7 @@ public V1CustomResourceColumnDefinition format(String format) {
* @return format
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.")
public String getFormat() {
return format;
}
@@ -125,6 +130,7 @@ public V1CustomResourceColumnDefinition jsonPath(String jsonPath) {
* @return jsonPath
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.")
public String getJsonPath() {
return jsonPath;
}
@@ -144,6 +150,7 @@ public V1CustomResourceColumnDefinition name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "name is a human readable name for the column.")
public String getName() {
return name;
}
@@ -163,6 +170,7 @@ public V1CustomResourceColumnDefinition priority(Integer priority) {
* @return priority
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.")
public Integer getPriority() {
return priority;
}
@@ -182,6 +190,7 @@ public V1CustomResourceColumnDefinition type(String type) {
* @return type
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java
index 8ffa1f7d39..aef004d730 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1WebhookConversion;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* CustomResourceConversion describes how to convert different versions of a CR.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceConversion describes how to convert different versions of a CR.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceConversion {
public static final String SERIALIZED_NAME_STRATEGY = "strategy";
@SerializedName(SERIALIZED_NAME_STRATEGY)
@@ -72,6 +75,7 @@ public V1CustomResourceConversion strategy(String strategy) {
* @return strategy
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "strategy specifies how custom resources are converted between versions. Allowed values are: - `\"None\"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `\"Webhook\"`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.")
public String getStrategy() {
return strategy;
}
@@ -91,6 +95,7 @@ public V1CustomResourceConversion webhook(V1WebhookConversion webhook) {
* @return webhook
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1WebhookConversion getWebhook() {
return webhook;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java
index cdfc97fd02..09452a7539 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1CustomResourceDefinitionSpec;
import io.kubernetes.client.openapi.models.V1CustomResourceDefinitionStatus;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceDefinition implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -86,6 +89,7 @@ public V1CustomResourceDefinition apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -105,6 +109,7 @@ public V1CustomResourceDefinition kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -124,6 +129,7 @@ public V1CustomResourceDefinition metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -143,6 +149,7 @@ public V1CustomResourceDefinition spec(V1CustomResourceDefinitionSpec spec) {
* @return spec
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1CustomResourceDefinitionSpec getSpec() {
return spec;
}
@@ -162,6 +169,7 @@ public V1CustomResourceDefinition status(V1CustomResourceDefinitionStatus status
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1CustomResourceDefinitionStatus getStatus() {
return status;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java
index 8365ad0465..76779d244a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* CustomResourceDefinitionCondition contains details for the current condition of this pod.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceDefinitionCondition contains details for the current condition of this pod.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceDefinitionCondition {
public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime";
@SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME)
@@ -84,6 +87,7 @@ public V1CustomResourceDefinitionCondition lastTransitionTime(OffsetDateTime las
* @return lastTransitionTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "lastTransitionTime last time the condition transitioned from one status to another.")
public OffsetDateTime getLastTransitionTime() {
return lastTransitionTime;
}
@@ -103,6 +107,7 @@ public V1CustomResourceDefinitionCondition message(String message) {
* @return message
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "message is a human-readable message indicating details about last transition.")
public String getMessage() {
return message;
}
@@ -122,6 +127,7 @@ public V1CustomResourceDefinitionCondition reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "reason is a unique, one-word, CamelCase reason for the condition's last transition.")
public String getReason() {
return reason;
}
@@ -141,6 +147,7 @@ public V1CustomResourceDefinitionCondition status(String status) {
* @return status
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "status is the status of the condition. Can be True, False, Unknown.")
public String getStatus() {
return status;
}
@@ -160,6 +167,7 @@ public V1CustomResourceDefinitionCondition type(String type) {
* @return type
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "type is the type of the condition. Types include Established, NamesAccepted and Terminating.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java
index f1085016c8..2447d187fe 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CustomResourceDefinition;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* CustomResourceDefinitionList is a list of CustomResourceDefinition objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceDefinitionList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1CustomResourceDefinitionList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1CustomResourceDefinitionList addItemsItem(V1CustomResourceDefinition it
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "items list individual CustomResourceDefinition objects")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1CustomResourceDefinitionList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1CustomResourceDefinitionList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java
index a54fe739dc..8cb258d972 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceDefinitionNames {
public static final String SERIALIZED_NAME_CATEGORIES = "categories";
@SerializedName(SERIALIZED_NAME_CATEGORIES)
@@ -97,6 +100,7 @@ public V1CustomResourceDefinitionNames addCategoriesItem(String categoriesItem)
* @return categories
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.")
public List getCategories() {
return categories;
}
@@ -116,6 +120,7 @@ public V1CustomResourceDefinitionNames kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.")
public String getKind() {
return kind;
}
@@ -135,6 +140,7 @@ public V1CustomResourceDefinitionNames listKind(String listKind) {
* @return listKind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".")
public String getListKind() {
return listKind;
}
@@ -154,6 +160,7 @@ public V1CustomResourceDefinitionNames plural(String plural) {
* @return plural
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.")
public String getPlural() {
return plural;
}
@@ -181,6 +188,7 @@ public V1CustomResourceDefinitionNames addShortNamesItem(String shortNamesItem)
* @return shortNames
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.")
public List getShortNames() {
return shortNames;
}
@@ -200,6 +208,7 @@ public V1CustomResourceDefinitionNames singular(String singular) {
* @return singular
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.")
public String getSingular() {
return singular;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java
index 8b401dfdff..acb275a009 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1CustomResourceConversion;
import io.kubernetes.client.openapi.models.V1CustomResourceDefinitionNames;
import io.kubernetes.client.openapi.models.V1CustomResourceDefinitionVersion;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -53,7 +55,8 @@
/**
* CustomResourceDefinitionSpec describes how a user wants their resource to appear
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceDefinitionSpec describes how a user wants their resource to appear")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceDefinitionSpec {
public static final String SERIALIZED_NAME_CONVERSION = "conversion";
@SerializedName(SERIALIZED_NAME_CONVERSION)
@@ -92,6 +95,7 @@ public V1CustomResourceDefinitionSpec conversion(V1CustomResourceConversion conv
* @return conversion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1CustomResourceConversion getConversion() {
return conversion;
}
@@ -111,6 +115,7 @@ public V1CustomResourceDefinitionSpec group(String group) {
* @return group
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).")
public String getGroup() {
return group;
}
@@ -130,6 +135,7 @@ public V1CustomResourceDefinitionSpec names(V1CustomResourceDefinitionNames name
* @return names
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1CustomResourceDefinitionNames getNames() {
return names;
}
@@ -149,6 +155,7 @@ public V1CustomResourceDefinitionSpec preserveUnknownFields(Boolean preserveUnkn
* @return preserveUnknownFields
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.")
public Boolean getPreserveUnknownFields() {
return preserveUnknownFields;
}
@@ -168,6 +175,7 @@ public V1CustomResourceDefinitionSpec scope(String scope) {
* @return scope
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.")
public String getScope() {
return scope;
}
@@ -195,6 +203,7 @@ public V1CustomResourceDefinitionSpec addVersionsItem(V1CustomResourceDefinition
* @return versions
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.")
public List getVersions() {
return versions;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java
index abdc9c8061..b3a549dc54 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CustomResourceDefinitionCondition;
import io.kubernetes.client.openapi.models.V1CustomResourceDefinitionNames;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceDefinitionStatus {
public static final String SERIALIZED_NAME_ACCEPTED_NAMES = "acceptedNames";
@SerializedName(SERIALIZED_NAME_ACCEPTED_NAMES)
@@ -79,6 +82,7 @@ public V1CustomResourceDefinitionStatus acceptedNames(V1CustomResourceDefinition
* @return acceptedNames
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1CustomResourceDefinitionNames getAcceptedNames() {
return acceptedNames;
}
@@ -106,6 +110,7 @@ public V1CustomResourceDefinitionStatus addConditionsItem(V1CustomResourceDefini
* @return conditions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "conditions indicate state for particular aspects of a CustomResourceDefinition")
public List getConditions() {
return conditions;
}
@@ -133,6 +138,7 @@ public V1CustomResourceDefinitionStatus addStoredVersionsItem(String storedVersi
* @return storedVersions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.")
public List getStoredVersions() {
return storedVersions;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java
index 0b6bf05e2f..a13ad440e8 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -22,6 +22,8 @@
import io.kubernetes.client.openapi.models.V1CustomResourceSubresources;
import io.kubernetes.client.openapi.models.V1CustomResourceValidation;
import io.kubernetes.client.openapi.models.V1SelectableField;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -54,7 +56,8 @@
/**
* CustomResourceDefinitionVersion describes a version for CRD.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceDefinitionVersion describes a version for CRD.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceDefinitionVersion {
public static final String SERIALIZED_NAME_ADDITIONAL_PRINTER_COLUMNS = "additionalPrinterColumns";
@SerializedName(SERIALIZED_NAME_ADDITIONAL_PRINTER_COLUMNS)
@@ -113,6 +116,7 @@ public V1CustomResourceDefinitionVersion addAdditionalPrinterColumnsItem(V1Custo
* @return additionalPrinterColumns
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.")
public List getAdditionalPrinterColumns() {
return additionalPrinterColumns;
}
@@ -132,6 +136,7 @@ public V1CustomResourceDefinitionVersion deprecated(Boolean deprecated) {
* @return deprecated
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.")
public Boolean getDeprecated() {
return deprecated;
}
@@ -151,6 +156,7 @@ public V1CustomResourceDefinitionVersion deprecationWarning(String deprecationWa
* @return deprecationWarning
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.")
public String getDeprecationWarning() {
return deprecationWarning;
}
@@ -170,6 +176,7 @@ public V1CustomResourceDefinitionVersion name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true.")
public String getName() {
return name;
}
@@ -189,6 +196,7 @@ public V1CustomResourceDefinitionVersion schema(V1CustomResourceValidation schem
* @return schema
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1CustomResourceValidation getSchema() {
return schema;
}
@@ -216,6 +224,7 @@ public V1CustomResourceDefinitionVersion addSelectableFieldsItem(V1SelectableFie
* @return selectableFields
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors")
public List getSelectableFields() {
return selectableFields;
}
@@ -235,6 +244,7 @@ public V1CustomResourceDefinitionVersion served(Boolean served) {
* @return served
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "served is a flag enabling/disabling this version from being served via REST APIs")
public Boolean getServed() {
return served;
}
@@ -254,6 +264,7 @@ public V1CustomResourceDefinitionVersion storage(Boolean storage) {
* @return storage
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.")
public Boolean getStorage() {
return storage;
}
@@ -273,6 +284,7 @@ public V1CustomResourceDefinitionVersion subresources(V1CustomResourceSubresourc
* @return subresources
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1CustomResourceSubresources getSubresources() {
return subresources;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java
index c5fec614cc..f77975b183 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceSubresourceScale {
public static final String SERIALIZED_NAME_LABEL_SELECTOR_PATH = "labelSelectorPath";
@SerializedName(SERIALIZED_NAME_LABEL_SELECTOR_PATH)
@@ -75,6 +78,7 @@ public V1CustomResourceSubresourceScale labelSelectorPath(String labelSelectorPa
* @return labelSelectorPath
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.")
public String getLabelSelectorPath() {
return labelSelectorPath;
}
@@ -94,6 +98,7 @@ public V1CustomResourceSubresourceScale specReplicasPath(String specReplicasPath
* @return specReplicasPath
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.")
public String getSpecReplicasPath() {
return specReplicasPath;
}
@@ -113,6 +118,7 @@ public V1CustomResourceSubresourceScale statusReplicasPath(String statusReplicas
* @return statusReplicasPath
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.")
public String getStatusReplicasPath() {
return statusReplicasPath;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java
index c108a8e88a..9bbde51c98 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CustomResourceSubresourceScale;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* CustomResourceSubresources defines the status and scale subresources for CustomResources.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceSubresources defines the status and scale subresources for CustomResources.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceSubresources {
public static final String SERIALIZED_NAME_SCALE = "scale";
@SerializedName(SERIALIZED_NAME_SCALE)
@@ -72,6 +75,7 @@ public V1CustomResourceSubresources scale(V1CustomResourceSubresourceScale scale
* @return scale
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1CustomResourceSubresourceScale getScale() {
return scale;
}
@@ -91,6 +95,7 @@ public V1CustomResourceSubresources status(Object status) {
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.")
public Object getStatus() {
return status;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java
index a7765dc79c..44a11145b1 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1JSONSchemaProps;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* CustomResourceValidation is a list of validation methods for CustomResources.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "CustomResourceValidation is a list of validation methods for CustomResources.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CustomResourceValidation {
public static final String SERIALIZED_NAME_OPEN_A_P_I_V3_SCHEMA = "openAPIV3Schema";
@SerializedName(SERIALIZED_NAME_OPEN_A_P_I_V3_SCHEMA)
@@ -68,6 +71,7 @@ public V1CustomResourceValidation openAPIV3Schema(V1JSONSchemaProps openAPIV3Sch
* @return openAPIV3Schema
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1JSONSchemaProps getOpenAPIV3Schema() {
return openAPIV3Schema;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java
index 2f1b0f09c7..a5fa820549 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* DaemonEndpoint contains information about a single Daemon endpoint.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DaemonEndpoint contains information about a single Daemon endpoint.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DaemonEndpoint {
public static final String SERIALIZED_NAME_PORT = "Port";
@SerializedName(SERIALIZED_NAME_PORT)
@@ -67,6 +70,7 @@ public V1DaemonEndpoint port(Integer port) {
* @return port
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Port number of the given endpoint.")
public Integer getPort() {
return port;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java
index ea84745f1d..52c92080a9 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1DaemonSetSpec;
import io.kubernetes.client.openapi.models.V1DaemonSetStatus;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* DaemonSet represents the configuration of a daemon set.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DaemonSet represents the configuration of a daemon set.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DaemonSet implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -86,6 +89,7 @@ public V1DaemonSet apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -105,6 +109,7 @@ public V1DaemonSet kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -124,6 +129,7 @@ public V1DaemonSet metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -143,6 +149,7 @@ public V1DaemonSet spec(V1DaemonSetSpec spec) {
* @return spec
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1DaemonSetSpec getSpec() {
return spec;
}
@@ -162,6 +169,7 @@ public V1DaemonSet status(V1DaemonSetStatus status) {
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1DaemonSetStatus getStatus() {
return status;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java
index f18fa04db6..c6582e6fea 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* DaemonSetCondition describes the state of a DaemonSet at a certain point.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DaemonSetCondition describes the state of a DaemonSet at a certain point.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DaemonSetCondition {
public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime";
@SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME)
@@ -84,6 +87,7 @@ public V1DaemonSetCondition lastTransitionTime(OffsetDateTime lastTransitionTime
* @return lastTransitionTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Last time the condition transitioned from one status to another.")
public OffsetDateTime getLastTransitionTime() {
return lastTransitionTime;
}
@@ -103,6 +107,7 @@ public V1DaemonSetCondition message(String message) {
* @return message
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "A human readable message indicating details about the transition.")
public String getMessage() {
return message;
}
@@ -122,6 +127,7 @@ public V1DaemonSetCondition reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The reason for the condition's last transition.")
public String getReason() {
return reason;
}
@@ -141,6 +147,7 @@ public V1DaemonSetCondition status(String status) {
* @return status
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Status of the condition, one of True, False, Unknown.")
public String getStatus() {
return status;
}
@@ -160,6 +167,7 @@ public V1DaemonSetCondition type(String type) {
* @return type
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Type of DaemonSet condition.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java
index a27533cace..3e58d01d1d 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1DaemonSet;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* DaemonSetList is a collection of daemon sets.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DaemonSetList is a collection of daemon sets.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DaemonSetList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1DaemonSetList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1DaemonSetList addItemsItem(V1DaemonSet itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "A list of daemon sets.")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1DaemonSetList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1DaemonSetList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java
index 9123064799..052e0e3d17 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1DaemonSetUpdateStrategy;
import io.kubernetes.client.openapi.models.V1LabelSelector;
import io.kubernetes.client.openapi.models.V1PodTemplateSpec;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* DaemonSetSpec is the specification of a daemon set.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DaemonSetSpec is the specification of a daemon set.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DaemonSetSpec {
public static final String SERIALIZED_NAME_MIN_READY_SECONDS = "minReadySeconds";
@SerializedName(SERIALIZED_NAME_MIN_READY_SECONDS)
@@ -86,6 +89,7 @@ public V1DaemonSetSpec minReadySeconds(Integer minReadySeconds) {
* @return minReadySeconds
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).")
public Integer getMinReadySeconds() {
return minReadySeconds;
}
@@ -105,6 +109,7 @@ public V1DaemonSetSpec revisionHistoryLimit(Integer revisionHistoryLimit) {
* @return revisionHistoryLimit
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.")
public Integer getRevisionHistoryLimit() {
return revisionHistoryLimit;
}
@@ -124,6 +129,7 @@ public V1DaemonSetSpec selector(V1LabelSelector selector) {
* @return selector
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1LabelSelector getSelector() {
return selector;
}
@@ -143,6 +149,7 @@ public V1DaemonSetSpec template(V1PodTemplateSpec template) {
* @return template
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1PodTemplateSpec getTemplate() {
return template;
}
@@ -162,6 +169,7 @@ public V1DaemonSetSpec updateStrategy(V1DaemonSetUpdateStrategy updateStrategy)
* @return updateStrategy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1DaemonSetUpdateStrategy getUpdateStrategy() {
return updateStrategy;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java
index 33c365d7b8..0e06f35dfe 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1DaemonSetCondition;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* DaemonSetStatus represents the current status of a daemon set.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DaemonSetStatus represents the current status of a daemon set.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DaemonSetStatus {
public static final String SERIALIZED_NAME_COLLISION_COUNT = "collisionCount";
@SerializedName(SERIALIZED_NAME_COLLISION_COUNT)
@@ -106,6 +109,7 @@ public V1DaemonSetStatus collisionCount(Integer collisionCount) {
* @return collisionCount
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.")
public Integer getCollisionCount() {
return collisionCount;
}
@@ -133,6 +137,7 @@ public V1DaemonSetStatus addConditionsItem(V1DaemonSetCondition conditionsItem)
* @return conditions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Represents the latest available observations of a DaemonSet's current state.")
public List getConditions() {
return conditions;
}
@@ -152,6 +157,7 @@ public V1DaemonSetStatus currentNumberScheduled(Integer currentNumberScheduled)
* @return currentNumberScheduled
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/")
public Integer getCurrentNumberScheduled() {
return currentNumberScheduled;
}
@@ -171,6 +177,7 @@ public V1DaemonSetStatus desiredNumberScheduled(Integer desiredNumberScheduled)
* @return desiredNumberScheduled
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/")
public Integer getDesiredNumberScheduled() {
return desiredNumberScheduled;
}
@@ -190,6 +197,7 @@ public V1DaemonSetStatus numberAvailable(Integer numberAvailable) {
* @return numberAvailable
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)")
public Integer getNumberAvailable() {
return numberAvailable;
}
@@ -209,6 +217,7 @@ public V1DaemonSetStatus numberMisscheduled(Integer numberMisscheduled) {
* @return numberMisscheduled
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/")
public Integer getNumberMisscheduled() {
return numberMisscheduled;
}
@@ -228,6 +237,7 @@ public V1DaemonSetStatus numberReady(Integer numberReady) {
* @return numberReady
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.")
public Integer getNumberReady() {
return numberReady;
}
@@ -247,6 +257,7 @@ public V1DaemonSetStatus numberUnavailable(Integer numberUnavailable) {
* @return numberUnavailable
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)")
public Integer getNumberUnavailable() {
return numberUnavailable;
}
@@ -266,6 +277,7 @@ public V1DaemonSetStatus observedGeneration(Long observedGeneration) {
* @return observedGeneration
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The most recent generation observed by the daemon set controller.")
public Long getObservedGeneration() {
return observedGeneration;
}
@@ -285,6 +297,7 @@ public V1DaemonSetStatus updatedNumberScheduled(Integer updatedNumberScheduled)
* @return updatedNumberScheduled
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The total number of nodes that are running updated daemon pod")
public Integer getUpdatedNumberScheduled() {
return updatedNumberScheduled;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java
index d67f27a73e..26be33dd3e 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1RollingUpdateDaemonSet;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DaemonSetUpdateStrategy {
public static final String SERIALIZED_NAME_ROLLING_UPDATE = "rollingUpdate";
@SerializedName(SERIALIZED_NAME_ROLLING_UPDATE)
@@ -72,6 +75,7 @@ public V1DaemonSetUpdateStrategy rollingUpdate(V1RollingUpdateDaemonSet rollingU
* @return rollingUpdate
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1RollingUpdateDaemonSet getRollingUpdate() {
return rollingUpdate;
}
@@ -91,6 +95,7 @@ public V1DaemonSetUpdateStrategy type(String type) {
* @return type
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java
index 72ac36ef8a..97ec1fe64c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1Preconditions;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* DeleteOptions may be provided when deleting an API object.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DeleteOptions may be provided when deleting an API object.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DeleteOptions {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -94,6 +97,7 @@ public V1DeleteOptions apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -121,6 +125,7 @@ public V1DeleteOptions addDryRunItem(String dryRunItem) {
* @return dryRun
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed")
public List getDryRun() {
return dryRun;
}
@@ -140,6 +145,7 @@ public V1DeleteOptions gracePeriodSeconds(Long gracePeriodSeconds) {
* @return gracePeriodSeconds
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.")
public Long getGracePeriodSeconds() {
return gracePeriodSeconds;
}
@@ -159,6 +165,7 @@ public V1DeleteOptions kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -178,6 +185,7 @@ public V1DeleteOptions orphanDependents(Boolean orphanDependents) {
* @return orphanDependents
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.")
public Boolean getOrphanDependents() {
return orphanDependents;
}
@@ -197,6 +205,7 @@ public V1DeleteOptions preconditions(V1Preconditions preconditions) {
* @return preconditions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1Preconditions getPreconditions() {
return preconditions;
}
@@ -216,6 +225,7 @@ public V1DeleteOptions propagationPolicy(String propagationPolicy) {
* @return propagationPolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.")
public String getPropagationPolicy() {
return propagationPolicy;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java
index 97ccae593a..3f141d686f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1DeploymentSpec;
import io.kubernetes.client.openapi.models.V1DeploymentStatus;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* Deployment enables declarative updates for Pods and ReplicaSets.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Deployment enables declarative updates for Pods and ReplicaSets.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Deployment implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -86,6 +89,7 @@ public V1Deployment apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -105,6 +109,7 @@ public V1Deployment kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -124,6 +129,7 @@ public V1Deployment metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -143,6 +149,7 @@ public V1Deployment spec(V1DeploymentSpec spec) {
* @return spec
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1DeploymentSpec getSpec() {
return spec;
}
@@ -162,6 +169,7 @@ public V1Deployment status(V1DeploymentStatus status) {
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1DeploymentStatus getStatus() {
return status;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java
index 4d125889c1..bc7afc3fef 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* DeploymentCondition describes the state of a deployment at a certain point.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DeploymentCondition describes the state of a deployment at a certain point.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DeploymentCondition {
public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime";
@SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME)
@@ -88,6 +91,7 @@ public V1DeploymentCondition lastTransitionTime(OffsetDateTime lastTransitionTim
* @return lastTransitionTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Last time the condition transitioned from one status to another.")
public OffsetDateTime getLastTransitionTime() {
return lastTransitionTime;
}
@@ -107,6 +111,7 @@ public V1DeploymentCondition lastUpdateTime(OffsetDateTime lastUpdateTime) {
* @return lastUpdateTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The last time this condition was updated.")
public OffsetDateTime getLastUpdateTime() {
return lastUpdateTime;
}
@@ -126,6 +131,7 @@ public V1DeploymentCondition message(String message) {
* @return message
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "A human readable message indicating details about the transition.")
public String getMessage() {
return message;
}
@@ -145,6 +151,7 @@ public V1DeploymentCondition reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The reason for the condition's last transition.")
public String getReason() {
return reason;
}
@@ -164,6 +171,7 @@ public V1DeploymentCondition status(String status) {
* @return status
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Status of the condition, one of True, False, Unknown.")
public String getStatus() {
return status;
}
@@ -183,6 +191,7 @@ public V1DeploymentCondition type(String type) {
* @return type
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Type of deployment condition.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java
index 682289b17d..94b56f7760 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1Deployment;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* DeploymentList is a list of Deployments.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DeploymentList is a list of Deployments.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DeploymentList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1DeploymentList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1DeploymentList addItemsItem(V1Deployment itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Items is the list of Deployments.")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1DeploymentList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1DeploymentList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java
index 31f7083908..62aacefe52 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1DeploymentStrategy;
import io.kubernetes.client.openapi.models.V1LabelSelector;
import io.kubernetes.client.openapi.models.V1PodTemplateSpec;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* DeploymentSpec is the specification of the desired behavior of the Deployment.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DeploymentSpec is the specification of the desired behavior of the Deployment.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DeploymentSpec {
public static final String SERIALIZED_NAME_MIN_READY_SECONDS = "minReadySeconds";
@SerializedName(SERIALIZED_NAME_MIN_READY_SECONDS)
@@ -98,6 +101,7 @@ public V1DeploymentSpec minReadySeconds(Integer minReadySeconds) {
* @return minReadySeconds
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)")
public Integer getMinReadySeconds() {
return minReadySeconds;
}
@@ -117,6 +121,7 @@ public V1DeploymentSpec paused(Boolean paused) {
* @return paused
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Indicates that the deployment is paused.")
public Boolean getPaused() {
return paused;
}
@@ -136,6 +141,7 @@ public V1DeploymentSpec progressDeadlineSeconds(Integer progressDeadlineSeconds)
* @return progressDeadlineSeconds
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.")
public Integer getProgressDeadlineSeconds() {
return progressDeadlineSeconds;
}
@@ -155,6 +161,7 @@ public V1DeploymentSpec replicas(Integer replicas) {
* @return replicas
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.")
public Integer getReplicas() {
return replicas;
}
@@ -174,6 +181,7 @@ public V1DeploymentSpec revisionHistoryLimit(Integer revisionHistoryLimit) {
* @return revisionHistoryLimit
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.")
public Integer getRevisionHistoryLimit() {
return revisionHistoryLimit;
}
@@ -193,6 +201,7 @@ public V1DeploymentSpec selector(V1LabelSelector selector) {
* @return selector
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1LabelSelector getSelector() {
return selector;
}
@@ -212,6 +221,7 @@ public V1DeploymentSpec strategy(V1DeploymentStrategy strategy) {
* @return strategy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1DeploymentStrategy getStrategy() {
return strategy;
}
@@ -231,6 +241,7 @@ public V1DeploymentSpec template(V1PodTemplateSpec template) {
* @return template
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1PodTemplateSpec getTemplate() {
return template;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java
index eb6919c611..1a3f300992 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1DeploymentCondition;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* DeploymentStatus is the most recently observed status of the Deployment.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DeploymentStatus is the most recently observed status of the Deployment.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DeploymentStatus {
public static final String SERIALIZED_NAME_AVAILABLE_REPLICAS = "availableReplicas";
@SerializedName(SERIALIZED_NAME_AVAILABLE_REPLICAS)
@@ -98,6 +101,7 @@ public V1DeploymentStatus availableReplicas(Integer availableReplicas) {
* @return availableReplicas
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.")
public Integer getAvailableReplicas() {
return availableReplicas;
}
@@ -117,6 +121,7 @@ public V1DeploymentStatus collisionCount(Integer collisionCount) {
* @return collisionCount
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.")
public Integer getCollisionCount() {
return collisionCount;
}
@@ -144,6 +149,7 @@ public V1DeploymentStatus addConditionsItem(V1DeploymentCondition conditionsItem
* @return conditions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Represents the latest available observations of a deployment's current state.")
public List getConditions() {
return conditions;
}
@@ -163,6 +169,7 @@ public V1DeploymentStatus observedGeneration(Long observedGeneration) {
* @return observedGeneration
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The generation observed by the deployment controller.")
public Long getObservedGeneration() {
return observedGeneration;
}
@@ -182,6 +189,7 @@ public V1DeploymentStatus readyReplicas(Integer readyReplicas) {
* @return readyReplicas
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.")
public Integer getReadyReplicas() {
return readyReplicas;
}
@@ -201,6 +209,7 @@ public V1DeploymentStatus replicas(Integer replicas) {
* @return replicas
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Total number of non-terminated pods targeted by this deployment (their labels match the selector).")
public Integer getReplicas() {
return replicas;
}
@@ -220,6 +229,7 @@ public V1DeploymentStatus unavailableReplicas(Integer unavailableReplicas) {
* @return unavailableReplicas
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.")
public Integer getUnavailableReplicas() {
return unavailableReplicas;
}
@@ -239,6 +249,7 @@ public V1DeploymentStatus updatedReplicas(Integer updatedReplicas) {
* @return updatedReplicas
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Total number of non-terminated pods targeted by this deployment that have the desired template spec.")
public Integer getUpdatedReplicas() {
return updatedReplicas;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java
index 06579808d6..3c17ce10f7 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1RollingUpdateDeployment;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* DeploymentStrategy describes how to replace existing pods with new ones.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DeploymentStrategy describes how to replace existing pods with new ones.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DeploymentStrategy {
public static final String SERIALIZED_NAME_ROLLING_UPDATE = "rollingUpdate";
@SerializedName(SERIALIZED_NAME_ROLLING_UPDATE)
@@ -72,6 +75,7 @@ public V1DeploymentStrategy rollingUpdate(V1RollingUpdateDeployment rollingUpdat
* @return rollingUpdate
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1RollingUpdateDeployment getRollingUpdate() {
return rollingUpdate;
}
@@ -91,6 +95,7 @@ public V1DeploymentStrategy type(String type) {
* @return type
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java
index 8dc16d4e44..2b1a936890 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1DownwardAPIVolumeFile;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DownwardAPIProjection {
public static final String SERIALIZED_NAME_ITEMS = "items";
@SerializedName(SERIALIZED_NAME_ITEMS)
@@ -78,6 +81,7 @@ public V1DownwardAPIProjection addItemsItem(V1DownwardAPIVolumeFile itemsItem) {
* @return items
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Items is a list of DownwardAPIVolume file")
public List getItems() {
return items;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java
index 942b3fb3bb..fc3005bdb5 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ObjectFieldSelector;
import io.kubernetes.client.openapi.models.V1ResourceFieldSelector;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* DownwardAPIVolumeFile represents information to create the file containing the pod field
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DownwardAPIVolumeFile represents information to create the file containing the pod field")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DownwardAPIVolumeFile {
public static final String SERIALIZED_NAME_FIELD_REF = "fieldRef";
@SerializedName(SERIALIZED_NAME_FIELD_REF)
@@ -81,6 +84,7 @@ public V1DownwardAPIVolumeFile fieldRef(V1ObjectFieldSelector fieldRef) {
* @return fieldRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectFieldSelector getFieldRef() {
return fieldRef;
}
@@ -100,6 +104,7 @@ public V1DownwardAPIVolumeFile mode(Integer mode) {
* @return mode
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.")
public Integer getMode() {
return mode;
}
@@ -119,6 +124,7 @@ public V1DownwardAPIVolumeFile path(String path) {
* @return path
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'")
public String getPath() {
return path;
}
@@ -138,6 +144,7 @@ public V1DownwardAPIVolumeFile resourceFieldRef(V1ResourceFieldSelector resource
* @return resourceFieldRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ResourceFieldSelector getResourceFieldRef() {
return resourceFieldRef;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java
index 988bd68ae2..875d835532 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1DownwardAPIVolumeFile;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1DownwardAPIVolumeSource {
public static final String SERIALIZED_NAME_DEFAULT_MODE = "defaultMode";
@SerializedName(SERIALIZED_NAME_DEFAULT_MODE)
@@ -74,6 +77,7 @@ public V1DownwardAPIVolumeSource defaultMode(Integer defaultMode) {
* @return defaultMode
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.")
public Integer getDefaultMode() {
return defaultMode;
}
@@ -101,6 +105,7 @@ public V1DownwardAPIVolumeSource addItemsItem(V1DownwardAPIVolumeFile itemsItem)
* @return items
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Items is a list of downward API volume file")
public List getItems() {
return items;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java
index cecf17d49e..b23db7e8c4 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.custom.Quantity;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EmptyDirVolumeSource {
public static final String SERIALIZED_NAME_MEDIUM = "medium";
@SerializedName(SERIALIZED_NAME_MEDIUM)
@@ -72,6 +75,7 @@ public V1EmptyDirVolumeSource medium(String medium) {
* @return medium
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir")
public String getMedium() {
return medium;
}
@@ -91,6 +95,7 @@ public V1EmptyDirVolumeSource sizeLimit(Quantity sizeLimit) {
* @return sizeLimit
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.")
public Quantity getSizeLimit() {
return sizeLimit;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoint.java
index 10e8152958..638d05c722 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoint.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoint.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1EndpointConditions;
import io.kubernetes.client.openapi.models.V1EndpointHints;
import io.kubernetes.client.openapi.models.V1ObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -55,7 +57,8 @@
/**
* Endpoint represents a single logical \"backend\" implementing a service.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Endpoint represents a single logical \"backend\" implementing a service.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Endpoint {
public static final String SERIALIZED_NAME_ADDRESSES = "addresses";
@SerializedName(SERIALIZED_NAME_ADDRESSES)
@@ -110,6 +113,7 @@ public V1Endpoint addAddressesItem(String addressesItem) {
* @return addresses
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267")
public List getAddresses() {
return addresses;
}
@@ -129,6 +133,7 @@ public V1Endpoint conditions(V1EndpointConditions conditions) {
* @return conditions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1EndpointConditions getConditions() {
return conditions;
}
@@ -156,6 +161,7 @@ public V1Endpoint putDeprecatedTopologyItem(String key, String deprecatedTopolog
* @return deprecatedTopology
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.")
public Map getDeprecatedTopology() {
return deprecatedTopology;
}
@@ -175,6 +181,7 @@ public V1Endpoint hints(V1EndpointHints hints) {
* @return hints
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1EndpointHints getHints() {
return hints;
}
@@ -194,6 +201,7 @@ public V1Endpoint hostname(String hostname) {
* @return hostname
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.")
public String getHostname() {
return hostname;
}
@@ -213,6 +221,7 @@ public V1Endpoint nodeName(String nodeName) {
* @return nodeName
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.")
public String getNodeName() {
return nodeName;
}
@@ -232,6 +241,7 @@ public V1Endpoint targetRef(V1ObjectReference targetRef) {
* @return targetRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectReference getTargetRef() {
return targetRef;
}
@@ -251,6 +261,7 @@ public V1Endpoint zone(String zone) {
* @return zone
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "zone is the name of the Zone this endpoint exists in.")
public String getZone() {
return zone;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java
index 4e768268e4..50cf09d5bc 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* EndpointAddress is a tuple that describes single IP address.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EndpointAddress is a tuple that describes single IP address.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EndpointAddress {
public static final String SERIALIZED_NAME_HOSTNAME = "hostname";
@SerializedName(SERIALIZED_NAME_HOSTNAME)
@@ -80,6 +83,7 @@ public V1EndpointAddress hostname(String hostname) {
* @return hostname
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The Hostname of this endpoint")
public String getHostname() {
return hostname;
}
@@ -99,6 +103,7 @@ public V1EndpointAddress ip(String ip) {
* @return ip
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).")
public String getIp() {
return ip;
}
@@ -118,6 +123,7 @@ public V1EndpointAddress nodeName(String nodeName) {
* @return nodeName
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.")
public String getNodeName() {
return nodeName;
}
@@ -137,6 +143,7 @@ public V1EndpointAddress targetRef(V1ObjectReference targetRef) {
* @return targetRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectReference getTargetRef() {
return targetRef;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointConditions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointConditions.java
index 358a39a63e..5d673c91ae 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointConditions.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointConditions.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* EndpointConditions represents the current condition of an endpoint.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EndpointConditions represents the current condition of an endpoint.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EndpointConditions {
public static final String SERIALIZED_NAME_READY = "ready";
@SerializedName(SERIALIZED_NAME_READY)
@@ -75,6 +78,7 @@ public V1EndpointConditions ready(Boolean ready) {
* @return ready
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag.")
public Boolean getReady() {
return ready;
}
@@ -94,6 +98,7 @@ public V1EndpointConditions serving(Boolean serving) {
* @return serving
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.")
public Boolean getServing() {
return serving;
}
@@ -113,6 +118,7 @@ public V1EndpointConditions terminating(Boolean terminating) {
* @return terminating
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.")
public Boolean getTerminating() {
return terminating;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointHints.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointHints.java
index fad9fc5f19..d32d4e2d34 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointHints.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointHints.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ForZone;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* EndpointHints provides hints describing how an endpoint should be consumed.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EndpointHints provides hints describing how an endpoint should be consumed.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EndpointHints {
public static final String SERIALIZED_NAME_FOR_ZONES = "forZones";
@SerializedName(SERIALIZED_NAME_FOR_ZONES)
@@ -78,6 +81,7 @@ public V1EndpointHints addForZonesItem(V1ForZone forZonesItem) {
* @return forZones
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.")
public List getForZones() {
return forZones;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSlice.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSlice.java
index a96c336c83..169349e798 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSlice.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSlice.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort;
import io.kubernetes.client.openapi.models.V1Endpoint;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -53,7 +55,8 @@
/**
* EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EndpointSlice implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_ADDRESS_TYPE = "addressType";
@SerializedName(SERIALIZED_NAME_ADDRESS_TYPE)
@@ -92,6 +95,7 @@ public V1EndpointSlice addressType(String addressType) {
* @return addressType
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.")
public String getAddressType() {
return addressType;
}
@@ -111,6 +115,7 @@ public V1EndpointSlice apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -138,6 +143,7 @@ public V1EndpointSlice addEndpointsItem(V1Endpoint endpointsItem) {
* @return endpoints
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.")
public List getEndpoints() {
return endpoints;
}
@@ -157,6 +163,7 @@ public V1EndpointSlice kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -176,6 +183,7 @@ public V1EndpointSlice metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -203,6 +211,7 @@ public V1EndpointSlice addPortsItem(DiscoveryV1EndpointPort portsItem) {
* @return ports
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.")
public List getPorts() {
return ports;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSliceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSliceList.java
index 927cebdd4b..a45233ed98 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSliceList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSliceList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1EndpointSlice;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* EndpointSliceList represents a list of endpoint slices
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EndpointSliceList represents a list of endpoint slices")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EndpointSliceList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1EndpointSliceList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1EndpointSliceList addItemsItem(V1EndpointSlice itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "items is the list of endpoint slices")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1EndpointSliceList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1EndpointSliceList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java
index 227bc37e5b..c32db69770 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.CoreV1EndpointPort;
import io.kubernetes.client.openapi.models.V1EndpointAddress;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EndpointSubset {
public static final String SERIALIZED_NAME_ADDRESSES = "addresses";
@SerializedName(SERIALIZED_NAME_ADDRESSES)
@@ -87,6 +90,7 @@ public V1EndpointSubset addAddressesItem(V1EndpointAddress addressesItem) {
* @return addresses
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.")
public List getAddresses() {
return addresses;
}
@@ -114,6 +118,7 @@ public V1EndpointSubset addNotReadyAddressesItem(V1EndpointAddress notReadyAddre
* @return notReadyAddresses
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.")
public List getNotReadyAddresses() {
return notReadyAddresses;
}
@@ -141,6 +146,7 @@ public V1EndpointSubset addPortsItem(CoreV1EndpointPort portsItem) {
* @return ports
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Port numbers available on the related IP addresses.")
public List getPorts() {
return ports;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java
index 3436944f56..4b1b7b11a9 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1EndpointSubset;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* Endpoints is a collection of endpoints that implement the actual service. Example: Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ]
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Endpoints is a collection of endpoints that implement the actual service. Example: Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Endpoints implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1Endpoints apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -102,6 +106,7 @@ public V1Endpoints kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -121,6 +126,7 @@ public V1Endpoints metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -148,6 +154,7 @@ public V1Endpoints addSubsetsItem(V1EndpointSubset subsetsItem) {
* @return subsets
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.")
public List getSubsets() {
return subsets;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java
index c19e1eed0f..c484977270 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1Endpoints;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* EndpointsList is a list of endpoints.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EndpointsList is a list of endpoints.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EndpointsList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1EndpointsList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1EndpointsList addItemsItem(V1Endpoints itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "List of endpoints.")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1EndpointsList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1EndpointsList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java
index b8e12bce03..e53f2c02b3 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1ConfigMapEnvSource;
import io.kubernetes.client.openapi.models.V1SecretEnvSource;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* EnvFromSource represents the source of a set of ConfigMaps
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EnvFromSource represents the source of a set of ConfigMaps")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EnvFromSource {
public static final String SERIALIZED_NAME_CONFIG_MAP_REF = "configMapRef";
@SerializedName(SERIALIZED_NAME_CONFIG_MAP_REF)
@@ -77,6 +80,7 @@ public V1EnvFromSource configMapRef(V1ConfigMapEnvSource configMapRef) {
* @return configMapRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ConfigMapEnvSource getConfigMapRef() {
return configMapRef;
}
@@ -96,6 +100,7 @@ public V1EnvFromSource prefix(String prefix) {
* @return prefix
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.")
public String getPrefix() {
return prefix;
}
@@ -115,6 +120,7 @@ public V1EnvFromSource secretRef(V1SecretEnvSource secretRef) {
* @return secretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecretEnvSource getSecretRef() {
return secretRef;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java
index 0d71331a44..aef777d378 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1EnvVarSource;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* EnvVar represents an environment variable present in a Container.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EnvVar represents an environment variable present in a Container.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EnvVar {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -76,6 +79,7 @@ public V1EnvVar name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Name of the environment variable. Must be a C_IDENTIFIER.")
public String getName() {
return name;
}
@@ -95,6 +99,7 @@ public V1EnvVar value(String value) {
* @return value
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".")
public String getValue() {
return value;
}
@@ -114,6 +119,7 @@ public V1EnvVar valueFrom(V1EnvVarSource valueFrom) {
* @return valueFrom
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1EnvVarSource getValueFrom() {
return valueFrom;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java
index bb66511c2f..4e09f1c41f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -22,6 +22,8 @@
import io.kubernetes.client.openapi.models.V1ObjectFieldSelector;
import io.kubernetes.client.openapi.models.V1ResourceFieldSelector;
import io.kubernetes.client.openapi.models.V1SecretKeySelector;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* EnvVarSource represents a source for the value of an EnvVar.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EnvVarSource represents a source for the value of an EnvVar.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EnvVarSource {
public static final String SERIALIZED_NAME_CONFIG_MAP_KEY_REF = "configMapKeyRef";
@SerializedName(SERIALIZED_NAME_CONFIG_MAP_KEY_REF)
@@ -83,6 +86,7 @@ public V1EnvVarSource configMapKeyRef(V1ConfigMapKeySelector configMapKeyRef) {
* @return configMapKeyRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ConfigMapKeySelector getConfigMapKeyRef() {
return configMapKeyRef;
}
@@ -102,6 +106,7 @@ public V1EnvVarSource fieldRef(V1ObjectFieldSelector fieldRef) {
* @return fieldRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectFieldSelector getFieldRef() {
return fieldRef;
}
@@ -121,6 +126,7 @@ public V1EnvVarSource resourceFieldRef(V1ResourceFieldSelector resourceFieldRef)
* @return resourceFieldRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ResourceFieldSelector getResourceFieldRef() {
return resourceFieldRef;
}
@@ -140,6 +146,7 @@ public V1EnvVarSource secretKeyRef(V1SecretKeySelector secretKeyRef) {
* @return secretKeyRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecretKeySelector getSecretKeyRef() {
return secretKeyRef;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java
index ae371b42ed..7bdd46a028 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -28,6 +28,8 @@
import io.kubernetes.client.openapi.models.V1SecurityContext;
import io.kubernetes.client.openapi.models.V1VolumeDevice;
import io.kubernetes.client.openapi.models.V1VolumeMount;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -60,7 +62,8 @@
/**
* An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EphemeralContainer {
public static final String SERIALIZED_NAME_ARGS = "args";
@SerializedName(SERIALIZED_NAME_ARGS)
@@ -183,6 +186,7 @@ public V1EphemeralContainer addArgsItem(String argsItem) {
* @return args
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell")
public List getArgs() {
return args;
}
@@ -210,6 +214,7 @@ public V1EphemeralContainer addCommandItem(String commandItem) {
* @return command
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell")
public List getCommand() {
return command;
}
@@ -237,6 +242,7 @@ public V1EphemeralContainer addEnvItem(V1EnvVar envItem) {
* @return env
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "List of environment variables to set in the container. Cannot be updated.")
public List getEnv() {
return env;
}
@@ -264,6 +270,7 @@ public V1EphemeralContainer addEnvFromItem(V1EnvFromSource envFromItem) {
* @return envFrom
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.")
public List getEnvFrom() {
return envFrom;
}
@@ -283,6 +290,7 @@ public V1EphemeralContainer image(String image) {
* @return image
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images")
public String getImage() {
return image;
}
@@ -302,6 +310,7 @@ public V1EphemeralContainer imagePullPolicy(String imagePullPolicy) {
* @return imagePullPolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images")
public String getImagePullPolicy() {
return imagePullPolicy;
}
@@ -321,6 +330,7 @@ public V1EphemeralContainer lifecycle(V1Lifecycle lifecycle) {
* @return lifecycle
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1Lifecycle getLifecycle() {
return lifecycle;
}
@@ -340,6 +350,7 @@ public V1EphemeralContainer livenessProbe(V1Probe livenessProbe) {
* @return livenessProbe
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1Probe getLivenessProbe() {
return livenessProbe;
}
@@ -359,6 +370,7 @@ public V1EphemeralContainer name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.")
public String getName() {
return name;
}
@@ -386,6 +398,7 @@ public V1EphemeralContainer addPortsItem(V1ContainerPort portsItem) {
* @return ports
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Ports are not allowed for ephemeral containers.")
public List getPorts() {
return ports;
}
@@ -405,6 +418,7 @@ public V1EphemeralContainer readinessProbe(V1Probe readinessProbe) {
* @return readinessProbe
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1Probe getReadinessProbe() {
return readinessProbe;
}
@@ -432,6 +446,7 @@ public V1EphemeralContainer addResizePolicyItem(V1ContainerResizePolicy resizePo
* @return resizePolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Resources resize policy for the container.")
public List getResizePolicy() {
return resizePolicy;
}
@@ -451,6 +466,7 @@ public V1EphemeralContainer resources(V1ResourceRequirements resources) {
* @return resources
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ResourceRequirements getResources() {
return resources;
}
@@ -470,6 +486,7 @@ public V1EphemeralContainer restartPolicy(String restartPolicy) {
* @return restartPolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers.")
public String getRestartPolicy() {
return restartPolicy;
}
@@ -489,6 +506,7 @@ public V1EphemeralContainer securityContext(V1SecurityContext securityContext) {
* @return securityContext
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecurityContext getSecurityContext() {
return securityContext;
}
@@ -508,6 +526,7 @@ public V1EphemeralContainer startupProbe(V1Probe startupProbe) {
* @return startupProbe
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1Probe getStartupProbe() {
return startupProbe;
}
@@ -527,6 +546,7 @@ public V1EphemeralContainer stdin(Boolean stdin) {
* @return stdin
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.")
public Boolean getStdin() {
return stdin;
}
@@ -546,6 +566,7 @@ public V1EphemeralContainer stdinOnce(Boolean stdinOnce) {
* @return stdinOnce
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false")
public Boolean getStdinOnce() {
return stdinOnce;
}
@@ -565,6 +586,7 @@ public V1EphemeralContainer targetContainerName(String targetContainerName) {
* @return targetContainerName
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec. The container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined.")
public String getTargetContainerName() {
return targetContainerName;
}
@@ -584,6 +606,7 @@ public V1EphemeralContainer terminationMessagePath(String terminationMessagePath
* @return terminationMessagePath
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.")
public String getTerminationMessagePath() {
return terminationMessagePath;
}
@@ -603,6 +626,7 @@ public V1EphemeralContainer terminationMessagePolicy(String terminationMessagePo
* @return terminationMessagePolicy
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.")
public String getTerminationMessagePolicy() {
return terminationMessagePolicy;
}
@@ -622,6 +646,7 @@ public V1EphemeralContainer tty(Boolean tty) {
* @return tty
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.")
public Boolean getTty() {
return tty;
}
@@ -649,6 +674,7 @@ public V1EphemeralContainer addVolumeDevicesItem(V1VolumeDevice volumeDevicesIte
* @return volumeDevices
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "volumeDevices is the list of block devices to be used by the container.")
public List getVolumeDevices() {
return volumeDevices;
}
@@ -676,6 +702,7 @@ public V1EphemeralContainer addVolumeMountsItem(V1VolumeMount volumeMountsItem)
* @return volumeMounts
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated.")
public List getVolumeMounts() {
return volumeMounts;
}
@@ -695,6 +722,7 @@ public V1EphemeralContainer workingDir(String workingDir) {
* @return workingDir
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.")
public String getWorkingDir() {
return workingDir;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java
index d2e0c631b0..faef83ffbc 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1PersistentVolumeClaimTemplate;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* Represents an ephemeral volume that is handled by a normal storage driver.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents an ephemeral volume that is handled by a normal storage driver.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EphemeralVolumeSource {
public static final String SERIALIZED_NAME_VOLUME_CLAIM_TEMPLATE = "volumeClaimTemplate";
@SerializedName(SERIALIZED_NAME_VOLUME_CLAIM_TEMPLATE)
@@ -68,6 +71,7 @@ public V1EphemeralVolumeSource volumeClaimTemplate(V1PersistentVolumeClaimTempla
* @return volumeClaimTemplate
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1PersistentVolumeClaimTemplate getVolumeClaimTemplate() {
return volumeClaimTemplate;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java
index 9c7fcd4740..40d147c23b 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* EventSource contains information for an event.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "EventSource contains information for an event.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1EventSource {
public static final String SERIALIZED_NAME_COMPONENT = "component";
@SerializedName(SERIALIZED_NAME_COMPONENT)
@@ -71,6 +74,7 @@ public V1EventSource component(String component) {
* @return component
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Component from which the event is generated.")
public String getComponent() {
return component;
}
@@ -90,6 +94,7 @@ public V1EventSource host(String host) {
* @return host
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Node name on which the event is generated.")
public String getHost() {
return host;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Eviction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Eviction.java
index 7f97bcac1e..ca93077ca2 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Eviction.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Eviction.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1DeleteOptions;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Eviction implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -81,6 +84,7 @@ public V1Eviction apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -100,6 +104,7 @@ public V1Eviction deleteOptions(V1DeleteOptions deleteOptions) {
* @return deleteOptions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1DeleteOptions getDeleteOptions() {
return deleteOptions;
}
@@ -119,6 +124,7 @@ public V1Eviction kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -138,6 +144,7 @@ public V1Eviction metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java
index fea789388f..a35dc1b322 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* ExecAction describes a \"run in container\" action.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ExecAction describes a \"run in container\" action.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ExecAction {
public static final String SERIALIZED_NAME_COMMAND = "command";
@SerializedName(SERIALIZED_NAME_COMMAND)
@@ -77,6 +80,7 @@ public V1ExecAction addCommandItem(String commandItem) {
* @return command
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.")
public List getCommand() {
return command;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExemptPriorityLevelConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExemptPriorityLevelConfiguration.java
index 40e5b2cca5..0cea40ba4d 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExemptPriorityLevelConfiguration.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExemptPriorityLevelConfiguration.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ExemptPriorityLevelConfiguration {
public static final String SERIALIZED_NAME_LENDABLE_PERCENT = "lendablePercent";
@SerializedName(SERIALIZED_NAME_LENDABLE_PERCENT)
@@ -71,6 +74,7 @@ public V1ExemptPriorityLevelConfiguration lendablePercent(Integer lendablePercen
* @return lendablePercent
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows. LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )")
public Integer getLendablePercent() {
return lendablePercent;
}
@@ -90,6 +94,7 @@ public V1ExemptPriorityLevelConfiguration nominalConcurrencyShares(Integer nomin
* @return nominalConcurrencyShares
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values: NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k) Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.")
public Integer getNominalConcurrencyShares() {
return nominalConcurrencyShares;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExpressionWarning.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExpressionWarning.java
index 6125fe6dcd..f38576f2ed 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExpressionWarning.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExpressionWarning.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ExpressionWarning is a warning information that targets a specific expression.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ExpressionWarning is a warning information that targets a specific expression.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ExpressionWarning {
public static final String SERIALIZED_NAME_FIELD_REF = "fieldRef";
@SerializedName(SERIALIZED_NAME_FIELD_REF)
@@ -71,6 +74,7 @@ public V1ExpressionWarning fieldRef(String fieldRef) {
* @return fieldRef
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"")
public String getFieldRef() {
return fieldRef;
}
@@ -90,6 +94,7 @@ public V1ExpressionWarning warning(String warning) {
* @return warning
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.")
public String getWarning() {
return warning;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java
index 4d20960af6..f3d2e95264 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ExternalDocumentation allows referencing an external resource for extended documentation.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ExternalDocumentation allows referencing an external resource for extended documentation.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ExternalDocumentation {
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
@@ -71,6 +74,7 @@ public V1ExternalDocumentation description(String description) {
* @return description
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public String getDescription() {
return description;
}
@@ -90,6 +94,7 @@ public V1ExternalDocumentation url(String url) {
* @return url
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public String getUrl() {
return url;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java
index 66e86e74b3..9a9f4dce50 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FCVolumeSource {
public static final String SERIALIZED_NAME_FS_TYPE = "fsType";
@SerializedName(SERIALIZED_NAME_FS_TYPE)
@@ -85,6 +88,7 @@ public V1FCVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.")
public String getFsType() {
return fsType;
}
@@ -104,6 +108,7 @@ public V1FCVolumeSource lun(Integer lun) {
* @return lun
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "lun is Optional: FC target lun number")
public Integer getLun() {
return lun;
}
@@ -123,6 +128,7 @@ public V1FCVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.")
public Boolean getReadOnly() {
return readOnly;
}
@@ -150,6 +156,7 @@ public V1FCVolumeSource addTargetWWNsItem(String targetWWNsItem) {
* @return targetWWNs
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "targetWWNs is Optional: FC target worldwide names (WWNs)")
public List getTargetWWNs() {
return targetWWNs;
}
@@ -177,6 +184,7 @@ public V1FCVolumeSource addWwidsItem(String wwidsItem) {
* @return wwids
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.")
public List getWwids() {
return wwids;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorAttributes.java
index d17da0b754..2cb432cd98 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorAttributes.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorAttributes.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1FieldSelectorRequirement;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FieldSelectorAttributes {
public static final String SERIALIZED_NAME_RAW_SELECTOR = "rawSelector";
@SerializedName(SERIALIZED_NAME_RAW_SELECTOR)
@@ -74,6 +77,7 @@ public V1FieldSelectorAttributes rawSelector(String rawSelector) {
* @return rawSelector
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.")
public String getRawSelector() {
return rawSelector;
}
@@ -101,6 +105,7 @@ public V1FieldSelectorAttributes addRequirementsItem(V1FieldSelectorRequirement
* @return requirements
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.")
public List getRequirements() {
return requirements;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorRequirement.java
index 6e024781b5..fe7bca6243 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorRequirement.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorRequirement.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FieldSelectorRequirement {
public static final String SERIALIZED_NAME_KEY = "key";
@SerializedName(SERIALIZED_NAME_KEY)
@@ -77,6 +80,7 @@ public V1FieldSelectorRequirement key(String key) {
* @return key
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "key is the field selector key that the requirement applies to.")
public String getKey() {
return key;
}
@@ -96,6 +100,7 @@ public V1FieldSelectorRequirement operator(String operator) {
* @return operator
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.")
public String getOperator() {
return operator;
}
@@ -123,6 +128,7 @@ public V1FieldSelectorRequirement addValuesItem(String valuesItem) {
* @return values
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.")
public List getValues() {
return values;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java
index 2e9855ad3b..81499d7bed 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1SecretReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
@@ -51,7 +53,8 @@
/**
* FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FlexPersistentVolumeSource {
public static final String SERIALIZED_NAME_DRIVER = "driver";
@SerializedName(SERIALIZED_NAME_DRIVER)
@@ -86,6 +89,7 @@ public V1FlexPersistentVolumeSource driver(String driver) {
* @return driver
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "driver is the name of the driver to use for this volume.")
public String getDriver() {
return driver;
}
@@ -105,6 +109,7 @@ public V1FlexPersistentVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.")
public String getFsType() {
return fsType;
}
@@ -132,6 +137,7 @@ public V1FlexPersistentVolumeSource putOptionsItem(String key, String optionsIte
* @return options
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "options is Optional: this field holds extra command options if any.")
public Map getOptions() {
return options;
}
@@ -151,6 +157,7 @@ public V1FlexPersistentVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.")
public Boolean getReadOnly() {
return readOnly;
}
@@ -170,6 +177,7 @@ public V1FlexPersistentVolumeSource secretRef(V1SecretReference secretRef) {
* @return secretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1SecretReference getSecretRef() {
return secretRef;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java
index 8653e8edb7..e28d852d22 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1LocalObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
@@ -51,7 +53,8 @@
/**
* FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FlexVolumeSource {
public static final String SERIALIZED_NAME_DRIVER = "driver";
@SerializedName(SERIALIZED_NAME_DRIVER)
@@ -86,6 +89,7 @@ public V1FlexVolumeSource driver(String driver) {
* @return driver
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "driver is the name of the driver to use for this volume.")
public String getDriver() {
return driver;
}
@@ -105,6 +109,7 @@ public V1FlexVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.")
public String getFsType() {
return fsType;
}
@@ -132,6 +137,7 @@ public V1FlexVolumeSource putOptionsItem(String key, String optionsItem) {
* @return options
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "options is Optional: this field holds extra command options if any.")
public Map getOptions() {
return options;
}
@@ -151,6 +157,7 @@ public V1FlexVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.")
public Boolean getReadOnly() {
return readOnly;
}
@@ -170,6 +177,7 @@ public V1FlexVolumeSource secretRef(V1LocalObjectReference secretRef) {
* @return secretRef
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1LocalObjectReference getSecretRef() {
return secretRef;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java
index c0ebc410c9..78227e721c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FlockerVolumeSource {
public static final String SERIALIZED_NAME_DATASET_NAME = "datasetName";
@SerializedName(SERIALIZED_NAME_DATASET_NAME)
@@ -71,6 +74,7 @@ public V1FlockerVolumeSource datasetName(String datasetName) {
* @return datasetName
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated")
public String getDatasetName() {
return datasetName;
}
@@ -90,6 +94,7 @@ public V1FlockerVolumeSource datasetUUID(String datasetUUID) {
* @return datasetUUID
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset")
public String getDatasetUUID() {
return datasetUUID;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowDistinguisherMethod.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowDistinguisherMethod.java
index b2b99cd703..119e812314 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowDistinguisherMethod.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowDistinguisherMethod.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* FlowDistinguisherMethod specifies the method of a flow distinguisher.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "FlowDistinguisherMethod specifies the method of a flow distinguisher.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FlowDistinguisherMethod {
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
@@ -67,6 +70,7 @@ public V1FlowDistinguisherMethod type(String type) {
* @return type
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchema.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchema.java
index 0f2a09cdd6..6fcf38babe 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchema.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchema.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1FlowSchemaSpec;
import io.kubernetes.client.openapi.models.V1FlowSchemaStatus;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FlowSchema implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -86,6 +89,7 @@ public V1FlowSchema apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -105,6 +109,7 @@ public V1FlowSchema kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -124,6 +129,7 @@ public V1FlowSchema metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -143,6 +149,7 @@ public V1FlowSchema spec(V1FlowSchemaSpec spec) {
* @return spec
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1FlowSchemaSpec getSpec() {
return spec;
}
@@ -162,6 +169,7 @@ public V1FlowSchema status(V1FlowSchemaStatus status) {
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1FlowSchemaStatus getStatus() {
return status;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaCondition.java
index 071d6b9df7..df2c3e61e1 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaCondition.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaCondition.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* FlowSchemaCondition describes conditions for a FlowSchema.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "FlowSchemaCondition describes conditions for a FlowSchema.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FlowSchemaCondition {
public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime";
@SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME)
@@ -84,6 +87,7 @@ public V1FlowSchemaCondition lastTransitionTime(OffsetDateTime lastTransitionTim
* @return lastTransitionTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`lastTransitionTime` is the last time the condition transitioned from one status to another.")
public OffsetDateTime getLastTransitionTime() {
return lastTransitionTime;
}
@@ -103,6 +107,7 @@ public V1FlowSchemaCondition message(String message) {
* @return message
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`message` is a human-readable message indicating details about last transition.")
public String getMessage() {
return message;
}
@@ -122,6 +127,7 @@ public V1FlowSchemaCondition reason(String reason) {
* @return reason
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.")
public String getReason() {
return reason;
}
@@ -141,6 +147,7 @@ public V1FlowSchemaCondition status(String status) {
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`status` is the status of the condition. Can be True, False, Unknown. Required.")
public String getStatus() {
return status;
}
@@ -160,6 +167,7 @@ public V1FlowSchemaCondition type(String type) {
* @return type
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`type` is the type of the condition. Required.")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaList.java
index 91db8a748d..c8067df59f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1FlowSchema;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* FlowSchemaList is a list of FlowSchema objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "FlowSchemaList is a list of FlowSchema objects.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FlowSchemaList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1FlowSchemaList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1FlowSchemaList addItemsItem(V1FlowSchema itemsItem) {
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "`items` is a list of FlowSchemas.")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1FlowSchemaList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1FlowSchemaList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaSpec.java
index c8a4e94ae4..b78e885a07 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaSpec.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaSpec.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1FlowDistinguisherMethod;
import io.kubernetes.client.openapi.models.V1PolicyRulesWithSubjects;
import io.kubernetes.client.openapi.models.V1PriorityLevelConfigurationReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -53,7 +55,8 @@
/**
* FlowSchemaSpec describes how the FlowSchema's specification looks like.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "FlowSchemaSpec describes how the FlowSchema's specification looks like.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FlowSchemaSpec {
public static final String SERIALIZED_NAME_DISTINGUISHER_METHOD = "distinguisherMethod";
@SerializedName(SERIALIZED_NAME_DISTINGUISHER_METHOD)
@@ -84,6 +87,7 @@ public V1FlowSchemaSpec distinguisherMethod(V1FlowDistinguisherMethod distinguis
* @return distinguisherMethod
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1FlowDistinguisherMethod getDistinguisherMethod() {
return distinguisherMethod;
}
@@ -103,6 +107,7 @@ public V1FlowSchemaSpec matchingPrecedence(Integer matchingPrecedence) {
* @return matchingPrecedence
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.")
public Integer getMatchingPrecedence() {
return matchingPrecedence;
}
@@ -122,6 +127,7 @@ public V1FlowSchemaSpec priorityLevelConfiguration(V1PriorityLevelConfigurationR
* @return priorityLevelConfiguration
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1PriorityLevelConfigurationReference getPriorityLevelConfiguration() {
return priorityLevelConfiguration;
}
@@ -149,6 +155,7 @@ public V1FlowSchemaSpec addRulesItem(V1PolicyRulesWithSubjects rulesItem) {
* @return rules
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.")
public List getRules() {
return rules;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaStatus.java
index 2749446412..fdce03f691 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaStatus.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaStatus.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1FlowSchemaCondition;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* FlowSchemaStatus represents the current state of a FlowSchema.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "FlowSchemaStatus represents the current state of a FlowSchema.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1FlowSchemaStatus {
public static final String SERIALIZED_NAME_CONDITIONS = "conditions";
@SerializedName(SERIALIZED_NAME_CONDITIONS)
@@ -78,6 +81,7 @@ public V1FlowSchemaStatus addConditionsItem(V1FlowSchemaCondition conditionsItem
* @return conditions
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "`conditions` is a list of the current states of FlowSchema.")
public List getConditions() {
return conditions;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForZone.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForZone.java
index 0ade83d672..1b0284e29a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForZone.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForZone.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* ForZone provides information about which zones should consume this endpoint.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ForZone provides information about which zones should consume this endpoint.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ForZone {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -67,6 +70,7 @@ public V1ForZone name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "name represents the name of the zone.")
public String getName() {
return name;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java
index 0076870ae2..2011c9555f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1GCEPersistentDiskVolumeSource {
public static final String SERIALIZED_NAME_FS_TYPE = "fsType";
@SerializedName(SERIALIZED_NAME_FS_TYPE)
@@ -79,6 +82,7 @@ public V1GCEPersistentDiskVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk")
public String getFsType() {
return fsType;
}
@@ -98,6 +102,7 @@ public V1GCEPersistentDiskVolumeSource partition(Integer partition) {
* @return partition
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk")
public Integer getPartition() {
return partition;
}
@@ -117,6 +122,7 @@ public V1GCEPersistentDiskVolumeSource pdName(String pdName) {
* @return pdName
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk")
public String getPdName() {
return pdName;
}
@@ -136,6 +142,7 @@ public V1GCEPersistentDiskVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk")
public Boolean getReadOnly() {
return readOnly;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GRPCAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GRPCAction.java
index c78e64515f..b2e832dbe2 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GRPCAction.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GRPCAction.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,7 @@
/**
* V1GRPCAction
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1GRPCAction {
public static final String SERIALIZED_NAME_PORT = "port";
@SerializedName(SERIALIZED_NAME_PORT)
@@ -71,6 +73,7 @@ public V1GRPCAction port(Integer port) {
* @return port
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "Port number of the gRPC service. Number must be in the range 1 to 65535.")
public Integer getPort() {
return port;
}
@@ -90,6 +93,7 @@ public V1GRPCAction service(String service) {
* @return service
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.")
public String getService() {
return service;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java
index eccafa1451..c32a1e546a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1GitRepoVolumeSource {
public static final String SERIALIZED_NAME_DIRECTORY = "directory";
@SerializedName(SERIALIZED_NAME_DIRECTORY)
@@ -75,6 +78,7 @@ public V1GitRepoVolumeSource directory(String directory) {
* @return directory
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.")
public String getDirectory() {
return directory;
}
@@ -94,6 +98,7 @@ public V1GitRepoVolumeSource repository(String repository) {
* @return repository
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "repository is the URL")
public String getRepository() {
return repository;
}
@@ -113,6 +118,7 @@ public V1GitRepoVolumeSource revision(String revision) {
* @return revision
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "revision is the commit hash for the specified revision.")
public String getRevision() {
return revision;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java
index aa14e4afb5..bb8728472c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1GlusterfsPersistentVolumeSource {
public static final String SERIALIZED_NAME_ENDPOINTS = "endpoints";
@SerializedName(SERIALIZED_NAME_ENDPOINTS)
@@ -79,6 +82,7 @@ public V1GlusterfsPersistentVolumeSource endpoints(String endpoints) {
* @return endpoints
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod")
public String getEndpoints() {
return endpoints;
}
@@ -98,6 +102,7 @@ public V1GlusterfsPersistentVolumeSource endpointsNamespace(String endpointsName
* @return endpointsNamespace
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod")
public String getEndpointsNamespace() {
return endpointsNamespace;
}
@@ -117,6 +122,7 @@ public V1GlusterfsPersistentVolumeSource path(String path) {
* @return path
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod")
public String getPath() {
return path;
}
@@ -136,6 +142,7 @@ public V1GlusterfsPersistentVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod")
public Boolean getReadOnly() {
return readOnly;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java
index ad977b1252..4b61d9064a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1GlusterfsVolumeSource {
public static final String SERIALIZED_NAME_ENDPOINTS = "endpoints";
@SerializedName(SERIALIZED_NAME_ENDPOINTS)
@@ -75,6 +78,7 @@ public V1GlusterfsVolumeSource endpoints(String endpoints) {
* @return endpoints
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod")
public String getEndpoints() {
return endpoints;
}
@@ -94,6 +98,7 @@ public V1GlusterfsVolumeSource path(String path) {
* @return path
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod")
public String getPath() {
return path;
}
@@ -113,6 +118,7 @@ public V1GlusterfsVolumeSource readOnly(Boolean readOnly) {
* @return readOnly
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod")
public Boolean getReadOnly() {
return readOnly;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupSubject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupSubject.java
index a3887874d3..39ec2d250f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupSubject.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupSubject.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* GroupSubject holds detailed information for group-kind subject.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "GroupSubject holds detailed information for group-kind subject.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1GroupSubject {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -67,6 +70,7 @@ public V1GroupSubject name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.")
public String getName() {
return name;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java
index 128d8a59bc..a6f124ee9e 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1GroupVersionForDiscovery {
public static final String SERIALIZED_NAME_GROUP_VERSION = "groupVersion";
@SerializedName(SERIALIZED_NAME_GROUP_VERSION)
@@ -71,6 +74,7 @@ public V1GroupVersionForDiscovery groupVersion(String groupVersion) {
* @return groupVersion
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "groupVersion specifies the API group and version in the form \"group/version\"")
public String getGroupVersion() {
return groupVersion;
}
@@ -90,6 +94,7 @@ public V1GroupVersionForDiscovery version(String version) {
* @return version
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.")
public String getVersion() {
return version;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java
index dc101288c8..18ea69e26b 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.custom.IntOrString;
import io.kubernetes.client.openapi.models.V1HTTPHeader;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* HTTPGetAction describes an action based on HTTP Get requests.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "HTTPGetAction describes an action based on HTTP Get requests.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HTTPGetAction {
public static final String SERIALIZED_NAME_HOST = "host";
@SerializedName(SERIALIZED_NAME_HOST)
@@ -87,6 +90,7 @@ public V1HTTPGetAction host(String host) {
* @return host
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.")
public String getHost() {
return host;
}
@@ -114,6 +118,7 @@ public V1HTTPGetAction addHttpHeadersItem(V1HTTPHeader httpHeadersItem) {
* @return httpHeaders
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Custom headers to set in the request. HTTP allows repeated headers.")
public List getHttpHeaders() {
return httpHeaders;
}
@@ -133,6 +138,7 @@ public V1HTTPGetAction path(String path) {
* @return path
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Path to access on the HTTP server.")
public String getPath() {
return path;
}
@@ -152,6 +158,7 @@ public V1HTTPGetAction port(IntOrString port) {
* @return port
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.")
public IntOrString getPort() {
return port;
}
@@ -171,6 +178,7 @@ public V1HTTPGetAction scheme(String scheme) {
* @return scheme
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Scheme to use for connecting to the host. Defaults to HTTP.")
public String getScheme() {
return scheme;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java
index 9fb1175828..6e576d928f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* HTTPHeader describes a custom header to be used in HTTP probes
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "HTTPHeader describes a custom header to be used in HTTP probes")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HTTPHeader {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -71,6 +74,7 @@ public V1HTTPHeader name(String name) {
* @return name
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.")
public String getName() {
return name;
}
@@ -90,6 +94,7 @@ public V1HTTPHeader value(String value) {
* @return value
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "The header field value")
public String getValue() {
return value;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java
index c40a55ab1e..4f7ac89803 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1IngressBackend;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HTTPIngressPath {
public static final String SERIALIZED_NAME_BACKEND = "backend";
@SerializedName(SERIALIZED_NAME_BACKEND)
@@ -76,6 +79,7 @@ public V1HTTPIngressPath backend(V1IngressBackend backend) {
* @return backend
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1IngressBackend getBackend() {
return backend;
}
@@ -95,6 +99,7 @@ public V1HTTPIngressPath path(String path) {
* @return path
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\".")
public String getPath() {
return path;
}
@@ -114,6 +119,7 @@ public V1HTTPIngressPath pathType(String pathType) {
* @return pathType
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done on a path element by element basis. A path element refers is the list of labels in the path split by the '/' separator. A request is a match for path p if every p is an element-wise prefix of p of the request path. Note that if the last element of the path is a substring of the last element in request path, it is not a match (e.g. /foo/bar matches /foo/bar/baz, but does not match /foo/barbaz). * ImplementationSpecific: Interpretation of the Path matching is up to the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.")
public String getPathType() {
return pathType;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java
index d67eaf74e7..24a99b217c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1HTTPIngressPath;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HTTPIngressRuleValue {
public static final String SERIALIZED_NAME_PATHS = "paths";
@SerializedName(SERIALIZED_NAME_PATHS)
@@ -78,6 +81,7 @@ public V1HTTPIngressRuleValue addPathsItem(V1HTTPIngressPath pathsItem) {
* @return paths
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "paths is a collection of paths that map requests to backends.")
public List getPaths() {
return paths;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java
index dece7670ad..c624adb424 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -21,6 +21,8 @@
import io.kubernetes.client.openapi.models.V1HorizontalPodAutoscalerSpec;
import io.kubernetes.client.openapi.models.V1HorizontalPodAutoscalerStatus;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* configuration of a horizontal pod autoscaler.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "configuration of a horizontal pod autoscaler.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HorizontalPodAutoscaler implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -86,6 +89,7 @@ public V1HorizontalPodAutoscaler apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -105,6 +109,7 @@ public V1HorizontalPodAutoscaler kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -124,6 +129,7 @@ public V1HorizontalPodAutoscaler metadata(V1ObjectMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ObjectMeta getMetadata() {
return metadata;
}
@@ -143,6 +149,7 @@ public V1HorizontalPodAutoscaler spec(V1HorizontalPodAutoscalerSpec spec) {
* @return spec
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1HorizontalPodAutoscalerSpec getSpec() {
return spec;
}
@@ -162,6 +169,7 @@ public V1HorizontalPodAutoscaler status(V1HorizontalPodAutoscalerStatus status)
* @return status
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1HorizontalPodAutoscalerStatus getStatus() {
return status;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java
index 6fa0e5e67f..78d1a353da 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,6 +20,8 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1HorizontalPodAutoscaler;
import io.kubernetes.client.openapi.models.V1ListMeta;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -52,7 +54,8 @@
/**
* list of horizontal pod autoscaler objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "list of horizontal pod autoscaler objects.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HorizontalPodAutoscalerList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -83,6 +86,7 @@ public V1HorizontalPodAutoscalerList apiVersion(String apiVersion) {
* @return apiVersion
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
public String getApiVersion() {
return apiVersion;
}
@@ -110,6 +114,7 @@ public V1HorizontalPodAutoscalerList addItemsItem(V1HorizontalPodAutoscaler item
* @return items
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "items is the list of horizontal pod autoscaler objects.")
public List getItems() {
return items;
}
@@ -129,6 +134,7 @@ public V1HorizontalPodAutoscalerList kind(String kind) {
* @return kind
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
public String getKind() {
return kind;
}
@@ -148,6 +154,7 @@ public V1HorizontalPodAutoscalerList metadata(V1ListMeta metadata) {
* @return metadata
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "")
public V1ListMeta getMetadata() {
return metadata;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java
index c935f00882..6c2b3842d9 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1CrossVersionObjectReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* specification of a horizontal pod autoscaler.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "specification of a horizontal pod autoscaler.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HorizontalPodAutoscalerSpec {
public static final String SERIALIZED_NAME_MAX_REPLICAS = "maxReplicas";
@SerializedName(SERIALIZED_NAME_MAX_REPLICAS)
@@ -80,6 +83,7 @@ public V1HorizontalPodAutoscalerSpec maxReplicas(Integer maxReplicas) {
* @return maxReplicas
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "maxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.")
public Integer getMaxReplicas() {
return maxReplicas;
}
@@ -99,6 +103,7 @@ public V1HorizontalPodAutoscalerSpec minReplicas(Integer minReplicas) {
* @return minReplicas
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.")
public Integer getMinReplicas() {
return minReplicas;
}
@@ -118,6 +123,7 @@ public V1HorizontalPodAutoscalerSpec scaleTargetRef(V1CrossVersionObjectReferenc
* @return scaleTargetRef
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
public V1CrossVersionObjectReference getScaleTargetRef() {
return scaleTargetRef;
}
@@ -137,6 +143,7 @@ public V1HorizontalPodAutoscalerSpec targetCPUUtilizationPercentage(Integer targ
* @return targetCPUUtilizationPercentage
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.")
public Integer getTargetCPUUtilizationPercentage() {
return targetCPUUtilizationPercentage;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java
index 50d920684e..18bc55510c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -49,7 +51,8 @@
/**
* current status of a horizontal pod autoscaler
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "current status of a horizontal pod autoscaler")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HorizontalPodAutoscalerStatus {
public static final String SERIALIZED_NAME_CURRENT_C_P_U_UTILIZATION_PERCENTAGE = "currentCPUUtilizationPercentage";
@SerializedName(SERIALIZED_NAME_CURRENT_C_P_U_UTILIZATION_PERCENTAGE)
@@ -84,6 +87,7 @@ public V1HorizontalPodAutoscalerStatus currentCPUUtilizationPercentage(Integer c
* @return currentCPUUtilizationPercentage
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.")
public Integer getCurrentCPUUtilizationPercentage() {
return currentCPUUtilizationPercentage;
}
@@ -103,6 +107,7 @@ public V1HorizontalPodAutoscalerStatus currentReplicas(Integer currentReplicas)
* @return currentReplicas
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "currentReplicas is the current number of replicas of pods managed by this autoscaler.")
public Integer getCurrentReplicas() {
return currentReplicas;
}
@@ -122,6 +127,7 @@ public V1HorizontalPodAutoscalerStatus desiredReplicas(Integer desiredReplicas)
* @return desiredReplicas
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "desiredReplicas is the desired number of replicas of pods managed by this autoscaler.")
public Integer getDesiredReplicas() {
return desiredReplicas;
}
@@ -141,6 +147,7 @@ public V1HorizontalPodAutoscalerStatus lastScaleTime(OffsetDateTime lastScaleTim
* @return lastScaleTime
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.")
public OffsetDateTime getLastScaleTime() {
return lastScaleTime;
}
@@ -160,6 +167,7 @@ public V1HorizontalPodAutoscalerStatus observedGeneration(Long observedGeneratio
* @return observedGeneration
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "observedGeneration is the most recent generation observed by this autoscaler.")
public Long getObservedGeneration() {
return observedGeneration;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java
index 6bc170f089..6b186bc400 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HostAlias {
public static final String SERIALIZED_NAME_HOSTNAMES = "hostnames";
@SerializedName(SERIALIZED_NAME_HOSTNAMES)
@@ -81,6 +84,7 @@ public V1HostAlias addHostnamesItem(String hostnamesItem) {
* @return hostnames
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "Hostnames for the above IP address.")
public List getHostnames() {
return hostnames;
}
@@ -100,6 +104,7 @@ public V1HostAlias ip(String ip) {
* @return ip
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "IP address of the host file entry.")
public String getIp() {
return ip;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostIP.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostIP.java
index a30ddfcd21..9d97cb47b3 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostIP.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostIP.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* HostIP represents a single IP address allocated to the host.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "HostIP represents a single IP address allocated to the host.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HostIP {
public static final String SERIALIZED_NAME_IP = "ip";
@SerializedName(SERIALIZED_NAME_IP)
@@ -67,6 +70,7 @@ public V1HostIP ip(String ip) {
* @return ip
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "IP is the IP address assigned to the host")
public String getIp() {
return ip;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java
index 67c5ff1708..36c58363d9 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.Arrays;
@@ -48,7 +50,8 @@
/**
* Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1HostPathVolumeSource {
public static final String SERIALIZED_NAME_PATH = "path";
@SerializedName(SERIALIZED_NAME_PATH)
@@ -71,6 +74,7 @@ public V1HostPathVolumeSource path(String path) {
* @return path
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath")
public String getPath() {
return path;
}
@@ -90,6 +94,7 @@ public V1HostPathVolumeSource type(String type) {
* @return type
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath")
public String getType() {
return type;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java
index 97c08ec64e..ee5c239f39 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -18,6 +18,8 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -50,7 +52,8 @@
/**
* IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1IPBlock {
public static final String SERIALIZED_NAME_CIDR = "cidr";
@SerializedName(SERIALIZED_NAME_CIDR)
@@ -73,6 +76,7 @@ public V1IPBlock cidr(String cidr) {
* @return cidr
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"")
public String getCidr() {
return cidr;
}
@@ -100,6 +104,7 @@ public V1IPBlock addExceptItem(String exceptItem) {
* @return except
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range")
public List getExcept() {
return except;
}
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java
index 5e0374415b..3aba636fad 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java
@@ -1,5 +1,5 @@
/*
-Copyright 2024 The Kubernetes Authors.
+Copyright 2025 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -19,6 +19,8 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.V1SecretReference;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -51,7 +53,8 @@
/**
* ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T19:37:38.574271Z[Etc/UTC]", comments = "Generator version: 7.6.0")
+@ApiModel(description = "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-04T19:05:53.712211Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1ISCSIPersistentVolumeSource {
public static final String SERIALIZED_NAME_CHAP_AUTH_DISCOVERY = "chapAuthDiscovery";
@SerializedName(SERIALIZED_NAME_CHAP_AUTH_DISCOVERY)
@@ -110,6 +113,7 @@ public V1ISCSIPersistentVolumeSource chapAuthDiscovery(Boolean chapAuthDiscovery
* @return chapAuthDiscovery
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication")
public Boolean getChapAuthDiscovery() {
return chapAuthDiscovery;
}
@@ -129,6 +133,7 @@ public V1ISCSIPersistentVolumeSource chapAuthSession(Boolean chapAuthSession) {
* @return chapAuthSession
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "chapAuthSession defines whether support iSCSI Session CHAP authentication")
public Boolean getChapAuthSession() {
return chapAuthSession;
}
@@ -148,6 +153,7 @@ public V1ISCSIPersistentVolumeSource fsType(String fsType) {
* @return fsType
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi")
public String getFsType() {
return fsType;
}
@@ -167,6 +173,7 @@ public V1ISCSIPersistentVolumeSource initiatorName(String initiatorName) {
* @return initiatorName
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.")
public String getInitiatorName() {
return initiatorName;
}
@@ -186,6 +193,7 @@ public V1ISCSIPersistentVolumeSource iqn(String iqn) {
* @return iqn
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "iqn is Target iSCSI Qualified Name.")
public String getIqn() {
return iqn;
}
@@ -205,6 +213,7 @@ public V1ISCSIPersistentVolumeSource iscsiInterface(String iscsiInterface) {
* @return iscsiInterface
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).")
public String getIscsiInterface() {
return iscsiInterface;
}
@@ -224,6 +233,7 @@ public V1ISCSIPersistentVolumeSource lun(Integer lun) {
* @return lun
**/
@jakarta.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "lun is iSCSI Target Lun number.")
public Integer getLun() {
return lun;
}
@@ -251,6 +261,7 @@ public V1ISCSIPersistentVolumeSource addPortalsItem(String portalsItem) {
* @return portals
**/
@jakarta.annotation.Nullable
+ @ApiModelProperty(value = "portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).")
public List