From ebb0fc95cb34ebea23f0e300affd4e013cba9fb7 Mon Sep 17 00:00:00 2001 From: Rohan Shah Date: Thu, 18 Jul 2024 17:07:31 -0400 Subject: [PATCH] Update generated code for fixing Collection Model's dimension error (#144) ## Problem Vector dimension should be 20,000 but CollectionModel's docstring has 2,000. ## Solution Generate code using the following commands with the updated openapi spec 2024-07. ``` git submodule init && git submodule update ./codegen/build-oas.sh 2024-07 ``` ## Type of Change - [X] Bug fix (non-breaking change which fixes an issue) ## Test Plan NA --- codegen/apis | 2 +- .../java/org/openapitools/control/client/ApiException.java | 2 +- .../java/org/openapitools/control/client/Configuration.java | 2 +- src/main/java/org/openapitools/control/client/Pair.java | 2 +- .../java/org/openapitools/control/client/StringUtil.java | 2 +- .../openapitools/control/client/api/ManageIndexesApi.java | 6 +++--- .../org/openapitools/control/client/auth/ApiKeyAuth.java | 2 +- .../openapitools/control/client/auth/HttpBearerAuth.java | 2 +- .../control/client/model/AbstractOpenApiSchema.java | 2 +- .../openapitools/control/client/model/CollectionList.java | 2 +- .../openapitools/control/client/model/CollectionModel.java | 4 ++-- .../control/client/model/ConfigureIndexRequest.java | 2 +- .../control/client/model/ConfigureIndexRequestSpec.java | 2 +- .../control/client/model/ConfigureIndexRequestSpecPod.java | 2 +- .../control/client/model/CreateCollectionRequest.java | 2 +- .../control/client/model/CreateIndexRequest.java | 2 +- .../control/client/model/DeletionProtection.java | 2 +- .../org/openapitools/control/client/model/EmbedRequest.java | 2 +- .../control/client/model/EmbedRequestInputsInner.java | 2 +- .../control/client/model/EmbedRequestParameters.java | 2 +- .../org/openapitools/control/client/model/Embedding.java | 2 +- .../openapitools/control/client/model/EmbeddingsList.java | 2 +- .../control/client/model/EmbeddingsListUsage.java | 2 +- .../openapitools/control/client/model/ErrorResponse.java | 2 +- .../control/client/model/ErrorResponseError.java | 2 +- .../org/openapitools/control/client/model/IndexList.java | 2 +- .../org/openapitools/control/client/model/IndexModel.java | 2 +- .../openapitools/control/client/model/IndexModelSpec.java | 2 +- .../openapitools/control/client/model/IndexModelStatus.java | 2 +- .../org/openapitools/control/client/model/IndexSpec.java | 2 +- .../java/org/openapitools/control/client/model/PodSpec.java | 2 +- .../control/client/model/PodSpecMetadataConfig.java | 2 +- .../openapitools/control/client/model/ServerlessSpec.java | 2 +- 33 files changed, 36 insertions(+), 36 deletions(-) diff --git a/codegen/apis b/codegen/apis index 3e5739b4..e9b47c76 160000 --- a/codegen/apis +++ b/codegen/apis @@ -1 +1 @@ -Subproject commit 3e5739b49a9592a0a7da935e4247e377bd5d1e8a +Subproject commit e9b47c76f649656002f4911946ca6c4c4a6f04fc diff --git a/src/main/java/org/openapitools/control/client/ApiException.java b/src/main/java/org/openapitools/control/client/ApiException.java index d5d59025..279f57e2 100644 --- a/src/main/java/org/openapitools/control/client/ApiException.java +++ b/src/main/java/org/openapitools/control/client/ApiException.java @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/src/main/java/org/openapitools/control/client/Configuration.java b/src/main/java/org/openapitools/control/client/Configuration.java index fa487481..886ce392 100644 --- a/src/main/java/org/openapitools/control/client/Configuration.java +++ b/src/main/java/org/openapitools/control/client/Configuration.java @@ -13,7 +13,7 @@ package org.openapitools.control.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class Configuration { public static final String VERSION = "2024-07"; diff --git a/src/main/java/org/openapitools/control/client/Pair.java b/src/main/java/org/openapitools/control/client/Pair.java index 74a4e948..c8639868 100644 --- a/src/main/java/org/openapitools/control/client/Pair.java +++ b/src/main/java/org/openapitools/control/client/Pair.java @@ -13,7 +13,7 @@ package org.openapitools.control.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/org/openapitools/control/client/StringUtil.java b/src/main/java/org/openapitools/control/client/StringUtil.java index dc56e8ec..23e5276a 100644 --- a/src/main/java/org/openapitools/control/client/StringUtil.java +++ b/src/main/java/org/openapitools/control/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/org/openapitools/control/client/api/ManageIndexesApi.java b/src/main/java/org/openapitools/control/client/api/ManageIndexesApi.java index f6aaccbb..d7bd41da 100644 --- a/src/main/java/org/openapitools/control/client/api/ManageIndexesApi.java +++ b/src/main/java/org/openapitools/control/client/api/ManageIndexesApi.java @@ -162,7 +162,7 @@ private okhttp3.Call configureIndexValidateBeforeCall(String indexName, Configur /** * Configure an index - * This operation configures the pod size and number of replicas for a pod-based index. It is not possible to change the pod type of an index. However, you can create a collection from an index and then [create a new index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. + * This operation configures an existing index. For serverless indexes, you can configure only index deletion protection. For pod-based indexes, you can configure the pod size, number of replicas, and index deletion protection. It is not possible to change the pod type of a pod-based index. However, you can create a collection from a pod-based index and then [create a new pod-based index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. For guidance and examples, see [Configure an index](http://docs.pinecone.io/guides/indexes/configure-an-index). * @param indexName The name of the index to configure. (required) * @param configureIndexRequest The desired pod size and replica configuration for the index. (required) * @return IndexModel @@ -186,7 +186,7 @@ public IndexModel configureIndex(String indexName, ConfigureIndexRequest configu /** * Configure an index - * This operation configures the pod size and number of replicas for a pod-based index. It is not possible to change the pod type of an index. However, you can create a collection from an index and then [create a new index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. + * This operation configures an existing index. For serverless indexes, you can configure only index deletion protection. For pod-based indexes, you can configure the pod size, number of replicas, and index deletion protection. It is not possible to change the pod type of a pod-based index. However, you can create a collection from a pod-based index and then [create a new pod-based index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. For guidance and examples, see [Configure an index](http://docs.pinecone.io/guides/indexes/configure-an-index). * @param indexName The name of the index to configure. (required) * @param configureIndexRequest The desired pod size and replica configuration for the index. (required) * @return ApiResponse<IndexModel> @@ -211,7 +211,7 @@ public ApiResponse configureIndexWithHttpInfo(String indexName, Conf /** * Configure an index (asynchronously) - * This operation configures the pod size and number of replicas for a pod-based index. It is not possible to change the pod type of an index. However, you can create a collection from an index and then [create a new index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. + * This operation configures an existing index. For serverless indexes, you can configure only index deletion protection. For pod-based indexes, you can configure the pod size, number of replicas, and index deletion protection. It is not possible to change the pod type of a pod-based index. However, you can create a collection from a pod-based index and then [create a new pod-based index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. For guidance and examples, see [Configure an index](http://docs.pinecone.io/guides/indexes/configure-an-index). * @param indexName The name of the index to configure. (required) * @param configureIndexRequest The desired pod size and replica configuration for the index. (required) * @param _callback The callback to be executed when the API call finishes diff --git a/src/main/java/org/openapitools/control/client/auth/ApiKeyAuth.java b/src/main/java/org/openapitools/control/client/auth/ApiKeyAuth.java index 6b0a704e..df52d6b5 100644 --- a/src/main/java/org/openapitools/control/client/auth/ApiKeyAuth.java +++ b/src/main/java/org/openapitools/control/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/org/openapitools/control/client/auth/HttpBearerAuth.java b/src/main/java/org/openapitools/control/client/auth/HttpBearerAuth.java index b5cdf1a1..6107166c 100644 --- a/src/main/java/org/openapitools/control/client/auth/HttpBearerAuth.java +++ b/src/main/java/org/openapitools/control/client/auth/HttpBearerAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/src/main/java/org/openapitools/control/client/model/AbstractOpenApiSchema.java b/src/main/java/org/openapitools/control/client/model/AbstractOpenApiSchema.java index 56928d9a..7b51a401 100644 --- a/src/main/java/org/openapitools/control/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/org/openapitools/control/client/model/AbstractOpenApiSchema.java @@ -23,7 +23,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/org/openapitools/control/client/model/CollectionList.java b/src/main/java/org/openapitools/control/client/model/CollectionList.java index f2d253ad..2a82ccdb 100644 --- a/src/main/java/org/openapitools/control/client/model/CollectionList.java +++ b/src/main/java/org/openapitools/control/client/model/CollectionList.java @@ -52,7 +52,7 @@ /** * The list of collections that exist in the project. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class CollectionList { public static final String SERIALIZED_NAME_COLLECTIONS = "collections"; @SerializedName(SERIALIZED_NAME_COLLECTIONS) diff --git a/src/main/java/org/openapitools/control/client/model/CollectionModel.java b/src/main/java/org/openapitools/control/client/model/CollectionModel.java index 728dd8e5..2b9d895a 100644 --- a/src/main/java/org/openapitools/control/client/model/CollectionModel.java +++ b/src/main/java/org/openapitools/control/client/model/CollectionModel.java @@ -49,7 +49,7 @@ /** * The CollectionModel describes the configuration and status of a Pinecone collection. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class CollectionModel { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -199,7 +199,7 @@ public CollectionModel dimension(Integer dimension) { /** * The dimension of the vectors stored in each record held in the collection. * minimum: 1 - * maximum: 2000 + * maximum: 20000 * @return dimension **/ @javax.annotation.Nullable diff --git a/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequest.java b/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequest.java index 756530e7..11eeea33 100644 --- a/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequest.java +++ b/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequest.java @@ -51,7 +51,7 @@ /** * Configuration used to scale an index. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class ConfigureIndexRequest { public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) diff --git a/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequestSpec.java b/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequestSpec.java index 19c58340..dbc2d65b 100644 --- a/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequestSpec.java +++ b/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequestSpec.java @@ -50,7 +50,7 @@ /** * ConfigureIndexRequestSpec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class ConfigureIndexRequestSpec { public static final String SERIALIZED_NAME_POD = "pod"; @SerializedName(SERIALIZED_NAME_POD) diff --git a/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequestSpecPod.java b/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequestSpecPod.java index 125b568f..0e495ad2 100644 --- a/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequestSpecPod.java +++ b/src/main/java/org/openapitools/control/client/model/ConfigureIndexRequestSpecPod.java @@ -49,7 +49,7 @@ /** * ConfigureIndexRequestSpecPod */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class ConfigureIndexRequestSpecPod { public static final String SERIALIZED_NAME_REPLICAS = "replicas"; @SerializedName(SERIALIZED_NAME_REPLICAS) diff --git a/src/main/java/org/openapitools/control/client/model/CreateCollectionRequest.java b/src/main/java/org/openapitools/control/client/model/CreateCollectionRequest.java index b2f2a57f..2904e6dd 100644 --- a/src/main/java/org/openapitools/control/client/model/CreateCollectionRequest.java +++ b/src/main/java/org/openapitools/control/client/model/CreateCollectionRequest.java @@ -49,7 +49,7 @@ /** * The configuration needed to create a Pinecone collection. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class CreateCollectionRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/org/openapitools/control/client/model/CreateIndexRequest.java b/src/main/java/org/openapitools/control/client/model/CreateIndexRequest.java index 1c35f841..d088d4e4 100644 --- a/src/main/java/org/openapitools/control/client/model/CreateIndexRequest.java +++ b/src/main/java/org/openapitools/control/client/model/CreateIndexRequest.java @@ -51,7 +51,7 @@ /** * The configuration needed to create a Pinecone index. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class CreateIndexRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/org/openapitools/control/client/model/DeletionProtection.java b/src/main/java/org/openapitools/control/client/model/DeletionProtection.java index 0eaa2c6a..e69a5c45 100644 --- a/src/main/java/org/openapitools/control/client/model/DeletionProtection.java +++ b/src/main/java/org/openapitools/control/client/model/DeletionProtection.java @@ -23,7 +23,7 @@ import com.google.gson.stream.JsonWriter; /** - * Whether delete protection is enabled/disabled for the resource. + * Whether [deletion protection](http://docs.pinecone.io/guides/indexes/prevent-index-deletion) is enabled/disabled for the index. */ @JsonAdapter(DeletionProtection.Adapter.class) public enum DeletionProtection { diff --git a/src/main/java/org/openapitools/control/client/model/EmbedRequest.java b/src/main/java/org/openapitools/control/client/model/EmbedRequest.java index 8cffa9b9..db4aed57 100644 --- a/src/main/java/org/openapitools/control/client/model/EmbedRequest.java +++ b/src/main/java/org/openapitools/control/client/model/EmbedRequest.java @@ -53,7 +53,7 @@ /** * Generate embeddings for inputs */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class EmbedRequest { public static final String SERIALIZED_NAME_MODEL = "model"; @SerializedName(SERIALIZED_NAME_MODEL) diff --git a/src/main/java/org/openapitools/control/client/model/EmbedRequestInputsInner.java b/src/main/java/org/openapitools/control/client/model/EmbedRequestInputsInner.java index 86033a5b..db3dd767 100644 --- a/src/main/java/org/openapitools/control/client/model/EmbedRequestInputsInner.java +++ b/src/main/java/org/openapitools/control/client/model/EmbedRequestInputsInner.java @@ -49,7 +49,7 @@ /** * EmbedRequestInputsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class EmbedRequestInputsInner { public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) diff --git a/src/main/java/org/openapitools/control/client/model/EmbedRequestParameters.java b/src/main/java/org/openapitools/control/client/model/EmbedRequestParameters.java index 10469745..92640bf4 100644 --- a/src/main/java/org/openapitools/control/client/model/EmbedRequestParameters.java +++ b/src/main/java/org/openapitools/control/client/model/EmbedRequestParameters.java @@ -49,7 +49,7 @@ /** * Model-specific parameters. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class EmbedRequestParameters { public static final String SERIALIZED_NAME_INPUT_TYPE = "input_type"; @SerializedName(SERIALIZED_NAME_INPUT_TYPE) diff --git a/src/main/java/org/openapitools/control/client/model/Embedding.java b/src/main/java/org/openapitools/control/client/model/Embedding.java index f8d743ea..77fc367d 100644 --- a/src/main/java/org/openapitools/control/client/model/Embedding.java +++ b/src/main/java/org/openapitools/control/client/model/Embedding.java @@ -52,7 +52,7 @@ /** * Embedding of a single input */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class Embedding { public static final String SERIALIZED_NAME_VALUES = "values"; @SerializedName(SERIALIZED_NAME_VALUES) diff --git a/src/main/java/org/openapitools/control/client/model/EmbeddingsList.java b/src/main/java/org/openapitools/control/client/model/EmbeddingsList.java index 9bbdac61..c6ac7228 100644 --- a/src/main/java/org/openapitools/control/client/model/EmbeddingsList.java +++ b/src/main/java/org/openapitools/control/client/model/EmbeddingsList.java @@ -53,7 +53,7 @@ /** * Embeddings generated for the input */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class EmbeddingsList { public static final String SERIALIZED_NAME_MODEL = "model"; @SerializedName(SERIALIZED_NAME_MODEL) diff --git a/src/main/java/org/openapitools/control/client/model/EmbeddingsListUsage.java b/src/main/java/org/openapitools/control/client/model/EmbeddingsListUsage.java index 2c4cbcd0..a19d95b1 100644 --- a/src/main/java/org/openapitools/control/client/model/EmbeddingsListUsage.java +++ b/src/main/java/org/openapitools/control/client/model/EmbeddingsListUsage.java @@ -49,7 +49,7 @@ /** * Usage statistics for model inference including any instruction prefixes */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class EmbeddingsListUsage { public static final String SERIALIZED_NAME_TOTAL_TOKENS = "total_tokens"; @SerializedName(SERIALIZED_NAME_TOTAL_TOKENS) diff --git a/src/main/java/org/openapitools/control/client/model/ErrorResponse.java b/src/main/java/org/openapitools/control/client/model/ErrorResponse.java index 3a59ac92..896a0acf 100644 --- a/src/main/java/org/openapitools/control/client/model/ErrorResponse.java +++ b/src/main/java/org/openapitools/control/client/model/ErrorResponse.java @@ -50,7 +50,7 @@ /** * The response shape used for all error responses. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class ErrorResponse { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) diff --git a/src/main/java/org/openapitools/control/client/model/ErrorResponseError.java b/src/main/java/org/openapitools/control/client/model/ErrorResponseError.java index c6c74ce4..5ad5369f 100644 --- a/src/main/java/org/openapitools/control/client/model/ErrorResponseError.java +++ b/src/main/java/org/openapitools/control/client/model/ErrorResponseError.java @@ -49,7 +49,7 @@ /** * Detailed information about the error that occurred. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class ErrorResponseError { /** * Gets or Sets code diff --git a/src/main/java/org/openapitools/control/client/model/IndexList.java b/src/main/java/org/openapitools/control/client/model/IndexList.java index e8a8a597..f14a13eb 100644 --- a/src/main/java/org/openapitools/control/client/model/IndexList.java +++ b/src/main/java/org/openapitools/control/client/model/IndexList.java @@ -52,7 +52,7 @@ /** * The list of indexes that exist in the project. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class IndexList { public static final String SERIALIZED_NAME_INDEXES = "indexes"; @SerializedName(SERIALIZED_NAME_INDEXES) diff --git a/src/main/java/org/openapitools/control/client/model/IndexModel.java b/src/main/java/org/openapitools/control/client/model/IndexModel.java index 1aa42f04..dc844458 100644 --- a/src/main/java/org/openapitools/control/client/model/IndexModel.java +++ b/src/main/java/org/openapitools/control/client/model/IndexModel.java @@ -52,7 +52,7 @@ /** * The IndexModel describes the configuration and status of a Pinecone index. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class IndexModel { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/org/openapitools/control/client/model/IndexModelSpec.java b/src/main/java/org/openapitools/control/client/model/IndexModelSpec.java index cf098956..85ff475c 100644 --- a/src/main/java/org/openapitools/control/client/model/IndexModelSpec.java +++ b/src/main/java/org/openapitools/control/client/model/IndexModelSpec.java @@ -51,7 +51,7 @@ /** * IndexModelSpec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class IndexModelSpec { public static final String SERIALIZED_NAME_POD = "pod"; @SerializedName(SERIALIZED_NAME_POD) diff --git a/src/main/java/org/openapitools/control/client/model/IndexModelStatus.java b/src/main/java/org/openapitools/control/client/model/IndexModelStatus.java index 3bcc66d5..13ace792 100644 --- a/src/main/java/org/openapitools/control/client/model/IndexModelStatus.java +++ b/src/main/java/org/openapitools/control/client/model/IndexModelStatus.java @@ -49,7 +49,7 @@ /** * IndexModelStatus */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class IndexModelStatus { public static final String SERIALIZED_NAME_READY = "ready"; @SerializedName(SERIALIZED_NAME_READY) diff --git a/src/main/java/org/openapitools/control/client/model/IndexSpec.java b/src/main/java/org/openapitools/control/client/model/IndexSpec.java index 5de50f80..9dfcef0f 100644 --- a/src/main/java/org/openapitools/control/client/model/IndexSpec.java +++ b/src/main/java/org/openapitools/control/client/model/IndexSpec.java @@ -51,7 +51,7 @@ /** * The spec object defines how the index should be deployed. For serverless indexes, you define only the [cloud and region](http://docs.pinecone.io/guides/indexes/understanding-indexes#cloud-regions) where the index should be hosted. For pod-based indexes, you define the [environment](http://docs.pinecone.io/guides/indexes/understanding-indexes#pod-environments) where the index should be hosted, the [pod type and size](http://docs.pinecone.io/guides/indexes/understanding-indexes#pod-types) to use, and other index characteristics. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class IndexSpec { public static final String SERIALIZED_NAME_SERVERLESS = "serverless"; @SerializedName(SERIALIZED_NAME_SERVERLESS) diff --git a/src/main/java/org/openapitools/control/client/model/PodSpec.java b/src/main/java/org/openapitools/control/client/model/PodSpec.java index d2cf6d99..20aeee9e 100644 --- a/src/main/java/org/openapitools/control/client/model/PodSpec.java +++ b/src/main/java/org/openapitools/control/client/model/PodSpec.java @@ -50,7 +50,7 @@ /** * Configuration needed to deploy a pod-based index. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class PodSpec { public static final String SERIALIZED_NAME_ENVIRONMENT = "environment"; @SerializedName(SERIALIZED_NAME_ENVIRONMENT) diff --git a/src/main/java/org/openapitools/control/client/model/PodSpecMetadataConfig.java b/src/main/java/org/openapitools/control/client/model/PodSpecMetadataConfig.java index 560862a1..19f9f862 100644 --- a/src/main/java/org/openapitools/control/client/model/PodSpecMetadataConfig.java +++ b/src/main/java/org/openapitools/control/client/model/PodSpecMetadataConfig.java @@ -51,7 +51,7 @@ /** * Configuration for the behavior of Pinecone's internal metadata index. By default, all metadata is indexed; when `metadata_config` is present, only specified metadata fields are indexed. These configurations are only valid for use with pod-based indexes. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class PodSpecMetadataConfig { public static final String SERIALIZED_NAME_INDEXED = "indexed"; @SerializedName(SERIALIZED_NAME_INDEXED) diff --git a/src/main/java/org/openapitools/control/client/model/ServerlessSpec.java b/src/main/java/org/openapitools/control/client/model/ServerlessSpec.java index 60e39ddc..21ef73eb 100644 --- a/src/main/java/org/openapitools/control/client/model/ServerlessSpec.java +++ b/src/main/java/org/openapitools/control/client/model/ServerlessSpec.java @@ -49,7 +49,7 @@ /** * Configuration needed to deploy a serverless index. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-16T15:28:37.412995Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-18T20:37:01.807093Z[Etc/UTC]") public class ServerlessSpec { /** * The public cloud where you would like your index hosted.