From 6ff77392cec3024f25fe90a29bcbb90ec0ad7d50 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Fri, 4 Oct 2024 01:47:03 +0400 Subject: [PATCH] feat: Initial commit. --- .github/dependabot.yml | 15 + .github/workflows/auto-merge.yml | 39 + .github/workflows/auto-update.yml | 63 + .github/workflows/dotnet.yml | 38 + .github/workflows/mkdocs.yml | 57 + .github/workflows/pull-request.yml | 15 + .gitignore | 399 ++ LICENSE | 21 + README.md | 36 + Weaviate.sln | 84 + assets/nuget-icon.png | Bin 0 -> 132733 bytes docs/css/extra.css | 102 + docs/media/icon128.png | Bin 0 -> 13498 bytes global.json | 6 + initialize.sh | 8 +- mkdocs.yml | 82 + src/Directory.Build.props | 9 + .../FixOpenApiSpec/FixOpenApiSpec.csproj | 15 + src/helpers/FixOpenApiSpec/Program.cs | 55 + .../Properties/launchSettings.json | 8 + src/helpers/GenerateDocs/GenerateDocs.csproj | 9 + src/helpers/GenerateDocs/Program.cs | 46 + src/helpers/TrimmingHelper/Program.cs | 1 + .../TrimmingHelper/TrimmingHelper.csproj | 30 + src/key.snk | Bin 0 -> 596 bytes src/libs/Directory.Build.props | 63 + ...nverters.BackupConfigCompressionLevel.g.cs | 49 + ....BackupConfigCompressionLevelNullable.g.cs | 56 + ...Converters.BackupCreateResponseStatus.g.cs | 49 + ...rs.BackupCreateResponseStatusNullable.g.cs | 56 + ...ters.BackupCreateStatusResponseStatus.g.cs | 49 + ...kupCreateStatusResponseStatusNullable.g.cs | 56 + ...nverters.BackupListResponseItemStatus.g.cs | 49 + ....BackupListResponseItemStatusNullable.g.cs | 56 + ...onverters.BackupRestoreResponseStatus.g.cs | 49 + ...s.BackupRestoreResponseStatusNullable.g.cs | 56 + ...ers.BackupRestoreStatusResponseStatus.g.cs | 49 + ...upRestoreStatusResponseStatusNullable.g.cs | 56 + .../JsonConverters.BatchDeleteOutput.g.cs | 49 + ...nConverters.BatchDeleteOutputNullable.g.cs | 56 + ...nConverters.BatchDeleteResponseOutput.g.cs | 49 + ...ers.BatchDeleteResponseOutputNullable.g.cs | 56 + ...atchDeleteResponseResultsObjectStatus.g.cs | 49 + ...teResponseResultsObjectStatusNullable.g.cs | 56 + ...rs.BatchObjectsCreateConsistencyLevel.g.cs | 49 + ...ObjectsCreateConsistencyLevelNullable.g.cs | 56 + ...erters.BatchObjectsCreateRequestField.g.cs | 49 + ...atchObjectsCreateRequestFieldNullable.g.cs | 56 + ...rs.BatchObjectsDeleteConsistencyLevel.g.cs | 49 + ...ObjectsDeleteConsistencyLevelNullable.g.cs | 56 + ...JsonConverters.BatchReferenceResponse.g.cs | 87 + ...ReferenceResponseVariant2ResultStatus.g.cs | 49 + ...eResponseVariant2ResultStatusNullable.g.cs | 56 + ...BatchReferencesCreateConsistencyLevel.g.cs | 49 + ...erencesCreateConsistencyLevelNullable.g.cs | 56 + .../JsonConverters.ClassificationStatus.g.cs | 49 + ...nverters.ClassificationStatusNullable.g.cs | 56 + .../JsonConverters.DataTypeItem.g.cs | 49 + .../JsonConverters.DataTypeItemNullable.g.cs | 56 + .../JsonConverters.NodeStatusStatus.g.cs | 49 + ...onConverters.NodeStatusStatusNullable.g.cs | 56 + .../JsonConverters.NodesGetClassOutput.g.cs | 49 + ...onverters.NodesGetClassOutputNullable.g.cs | 56 + .../JsonConverters.NodesGetOutput.g.cs | 49 + ...JsonConverters.NodesGetOutputNullable.g.cs | 56 + ...rs.ObjectsClassDeleteConsistencyLevel.g.cs | 49 + ...tsClassDeleteConsistencyLevelNullable.g.cs | 56 + ...rters.ObjectsClassGetConsistencyLevel.g.cs | 49 + ...jectsClassGetConsistencyLevelNullable.g.cs | 56 + ...ters.ObjectsClassHeadConsistencyLevel.g.cs | 49 + ...ectsClassHeadConsistencyLevelNullable.g.cs | 56 + ...ers.ObjectsClassPatchConsistencyLevel.g.cs | 49 + ...ctsClassPatchConsistencyLevelNullable.g.cs | 56 + ...rters.ObjectsClassPutConsistencyLevel.g.cs | 49 + ...jectsClassPutConsistencyLevelNullable.g.cs | 56 + ...ClassReferencesCreateConsistencyLevel.g.cs | 49 + ...erencesCreateConsistencyLevelNullable.g.cs | 56 + ...ClassReferencesDeleteConsistencyLevel.g.cs | 49 + ...erencesDeleteConsistencyLevelNullable.g.cs | 56 + ...ctsClassReferencesPutConsistencyLevel.g.cs | 49 + ...ReferencesPutConsistencyLevelNullable.g.cs | 56 + ...verters.ObjectsCreateConsistencyLevel.g.cs | 49 + ...ObjectsCreateConsistencyLevelNullable.g.cs | 56 + ...verters.ObjectsDeleteConsistencyLevel.g.cs | 49 + ...ObjectsDeleteConsistencyLevelNullable.g.cs | 56 + .../JsonConverters.ObjectsGetResponse.g.cs | 112 + ...bjectsGetResponseVariant3ResultStatus.g.cs | 49 + ...tResponseVariant3ResultStatusNullable.g.cs | 56 + .../JsonConverters.ObjectsListOrder.g.cs | 49 + ...onConverters.ObjectsListOrderNullable.g.cs | 56 + ...nverters.ObjectsPatchConsistencyLevel.g.cs | 49 + ....ObjectsPatchConsistencyLevelNullable.g.cs | 56 + ...verters.ObjectsUpdateConsistencyLevel.g.cs | 49 + ...ObjectsUpdateConsistencyLevelNullable.g.cs | 56 + .../JsonConverters.PatchDocumentActionOp.g.cs | 49 + ...verters.PatchDocumentActionOpNullable.g.cs | 56 + .../JsonConverters.PatchDocumentObjectOp.g.cs | 49 + ...verters.PatchDocumentObjectOpNullable.g.cs | 56 + ...onfigObjectDeletionConflictResolution.g.cs | 49 + ...ectDeletionConflictResolutionNullable.g.cs | 56 + .../JsonConverters.StatisticsStatus.g.cs | 49 + ...onConverters.StatisticsStatusNullable.g.cs | 56 + .../JsonConverters.StopwordConfigPreset.g.cs | 49 + ...nverters.StopwordConfigPresetNullable.g.cs | 56 + .../JsonConverters.TenantActivityStatus.g.cs | 49 + ...nverters.TenantActivityStatusNullable.g.cs | 56 + .../JsonConverters.Tokenization.g.cs | 49 + .../JsonConverters.TokenizationNullable.g.cs | 56 + .../JsonConverters.UnixTimestamp.g.cs | 39 + .../JsonConverters.VectorIndexType.g.cs | 49 + ...sonConverters.VectorIndexTypeNullable.g.cs | 56 + .../Generated/JsonConverters.Vectorizer.g.cs | 49 + .../JsonConverters.VectorizerNullable.g.cs | 56 + .../JsonConverters.WhereFilterOperator.g.cs | 49 + ...onverters.WhereFilterOperatorNullable.g.cs | 56 + .../Generated/JsonSerializerContext.g.cs | 110 + .../Generated/JsonSerializerContextTypes.g.cs | 783 +++ .../Weaviate.BackupsClient.BackupsCancel.g.cs | 116 + .../Weaviate.BackupsClient.BackupsCreate.g.cs | 165 + ...ate.BackupsClient.BackupsCreateStatus.g.cs | 116 + .../Weaviate.BackupsClient.BackupsList.g.cs | 110 + ...Weaviate.BackupsClient.BackupsRestore.g.cs | 174 + ...te.BackupsClient.BackupsRestoreStatus.g.cs | 116 + .../Generated/Weaviate.BackupsClient.g.cs | 68 + ...aviate.BatchClient.BatchObjectsCreate.g.cs | 160 + ...aviate.BatchClient.BatchObjectsDelete.g.cs | 179 + ...ate.BatchClient.BatchReferencesCreate.g.cs | 129 + .../Generated/Weaviate.BatchClient.g.cs | 68 + ...ssificationsClient.ClassificationsGet.g.cs | 110 + ...sificationsClient.ClassificationsPost.g.cs | 190 + .../Weaviate.ClassificationsClient.g.cs | 68 + ...te.ClusterClient.ClusterGetStatistics.g.cs | 104 + .../Generated/Weaviate.ClusterClient.g.cs | 68 + .../Weaviate.GraphqlClient.GraphqlBatch.g.cs | 118 + .../Weaviate.GraphqlClient.GraphqlPost.g.cs | 151 + .../Generated/Weaviate.GraphqlClient.g.cs | 68 + ...Weaviate.IBackupsClient.BackupsCancel.g.cs | 20 + ...Weaviate.IBackupsClient.BackupsCreate.g.cs | 47 + ...te.IBackupsClient.BackupsCreateStatus.g.cs | 20 + .../Weaviate.IBackupsClient.BackupsList.g.cs | 18 + ...eaviate.IBackupsClient.BackupsRestore.g.cs | 51 + ...e.IBackupsClient.BackupsRestoreStatus.g.cs | 20 + .../Generated/Weaviate.IBackupsClient.g.cs | 20 + ...viate.IBatchClient.BatchObjectsCreate.g.cs | 41 + ...viate.IBatchClient.BatchObjectsDelete.g.cs | 53 + ...te.IBatchClient.BatchReferencesCreate.g.cs | 22 + .../Generated/Weaviate.IBatchClient.g.cs | 20 + ...ssificationsClient.ClassificationsGet.g.cs | 18 + ...sificationsClient.ClassificationsPost.g.cs | 71 + .../Weaviate.IClassificationsClient.g.cs | 20 + ...e.IClusterClient.ClusterGetStatistics.g.cs | 16 + .../Generated/Weaviate.IClusterClient.g.cs | 20 + .../Weaviate.IGraphqlClient.GraphqlBatch.g.cs | 18 + .../Weaviate.IGraphqlClient.GraphqlPost.g.cs | 39 + .../Generated/Weaviate.IGraphqlClient.g.cs | 20 + .../Weaviate.IMetaClient.MetaGet.g.cs | 16 + .../Generated/Weaviate.IMetaClient.g.cs | 20 + .../Weaviate.INodesClient.NodesGet.g.cs | 20 + .../Weaviate.INodesClient.NodesGetClass.g.cs | 22 + .../Generated/Weaviate.INodesClient.g.cs | 20 + ...ate.IObjectsClient.ObjectsClassDelete.g.cs | 26 + ...aviate.IObjectsClient.ObjectsClassGet.g.cs | 30 + ...viate.IObjectsClient.ObjectsClassHead.g.cs | 26 + ...iate.IObjectsClient.ObjectsClassPatch.g.cs | 83 + ...aviate.IObjectsClient.ObjectsClassPut.g.cs | 83 + ...tsClient.ObjectsClassReferencesCreate.g.cs | 71 + ...tsClient.ObjectsClassReferencesDelete.g.cs | 71 + ...jectsClient.ObjectsClassReferencesPut.g.cs | 30 + ...Weaviate.IObjectsClient.ObjectsCreate.g.cs | 75 + .../Weaviate.IObjectsClient.ObjectsList.g.cs | 36 + ...aviate.IObjectsClient.ObjectsValidate.g.cs | 67 + .../Generated/Weaviate.IObjectsClient.g.cs | 20 + .../Weaviate.IRootClient.WeaviateRoot.g.cs | 16 + .../Generated/Weaviate.IRootClient.g.cs | 20 + .../Weaviate.ISchemaClient.SchemaDump.g.cs | 20 + ...ate.ISchemaClient.SchemaObjectsCreate.g.cs | 76 + ...ate.ISchemaClient.SchemaObjectsDelete.g.cs | 18 + ...aviate.ISchemaClient.SchemaObjectsGet.g.cs | 21 + ...hemaClient.SchemaObjectsPropertiesAdd.g.cs | 75 + ....ISchemaClient.SchemaObjectsShardsGet.g.cs | 20 + ...chemaClient.SchemaObjectsShardsUpdate.g.cs | 39 + ...ate.ISchemaClient.SchemaObjectsUpdate.g.cs | 80 + .../Weaviate.ISchemaClient.TenantExists.g.cs | 24 + .../Weaviate.ISchemaClient.TenantsCreate.g.cs | 20 + .../Weaviate.ISchemaClient.TenantsDelete.g.cs | 20 + .../Weaviate.ISchemaClient.TenantsGet.g.cs | 22 + .../Weaviate.ISchemaClient.TenantsUpdate.g.cs | 20 + .../Generated/Weaviate.ISchemaClient.g.cs | 20 + .../Generated/Weaviate.IWeaviateClient.g.cs | 84 + ...lient.GetWellKnownOpenidConfiguration.g.cs | 16 + ...KnownClient.WeaviateWellknownLiveness.g.cs | 16 + ...nownClient.WeaviateWellknownReadiness.g.cs | 16 + .../Generated/Weaviate.IWellKnownClient.g.cs | 20 + .../Weaviate.MetaClient.MetaGet.g.cs | 104 + .../Generated/Weaviate.MetaClient.g.cs | 68 + .../Weaviate.Models.AdditionalProperties.g.cs | 18 + .../Generated/Weaviate.Models.BM25Config.g.cs | 31 + .../Weaviate.Models.BackupConfig.g.cs | 39 + ...e.Models.BackupConfigCompressionLevel.g.cs | 58 + .../Weaviate.Models.BackupCreateRequest.g.cs | 42 + .../Weaviate.Models.BackupCreateResponse.g.cs | 55 + ...ate.Models.BackupCreateResponseStatus.g.cs | 70 + ...ate.Models.BackupCreateStatusResponse.g.cs | 49 + ...dels.BackupCreateStatusResponseStatus.g.cs | 76 + ...eaviate.Models.BackupListResponseItem.g.cs | 42 + ...e.Models.BackupListResponseItemStatus.g.cs | 75 + .../Weaviate.Models.BackupRestoreRequest.g.cs | 41 + ...odels.BackupRestoreRequestNodeMapping.g.cs | 18 + ...Weaviate.Models.BackupRestoreResponse.g.cs | 55 + ...te.Models.BackupRestoreResponseStatus.g.cs | 70 + ...te.Models.BackupRestoreStatusResponse.g.cs | 49 + ...els.BackupRestoreStatusResponseStatus.g.cs | 70 + .../Weaviate.Models.BatchDelete.g.cs | 38 + .../Weaviate.Models.BatchDeleteMatch.g.cs | 30 + .../Weaviate.Models.BatchDeleteOutput.g.cs | 52 + .../Weaviate.Models.BatchDeleteResponse.g.cs | 44 + ...viate.Models.BatchDeleteResponseMatch.g.cs | 30 + ...iate.Models.BatchDeleteResponseOutput.g.cs | 52 + ...ate.Models.BatchDeleteResponseResults.g.cs | 47 + ...dels.BatchDeleteResponseResultsObject.g.cs | 36 + ...atchDeleteResponseResultsObjectStatus.g.cs | 57 + ...ls.BatchObjectsCreateConsistencyLevel.g.cs | 57 + ...iate.Models.BatchObjectsCreateRequest.g.cs | 29 + ...Models.BatchObjectsCreateRequestField.g.cs | 69 + ...ls.BatchObjectsDeleteConsistencyLevel.g.cs | 57 + .../Weaviate.Models.BatchReference.g.cs | 37 + ...eaviate.Models.BatchReferenceResponse.g.cs | 214 + ...Models.BatchReferenceResponseVariant2.g.cs | 23 + ....BatchReferenceResponseVariant2Result.g.cs | 30 + ...ReferenceResponseVariant2ResultStatus.g.cs | 57 + ...BatchReferencesCreateConsistencyLevel.g.cs | 57 + .../Generated/Weaviate.Models.BatchStats.g.cs | 29 + .../Weaviate.Models.C11yExtension.g.cs | 36 + .../Weaviate.Models.C11yNearestNeighbor.g.cs | 29 + ...te.Models.C11yVectorBasedQuestionItem.g.cs | 29 + ....C11yVectorBasedQuestionItemClassProp.g.cs | 29 + .../Weaviate.Models.C11yWordsResponse.g.cs | 29 + ...els.C11yWordsResponseConcatenatedWord.g.cs | 41 + ...rdsResponseConcatenatedWordSingleWord.g.cs | 18 + ...odels.C11yWordsResponseIndividualWord.g.cs | 35 + ...s.C11yWordsResponseIndividualWordInfo.g.cs | 29 + .../Generated/Weaviate.Models.Class.g.cs | 93 + .../Weaviate.Models.ClassModuleConfig.g.cs | 23 + .../Weaviate.Models.ClassVectorConfig.g.cs | 23 + .../Weaviate.Models.Classification.g.cs | 84 + ...Weaviate.Models.ClassificationFilters.g.cs | 35 + .../Weaviate.Models.ClassificationMeta.g.cs | 50 + ...eaviate.Models.ClassificationSettings.g.cs | 18 + .../Weaviate.Models.ClassificationStatus.g.cs | 58 + ...iate.Models.ClusterStatisticsResponse.g.cs | 29 + ...eaviate.Models.CollectionModuleConfig.g.cs | 24 + .../Weaviate.Models.DataTypeItem.g.cs | 135 + .../Weaviate.Models.Deprecation.g.cs | 83 + .../Weaviate.Models.ErrorResponse.g.cs | 23 + ...eaviate.Models.ErrorResponseErrorItem.g.cs | 23 + .../Weaviate.Models.GeoCoordinates.g.cs | 29 + .../Weaviate.Models.GraphQLError.g.cs | 35 + .../Weaviate.Models.GraphQLErrorLocation.g.cs | 29 + .../Weaviate.Models.GraphQLQuery.g.cs | 35 + ...Weaviate.Models.GraphQLQueryVariables.g.cs | 18 + .../Weaviate.Models.GraphQLResponse.g.cs | 29 + .../Weaviate.Models.GraphQLResponseData.g.cs | 18 + .../Weaviate.Models.InvertedIndexConfig.g.cs | 57 + .../Generated/Weaviate.Models.JsonObject.g.cs | 18 + .../Generated/Weaviate.Models.Link.g.cs | 41 + .../Generated/Weaviate.Models.Meta.g.cs | 35 + .../Weaviate.Models.MetaModules.g.cs | 18 + .../Weaviate.Models.MultiTenancyConfig.g.cs | 36 + .../Weaviate.Models.NestedProperty.g.cs | 71 + .../Weaviate.Models.NodeShardStatus.g.cs | 59 + ...iate.Models.NodeShardStatusCompressed.g.cs | 18 + ...s.NodeShardStatusVectorIndexingStatus.g.cs | 18 + .../Generated/Weaviate.Models.NodeStats.g.cs | 29 + .../Generated/Weaviate.Models.NodeStatus.g.cs | 61 + .../Weaviate.Models.NodeStatusStatus.g.cs | 70 + .../Weaviate.Models.NodesGetClassOutput.g.cs | 51 + .../Weaviate.Models.NodesGetOutput.g.cs | 51 + .../Weaviate.Models.NodesStatusResponse.g.cs | 23 + .../Generated/Weaviate.Models.Object.g.cs | 77 + ...ls.ObjectsClassDeleteConsistencyLevel.g.cs | 57 + ...odels.ObjectsClassGetConsistencyLevel.g.cs | 57 + ...dels.ObjectsClassHeadConsistencyLevel.g.cs | 57 + ...els.ObjectsClassPatchConsistencyLevel.g.cs | 57 + ...odels.ObjectsClassPutConsistencyLevel.g.cs | 57 + ...ClassReferencesCreateConsistencyLevel.g.cs | 57 + ...ClassReferencesDeleteConsistencyLevel.g.cs | 57 + ...ctsClassReferencesPutConsistencyLevel.g.cs | 57 + ....Models.ObjectsCreateConsistencyLevel.g.cs | 57 + ....Models.ObjectsDeleteConsistencyLevel.g.cs | 57 + .../Weaviate.Models.ObjectsGetResponse.g.cs | 265 + ...ate.Models.ObjectsGetResponseVariant2.g.cs | 23 + ...ate.Models.ObjectsGetResponseVariant3.g.cs | 23 + ...dels.ObjectsGetResponseVariant3Result.g.cs | 30 + ...bjectsGetResponseVariant3ResultStatus.g.cs | 57 + .../Weaviate.Models.ObjectsListOrder.g.cs | 51 + .../Weaviate.Models.ObjectsListResponse.g.cs | 35 + ...e.Models.ObjectsPatchConsistencyLevel.g.cs | 57 + ....Models.ObjectsUpdateConsistencyLevel.g.cs | 57 + .../Weaviate.Models.PatchDocumentAction.g.cs | 50 + ...Weaviate.Models.PatchDocumentActionOp.g.cs | 75 + ...viate.Models.PatchDocumentActionValue.g.cs | 18 + .../Weaviate.Models.PatchDocumentObject.g.cs | 50 + ...Weaviate.Models.PatchDocumentObjectOp.g.cs | 75 + ...viate.Models.PatchDocumentObjectValue.g.cs | 18 + .../Generated/Weaviate.Models.PeerUpdate.g.cs | 41 + .../Weaviate.Models.PhoneNumber.g.cs | 59 + .../Generated/Weaviate.Models.Principal.g.cs | 29 + .../Generated/Weaviate.Models.Property.g.cs | 84 + .../Weaviate.Models.PropertyModuleConfig.g.cs | 23 + ...Weaviate.Models.PropertyModuleConfig2.g.cs | 31 + .../Weaviate.Models.PropertySchema.g.cs | 18 + .../Weaviate.Models.RaftStatistics.g.cs | 125 + ...els.RaftStatisticsLatestConfiguration.g.cs | 18 + ...te.Models.ReferenceMetaClassification.g.cs | 77 + .../Weaviate.Models.ReplicationConfig.g.cs | 37 + ...onfigObjectDeletionConflictResolution.g.cs | 51 + .../Generated/Weaviate.Models.Response.g.cs | 35 + .../Weaviate.Models.RestoreConfig.g.cs | 24 + .../Generated/Weaviate.Models.Schema.g.cs | 35 + .../Weaviate.Models.SchemaClusterStatus.g.cs | 47 + .../Weaviate.Models.SchemaHistory.g.cs | 18 + .../Weaviate.Models.ShardStatus.g.cs | 23 + ...eaviate.Models.ShardStatusGetResponse.g.cs | 35 + .../Weaviate.Models.ShardingConfig.g.cs | 30 + .../Generated/Weaviate.Models.SingleRef.g.cs | 47 + .../Generated/Weaviate.Models.Statistics.g.cs | 97 + .../Weaviate.Models.StatisticsCandidates.g.cs | 18 + ...aviate.Models.StatisticsLeaderAddress.g.cs | 18 + .../Weaviate.Models.StatisticsLeaderId.g.cs | 18 + .../Weaviate.Models.StatisticsStatus.g.cs | 64 + .../Weaviate.Models.StopwordConfig.g.cs | 37 + .../Weaviate.Models.StopwordConfigPreset.g.cs | 52 + .../Generated/Weaviate.Models.Tenant.g.cs | 31 + .../Weaviate.Models.TenantActivityStatus.g.cs | 99 + .../Weaviate.Models.Tokenization.g.cs | 82 + .../Weaviate.Models.VectorConfig.g.cs | 38 + .../Weaviate.Models.VectorIndexConfig.g.cs | 18 + .../Weaviate.Models.VectorIndexType.g.cs | 52 + .../Weaviate.Models.VectorWeights.g.cs | 18 + .../Generated/Weaviate.Models.Vectorizer.g.cs | 51 + .../Generated/Weaviate.Models.Vectors.g.cs | 18 + .../Weaviate.Models.WeaviateRootResponse.g.cs | 23 + .../Weaviate.Models.WhereFilter.g.cs | 128 + .../Weaviate.Models.WhereFilterGeoRange.g.cs | 29 + ...te.Models.WhereFilterGeoRangeDistance.g.cs | 23 + .../Weaviate.Models.WhereFilterOperator.g.cs | 118 + .../Weaviate.NodesClient.NodesGet.g.cs | 115 + .../Weaviate.NodesClient.NodesGetClass.g.cs | 121 + .../Generated/Weaviate.NodesClient.g.cs | 68 + ...iate.ObjectsClient.ObjectsClassDelete.g.cs | 134 + ...eaviate.ObjectsClient.ObjectsClassGet.g.cs | 148 + ...aviate.ObjectsClient.ObjectsClassHead.g.cs | 134 + ...viate.ObjectsClient.ObjectsClassPatch.g.cs | 220 + ...eaviate.ObjectsClient.ObjectsClassPut.g.cs | 220 + ...tsClient.ObjectsClassReferencesCreate.g.cs | 214 + ...tsClient.ObjectsClassReferencesDelete.g.cs | 214 + ...jectsClient.ObjectsClassReferencesPut.g.cs | 154 + .../Weaviate.ObjectsClient.ObjectsCreate.g.cs | 202 + .../Weaviate.ObjectsClient.ObjectsList.g.cs | 166 + ...eaviate.ObjectsClient.ObjectsValidate.g.cs | 186 + .../Generated/Weaviate.ObjectsClient.g.cs | 68 + .../Generated/Weaviate.PathBuilder.g.cs | 253 + .../Generated/Weaviate.Polyfills.g.cs | 53 + .../Weaviate.RootClient.WeaviateRoot.g.cs | 104 + .../Generated/Weaviate.RootClient.g.cs | 68 + .../Weaviate.SchemaClient.SchemaDump.g.cs | 118 + ...iate.SchemaClient.SchemaObjectsCreate.g.cs | 197 + ...iate.SchemaClient.SchemaObjectsDelete.g.cs | 110 + ...eaviate.SchemaClient.SchemaObjectsGet.g.cs | 123 + ...hemaClient.SchemaObjectsPropertiesAdd.g.cs | 199 + ...e.SchemaClient.SchemaObjectsShardsGet.g.cs | 119 + ...chemaClient.SchemaObjectsShardsUpdate.g.cs | 159 + ...iate.SchemaClient.SchemaObjectsUpdate.g.cs | 206 + .../Weaviate.SchemaClient.TenantExists.g.cs | 130 + .../Weaviate.SchemaClient.TenantsCreate.g.cs | 124 + .../Weaviate.SchemaClient.TenantsDelete.g.cs | 124 + .../Weaviate.SchemaClient.TenantsGet.g.cs | 124 + .../Weaviate.SchemaClient.TenantsUpdate.g.cs | 124 + .../Generated/Weaviate.SchemaClient.g.cs | 68 + ....WeaviateClient.Authorizations.Bearer.g.cs | 27 + ...te.WeaviateClient.Constructors.Bearer.g.cs | 28 + .../Generated/Weaviate.WeaviateClient.g.cs | 165 + ...lient.GetWellKnownOpenidConfiguration.g.cs | 104 + ...KnownClient.WeaviateWellknownLiveness.g.cs | 76 + ...nownClient.WeaviateWellknownReadiness.g.cs | 76 + .../Generated/Weaviate.WellKnownClient.g.cs | 68 + src/libs/Weaviate/Weaviate.csproj | 24 + src/libs/Weaviate/generate.sh | 14 + src/libs/Weaviate/openapi.yaml | 4548 +++++++++++++++++ src/tests/IntegrationTests/Tests.Test.cs | 13 + src/tests/IntegrationTests/Tests.cs | 19 + .../Weaviate.IntegrationTests.csproj | 27 + 392 files changed, 28360 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/auto-merge.yml create mode 100644 .github/workflows/auto-update.yml create mode 100644 .github/workflows/dotnet.yml create mode 100644 .github/workflows/mkdocs.yml create mode 100644 .github/workflows/pull-request.yml create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100644 Weaviate.sln create mode 100644 assets/nuget-icon.png create mode 100644 docs/css/extra.css create mode 100644 docs/media/icon128.png create mode 100644 global.json create mode 100644 mkdocs.yml create mode 100644 src/Directory.Build.props create mode 100644 src/helpers/FixOpenApiSpec/FixOpenApiSpec.csproj create mode 100644 src/helpers/FixOpenApiSpec/Program.cs create mode 100644 src/helpers/FixOpenApiSpec/Properties/launchSettings.json create mode 100644 src/helpers/GenerateDocs/GenerateDocs.csproj create mode 100644 src/helpers/GenerateDocs/Program.cs create mode 100644 src/helpers/TrimmingHelper/Program.cs create mode 100644 src/helpers/TrimmingHelper/TrimmingHelper.csproj create mode 100644 src/key.snk create mode 100644 src/libs/Directory.Build.props create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupConfigCompressionLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupConfigCompressionLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupCreateResponseStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupCreateResponseStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupCreateStatusResponseStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupCreateStatusResponseStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupListResponseItemStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupListResponseItemStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupRestoreResponseStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupRestoreResponseStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupRestoreStatusResponseStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BackupRestoreStatusResponseStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchDeleteOutput.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchDeleteOutputNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseOutput.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseOutputNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseResultsObjectStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseResultsObjectStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateRequestField.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateRequestFieldNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchObjectsDeleteConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchObjectsDeleteConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponseVariant2ResultStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponseVariant2ResultStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchReferencesCreateConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.BatchReferencesCreateConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ClassificationStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ClassificationStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.DataTypeItem.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.DataTypeItemNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.NodeStatusStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.NodeStatusStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.NodesGetClassOutput.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.NodesGetClassOutputNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.NodesGetOutput.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.NodesGetOutputNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassDeleteConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassDeleteConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassGetConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassGetConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassHeadConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassHeadConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPatchConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPatchConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPutConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPutConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesCreateConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesCreateConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesDeleteConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesDeleteConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesPutConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesPutConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsCreateConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsCreateConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsDeleteConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsDeleteConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponseVariant3ResultStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponseVariant3ResultStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsListOrder.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsListOrderNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsPatchConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsPatchConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsUpdateConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ObjectsUpdateConsistencyLevelNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.PatchDocumentActionOp.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.PatchDocumentActionOpNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.PatchDocumentObjectOp.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.PatchDocumentObjectOpNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ReplicationConfigObjectDeletionConflictResolution.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.ReplicationConfigObjectDeletionConflictResolutionNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.StatisticsStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.StatisticsStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.StopwordConfigPreset.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.StopwordConfigPresetNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.TenantActivityStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.TenantActivityStatusNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.Tokenization.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.TokenizationNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.UnixTimestamp.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.VectorIndexType.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.VectorIndexTypeNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.Vectorizer.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.VectorizerNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.WhereFilterOperator.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonConverters.WhereFilterOperatorNullable.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonSerializerContext.g.cs create mode 100644 src/libs/Weaviate/Generated/JsonSerializerContextTypes.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCancel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCreateStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsList.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsRestore.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsRestoreStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BackupsClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchObjectsCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchObjectsDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchReferencesCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.BatchClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.ClassificationsGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.ClassificationsPost.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ClusterClient.ClusterGetStatistics.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ClusterClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.GraphqlClient.GraphqlBatch.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.GraphqlClient.GraphqlPost.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.GraphqlClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCancel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCreateStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsList.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsRestore.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsRestoreStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBackupsClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchObjectsCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchObjectsDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchReferencesCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IBatchClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.ClassificationsGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.ClassificationsPost.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IClusterClient.ClusterGetStatistics.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IClusterClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.GraphqlBatch.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.GraphqlPost.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IMetaClient.MetaGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IMetaClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.INodesClient.NodesGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.INodesClient.NodesGetClass.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.INodesClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassHead.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassPatch.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassPut.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesPut.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsList.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsValidate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IObjectsClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IRootClient.WeaviateRoot.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IRootClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaDump.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsPropertiesAdd.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsShardsGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsShardsUpdate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsUpdate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantExists.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsUpdate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ISchemaClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IWeaviateClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.GetWellKnownOpenidConfiguration.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.WeaviateWellknownLiveness.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.WeaviateWellknownReadiness.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.MetaClient.MetaGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.MetaClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.AdditionalProperties.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BM25Config.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupConfigCompressionLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateRequest.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateResponseStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateStatusResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateStatusResponseStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupListResponseItem.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupListResponseItemStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreRequest.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreRequestNodeMapping.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreResponseStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreStatusResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreStatusResponseStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteMatch.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteOutput.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseMatch.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseOutput.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResults.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResultsObject.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResultsObjectStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateRequest.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateRequestField.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsDeleteConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchReference.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2Result.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2ResultStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchReferencesCreateConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.BatchStats.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.C11yExtension.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.C11yNearestNeighbor.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.C11yVectorBasedQuestionItem.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.C11yVectorBasedQuestionItemClassProp.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseConcatenatedWord.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseConcatenatedWordSingleWord.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseIndividualWord.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseIndividualWordInfo.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Class.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ClassModuleConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ClassVectorConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Classification.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ClassificationFilters.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ClassificationMeta.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ClassificationSettings.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ClassificationStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ClusterStatisticsResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.CollectionModuleConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.DataTypeItem.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Deprecation.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ErrorResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ErrorResponseErrorItem.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.GeoCoordinates.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.GraphQLError.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.GraphQLErrorLocation.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.GraphQLQuery.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.GraphQLQueryVariables.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.GraphQLResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.GraphQLResponseData.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.InvertedIndexConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.JsonObject.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Link.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Meta.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.MetaModules.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.MultiTenancyConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.NestedProperty.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatusCompressed.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatusVectorIndexingStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.NodeStats.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.NodeStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.NodeStatusStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.NodesGetClassOutput.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.NodesGetOutput.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.NodesStatusResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Object.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassDeleteConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassGetConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassHeadConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassPatchConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassPutConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesCreateConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesDeleteConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesPutConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsCreateConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsDeleteConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant2.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3Result.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3ResultStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsListOrder.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsListResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsPatchConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ObjectsUpdateConsistencyLevel.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentAction.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentActionOp.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentActionValue.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObject.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObjectOp.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObjectValue.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PeerUpdate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PhoneNumber.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Principal.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Property.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PropertyModuleConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PropertyModuleConfig2.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.PropertySchema.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.RaftStatistics.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.RaftStatisticsLatestConfiguration.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ReferenceMetaClassification.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ReplicationConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ReplicationConfigObjectDeletionConflictResolution.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Response.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.RestoreConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Schema.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.SchemaClusterStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.SchemaHistory.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ShardStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ShardStatusGetResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.ShardingConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.SingleRef.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Statistics.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.StatisticsCandidates.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.StatisticsLeaderAddress.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.StatisticsLeaderId.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.StatisticsStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.StopwordConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.StopwordConfigPreset.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Tenant.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.TenantActivityStatus.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Tokenization.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.VectorConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.VectorIndexConfig.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.VectorIndexType.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.VectorWeights.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Vectorizer.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.Vectors.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.WeaviateRootResponse.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.WhereFilter.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterGeoRange.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterGeoRangeDistance.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterOperator.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.NodesClient.NodesGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.NodesClient.NodesGetClass.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.NodesClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassHead.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassPatch.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassPut.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesPut.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsList.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsValidate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.ObjectsClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.PathBuilder.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.Polyfills.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.RootClient.WeaviateRoot.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.RootClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaDump.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsPropertiesAdd.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsShardsGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsShardsUpdate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsUpdate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantExists.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsCreate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsDelete.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsGet.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsUpdate.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.SchemaClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.WeaviateClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.WeaviateClient.Constructors.Bearer.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.WeaviateClient.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.WellKnownClient.GetWellKnownOpenidConfiguration.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.WellKnownClient.WeaviateWellknownLiveness.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.WellKnownClient.WeaviateWellknownReadiness.g.cs create mode 100644 src/libs/Weaviate/Generated/Weaviate.WellKnownClient.g.cs create mode 100644 src/libs/Weaviate/Weaviate.csproj create mode 100644 src/libs/Weaviate/generate.sh create mode 100644 src/libs/Weaviate/openapi.yaml create mode 100644 src/tests/IntegrationTests/Tests.Test.cs create mode 100644 src/tests/IntegrationTests/Tests.cs create mode 100644 src/tests/IntegrationTests/Weaviate.IntegrationTests.csproj diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..b05db38 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "nuget" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + groups: + all: + patterns: + - "*" diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml new file mode 100644 index 0000000..0d502c5 --- /dev/null +++ b/.github/workflows/auto-merge.yml @@ -0,0 +1,39 @@ +name: Auto-approve and auto-merge bot pull requests +on: + pull_request: + branches: + - main + +permissions: + contents: write + pull-requests: write + +jobs: + auto-merge: + runs-on: ubuntu-latest + if: ${{ (github.actor == 'dependabot[bot]' || github.actor == 'HavenDV') && github.repository_owner == 'tryAGI' }} + steps: + - name: Dependabot metadata + if: ${{ github.actor == 'dependabot[bot]' }} + id: metadata + uses: dependabot/fetch-metadata@0fb21704c18a42ce5aa8d720ea4b912f5e6babef + with: + github-token: "${{ secrets.GITHUB_TOKEN }}" + + - name: Show sender + run: echo ${{ github.event.pull_request.sender }} + + - name: Show triggering_actor + run: echo ${{ github.triggering_actor }} + + - name: Approve a PR + run: gh pr review --approve "$PR_URL" + env: + PR_URL: ${{ github.event.pull_request.html_url }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Enable auto-merge + run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: ${{ github.event.pull_request.html_url }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml new file mode 100644 index 0000000..c7406c5 --- /dev/null +++ b/.github/workflows/auto-update.yml @@ -0,0 +1,63 @@ +name: Opens a new PR if there are OpenAPI updates +on: + schedule: + - cron: '0 */3 * * *' + +permissions: + contents: write + pull-requests: write + actions: write + +jobs: + check-openapi-updates: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Git user + run: | + git config --local user.email "dependabot@bot.com" + git config --local user.name "github-actions[bot]" + + - name: Generate branch name + id: branch + run: echo "branch_name=bot/update-openapi_$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT + + - name: Create branch + run: | + git checkout -b ${{ steps.branch.outputs.branch_name }} origin/main + git rebase main + + - name: Generate code + run: | + cd src/libs/Weaviate + chmod +x ./generate.sh + ./generate.sh + + - name: Check for changes + id: changes + run: | + CHANGED=$(git diff --name-only) + if [ -z "$CHANGED" ]; then + echo "has_changes=false" >> $GITHUB_OUTPUT + else + echo "has_changes=true" >> $GITHUB_OUTPUT + fi + + - name: Push changes + if: steps.changes.outputs.has_changes == 'true' + run: | + git add . + git commit -m "feat: Updated OpenAPI spec" + git push --force-with-lease -u origin ${{ steps.branch.outputs.branch_name }} + + - name: Wait for 15 seconds + if: steps.changes.outputs.has_changes == 'true' + run: sleep 15 + + - name: Create pull request + if: steps.changes.outputs.has_changes == 'true' + run: gh pr create -B main -H ${{ steps.branch.outputs.branch_name }} --title 'feat:@coderabbitai' --body '@coderabbitai summary' + env: + GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }} diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..83e1276 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,38 @@ +name: Publish +on: + push: + branches: + - main + tags: + - v** + +permissions: + contents: write + +jobs: + publish: + name: Publish + uses: HavenDV/workflows/.github/workflows/dotnet_build-test-publish.yml@main + with: + generate-build-number: false + conventional-commits-publish-conditions: false + enable-caching: false + additional-test-arguments: '--logger GitHubActions' + secrets: + nuget-key: ${{ secrets.NUGET_KEY }} + + release: + name: Release + runs-on: ubuntu-latest + needs: [publish] + if: startsWith(github.ref, 'refs/tags/v') + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Create release + run: gh release create ${{ github.ref_name }} + --title "${{ github.ref_name }}" + --generate-notes + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml new file mode 100644 index 0000000..f846e82 --- /dev/null +++ b/.github/workflows/mkdocs.yml @@ -0,0 +1,57 @@ +name: MKDocs Deploy +on: + push: + branches: + - main + paths: + - 'docs/**' + - 'mkdocs.yml' + - 'src/helpers/GenerateDocs/**' + - '.github/workflows/mkdocs.yml' + - 'src/tests/IntegrationTests/**' + - 'README.md' + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Pages + uses: actions/configure-pages@v5 + + - name: Install dependencies + run: pip install mkdocs-material + + - name: Generate docs + run: dotnet run --project src/helpers/GenerateDocs/GenerateDocs.csproj . + + - name: Build with MkDocs + run: mkdocs build -d ./_site + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..3c50ca1 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,15 @@ +name: Test +on: + pull_request: + branches: + - main + +jobs: + test: + name: Test + uses: HavenDV/workflows/.github/workflows/dotnet_build-test-publish.yml@main + with: + generate-build-number: false + conventional-commits-publish-conditions: false + enable-caching: false + additional-test-arguments: '--logger GitHubActions' \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..370da60 --- /dev/null +++ b/.gitignore @@ -0,0 +1,399 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio 6 auto-generated project file (contains which files were open etc.) +*.vbp + +# Visual Studio 6 workspace and project file (working project files containing files to include in project) +*.dsw +*.dsp + +# Visual Studio 6 technical files +*.ncb +*.aps + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# Visual Studio History (VSHistory) files +.vshistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +*.sln.iml +/.idea/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..193bba6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 tryAGI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..047669e --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +# Weaviate + +[![Nuget package](https://img.shields.io/nuget/vpre/Weaviate)](https://www.nuget.org/packages/Weaviate/) +[![dotnet](https://github.com/tryAGI/Weaviate/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/tryAGI/Weaviate/actions/workflows/dotnet.yml) +[![License: MIT](https://img.shields.io/github/license/tryAGI/Weaviate)](https://github.com/tryAGI/Weaviate/blob/main/LICENSE.txt) +[![Discord](https://img.shields.io/discord/1115206893015662663?label=Discord&logo=discord&logoColor=white&color=d82679)](https://discord.gg/Ca2xhfBf3v) + +## Features 🔥 +- Fully generated C# SDK based on [official Weaviate OpenAPI specification](https://raw.githubusercontent.com/Weaviate/assemblyai-api-spec/main/openapi.yml) using [AutoSDK](https://github.com/HavenDV/AutoSDK) +- Same day update to support new features +- Updated and supported automatically if there are no breaking changes +- All modern .NET features - nullability, trimming, NativeAOT, etc. +- Support .Net Framework/.Net Standard 2.0 + +### Usage +```csharp +using Weaviate; + +using var client = new WeaviateClient(apiKey); +``` + +## Support + +Priority place for bugs: https://github.com/tryAGI/Weaviate/issues +Priority place for ideas and general questions: https://github.com/tryAGI/Weaviate/discussions +Discord: https://discord.gg/Ca2xhfBf3v + +## Acknowledgments + +![JetBrains logo](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png) + +This project is supported by JetBrains through the [Open Source Support Program](https://jb.gg/OpenSourceSupport). + +![CodeRabbit logo](https://opengraph.githubassets.com/1c51002d7d0bbe0c4fd72ff8f2e58192702f73a7037102f77e4dbb98ac00ea8f/marketplace/coderabbitai) + +This project is supported by CodeRabbit through the [Open Source Support Program](https://github.com/marketplace/coderabbitai). \ No newline at end of file diff --git a/Weaviate.sln b/Weaviate.sln new file mode 100644 index 0000000..e4d47f8 --- /dev/null +++ b/Weaviate.sln @@ -0,0 +1,84 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30204.135 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E793AF18-4371-4EBD-96FC-195EB1798855}" + ProjectSection(SolutionItems) = preProject + .gitignore = .gitignore + src\Directory.Build.props = src\Directory.Build.props + LICENSE = LICENSE + README.md = README.md + .github\dependabot.yml = .github\dependabot.yml + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libs", "libs", "{61E7E11E-4558-434C-ACE8-06316A3097B3}" + ProjectSection(SolutionItems) = preProject + src\libs\Directory.Build.props = src\libs\Directory.Build.props + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{AAA11B78-2764-4520-A97E-46AA7089A588}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Weaviate", "src\libs\Weaviate\Weaviate.csproj", "{0028BC85-0064-4CE8-A21A-C1F5E922BD59}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Weaviate.IntegrationTests", "src\tests\IntegrationTests\Weaviate.IntegrationTests.csproj", "{592ADBC9-C951-4AF7-A163-B6C63B970B19}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "helpers", "helpers", "{B761B212-7CAB-46A7-BB98-B76EDE56530D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FixOpenApiSpec", "src\helpers\FixOpenApiSpec\FixOpenApiSpec.csproj", "{67BDEAD9-10A3-4D84-8D71-ED3FCF8C30B8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenerateDocs", "src\helpers\GenerateDocs\GenerateDocs.csproj", "{2E33DFAF-4E36-4549-832E-202AAB6D1B52}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TrimmingHelper", "src\helpers\TrimmingHelper\TrimmingHelper.csproj", "{4BB0367D-803F-430B-AE3B-853811C48A94}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{02762835-D98C-4E26-B6AC-992CC318DCEC}" + ProjectSection(SolutionItems) = preProject + .github\workflows\auto-merge.yml = .github\workflows\auto-merge.yml + .github\workflows\auto-update.yml = .github\workflows\auto-update.yml + .github\workflows\mkdocs.yml = .github\workflows\mkdocs.yml + .github\workflows\dotnet.yml = .github\workflows\dotnet.yml + .github\workflows\pull-request.yml = .github\workflows\pull-request.yml + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0028BC85-0064-4CE8-A21A-C1F5E922BD59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0028BC85-0064-4CE8-A21A-C1F5E922BD59}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0028BC85-0064-4CE8-A21A-C1F5E922BD59}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0028BC85-0064-4CE8-A21A-C1F5E922BD59}.Release|Any CPU.Build.0 = Release|Any CPU + {592ADBC9-C951-4AF7-A163-B6C63B970B19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {592ADBC9-C951-4AF7-A163-B6C63B970B19}.Debug|Any CPU.Build.0 = Debug|Any CPU + {592ADBC9-C951-4AF7-A163-B6C63B970B19}.Release|Any CPU.ActiveCfg = Release|Any CPU + {592ADBC9-C951-4AF7-A163-B6C63B970B19}.Release|Any CPU.Build.0 = Release|Any CPU + {67BDEAD9-10A3-4D84-8D71-ED3FCF8C30B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {67BDEAD9-10A3-4D84-8D71-ED3FCF8C30B8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {67BDEAD9-10A3-4D84-8D71-ED3FCF8C30B8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {67BDEAD9-10A3-4D84-8D71-ED3FCF8C30B8}.Release|Any CPU.Build.0 = Release|Any CPU + {2E33DFAF-4E36-4549-832E-202AAB6D1B52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E33DFAF-4E36-4549-832E-202AAB6D1B52}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E33DFAF-4E36-4549-832E-202AAB6D1B52}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E33DFAF-4E36-4549-832E-202AAB6D1B52}.Release|Any CPU.Build.0 = Release|Any CPU + {4BB0367D-803F-430B-AE3B-853811C48A94}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4BB0367D-803F-430B-AE3B-853811C48A94}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4BB0367D-803F-430B-AE3B-853811C48A94}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4BB0367D-803F-430B-AE3B-853811C48A94}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {0028BC85-0064-4CE8-A21A-C1F5E922BD59} = {61E7E11E-4558-434C-ACE8-06316A3097B3} + {592ADBC9-C951-4AF7-A163-B6C63B970B19} = {AAA11B78-2764-4520-A97E-46AA7089A588} + {67BDEAD9-10A3-4D84-8D71-ED3FCF8C30B8} = {B761B212-7CAB-46A7-BB98-B76EDE56530D} + {2E33DFAF-4E36-4549-832E-202AAB6D1B52} = {B761B212-7CAB-46A7-BB98-B76EDE56530D} + {4BB0367D-803F-430B-AE3B-853811C48A94} = {B761B212-7CAB-46A7-BB98-B76EDE56530D} + {02762835-D98C-4E26-B6AC-992CC318DCEC} = {E793AF18-4371-4EBD-96FC-195EB1798855} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CED9A020-DBA5-4BE6-8096-75E528648EC1} + EndGlobalSection +EndGlobal diff --git a/assets/nuget-icon.png b/assets/nuget-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..25574ba0b8e293eda32503fac49201e44eba80ba GIT binary patch literal 132733 zcmeFZ`y*~7j`o6z^!S#bf^VsA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NYMGj8XXi zm-qNyG`6HZ;-Ii(HWYPv2lJxQH^x*;7?No*iuNs`@Dp z=M4*Q=PUg4n{9VYX_1ip9a$N!Shu(C=N`^INjzQ0VJ{RgxTiALHzz(4uak&rrCepH zW^Qr@chatAfvedNd!m6e`lViaV)WMdrb^2iN96=gAuqbCPU#DAH7O*Pc;>Rw`Tu5R caR-BoifXRU?$!bA`Jf+TBa5F(P7>n(13+-|<^TWy literal 0 HcmV?d00001 diff --git a/docs/css/extra.css b/docs/css/extra.css new file mode 100644 index 0000000..f217483 --- /dev/null +++ b/docs/css/extra.css @@ -0,0 +1,102 @@ +/* Logo title */ +.md-header__topic:first-child { + font-weight: initial !important; +} + +/* Code font size in
*/ +details .linenos, details code { + font-size: inherit !important; +} + +/* Code block / tab in details */ +details > summary + .highlight:last-child, details > summary + .tabbed-set:last-child { margin: 0 -0.6rem !important; } +details > summary + .highlight:last-child > .highlighttable { margin: 0 !important; } + +/* Table full width */ +.md-typeset__table { display: block !important; } +.md-typeset table:not(.highlighttable) { display: table !important; } + +.md-typeset table:not([class]) th { + min-width: 0rem; +} + +.headerlink { transform: translateY(-2.5px); } + +.md-nav__link[for=__toc] .md-icon { margin-left: auto !important; } + +blockquote.page-time { + margin: 20px 0 !important; + border-left-color: #64b5f6 !important; /* Just change the color value and that's it*/ +} +blockquote.page-copyright { + margin: 20px 0 !important; + border-left-color: #ff1700 !important; /* Just change the color value and that's it*/ +} +blockquote.page-copyright i.md-icon { + display: inline-block; + margin-right: 5px; + transform: translateY(3.5px); + width: 18px; +} + +#myBtn { + display: none; + position: fixed; + bottom: 100px; + right: 16px; + z-index: 99; + border: none; + outline: none; + color: #8590a6; + cursor: pointer; + padding: .7rem; + border-radius: .4rem; +} + +#myBtn:hover { + background-color: #d3d3d3; +} + +#color-button > button { + cursor: pointer; + transition: opacity .25s; + display: inline-block; + width: 6.5rem; + margin-bottom: 0.2rem; + padding: 1.2rem 0.4rem 0.2rem; + font-size: 0.64rem; + text-align: left; +} + +#color-button > button[data-md-color-primary] { + background-color: var(--md-primary-fg-color); + color: var(--md-primary-bg-color); +} +#color-button > button[data-md-color-primary=white] { + box-shadow: inset 0 0 0.05rem rgb(0 0 0 / 54%); +} + +#color-button > button[data-md-color-accent] { + background-color: var(--md-accent-fg-color); + color: var(--md-code-bg-color); +} + +mjx-container > img { + width: 0; + height: 0; +} + +[data-md-color-scheme="slate"] { + --md-primary-fg-color: #2e303e; + --md-accent-fg-color: #00bda4; + --md-typeset-a-color: #526cfe; +} + +[data-md-color-scheme="slate"] .md-typeset img { + background: white; + filter: brightness(0.9); +} + +[data-md-color-scheme="slate"] .md-typeset img[src$=".svg"] { + border: 4px solid white; +} \ No newline at end of file diff --git a/docs/media/icon128.png b/docs/media/icon128.png new file mode 100644 index 0000000000000000000000000000000000000000..05d2b17ae9551641c26b916e6e211d9e6e6ff466 GIT binary patch literal 13498 zcmd73WpEwMvL(93%*@OzSIp^IwFXGPc znX0JH?8>z=i=w-tJ1Rn1Q3?qjA07YzAjwFJtNxXN{}fp0zt;gF;KW}6X(6g03INo_ zBD?{i{@#A&S4 z&c7u@9@u|-%me=~bYLFDf9wCyIvTB9{|Y!qX&n~;00HBl0tU#)!UX`pA+6N4U9}bD z`Ai(_n1QAa#%9c(c8>qB00N$Te^om(S0JgUovpnKpQj-CzYu(X^?#~a$VvYNakUX7 z*H%y_6?1SlBjsXdWo9K8f+r;<6>v5+=TjAz{15%_oglfTtE(d)3yX(`2eStUvxBn* z3mY#lFAFO>3p+d0Uj&njm%S^{lgZwN;@?jGKR@DTE+)=aj;>Y?_N4##1sXfJxeAh# z{}brH(!bm3YGwZ4k?dXm)2+W9WckO!!p6+X@;}kcJgxo@w0|uBrv0m5{|+bck25|c zXDhS64gRNDLTm#63h@7{`|sun{NsgB*~-(*R$JW4&dlEB9}XuQy8z4oX!#$RI{!!J z|7Q6QQ-I~4ar)oJ?cbB~uiC$}A_OnM@?SG71Ycy5ed&Nl>RSn~P@Dr2!;MaaT}KuXlF zuw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4$BY7L$*7fbYzI19JC%faync z4(L;8S}3uxAupgAZFP_mqI!Ki9FX{_kAkk_`JSYy!~K`lKI@jvV-*w|49;&tU{`7Lk5M8MgWlpu3Y`TBaass8LD{ii0 zZ?1-+-;i}Y9+7`55S{AgnP(haWHyntv6}d5YD;6|I1aM=rM_$vJvf2Awwky8t_<&t zD>z^IWKzRUkHqV8qix!Z#P|B|E8sC-SKfL|S}tCR=u4dQE9h`eHNmT66Fb@3mfR8o zduAgbFY@nqwW`b2COIp+`?4jTl5jec(t9vM^y%uI>ym@DO#R{*RZl&n{zuL;;%PVY%*Bd;p z{4P>+jz>KF#wRF#d0hS42!hf}&k@FNsNE%`@*fe4p`2SN!}+$kaNf;;o8Zmu^|miL zE%N(>RRv2f>$}Oy=O2u|ENG&dTjYw+0Zi6!7bXD}SiZ{WKKcL1&FW|z;SDq+b3 z7g5OBlWEDygC9lhg?32*9t1WHMp(MIwNsBTb4y{4i%LBB{U^zzm4)epz#EC5ocs#Q zcNK0VrwBE%U1@S3*wHatk+)P>M~cAwKGLA$9}d}?XX9IfE(Sdl2YjPzL}SY5k2Q9$ zym)yH-R=Sn!Fj@On@&XhTeHP~R%G4>rwTaZJ%2wIYK(~aOADl)O)r#}4|m&psPTyl zGbrt=?)}mIgT9AC!;2xyrdN79YNG;Q9F+bM+{d?OnY%3&D1+EMct6IX{{G>j2+{&| zIjVF_c}z~|kRo<>RWR7adKDO+nvNX57Ueu<`Xf^?-eL2xM-XKLRTS+SJ@S6}S^r-; fsqlsf`-XD1R^s1hQoZ%hi5wXTMe*vdMnV4zp$1Qs literal 0 HcmV?d00001 diff --git a/global.json b/global.json new file mode 100644 index 0000000..eafb435 --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "rollForward": "latestMajor", + "allowPrerelease": false + } +} \ No newline at end of file diff --git a/initialize.sh b/initialize.sh index d9068b0..38564a4 100755 --- a/initialize.sh +++ b/initialize.sh @@ -1,8 +1,8 @@ dotnet tool install --global autosdk.cli --prerelease autosdk init \ - SolutionName \ - SomeClient \ - https://raw.githubusercontent.com/api/openapi.json \ - CompanyName \ + Weaviate \ + WeaviateClient \ + https://raw.githubusercontent.com/weaviate/weaviate/openapi_docs/openapi-specs/schema.json \ + tryAGI \ --output . diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..68416fe --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,82 @@ +site_name: Weaviate .NET Documentation +nav: +- Overview: index.md +# EXAMPLES # + +theme: + name: material + static_templates: + - 404.html + language: 'en' + palette: + # Palette toggle for light mode + - media: "(prefers-color-scheme: light)" + scheme: default + primary: white + accent: red + toggle: + icon: material/weather-sunny + name: Switch to dark mode + + # Palette toggle for dark mode + - media: "(prefers-color-scheme: dark)" + scheme: slate + primary: blue + accent: blue + toggle: + icon: material/weather-night + name: Switch to light mode + include_search_page: false + search_index_only: true + favicon: 'media/icon128.png' + icon: + logo: 'material/file-document' + features: + - content.action.edit + - navigation.instant + font: + text: 'Fira Sans' + code: 'Fira Mono' + +extra: + version: + provider: mike + +extra_css: + - 'css/extra.css?v=14' + +markdown_extensions: + - admonition + - def_list + - footnotes + - meta + - toc: + permalink: "" + slugify: !!python/name:pymdownx.slugs.uslugify + - pymdownx.arithmatex: + generic: true + - pymdownx.caret + - pymdownx.critic + - pymdownx.details + - pymdownx.emoji: + emoji_generator: !!python/name:pymdownx.emoji.to_svg + - pymdownx.highlight: + linenums: true + - pymdownx.inlinehilite + - pymdownx.keys + - pymdownx.magiclink + - pymdownx.mark + - pymdownx.snippets: + check_paths: true + - pymdownx.progressbar + - pymdownx.smartsymbols + - pymdownx.superfences: + custom_fences: + - name: math + class: arithmatex + format: !!python/name:pymdownx.arithmatex.fence_mathjax_format + - pymdownx.tasklist: + custom_checkbox: true + - pymdownx.tilde + - pymdownx.tabbed: + alternate_style: true \ No newline at end of file diff --git a/src/Directory.Build.props b/src/Directory.Build.props new file mode 100644 index 0000000..86f2c1f --- /dev/null +++ b/src/Directory.Build.props @@ -0,0 +1,9 @@ + + + + preview + enable + enable + + + diff --git a/src/helpers/FixOpenApiSpec/FixOpenApiSpec.csproj b/src/helpers/FixOpenApiSpec/FixOpenApiSpec.csproj new file mode 100644 index 0000000..deaad92 --- /dev/null +++ b/src/helpers/FixOpenApiSpec/FixOpenApiSpec.csproj @@ -0,0 +1,15 @@ + + + + net8.0 + Exe + preview + enable + enable + + + + + + + diff --git a/src/helpers/FixOpenApiSpec/Program.cs b/src/helpers/FixOpenApiSpec/Program.cs new file mode 100644 index 0000000..8b091d3 --- /dev/null +++ b/src/helpers/FixOpenApiSpec/Program.cs @@ -0,0 +1,55 @@ +using Microsoft.OpenApi; +using Microsoft.OpenApi.Any; +using Microsoft.OpenApi.Extensions; +using Microsoft.OpenApi.Models; +using Microsoft.OpenApi.Readers; + +var path = args[0]; +var text = await File.ReadAllTextAsync(path); + +text = text + .Replace("openapi: 3.1.0", "openapi: 3.0.1") + .Replace("\"openapi\":\"3.1.0\"", "\"openapi\":\"3.0.1\"") + ; + +var openApiDocument = new OpenApiStringReader().Read(text, out var diagnostics); + +openApiDocument.Components.SecuritySchemes.Clear(); +openApiDocument.Components.SecuritySchemes["Bearer"] = new OpenApiSecurityScheme +{ + Type = SecuritySchemeType.Http, + Scheme = "bearer", +}; +openApiDocument.SecurityRequirements.Clear(); +openApiDocument.SecurityRequirements.Add(new OpenApiSecurityRequirement +{ + { + new OpenApiSecurityScheme + { + Reference = new OpenApiReference + { + Id = "Bearer", + Type = ReferenceType.SecurityScheme, + }, + }, + new List() + }, +}); + +//openApiDocument.Components.Schemas["GenerateCompletionRequest"]!.Properties["stream"]!.Default = new OpenApiBoolean(true); + +text = openApiDocument.SerializeAsYaml(OpenApiSpecVersion.OpenApi3_0); +_ = new OpenApiStringReader().Read(text, out diagnostics); + +if (diagnostics.Errors.Count > 0) +{ + foreach (var error in diagnostics.Errors) + { + Console.WriteLine(error.Message); + } + // Return Exit code 1 + Environment.Exit(1); +} + +await File.WriteAllTextAsync(path, text); +return; \ No newline at end of file diff --git a/src/helpers/FixOpenApiSpec/Properties/launchSettings.json b/src/helpers/FixOpenApiSpec/Properties/launchSettings.json new file mode 100644 index 0000000..23f34fb --- /dev/null +++ b/src/helpers/FixOpenApiSpec/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "FixOpenApiSpec": { + "commandName": "Project", + "commandLineArgs": "../../../../../../src/libs/Weaviate/openapi.yaml" + } + } +} \ No newline at end of file diff --git a/src/helpers/GenerateDocs/GenerateDocs.csproj b/src/helpers/GenerateDocs/GenerateDocs.csproj new file mode 100644 index 0000000..f67f521 --- /dev/null +++ b/src/helpers/GenerateDocs/GenerateDocs.csproj @@ -0,0 +1,9 @@ + + + + Exe + net8.0 + enable + + + diff --git a/src/helpers/GenerateDocs/Program.cs b/src/helpers/GenerateDocs/Program.cs new file mode 100644 index 0000000..b87391f --- /dev/null +++ b/src/helpers/GenerateDocs/Program.cs @@ -0,0 +1,46 @@ +var solutionDirectory = args.ElementAtOrDefault(0) ?? Path.GetFullPath(Path.Combine(Directory.GetCurrentDirectory(), "../../../../../..")); +var sampleDirectory = Path.Combine(solutionDirectory, "src", "tests", "IntegrationTests"); +var mkDocsPath = Path.Combine(solutionDirectory, "mkdocs.yml"); + +var newDir = Path.Combine(solutionDirectory, "docs", "samples"); +Directory.CreateDirectory(newDir); + +File.Copy( + Path.Combine(solutionDirectory, "README.md"), + Path.Combine(solutionDirectory, "docs", "index.md"), + overwrite: true); + +Console.WriteLine($"Generating samples from {sampleDirectory}..."); +foreach (var path in Directory.EnumerateFiles(sampleDirectory, "Tests.*.cs", SearchOption.AllDirectories)) +{ + var code = await File.ReadAllTextAsync(path); + + var start = code.IndexOf("\n {", StringComparison.Ordinal); + var end = code.IndexOf("\n }", StringComparison.Ordinal); + code = code.Substring(start + 4, end - start + 4); + + var lines = code.Split('\n')[1..^2]; + code = string.Join('\n', lines + .Where(x => !x.Contains(".Should()")) + .Select(x => x.Length > 8 ? x[8..] : string.Empty)); + + code = code + .Replace( + "using var client = GetAuthenticatedClient();", + "using var client = new WeaviateClient(apiKey);") + ; + + var newPath = Path.Combine(newDir, $"{Path.GetExtension(Path.GetFileNameWithoutExtension(path)).TrimStart('.')}.md"); + await File.WriteAllTextAsync(newPath, $@"```csharp +{code} +```"); +} + +var mkDocs = await File.ReadAllTextAsync(mkDocsPath); +var newMkDocs = mkDocs.Replace( + "# EXAMPLES #", + $"- Examples:{string.Concat(Directory.EnumerateFiles(Path.Combine(solutionDirectory, "docs", "samples"), "*.md") + .Select(x => $@" + - {Path.GetFileNameWithoutExtension(x)}: samples/{Path.GetFileNameWithoutExtension(x)}.md"))}"); +await File.WriteAllTextAsync(mkDocsPath, newMkDocs); + diff --git a/src/helpers/TrimmingHelper/Program.cs b/src/helpers/TrimmingHelper/Program.cs new file mode 100644 index 0000000..3b94c99 --- /dev/null +++ b/src/helpers/TrimmingHelper/Program.cs @@ -0,0 +1 @@ +Console.WriteLine("Build, rebuild or publish this app to see trimming warnings."); \ No newline at end of file diff --git a/src/helpers/TrimmingHelper/TrimmingHelper.csproj b/src/helpers/TrimmingHelper/TrimmingHelper.csproj new file mode 100644 index 0000000..662e121 --- /dev/null +++ b/src/helpers/TrimmingHelper/TrimmingHelper.csproj @@ -0,0 +1,30 @@ + + + + Exe + net8.0 + enable + + true + + + + + + + + + + + + win-x64 + osx-arm64 + + true + + + + + + + diff --git a/src/key.snk b/src/key.snk new file mode 100644 index 0000000000000000000000000000000000000000..4205bc65b619af46faf1ce8c9e194dc2c30a785d GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50097@Tmm`f2s?isF}AiFtX>D=N)fc=1kgf9 z*}k79&uahHkXGdO!esyrm#y!_=ao(Ker(?<0)EICMZK4xq|X_R!@P~p6ujvVRKf&-99a_p zc*Ub`qEtkZ9ejt*x!2k@!vqt$=zFYe=3E$d4GVq-hV$uRGl-Sdenr{I-|A0=Yi$ov zgysIlm|HH)0^P&fO$Ka_Y(iFvOs!p0{GNh&mOo>iVg)y@a(U!j%u75}#;n?P(n!j3 zmz$0jix2n8b+prAYIQknXWbHU)Rxy5To`D6RF@TV9$e*xz$0t818Nqdv{kYIA&-Fm zdxFxJT-cNa%2R%(I@=30w6Sr`e(H)J{0)J-!TUE6)X?)uZZL&WTeE$0R}0?}rL4=0 zGo1_jHceUqL6U789~;ksvtl*hAY+Fg=E>%Xu0Ea9$Ey);$sFKrR+8zT?FHm~-LNy` iXp_BkQUP9!N(yB0g4~glSoUuq0wr88#9^~%;rA(|rz33u literal 0 HcmV?d00001 diff --git a/src/libs/Directory.Build.props b/src/libs/Directory.Build.props new file mode 100644 index 0000000..f35f050 --- /dev/null +++ b/src/libs/Directory.Build.props @@ -0,0 +1,63 @@ + + + + + + true + $(MSBuildThisFileDirectory)../key.snk + + + + + <_Parameter1>true + + + + + true + true + tryAGI and contributors + MIT + nuget-icon.png + README.md + + + + + + + + + v + dev + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + true + latest + All + + + + true + true + true + false + false + + + diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupConfigCompressionLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupConfigCompressionLevel.g.cs new file mode 100644 index 0000000..8098502 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupConfigCompressionLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupConfigCompressionLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupConfigCompressionLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupConfigCompressionLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupConfigCompressionLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupConfigCompressionLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BackupConfigCompressionLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupConfigCompressionLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupConfigCompressionLevelNullable.g.cs new file mode 100644 index 0000000..3a7d34e --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupConfigCompressionLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupConfigCompressionLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupConfigCompressionLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupConfigCompressionLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupConfigCompressionLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupConfigCompressionLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BackupConfigCompressionLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupCreateResponseStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupCreateResponseStatus.g.cs new file mode 100644 index 0000000..50bc3cc --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupCreateResponseStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupCreateResponseStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupCreateResponseStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupCreateResponseStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupCreateResponseStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupCreateResponseStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BackupCreateResponseStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupCreateResponseStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupCreateResponseStatusNullable.g.cs new file mode 100644 index 0000000..c5be8a6 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupCreateResponseStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupCreateResponseStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupCreateResponseStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupCreateResponseStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupCreateResponseStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupCreateResponseStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BackupCreateResponseStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupCreateStatusResponseStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupCreateStatusResponseStatus.g.cs new file mode 100644 index 0000000..3756a32 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupCreateStatusResponseStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupCreateStatusResponseStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupCreateStatusResponseStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupCreateStatusResponseStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupCreateStatusResponseStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupCreateStatusResponseStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BackupCreateStatusResponseStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupCreateStatusResponseStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupCreateStatusResponseStatusNullable.g.cs new file mode 100644 index 0000000..6906ab8 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupCreateStatusResponseStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupCreateStatusResponseStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupCreateStatusResponseStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupCreateStatusResponseStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupCreateStatusResponseStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupCreateStatusResponseStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BackupCreateStatusResponseStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupListResponseItemStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupListResponseItemStatus.g.cs new file mode 100644 index 0000000..54fd66f --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupListResponseItemStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupListResponseItemStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupListResponseItemStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupListResponseItemStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupListResponseItemStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupListResponseItemStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BackupListResponseItemStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupListResponseItemStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupListResponseItemStatusNullable.g.cs new file mode 100644 index 0000000..a9a56b9 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupListResponseItemStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupListResponseItemStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupListResponseItemStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupListResponseItemStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupListResponseItemStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupListResponseItemStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BackupListResponseItemStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreResponseStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreResponseStatus.g.cs new file mode 100644 index 0000000..ce6392a --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreResponseStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupRestoreResponseStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupRestoreResponseStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupRestoreResponseStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupRestoreResponseStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupRestoreResponseStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BackupRestoreResponseStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreResponseStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreResponseStatusNullable.g.cs new file mode 100644 index 0000000..bb4eb55 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreResponseStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupRestoreResponseStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupRestoreResponseStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupRestoreResponseStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupRestoreResponseStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupRestoreResponseStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BackupRestoreResponseStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreStatusResponseStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreStatusResponseStatus.g.cs new file mode 100644 index 0000000..31a3840 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreStatusResponseStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupRestoreStatusResponseStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupRestoreStatusResponseStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupRestoreStatusResponseStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupRestoreStatusResponseStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupRestoreStatusResponseStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BackupRestoreStatusResponseStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreStatusResponseStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreStatusResponseStatusNullable.g.cs new file mode 100644 index 0000000..c1d9e7c --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BackupRestoreStatusResponseStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BackupRestoreStatusResponseStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BackupRestoreStatusResponseStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BackupRestoreStatusResponseStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BackupRestoreStatusResponseStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BackupRestoreStatusResponseStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BackupRestoreStatusResponseStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteOutput.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteOutput.g.cs new file mode 100644 index 0000000..18e5a4b --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteOutput.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchDeleteOutputJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchDeleteOutput Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchDeleteOutputExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchDeleteOutput)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchDeleteOutput value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BatchDeleteOutputExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteOutputNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteOutputNullable.g.cs new file mode 100644 index 0000000..fed875f --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteOutputNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchDeleteOutputNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchDeleteOutput? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchDeleteOutputExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchDeleteOutput)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchDeleteOutput? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BatchDeleteOutputExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseOutput.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseOutput.g.cs new file mode 100644 index 0000000..f845ce3 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseOutput.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchDeleteResponseOutputJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchDeleteResponseOutput Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchDeleteResponseOutputExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchDeleteResponseOutput)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchDeleteResponseOutput value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BatchDeleteResponseOutputExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseOutputNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseOutputNullable.g.cs new file mode 100644 index 0000000..b17d8d6 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseOutputNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchDeleteResponseOutputNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchDeleteResponseOutput? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchDeleteResponseOutputExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchDeleteResponseOutput)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchDeleteResponseOutput? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BatchDeleteResponseOutputExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseResultsObjectStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseResultsObjectStatus.g.cs new file mode 100644 index 0000000..390e41f --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseResultsObjectStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchDeleteResponseResultsObjectStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchDeleteResponseResultsObjectStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchDeleteResponseResultsObjectStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchDeleteResponseResultsObjectStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchDeleteResponseResultsObjectStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BatchDeleteResponseResultsObjectStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseResultsObjectStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseResultsObjectStatusNullable.g.cs new file mode 100644 index 0000000..a6dd10b --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchDeleteResponseResultsObjectStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchDeleteResponseResultsObjectStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchDeleteResponseResultsObjectStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchDeleteResponseResultsObjectStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchDeleteResponseResultsObjectStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchDeleteResponseResultsObjectStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BatchDeleteResponseResultsObjectStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateConsistencyLevel.g.cs new file mode 100644 index 0000000..6b10dda --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchObjectsCreateConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchObjectsCreateConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchObjectsCreateConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchObjectsCreateConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchObjectsCreateConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BatchObjectsCreateConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..372f8cd --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchObjectsCreateConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchObjectsCreateConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchObjectsCreateConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchObjectsCreateConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchObjectsCreateConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BatchObjectsCreateConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateRequestField.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateRequestField.g.cs new file mode 100644 index 0000000..5738a1a --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateRequestField.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchObjectsCreateRequestFieldJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchObjectsCreateRequestField Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchObjectsCreateRequestFieldExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchObjectsCreateRequestField)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchObjectsCreateRequestField value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BatchObjectsCreateRequestFieldExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateRequestFieldNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateRequestFieldNullable.g.cs new file mode 100644 index 0000000..bf08450 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsCreateRequestFieldNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchObjectsCreateRequestFieldNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchObjectsCreateRequestField? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchObjectsCreateRequestFieldExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchObjectsCreateRequestField)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchObjectsCreateRequestField? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BatchObjectsCreateRequestFieldExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsDeleteConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsDeleteConsistencyLevel.g.cs new file mode 100644 index 0000000..8f51d1e --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsDeleteConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchObjectsDeleteConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchObjectsDeleteConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchObjectsDeleteConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchObjectsDeleteConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchObjectsDeleteConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BatchObjectsDeleteConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsDeleteConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsDeleteConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..e25ceeb --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchObjectsDeleteConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchObjectsDeleteConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchObjectsDeleteConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchObjectsDeleteConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchObjectsDeleteConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchObjectsDeleteConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BatchObjectsDeleteConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponse.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponse.g.cs new file mode 100644 index 0000000..78dc8d5 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponse.g.cs @@ -0,0 +1,87 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace Weaviate.JsonConverters +{ + /// + public class BatchReferenceResponseJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchReferenceResponse Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + var + readerCopy = reader; + global::Weaviate.BatchReference? value1 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.BatchReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.BatchReference).Name}"); + value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + global::Weaviate.BatchReferenceResponseVariant2? value2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.BatchReferenceResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.BatchReferenceResponseVariant2).Name}"); + value2 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + var result = new global::Weaviate.BatchReferenceResponse( + value1, + value2 + ); + + if (value1 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.BatchReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.BatchReference).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + else if (value2 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.BatchReferenceResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.BatchReferenceResponseVariant2).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + return result; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchReferenceResponse value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsValue1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.BatchReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.BatchReference).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); + } + else if (value.IsValue2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.BatchReferenceResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.BatchReferenceResponseVariant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponseVariant2ResultStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponseVariant2ResultStatus.g.cs new file mode 100644 index 0000000..a2726b4 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponseVariant2ResultStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchReferenceResponseVariant2ResultStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchReferenceResponseVariant2ResultStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchReferenceResponseVariant2ResultStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchReferenceResponseVariant2ResultStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchReferenceResponseVariant2ResultStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BatchReferenceResponseVariant2ResultStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponseVariant2ResultStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponseVariant2ResultStatusNullable.g.cs new file mode 100644 index 0000000..70d1616 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchReferenceResponseVariant2ResultStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchReferenceResponseVariant2ResultStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchReferenceResponseVariant2ResultStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchReferenceResponseVariant2ResultStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchReferenceResponseVariant2ResultStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchReferenceResponseVariant2ResultStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BatchReferenceResponseVariant2ResultStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchReferencesCreateConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchReferencesCreateConsistencyLevel.g.cs new file mode 100644 index 0000000..93a4171 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchReferencesCreateConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchReferencesCreateConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchReferencesCreateConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchReferencesCreateConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchReferencesCreateConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchReferencesCreateConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.BatchReferencesCreateConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.BatchReferencesCreateConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.BatchReferencesCreateConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..6308d4b --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.BatchReferencesCreateConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class BatchReferencesCreateConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.BatchReferencesCreateConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.BatchReferencesCreateConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.BatchReferencesCreateConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.BatchReferencesCreateConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.BatchReferencesCreateConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ClassificationStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ClassificationStatus.g.cs new file mode 100644 index 0000000..78ef9cf --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ClassificationStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ClassificationStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ClassificationStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ClassificationStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ClassificationStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ClassificationStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ClassificationStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ClassificationStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ClassificationStatusNullable.g.cs new file mode 100644 index 0000000..06a1e35 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ClassificationStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ClassificationStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ClassificationStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ClassificationStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ClassificationStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ClassificationStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ClassificationStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.DataTypeItem.g.cs b/src/libs/Weaviate/Generated/JsonConverters.DataTypeItem.g.cs new file mode 100644 index 0000000..d575ae8 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.DataTypeItem.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class DataTypeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.DataTypeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.DataTypeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.DataTypeItem)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.DataTypeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.DataTypeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.DataTypeItemNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.DataTypeItemNullable.g.cs new file mode 100644 index 0000000..5a30cc4 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.DataTypeItemNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class DataTypeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.DataTypeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.DataTypeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.DataTypeItem)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.DataTypeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.DataTypeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.NodeStatusStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.NodeStatusStatus.g.cs new file mode 100644 index 0000000..f17d44c --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.NodeStatusStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class NodeStatusStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.NodeStatusStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.NodeStatusStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.NodeStatusStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.NodeStatusStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.NodeStatusStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.NodeStatusStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.NodeStatusStatusNullable.g.cs new file mode 100644 index 0000000..126c471 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.NodeStatusStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class NodeStatusStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.NodeStatusStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.NodeStatusStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.NodeStatusStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.NodeStatusStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.NodeStatusStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.NodesGetClassOutput.g.cs b/src/libs/Weaviate/Generated/JsonConverters.NodesGetClassOutput.g.cs new file mode 100644 index 0000000..770f4bc --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.NodesGetClassOutput.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class NodesGetClassOutputJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.NodesGetClassOutput Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.NodesGetClassOutputExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.NodesGetClassOutput)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.NodesGetClassOutput value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.NodesGetClassOutputExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.NodesGetClassOutputNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.NodesGetClassOutputNullable.g.cs new file mode 100644 index 0000000..1770276 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.NodesGetClassOutputNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class NodesGetClassOutputNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.NodesGetClassOutput? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.NodesGetClassOutputExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.NodesGetClassOutput)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.NodesGetClassOutput? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.NodesGetClassOutputExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.NodesGetOutput.g.cs b/src/libs/Weaviate/Generated/JsonConverters.NodesGetOutput.g.cs new file mode 100644 index 0000000..3389a1c --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.NodesGetOutput.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class NodesGetOutputJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.NodesGetOutput Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.NodesGetOutputExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.NodesGetOutput)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.NodesGetOutput value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.NodesGetOutputExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.NodesGetOutputNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.NodesGetOutputNullable.g.cs new file mode 100644 index 0000000..ab64fbf --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.NodesGetOutputNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class NodesGetOutputNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.NodesGetOutput? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.NodesGetOutputExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.NodesGetOutput)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.NodesGetOutput? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.NodesGetOutputExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassDeleteConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassDeleteConsistencyLevel.g.cs new file mode 100644 index 0000000..bbc88fd --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassDeleteConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassDeleteConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassDeleteConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassDeleteConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassDeleteConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassDeleteConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsClassDeleteConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassDeleteConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassDeleteConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..37a88eb --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassDeleteConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassDeleteConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassDeleteConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassDeleteConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassDeleteConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassDeleteConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsClassDeleteConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassGetConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassGetConsistencyLevel.g.cs new file mode 100644 index 0000000..101e661 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassGetConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassGetConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassGetConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassGetConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassGetConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassGetConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsClassGetConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassGetConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassGetConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..9fa5353 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassGetConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassGetConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassGetConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassGetConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassGetConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassGetConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsClassGetConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassHeadConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassHeadConsistencyLevel.g.cs new file mode 100644 index 0000000..6a034fd --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassHeadConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassHeadConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassHeadConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassHeadConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassHeadConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassHeadConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsClassHeadConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassHeadConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassHeadConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..6497555 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassHeadConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassHeadConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassHeadConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassHeadConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassHeadConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassHeadConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsClassHeadConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPatchConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPatchConsistencyLevel.g.cs new file mode 100644 index 0000000..b402bd6 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPatchConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassPatchConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassPatchConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassPatchConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassPatchConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassPatchConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsClassPatchConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPatchConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPatchConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..aa01c81 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPatchConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassPatchConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassPatchConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassPatchConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassPatchConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassPatchConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsClassPatchConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPutConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPutConsistencyLevel.g.cs new file mode 100644 index 0000000..76d4698 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPutConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassPutConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassPutConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassPutConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassPutConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassPutConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsClassPutConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPutConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPutConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..003557c --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassPutConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassPutConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassPutConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassPutConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassPutConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassPutConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsClassPutConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesCreateConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesCreateConsistencyLevel.g.cs new file mode 100644 index 0000000..a0f55f4 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesCreateConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassReferencesCreateConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassReferencesCreateConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsClassReferencesCreateConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesCreateConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesCreateConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..7edf608 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesCreateConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassReferencesCreateConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassReferencesCreateConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsClassReferencesCreateConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesDeleteConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesDeleteConsistencyLevel.g.cs new file mode 100644 index 0000000..2233be5 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesDeleteConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassReferencesDeleteConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesDeleteConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesDeleteConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..2cc38e9 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesDeleteConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassReferencesDeleteConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesPutConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesPutConsistencyLevel.g.cs new file mode 100644 index 0000000..970435b --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesPutConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassReferencesPutConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassReferencesPutConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassReferencesPutConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassReferencesPutConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassReferencesPutConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsClassReferencesPutConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesPutConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesPutConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..be0e3f6 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsClassReferencesPutConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsClassReferencesPutConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsClassReferencesPutConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsClassReferencesPutConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsClassReferencesPutConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsClassReferencesPutConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsClassReferencesPutConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsCreateConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsCreateConsistencyLevel.g.cs new file mode 100644 index 0000000..3325dd3 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsCreateConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsCreateConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsCreateConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsCreateConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsCreateConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsCreateConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsCreateConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsCreateConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsCreateConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..697bd64 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsCreateConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsCreateConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsCreateConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsCreateConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsCreateConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsCreateConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsCreateConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsDeleteConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsDeleteConsistencyLevel.g.cs new file mode 100644 index 0000000..dce24f6 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsDeleteConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsDeleteConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsDeleteConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsDeleteConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsDeleteConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsDeleteConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsDeleteConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsDeleteConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsDeleteConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..3811942 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsDeleteConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsDeleteConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsDeleteConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsDeleteConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsDeleteConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsDeleteConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsDeleteConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponse.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponse.g.cs new file mode 100644 index 0000000..fb57ca5 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponse.g.cs @@ -0,0 +1,112 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace Weaviate.JsonConverters +{ + /// + public class ObjectsGetResponseJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsGetResponse Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + var + readerCopy = reader; + global::Weaviate.Object? value1 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.Object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.Object).Name}"); + value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + global::Weaviate.ObjectsGetResponseVariant2? value2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.ObjectsGetResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.ObjectsGetResponseVariant2).Name}"); + value2 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + global::Weaviate.ObjectsGetResponseVariant3? value3 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.ObjectsGetResponseVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.ObjectsGetResponseVariant3).Name}"); + value3 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + var result = new global::Weaviate.ObjectsGetResponse( + value1, + value2, + value3 + ); + + if (value1 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.Object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.Object).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + else if (value2 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.ObjectsGetResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.ObjectsGetResponseVariant2).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + else if (value3 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.ObjectsGetResponseVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.ObjectsGetResponseVariant3).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + return result; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsGetResponse value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsValue1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.Object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.Object).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); + } + else if (value.IsValue2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.ObjectsGetResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.ObjectsGetResponseVariant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo); + } + else if (value.IsValue3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Weaviate.ObjectsGetResponseVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Weaviate.ObjectsGetResponseVariant3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponseVariant3ResultStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponseVariant3ResultStatus.g.cs new file mode 100644 index 0000000..85dd183 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponseVariant3ResultStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsGetResponseVariant3ResultStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsGetResponseVariant3ResultStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsGetResponseVariant3ResultStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsGetResponseVariant3ResultStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsGetResponseVariant3ResultStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsGetResponseVariant3ResultStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponseVariant3ResultStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponseVariant3ResultStatusNullable.g.cs new file mode 100644 index 0000000..70f54c9 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsGetResponseVariant3ResultStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsGetResponseVariant3ResultStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsGetResponseVariant3ResultStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsGetResponseVariant3ResultStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsGetResponseVariant3ResultStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsGetResponseVariant3ResultStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsGetResponseVariant3ResultStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsListOrder.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsListOrder.g.cs new file mode 100644 index 0000000..f77adb1 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsListOrder.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsListOrderJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsListOrder Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsListOrderExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsListOrder)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsListOrder value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsListOrderExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsListOrderNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsListOrderNullable.g.cs new file mode 100644 index 0000000..dc563b6 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsListOrderNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsListOrderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsListOrder? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsListOrderExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsListOrder)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsListOrder? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsListOrderExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsPatchConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsPatchConsistencyLevel.g.cs new file mode 100644 index 0000000..7b28a33 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsPatchConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsPatchConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsPatchConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsPatchConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsPatchConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsPatchConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsPatchConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsPatchConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsPatchConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..8fe9f58 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsPatchConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsPatchConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsPatchConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsPatchConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsPatchConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsPatchConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsPatchConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsUpdateConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsUpdateConsistencyLevel.g.cs new file mode 100644 index 0000000..9798287 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsUpdateConsistencyLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsUpdateConsistencyLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsUpdateConsistencyLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsUpdateConsistencyLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsUpdateConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsUpdateConsistencyLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ObjectsUpdateConsistencyLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ObjectsUpdateConsistencyLevelNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ObjectsUpdateConsistencyLevelNullable.g.cs new file mode 100644 index 0000000..00c7099 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ObjectsUpdateConsistencyLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ObjectsUpdateConsistencyLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ObjectsUpdateConsistencyLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ObjectsUpdateConsistencyLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ObjectsUpdateConsistencyLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ObjectsUpdateConsistencyLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ObjectsUpdateConsistencyLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentActionOp.g.cs b/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentActionOp.g.cs new file mode 100644 index 0000000..1b5f6ea --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentActionOp.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class PatchDocumentActionOpJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.PatchDocumentActionOp Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.PatchDocumentActionOpExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.PatchDocumentActionOp)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.PatchDocumentActionOp value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.PatchDocumentActionOpExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentActionOpNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentActionOpNullable.g.cs new file mode 100644 index 0000000..d2add71 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentActionOpNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class PatchDocumentActionOpNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.PatchDocumentActionOp? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.PatchDocumentActionOpExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.PatchDocumentActionOp)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.PatchDocumentActionOp? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.PatchDocumentActionOpExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentObjectOp.g.cs b/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentObjectOp.g.cs new file mode 100644 index 0000000..4d5e604 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentObjectOp.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class PatchDocumentObjectOpJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.PatchDocumentObjectOp Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.PatchDocumentObjectOpExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.PatchDocumentObjectOp)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.PatchDocumentObjectOp value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.PatchDocumentObjectOpExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentObjectOpNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentObjectOpNullable.g.cs new file mode 100644 index 0000000..9cccd15 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.PatchDocumentObjectOpNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class PatchDocumentObjectOpNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.PatchDocumentObjectOp? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.PatchDocumentObjectOpExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.PatchDocumentObjectOp)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.PatchDocumentObjectOp? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.PatchDocumentObjectOpExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ReplicationConfigObjectDeletionConflictResolution.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ReplicationConfigObjectDeletionConflictResolution.g.cs new file mode 100644 index 0000000..5e89a95 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ReplicationConfigObjectDeletionConflictResolution.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ReplicationConfigObjectDeletionConflictResolutionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ReplicationConfigObjectDeletionConflictResolution Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ReplicationConfigObjectDeletionConflictResolutionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ReplicationConfigObjectDeletionConflictResolution)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ReplicationConfigObjectDeletionConflictResolution value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.ReplicationConfigObjectDeletionConflictResolutionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.ReplicationConfigObjectDeletionConflictResolutionNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.ReplicationConfigObjectDeletionConflictResolutionNullable.g.cs new file mode 100644 index 0000000..0ca7946 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.ReplicationConfigObjectDeletionConflictResolutionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class ReplicationConfigObjectDeletionConflictResolutionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.ReplicationConfigObjectDeletionConflictResolution? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.ReplicationConfigObjectDeletionConflictResolutionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.ReplicationConfigObjectDeletionConflictResolution)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.ReplicationConfigObjectDeletionConflictResolution? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.ReplicationConfigObjectDeletionConflictResolutionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.StatisticsStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.StatisticsStatus.g.cs new file mode 100644 index 0000000..89dffb7 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.StatisticsStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class StatisticsStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.StatisticsStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.StatisticsStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.StatisticsStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.StatisticsStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.StatisticsStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.StatisticsStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.StatisticsStatusNullable.g.cs new file mode 100644 index 0000000..a12e306 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.StatisticsStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class StatisticsStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.StatisticsStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.StatisticsStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.StatisticsStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.StatisticsStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.StatisticsStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.StopwordConfigPreset.g.cs b/src/libs/Weaviate/Generated/JsonConverters.StopwordConfigPreset.g.cs new file mode 100644 index 0000000..268c8d0 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.StopwordConfigPreset.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class StopwordConfigPresetJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.StopwordConfigPreset Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.StopwordConfigPresetExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.StopwordConfigPreset)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.StopwordConfigPreset value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.StopwordConfigPresetExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.StopwordConfigPresetNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.StopwordConfigPresetNullable.g.cs new file mode 100644 index 0000000..27c7c59 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.StopwordConfigPresetNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class StopwordConfigPresetNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.StopwordConfigPreset? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.StopwordConfigPresetExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.StopwordConfigPreset)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.StopwordConfigPreset? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.StopwordConfigPresetExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.TenantActivityStatus.g.cs b/src/libs/Weaviate/Generated/JsonConverters.TenantActivityStatus.g.cs new file mode 100644 index 0000000..20bae42 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.TenantActivityStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class TenantActivityStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.TenantActivityStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.TenantActivityStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.TenantActivityStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.TenantActivityStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.TenantActivityStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.TenantActivityStatusNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.TenantActivityStatusNullable.g.cs new file mode 100644 index 0000000..49caead --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.TenantActivityStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class TenantActivityStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.TenantActivityStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.TenantActivityStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.TenantActivityStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.TenantActivityStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.TenantActivityStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.Tokenization.g.cs b/src/libs/Weaviate/Generated/JsonConverters.Tokenization.g.cs new file mode 100644 index 0000000..a02ebf6 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.Tokenization.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class TokenizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.Tokenization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.TokenizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.Tokenization)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.Tokenization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.TokenizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.TokenizationNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.TokenizationNullable.g.cs new file mode 100644 index 0000000..ec6d4e6 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.TokenizationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class TokenizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.Tokenization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.TokenizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.Tokenization)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.Tokenization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.TokenizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.UnixTimestamp.g.cs b/src/libs/Weaviate/Generated/JsonConverters.UnixTimestamp.g.cs new file mode 100644 index 0000000..5930e86 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.UnixTimestamp.g.cs @@ -0,0 +1,39 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public class UnixTimestampJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::System.DateTimeOffset Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + if (reader.TokenType == global::System.Text.Json.JsonTokenType.Number) + { + if (reader.TryGetInt64(out long unixTimestamp)) + { + return global::System.DateTimeOffset.FromUnixTimeSeconds(unixTimestamp); + } + if (reader.TryGetInt32(out int unixTimestampInt)) + { + return global::System.DateTimeOffset.FromUnixTimeSeconds(unixTimestampInt); + } + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::System.DateTimeOffset value, + global::System.Text.Json.JsonSerializerOptions options) + { + long unixTimestamp = value.ToUnixTimeSeconds(); + writer.WriteNumberValue(unixTimestamp); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.VectorIndexType.g.cs b/src/libs/Weaviate/Generated/JsonConverters.VectorIndexType.g.cs new file mode 100644 index 0000000..ea75714 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.VectorIndexType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class VectorIndexTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.VectorIndexType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.VectorIndexTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.VectorIndexType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.VectorIndexType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.VectorIndexTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.VectorIndexTypeNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.VectorIndexTypeNullable.g.cs new file mode 100644 index 0000000..5df7013 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.VectorIndexTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class VectorIndexTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.VectorIndexType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.VectorIndexTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.VectorIndexType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.VectorIndexType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.VectorIndexTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.Vectorizer.g.cs b/src/libs/Weaviate/Generated/JsonConverters.Vectorizer.g.cs new file mode 100644 index 0000000..69414c9 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.Vectorizer.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class VectorizerJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.Vectorizer Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.VectorizerExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.Vectorizer)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.Vectorizer value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.VectorizerExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.VectorizerNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.VectorizerNullable.g.cs new file mode 100644 index 0000000..516f27d --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.VectorizerNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class VectorizerNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.Vectorizer? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.VectorizerExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.Vectorizer)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.Vectorizer? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.VectorizerExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.WhereFilterOperator.g.cs b/src/libs/Weaviate/Generated/JsonConverters.WhereFilterOperator.g.cs new file mode 100644 index 0000000..1633897 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.WhereFilterOperator.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class WhereFilterOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.WhereFilterOperator Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.WhereFilterOperatorExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.WhereFilterOperator)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.WhereFilterOperator value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Weaviate.WhereFilterOperatorExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonConverters.WhereFilterOperatorNullable.g.cs b/src/libs/Weaviate/Generated/JsonConverters.WhereFilterOperatorNullable.g.cs new file mode 100644 index 0000000..77324ee --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonConverters.WhereFilterOperatorNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Weaviate.JsonConverters +{ + /// + public sealed class WhereFilterOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Weaviate.WhereFilterOperator? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Weaviate.WhereFilterOperatorExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Weaviate.WhereFilterOperator)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Weaviate.WhereFilterOperator? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Weaviate.WhereFilterOperatorExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Weaviate/Generated/JsonSerializerContext.g.cs b/src/libs/Weaviate/Generated/JsonSerializerContext.g.cs new file mode 100644 index 0000000..30cd42f --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonSerializerContext.g.cs @@ -0,0 +1,110 @@ + +#nullable enable + +#pragma warning disable CS0618 // Type or member is obsolete +#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant + +namespace Weaviate +{ + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + typeof(global::Weaviate.JsonConverters.StopwordConfigPresetJsonConverter), + typeof(global::Weaviate.JsonConverters.StopwordConfigPresetNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ReplicationConfigObjectDeletionConflictResolutionJsonConverter), + typeof(global::Weaviate.JsonConverters.ReplicationConfigObjectDeletionConflictResolutionNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.PatchDocumentObjectOpJsonConverter), + typeof(global::Weaviate.JsonConverters.PatchDocumentObjectOpNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.PatchDocumentActionOpJsonConverter), + typeof(global::Weaviate.JsonConverters.PatchDocumentActionOpNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.VectorizerJsonConverter), + typeof(global::Weaviate.JsonConverters.VectorizerNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.VectorIndexTypeJsonConverter), + typeof(global::Weaviate.JsonConverters.VectorIndexTypeNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.DataTypeItemJsonConverter), + typeof(global::Weaviate.JsonConverters.DataTypeItemNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.TokenizationJsonConverter), + typeof(global::Weaviate.JsonConverters.TokenizationNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupCreateStatusResponseStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupCreateStatusResponseStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupRestoreStatusResponseStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupRestoreStatusResponseStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupConfigCompressionLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupConfigCompressionLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupCreateResponseStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupCreateResponseStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupListResponseItemStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupListResponseItemStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupRestoreResponseStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.BackupRestoreResponseStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.NodeStatusStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.NodeStatusStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.StatisticsStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.StatisticsStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchReferenceResponseVariant2ResultStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchReferenceResponseVariant2ResultStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsGetResponseVariant3ResultStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsGetResponseVariant3ResultStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.WhereFilterOperatorJsonConverter), + typeof(global::Weaviate.JsonConverters.WhereFilterOperatorNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchDeleteOutputJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchDeleteOutputNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchDeleteResponseOutputJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchDeleteResponseOutputNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchDeleteResponseResultsObjectStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchDeleteResponseResultsObjectStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ClassificationStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.ClassificationStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.TenantActivityStatusJsonConverter), + typeof(global::Weaviate.JsonConverters.TenantActivityStatusNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchObjectsCreateRequestFieldJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchObjectsCreateRequestFieldNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsListOrderJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsListOrderNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsCreateConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsCreateConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsUpdateConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsUpdateConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsDeleteConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsDeleteConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsPatchConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsPatchConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassGetConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassGetConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassPutConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassPutConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassDeleteConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassDeleteConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassHeadConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassHeadConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassPatchConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassPatchConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassReferencesPutConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassReferencesPutConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassReferencesCreateConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassReferencesCreateConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassReferencesDeleteConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsClassReferencesDeleteConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchObjectsCreateConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchObjectsCreateConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchObjectsDeleteConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchObjectsDeleteConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchReferencesCreateConsistencyLevelJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchReferencesCreateConsistencyLevelNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.NodesGetOutputJsonConverter), + typeof(global::Weaviate.JsonConverters.NodesGetOutputNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.NodesGetClassOutputJsonConverter), + typeof(global::Weaviate.JsonConverters.NodesGetClassOutputNullableJsonConverter), + typeof(global::Weaviate.JsonConverters.BatchReferenceResponseJsonConverter), + typeof(global::Weaviate.JsonConverters.ObjectsGetResponseJsonConverter), + })] + + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weaviate.JsonSerializerContextTypes))] + public sealed partial class SourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + { + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/JsonSerializerContextTypes.g.cs b/src/libs/Weaviate/Generated/JsonSerializerContextTypes.g.cs new file mode 100644 index 0000000..30b1f81 --- /dev/null +++ b/src/libs/Weaviate/Generated/JsonSerializerContextTypes.g.cs @@ -0,0 +1,783 @@ + +#nullable enable + +#pragma warning disable CS0618 // Type or member is obsolete + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class JsonSerializerContextTypes + { + /// + /// + /// + public global::System.Collections.Generic.Dictionary? StringStringDictionary { get; set; } + + /// + /// + /// + public global::Weaviate.Link? Type0 { get; set; } + /// + /// + /// + public string? Type1 { get; set; } + /// + /// + /// + public global::Weaviate.Principal? Type2 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type3 { get; set; } + /// + /// + /// + public global::Weaviate.C11yWordsResponse? Type4 { get; set; } + /// + /// + /// + public global::Weaviate.C11yWordsResponseConcatenatedWord? Type5 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6 { get; set; } + /// + /// + /// + public float? Type7 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type8 { get; set; } + /// + /// + /// + public global::Weaviate.C11yNearestNeighbor? Type9 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type10 { get; set; } + /// + /// + /// + public global::Weaviate.C11yWordsResponseIndividualWord? Type11 { get; set; } + /// + /// + /// + public bool? Type12 { get; set; } + /// + /// + /// + public global::Weaviate.C11yWordsResponseIndividualWordInfo? Type13 { get; set; } + /// + /// + /// + public global::Weaviate.C11yExtension? Type14 { get; set; } + /// + /// + /// + public global::Weaviate.Vectors? Type15 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type16 { get; set; } + /// + /// + /// + public global::Weaviate.C11yVectorBasedQuestionItem? Type17 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type18 { get; set; } + /// + /// + /// + public global::Weaviate.C11yVectorBasedQuestionItemClassProp? Type19 { get; set; } + /// + /// + /// + public global::Weaviate.Deprecation? Type20 { get; set; } + /// + /// + /// + public global::System.DateTime? Type21 { get; set; } + /// + /// + /// + public global::Weaviate.ErrorResponse? Type22 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type23 { get; set; } + /// + /// + /// + public global::Weaviate.ErrorResponseErrorItem? Type24 { get; set; } + /// + /// + /// + public global::Weaviate.GraphQLError? Type25 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type26 { get; set; } + /// + /// + /// + public global::Weaviate.GraphQLErrorLocation? Type27 { get; set; } + /// + /// + /// + public long? Type28 { get; set; } + /// + /// + /// + public global::Weaviate.GraphQLQuery? Type29 { get; set; } + /// + /// + /// + public global::Weaviate.GraphQLQueryVariables? Type30 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type31 { get; set; } + /// + /// + /// + public global::Weaviate.GraphQLResponse? Type32 { get; set; } + /// + /// + /// + public global::Weaviate.GraphQLResponseData? Type33 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type34 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type35 { get; set; } + /// + /// + /// + public global::Weaviate.InvertedIndexConfig? Type36 { get; set; } + /// + /// + /// + public double? Type37 { get; set; } + /// + /// + /// + public global::Weaviate.BM25Config? Type38 { get; set; } + /// + /// + /// + public global::Weaviate.StopwordConfig? Type39 { get; set; } + /// + /// + /// + public global::Weaviate.StopwordConfigPreset? Type40 { get; set; } + /// + /// + /// + public global::Weaviate.ShardingConfig? Type41 { get; set; } + /// + /// + /// + public int? Type42 { get; set; } + /// + /// + /// + public global::Weaviate.ReplicationConfig? Type43 { get; set; } + /// + /// + /// + public global::Weaviate.ReplicationConfigObjectDeletionConflictResolution? Type44 { get; set; } + /// + /// + /// + public global::Weaviate.MultiTenancyConfig? Type45 { get; set; } + /// + /// + /// + public global::Weaviate.JsonObject? Type46 { get; set; } + /// + /// + /// + public global::Weaviate.Meta? Type47 { get; set; } + /// + /// + /// + public global::Weaviate.MetaModules? Type48 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type49 { get; set; } + /// + /// + /// + public global::Weaviate.SingleRef? Type50 { get; set; } + /// + /// + /// + public global::Weaviate.PropertySchema? Type51 { get; set; } + /// + /// + /// + public global::Weaviate.ReferenceMetaClassification? Type52 { get; set; } + /// + /// + /// + public global::Weaviate.PatchDocumentObject? Type53 { get; set; } + /// + /// + /// + public global::Weaviate.PatchDocumentObjectOp? Type54 { get; set; } + /// + /// + /// + public global::Weaviate.PatchDocumentObjectValue? Type55 { get; set; } + /// + /// + /// + public global::Weaviate.Object? Type56 { get; set; } + /// + /// + /// + public global::Weaviate.VectorWeights? Type57 { get; set; } + /// + /// + /// + public global::System.Guid? Type58 { get; set; } + /// + /// + /// + public global::Weaviate.AdditionalProperties? Type59 { get; set; } + /// + /// + /// + public global::Weaviate.PatchDocumentAction? Type60 { get; set; } + /// + /// + /// + public global::Weaviate.PatchDocumentActionOp? Type61 { get; set; } + /// + /// + /// + public global::Weaviate.PatchDocumentActionValue? Type62 { get; set; } + /// + /// + /// + public global::Weaviate.PeerUpdate? Type63 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type64 { get; set; } + /// + /// + /// + public global::Weaviate.SchemaHistory? Type65 { get; set; } + /// + /// + /// + public global::Weaviate.Schema? Type66 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type67 { get; set; } + /// + /// + /// + public global::Weaviate.Class? Type68 { get; set; } + /// + /// + /// + public global::Weaviate.ClassVectorConfig? Type69 { get; set; } + /// + /// + /// + public global::Weaviate.VectorConfig? Type70 { get; set; } + /// + /// + /// + public global::Weaviate.Vectorizer? Type71 { get; set; } + /// + /// + /// + public global::Weaviate.VectorIndexType? Type72 { get; set; } + /// + /// + /// + public global::Weaviate.VectorIndexConfig? Type73 { get; set; } + /// + /// + /// + public global::Weaviate.ClassModuleConfig? Type74 { get; set; } + /// + /// + /// + public global::Weaviate.CollectionModuleConfig? Type75 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type76 { get; set; } + /// + /// + /// + public global::Weaviate.Property? Type77 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type78 { get; set; } + /// + /// + /// + public global::Weaviate.DataTypeItem? Type79 { get; set; } + /// + /// + /// + public global::Weaviate.PropertyModuleConfig? Type80 { get; set; } + /// + /// + /// + public global::Weaviate.PropertyModuleConfig2? Type81 { get; set; } + /// + /// + /// + public global::Weaviate.Tokenization? Type82 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type83 { get; set; } + /// + /// + /// + public global::Weaviate.NestedProperty? Type84 { get; set; } + /// + /// + /// + public global::Weaviate.SchemaClusterStatus? Type85 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type86 { get; set; } + /// + /// + /// + public global::Weaviate.ShardStatusGetResponse? Type87 { get; set; } + /// + /// + /// + public global::Weaviate.ShardStatus? Type88 { get; set; } + /// + /// + /// + public global::Weaviate.BackupCreateStatusResponse? Type89 { get; set; } + /// + /// + /// + public global::Weaviate.BackupCreateStatusResponseStatus? Type90 { get; set; } + /// + /// + /// + public global::Weaviate.BackupRestoreStatusResponse? Type91 { get; set; } + /// + /// + /// + public global::Weaviate.BackupRestoreStatusResponseStatus? Type92 { get; set; } + /// + /// + /// + public global::Weaviate.BackupConfig? Type93 { get; set; } + /// + /// + /// + public global::Weaviate.BackupConfigCompressionLevel? Type94 { get; set; } + /// + /// + /// + public global::Weaviate.RestoreConfig? Type95 { get; set; } + /// + /// + /// + public global::Weaviate.BackupCreateRequest? Type96 { get; set; } + /// + /// + /// + public global::Weaviate.BackupCreateResponse? Type97 { get; set; } + /// + /// + /// + public global::Weaviate.BackupCreateResponseStatus? Type98 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type99 { get; set; } + /// + /// + /// + public global::Weaviate.BackupListResponseItem? Type100 { get; set; } + /// + /// + /// + public global::Weaviate.BackupListResponseItemStatus? Type101 { get; set; } + /// + /// + /// + public global::Weaviate.BackupRestoreRequest? Type102 { get; set; } + /// + /// + /// + public global::Weaviate.BackupRestoreRequestNodeMapping? Type103 { get; set; } + /// + /// + /// + public global::Weaviate.BackupRestoreResponse? Type104 { get; set; } + /// + /// + /// + public global::Weaviate.BackupRestoreResponseStatus? Type105 { get; set; } + /// + /// + /// + public global::Weaviate.NodeStats? Type106 { get; set; } + /// + /// + /// + public global::Weaviate.BatchStats? Type107 { get; set; } + /// + /// + /// + public global::Weaviate.NodeShardStatus? Type108 { get; set; } + /// + /// + /// + public global::Weaviate.NodeStatus? Type109 { get; set; } + /// + /// + /// + public global::Weaviate.NodeStatusStatus? Type110 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type111 { get; set; } + /// + /// + /// + public global::Weaviate.NodesStatusResponse? Type112 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type113 { get; set; } + /// + /// + /// + public global::Weaviate.RaftStatistics? Type114 { get; set; } + /// + /// + /// + public global::Weaviate.RaftStatisticsLatestConfiguration? Type115 { get; set; } + /// + /// + /// + public global::Weaviate.Statistics? Type116 { get; set; } + /// + /// + /// + public global::Weaviate.StatisticsStatus? Type117 { get; set; } + /// + /// + /// + public global::Weaviate.StatisticsLeaderId? Type118 { get; set; } + /// + /// + /// + public global::Weaviate.StatisticsLeaderAddress? Type119 { get; set; } + /// + /// + /// + public global::Weaviate.StatisticsCandidates? Type120 { get; set; } + /// + /// + /// + public global::Weaviate.ClusterStatisticsResponse? Type121 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type122 { get; set; } + /// + /// + /// + public global::Weaviate.BatchReference? Type123 { get; set; } + /// + /// + /// + public global::Weaviate.BatchReferenceResponse? Type124 { get; set; } + /// + /// + /// + public global::Weaviate.BatchReferenceResponseVariant2? Type125 { get; set; } + /// + /// + /// + public global::Weaviate.BatchReferenceResponseVariant2Result? Type126 { get; set; } + /// + /// + /// + public global::Weaviate.BatchReferenceResponseVariant2ResultStatus? Type127 { get; set; } + /// + /// + /// + public global::Weaviate.GeoCoordinates? Type128 { get; set; } + /// + /// + /// + public global::Weaviate.PhoneNumber? Type129 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsGetResponse? Type130 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsGetResponseVariant2? Type131 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type132 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsGetResponseVariant3? Type133 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsGetResponseVariant3Result? Type134 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsGetResponseVariant3ResultStatus? Type135 { get; set; } + /// + /// + /// + public global::Weaviate.BatchDelete? Type136 { get; set; } + /// + /// + /// + public global::Weaviate.BatchDeleteMatch? Type137 { get; set; } + /// + /// + /// + public global::Weaviate.WhereFilter? Type138 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type139 { get; set; } + /// + /// + /// + public global::Weaviate.WhereFilterOperator? Type140 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type141 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type142 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type143 { get; set; } + /// + /// + /// + public global::Weaviate.WhereFilterGeoRange? Type144 { get; set; } + /// + /// + /// + public global::Weaviate.WhereFilterGeoRangeDistance? Type145 { get; set; } + /// + /// + /// + public global::Weaviate.BatchDeleteOutput? Type146 { get; set; } + /// + /// + /// + public global::Weaviate.BatchDeleteResponse? Type147 { get; set; } + /// + /// + /// + public global::Weaviate.BatchDeleteResponseMatch? Type148 { get; set; } + /// + /// + /// + public global::Weaviate.BatchDeleteResponseOutput? Type149 { get; set; } + /// + /// + /// + public global::Weaviate.BatchDeleteResponseResults? Type150 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type151 { get; set; } + /// + /// + /// + public global::Weaviate.BatchDeleteResponseResultsObject? Type152 { get; set; } + /// + /// + /// + public global::Weaviate.BatchDeleteResponseResultsObjectStatus? Type153 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsListResponse? Type154 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type155 { get; set; } + /// + /// + /// + public global::Weaviate.Classification? Type156 { get; set; } + /// + /// + /// + public global::Weaviate.ClassificationStatus? Type157 { get; set; } + /// + /// + /// + public global::Weaviate.ClassificationMeta? Type158 { get; set; } + /// + /// + /// + public global::Weaviate.ClassificationSettings? Type159 { get; set; } + /// + /// + /// + public global::Weaviate.ClassificationFilters? Type160 { get; set; } + /// + /// + /// + public global::Weaviate.Tenant? Type161 { get; set; } + /// + /// + /// + public global::Weaviate.TenantActivityStatus? Type162 { get; set; } + /// + /// + /// + public global::Weaviate.BatchObjectsCreateRequest? Type163 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type164 { get; set; } + /// + /// + /// + public global::Weaviate.BatchObjectsCreateRequestField? Type165 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type166 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type167 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsListOrder? Type168 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsCreateConsistencyLevel? Type169 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsUpdateConsistencyLevel? Type170 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsDeleteConsistencyLevel? Type171 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsPatchConsistencyLevel? Type172 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsClassGetConsistencyLevel? Type173 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsClassPutConsistencyLevel? Type174 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsClassDeleteConsistencyLevel? Type175 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsClassHeadConsistencyLevel? Type176 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsClassPatchConsistencyLevel? Type177 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsClassReferencesPutConsistencyLevel? Type178 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? Type179 { get; set; } + /// + /// + /// + public global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? Type180 { get; set; } + /// + /// + /// + public global::Weaviate.BatchObjectsCreateConsistencyLevel? Type181 { get; set; } + /// + /// + /// + public global::Weaviate.BatchObjectsDeleteConsistencyLevel? Type182 { get; set; } + /// + /// + /// + public global::Weaviate.BatchReferencesCreateConsistencyLevel? Type183 { get; set; } + /// + /// + /// + public global::Weaviate.NodesGetOutput? Type184 { get; set; } + /// + /// + /// + public global::Weaviate.NodesGetClassOutput? Type185 { get; set; } + /// + /// + /// + public global::Weaviate.WeaviateRootResponse? Type186 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type187 { get; set; } + /// + /// + /// + public global::Weaviate.Response? Type188 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type189 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type190 { get; set; } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCancel.g.cs b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCancel.g.cs new file mode 100644 index 0000000..6511f4a --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCancel.g.cs @@ -0,0 +1,116 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class BackupsClient + { + partial void PrepareBackupsCancelArguments( + global::System.Net.Http.HttpClient httpClient, + ref string backend, + ref string id); + partial void PrepareBackupsCancelRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string backend, + string id); + partial void ProcessBackupsCancelResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessBackupsCancelResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Cancel backup
+ /// Cancel created backup with specified ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task BackupsCancelAsync( + string backend, + string id, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareBackupsCancelArguments( + httpClient: _httpClient, + backend: ref backend, + id: ref id); + + var __pathBuilder = new PathBuilder( + path: $"/backups/{backend}/{id}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareBackupsCancelRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + backend: backend, + id: id); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessBackupsCancelResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessBackupsCancelResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCreate.g.cs new file mode 100644 index 0000000..b5511b5 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCreate.g.cs @@ -0,0 +1,165 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class BackupsClient + { + partial void PrepareBackupsCreateArguments( + global::System.Net.Http.HttpClient httpClient, + ref string backend, + global::Weaviate.BackupCreateRequest request); + partial void PrepareBackupsCreateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string backend, + global::Weaviate.BackupCreateRequest request); + partial void ProcessBackupsCreateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessBackupsCreateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Start a backup process
+ /// Start creating a backup for a set of collections. <br/><br/>Notes: <br/>- Weaviate uses gzip compression by default. <br/>- Weaviate stays usable while a backup process is ongoing. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task BackupsCreateAsync( + string backend, + global::Weaviate.BackupCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareBackupsCreateArguments( + httpClient: _httpClient, + backend: ref backend, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/backups/{backend}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareBackupsCreateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + backend: backend, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessBackupsCreateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessBackupsCreateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.BackupCreateResponse), JsonSerializerContext) as global::Weaviate.BackupCreateResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Start a backup process
+ /// Start creating a backup for a set of collections. <br/><br/>Notes: <br/>- Weaviate uses gzip compression by default. <br/>- Weaviate stays usable while a backup process is ongoing. + ///
+ /// + /// + /// The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. + /// + /// + /// Backup custom configuration + /// + /// + /// List of collections to include in the backup creation process. If not set, all collections are included. Cannot be used together with `exclude`. + /// + /// + /// List of collections to exclude from the backup creation process. If not set, all collections are included. Cannot be used together with `include`. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task BackupsCreateAsync( + string backend, + string id, + global::Weaviate.BackupConfig? config = default, + global::System.Collections.Generic.IList? include = default, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.BackupCreateRequest + { + Id = id, + Config = config, + Include = include, + Exclude = exclude, + }; + + return await BackupsCreateAsync( + backend: backend, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCreateStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCreateStatus.g.cs new file mode 100644 index 0000000..83bde90 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsCreateStatus.g.cs @@ -0,0 +1,116 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class BackupsClient + { + partial void PrepareBackupsCreateStatusArguments( + global::System.Net.Http.HttpClient httpClient, + ref string backend, + ref string id); + partial void PrepareBackupsCreateStatusRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string backend, + string id); + partial void ProcessBackupsCreateStatusResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessBackupsCreateStatusResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get backup process status
+ /// Returns status of backup creation attempt for a set of collections. <br/><br/>All client implementations have a `wait for completion` option which will poll the backup status in the background and only return once the backup has completed (successfully or unsuccessfully). If you set the `wait for completion` option to false, you can also check the status yourself using this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task BackupsCreateStatusAsync( + string backend, + string id, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareBackupsCreateStatusArguments( + httpClient: _httpClient, + backend: ref backend, + id: ref id); + + var __pathBuilder = new PathBuilder( + path: $"/backups/{backend}/{id}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareBackupsCreateStatusRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + backend: backend, + id: id); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessBackupsCreateStatusResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessBackupsCreateStatusResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.BackupCreateStatusResponse), JsonSerializerContext) as global::Weaviate.BackupCreateStatusResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsList.g.cs b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsList.g.cs new file mode 100644 index 0000000..3ec1f67 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsList.g.cs @@ -0,0 +1,110 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class BackupsClient + { + partial void PrepareBackupsListArguments( + global::System.Net.Http.HttpClient httpClient, + ref string backend); + partial void PrepareBackupsListRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string backend); + partial void ProcessBackupsListResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessBackupsListResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List backups in progress
+ /// List all backups in progress + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> BackupsListAsync( + string backend, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareBackupsListArguments( + httpClient: _httpClient, + backend: ref backend); + + var __pathBuilder = new PathBuilder( + path: $"/backups/{backend}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareBackupsListRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + backend: backend); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessBackupsListResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessBackupsListResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsRestore.g.cs b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsRestore.g.cs new file mode 100644 index 0000000..217d1b6 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsRestore.g.cs @@ -0,0 +1,174 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class BackupsClient + { + partial void PrepareBackupsRestoreArguments( + global::System.Net.Http.HttpClient httpClient, + ref string backend, + ref string id, + global::Weaviate.BackupRestoreRequest request); + partial void PrepareBackupsRestoreRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string backend, + string id, + global::Weaviate.BackupRestoreRequest request); + partial void ProcessBackupsRestoreResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessBackupsRestoreResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Start a restoration process
+ /// Starts a process of restoring a backup for a set of collections. <br/><br/>Any backup can be restored to any machine, as long as the number of nodes between source and target are identical.<br/><br/>Requrements:<br/><br/>- None of the collections to be restored already exist on the target restoration node(s).<br/>- The node names of the backed-up collections' must match those of the target restoration node(s). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task BackupsRestoreAsync( + string backend, + string id, + global::Weaviate.BackupRestoreRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareBackupsRestoreArguments( + httpClient: _httpClient, + backend: ref backend, + id: ref id, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/backups/{backend}/{id}/restore", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareBackupsRestoreRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + backend: backend, + id: id, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessBackupsRestoreResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessBackupsRestoreResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.BackupRestoreResponse), JsonSerializerContext) as global::Weaviate.BackupRestoreResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Start a restoration process
+ /// Starts a process of restoring a backup for a set of collections. <br/><br/>Any backup can be restored to any machine, as long as the number of nodes between source and target are identical.<br/><br/>Requrements:<br/><br/>- None of the collections to be restored already exist on the target restoration node(s).<br/>- The node names of the backed-up collections' must match those of the target restoration node(s). + ///
+ /// + /// + /// + /// Backup custom configuration + /// + /// + /// List of collections to include in the backup restoration process. If not set, all collections are included. Cannot be used together with `exclude`. + /// + /// + /// List of collections to exclude from the backup restoration process. If not set, all collections are included. Cannot be used together with `include`. + /// + /// + /// Allows overriding the node names stored in the backup with different ones. Useful when restoring backups to a different environment. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task BackupsRestoreAsync( + string backend, + string id, + global::Weaviate.RestoreConfig? config = default, + global::System.Collections.Generic.IList? include = default, + global::System.Collections.Generic.IList? exclude = default, + global::Weaviate.BackupRestoreRequestNodeMapping? nodeMapping = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.BackupRestoreRequest + { + Config = config, + Include = include, + Exclude = exclude, + NodeMapping = nodeMapping, + }; + + return await BackupsRestoreAsync( + backend: backend, + id: id, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsRestoreStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsRestoreStatus.g.cs new file mode 100644 index 0000000..d3bdb24 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.BackupsRestoreStatus.g.cs @@ -0,0 +1,116 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class BackupsClient + { + partial void PrepareBackupsRestoreStatusArguments( + global::System.Net.Http.HttpClient httpClient, + ref string backend, + ref string id); + partial void PrepareBackupsRestoreStatusRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string backend, + string id); + partial void ProcessBackupsRestoreStatusResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessBackupsRestoreStatusResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get restore process status
+ /// Returns status of a backup restoration attempt for a set of classes. <br/><br/>All client implementations have a `wait for completion` option which will poll the backup status in the background and only return once the backup has completed (successfully or unsuccessfully). If you set the `wait for completion` option to false, you can also check the status yourself using the this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task BackupsRestoreStatusAsync( + string backend, + string id, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareBackupsRestoreStatusArguments( + httpClient: _httpClient, + backend: ref backend, + id: ref id); + + var __pathBuilder = new PathBuilder( + path: $"/backups/{backend}/{id}/restore", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareBackupsRestoreStatusRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + backend: backend, + id: id); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessBackupsRestoreStatusResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessBackupsRestoreStatusResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.BackupRestoreStatusResponse), JsonSerializerContext) as global::Weaviate.BackupRestoreStatusResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BackupsClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.g.cs new file mode 100644 index 0000000..a588c54 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BackupsClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Create, restore and check the status of backups. <br/><br/>See the [backups page](https://weaviate.io/developers/weaviate/configuration/backups) for a general introduction, configuration, and tech background of backups.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class BackupsClient : global::Weaviate.IBackupsClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the BackupsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public BackupsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchObjectsCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchObjectsCreate.g.cs new file mode 100644 index 0000000..55cd9b3 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchObjectsCreate.g.cs @@ -0,0 +1,160 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class BatchClient + { + partial void PrepareBatchObjectsCreateArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::Weaviate.BatchObjectsCreateConsistencyLevel? consistencyLevel, + global::Weaviate.BatchObjectsCreateRequest request); + partial void PrepareBatchObjectsCreateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Weaviate.BatchObjectsCreateConsistencyLevel? consistencyLevel, + global::Weaviate.BatchObjectsCreateRequest request); + partial void ProcessBatchObjectsCreateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessBatchObjectsCreateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Batch create new objects.
+ /// Create new objects in bulk. <br/><br/>Meta-data and schema values are validated. <br/><br/>**Note: idempotence of `/batch/objects`**: <br/>`POST /batch/objects` is idempotent, and will overwrite any existing object given the same id. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> BatchObjectsCreateAsync( + global::Weaviate.BatchObjectsCreateRequest request, + global::Weaviate.BatchObjectsCreateConsistencyLevel? consistencyLevel = global::Weaviate.BatchObjectsCreateConsistencyLevel.QUORUM, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareBatchObjectsCreateArguments( + httpClient: _httpClient, + consistencyLevel: ref consistencyLevel, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/batch/objects", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareBatchObjectsCreateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + consistencyLevel: consistencyLevel, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessBatchObjectsCreateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessBatchObjectsCreateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Batch create new objects.
+ /// Create new objects in bulk. <br/><br/>Meta-data and schema values are validated. <br/><br/>**Note: idempotence of `/batch/objects`**: <br/>`POST /batch/objects` is idempotent, and will overwrite any existing object given the same id. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// Define which fields need to be returned. Default value is ALL + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> BatchObjectsCreateAsync( + global::Weaviate.BatchObjectsCreateConsistencyLevel? consistencyLevel = global::Weaviate.BatchObjectsCreateConsistencyLevel.QUORUM, + global::System.Collections.Generic.IList? fields = default, + global::System.Collections.Generic.IList? objects = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.BatchObjectsCreateRequest + { + Fields = fields, + Objects = objects, + }; + + return await BatchObjectsCreateAsync( + consistencyLevel: consistencyLevel, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchObjectsDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchObjectsDelete.g.cs new file mode 100644 index 0000000..35b9db3 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchObjectsDelete.g.cs @@ -0,0 +1,179 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class BatchClient + { + partial void PrepareBatchObjectsDeleteArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::Weaviate.BatchObjectsDeleteConsistencyLevel? consistencyLevel, + ref string? tenant, + global::Weaviate.BatchDelete request); + partial void PrepareBatchObjectsDeleteRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Weaviate.BatchObjectsDeleteConsistencyLevel? consistencyLevel, + string? tenant, + global::Weaviate.BatchDelete request); + partial void ProcessBatchObjectsDeleteResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessBatchObjectsDeleteResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Batch delete objects.
+ /// Batch delete objects that match a particular filter. <br/><br/>The request body takes a single `where` filter and will delete all objects matched. <br/><br/>Note that there is a limit to the number of objects to be deleted at once using this filter, in order to protect against unexpected memory surges and very-long-running requests. The default limit is 10,000 and may be configured by setting the `QUERY_MAXIMUM_RESULTS` environment variable. <br/><br/>Objects are deleted in the same order that they would be returned in an equivalent Get query. To delete more objects than the limit, run the same query multiple times. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task BatchObjectsDeleteAsync( + global::Weaviate.BatchDelete request, + global::Weaviate.BatchObjectsDeleteConsistencyLevel? consistencyLevel = global::Weaviate.BatchObjectsDeleteConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareBatchObjectsDeleteArguments( + httpClient: _httpClient, + consistencyLevel: ref consistencyLevel, + tenant: ref tenant, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/batch/objects", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + .AddOptionalParameter("tenant", tenant) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareBatchObjectsDeleteRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + consistencyLevel: consistencyLevel, + tenant: tenant, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessBatchObjectsDeleteResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessBatchObjectsDeleteResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.BatchDeleteResponse), JsonSerializerContext) as global::Weaviate.BatchDeleteResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Batch delete objects.
+ /// Batch delete objects that match a particular filter. <br/><br/>The request body takes a single `where` filter and will delete all objects matched. <br/><br/>Note that there is a limit to the number of objects to be deleted at once using this filter, in order to protect against unexpected memory surges and very-long-running requests. The default limit is 10,000 and may be configured by setting the `QUERY_MAXIMUM_RESULTS` environment variable. <br/><br/>Objects are deleted in the same order that they would be returned in an equivalent Get query. To delete more objects than the limit, run the same query multiple times. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// + /// Outlines how to find the objects to be deleted. + /// + /// + /// Controls the verbosity of the output.
+ /// Default Value: minimal + /// + /// + /// If true, the call will show which objects would be matched using the specified filter without deleting any objects. <br/><br/>Depending on the configured verbosity, you will either receive a count of affected objects, or a list of IDs.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task BatchObjectsDeleteAsync( + global::Weaviate.BatchObjectsDeleteConsistencyLevel? consistencyLevel = global::Weaviate.BatchObjectsDeleteConsistencyLevel.QUORUM, + string? tenant = default, + global::Weaviate.BatchDeleteMatch? match = default, + global::Weaviate.BatchDeleteOutput? output = global::Weaviate.BatchDeleteOutput.Minimal, + bool? dryRun = false, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.BatchDelete + { + Match = match, + Output = output, + DryRun = dryRun, + }; + + return await BatchObjectsDeleteAsync( + consistencyLevel: consistencyLevel, + tenant: tenant, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchReferencesCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchReferencesCreate.g.cs new file mode 100644 index 0000000..c40992b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BatchClient.BatchReferencesCreate.g.cs @@ -0,0 +1,129 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class BatchClient + { + partial void PrepareBatchReferencesCreateArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::Weaviate.BatchReferencesCreateConsistencyLevel? consistencyLevel, + global::System.Collections.Generic.IList request); + partial void PrepareBatchReferencesCreateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Weaviate.BatchReferencesCreateConsistencyLevel? consistencyLevel, + global::System.Collections.Generic.IList request); + partial void ProcessBatchReferencesCreateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessBatchReferencesCreateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Batch create cross-references.
+ /// Batch create cross-references between collections items (objects or objects) in bulk. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> BatchReferencesCreateAsync( + global::System.Collections.Generic.IList request, + global::Weaviate.BatchReferencesCreateConsistencyLevel? consistencyLevel = global::Weaviate.BatchReferencesCreateConsistencyLevel.QUORUM, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareBatchReferencesCreateArguments( + httpClient: _httpClient, + consistencyLevel: ref consistencyLevel, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/batch/references", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareBatchReferencesCreateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + consistencyLevel: consistencyLevel, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessBatchReferencesCreateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessBatchReferencesCreateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.BatchClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.BatchClient.g.cs new file mode 100644 index 0000000..cdbdc7f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.BatchClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Create, update and delete multiple objects and references at once. <br/><br/>Note that object-level errors may be reported even in a successful batch request. Accordingly, we recommend you check the response body for errors.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class BatchClient : global::Weaviate.IBatchClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the BatchClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public BatchClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.ClassificationsGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.ClassificationsGet.g.cs new file mode 100644 index 0000000..3039a8c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.ClassificationsGet.g.cs @@ -0,0 +1,110 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ClassificationsClient + { + partial void PrepareClassificationsGetArguments( + global::System.Net.Http.HttpClient httpClient, + ref string id); + partial void PrepareClassificationsGetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string id); + partial void ProcessClassificationsGetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessClassificationsGetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// View previously created classification
+ /// Get status, results and metadata of a previously created classification + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ClassificationsGetAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareClassificationsGetArguments( + httpClient: _httpClient, + id: ref id); + + var __pathBuilder = new PathBuilder( + path: $"/classifications/{id}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareClassificationsGetRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + id: id); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessClassificationsGetResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessClassificationsGetResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Classification), JsonSerializerContext) as global::Weaviate.Classification ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.ClassificationsPost.g.cs b/src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.ClassificationsPost.g.cs new file mode 100644 index 0000000..9eebbb5 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.ClassificationsPost.g.cs @@ -0,0 +1,190 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ClassificationsClient + { + partial void PrepareClassificationsPostArguments( + global::System.Net.Http.HttpClient httpClient, + global::Weaviate.Classification request); + partial void PrepareClassificationsPostRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Weaviate.Classification request); + partial void ProcessClassificationsPostResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessClassificationsPostResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Starts a classification.
+ /// Trigger a classification based on the specified params. Classifications will run in the background, use GET /classifications/<id> to retrieve the status of your classification. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ClassificationsPostAsync( + global::Weaviate.Classification request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareClassificationsPostArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/classifications/", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareClassificationsPostRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessClassificationsPostResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessClassificationsPostResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Classification), JsonSerializerContext) as global::Weaviate.Classification ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Starts a classification.
+ /// Trigger a classification based on the specified params. Classifications will run in the background, use GET /classifications/<id> to retrieve the status of your classification. + ///
+ /// + /// ID to uniquely identify this classification run
+ /// Example: ee722219-b8ec-4db1-8f8d-5150bb1a9e0c + /// + /// + /// class (name) which is used in this classification
+ /// Example: City + /// + /// + /// which ref-property to set as part of the classification
+ /// Example: [inCountry] + /// + /// + /// base the text-based classification on these fields (of type text)
+ /// Example: [description] + /// + /// + /// status of this classification
+ /// Example: running + /// + /// + /// Additional information to a specific classification + /// + /// + /// which algorithm to use for classifications + /// + /// + /// classification-type specific settings + /// + /// + /// error message if status == failed
+ /// Example: classify xzy: something went wrong + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ClassificationsPostAsync( + global::System.Guid? id = default, + string? @class = default, + global::System.Collections.Generic.IList? classifyProperties = default, + global::System.Collections.Generic.IList? basedOnProperties = default, + global::Weaviate.ClassificationStatus? status = default, + global::Weaviate.ClassificationMeta? meta = default, + string? type = default, + global::Weaviate.ClassificationSettings? settings = default, + string? error = default, + global::Weaviate.ClassificationFilters? filters = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.Classification + { + Id = id, + Class = @class, + ClassifyProperties = classifyProperties, + BasedOnProperties = basedOnProperties, + Status = status, + Meta = meta, + Type = type, + Settings = settings, + Error = error, + Filters = filters, + }; + + return await ClassificationsPostAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.g.cs new file mode 100644 index 0000000..6cb6770 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ClassificationsClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Perform classification operations
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class ClassificationsClient : global::Weaviate.IClassificationsClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the ClassificationsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public ClassificationsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ClusterClient.ClusterGetStatistics.g.cs b/src/libs/Weaviate/Generated/Weaviate.ClusterClient.ClusterGetStatistics.g.cs new file mode 100644 index 0000000..42e7f55 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ClusterClient.ClusterGetStatistics.g.cs @@ -0,0 +1,104 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ClusterClient + { + partial void PrepareClusterGetStatisticsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareClusterGetStatisticsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessClusterGetStatisticsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessClusterGetStatisticsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// See Raft cluster statistics
+ /// Returns Raft cluster statistics of Weaviate DB. + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ClusterGetStatisticsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareClusterGetStatisticsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/cluster/statistics", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareClusterGetStatisticsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessClusterGetStatisticsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessClusterGetStatisticsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ClusterStatisticsResponse), JsonSerializerContext) as global::Weaviate.ClusterStatisticsResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ClusterClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.ClusterClient.g.cs new file mode 100644 index 0000000..dd12bc7 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ClusterClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Retrieve information about the cluster.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class ClusterClient : global::Weaviate.IClusterClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the ClusterClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public ClusterClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.GraphqlClient.GraphqlBatch.g.cs b/src/libs/Weaviate/Generated/Weaviate.GraphqlClient.GraphqlBatch.g.cs new file mode 100644 index 0000000..12eaa84 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.GraphqlClient.GraphqlBatch.g.cs @@ -0,0 +1,118 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class GraphqlClient + { + partial void PrepareGraphqlBatchArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList request); + partial void PrepareGraphqlBatchRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList request); + partial void ProcessGraphqlBatchResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGraphqlBatchResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Perform batched GraphQL queries.
+ /// Perform batched GraphQL query + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GraphqlBatchAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareGraphqlBatchArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/graphql/batch", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGraphqlBatchRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGraphqlBatchResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGraphqlBatchResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.GraphqlClient.GraphqlPost.g.cs b/src/libs/Weaviate/Generated/Weaviate.GraphqlClient.GraphqlPost.g.cs new file mode 100644 index 0000000..b29e85d --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.GraphqlClient.GraphqlPost.g.cs @@ -0,0 +1,151 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class GraphqlClient + { + partial void PrepareGraphqlPostArguments( + global::System.Net.Http.HttpClient httpClient, + global::Weaviate.GraphQLQuery request); + partial void PrepareGraphqlPostRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Weaviate.GraphQLQuery request); + partial void ProcessGraphqlPostResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGraphqlPostResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Perform a GraphQL query.
+ /// Get a response based on a GraphQL query + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GraphqlPostAsync( + global::Weaviate.GraphQLQuery request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareGraphqlPostArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/graphql", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGraphqlPostRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGraphqlPostResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGraphqlPostResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.GraphQLResponse), JsonSerializerContext) as global::Weaviate.GraphQLResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Perform a GraphQL query.
+ /// Get a response based on a GraphQL query + ///
+ /// + /// The name of the operation if multiple exist in the query. + /// + /// + /// Query based on GraphQL syntax. + /// + /// + /// Additional variables for the query. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GraphqlPostAsync( + string? operationName = default, + string? query = default, + global::Weaviate.GraphQLQueryVariables? variables = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.GraphQLQuery + { + OperationName = operationName, + Query = query, + Variables = variables, + }; + + return await GraphqlPostAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.GraphqlClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.GraphqlClient.g.cs new file mode 100644 index 0000000..0747af5 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.GraphqlClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Query data using the GraphQL query language. See the [Weaviate GraphQL documentation](https://weaviate.io/developers/weaviate/api/graphql) for query syntax details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class GraphqlClient : global::Weaviate.IGraphqlClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the GraphqlClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public GraphqlClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCancel.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCancel.g.cs new file mode 100644 index 0000000..ea8af18 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCancel.g.cs @@ -0,0 +1,20 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IBackupsClient + { + /// + /// Cancel backup
+ /// Cancel created backup with specified ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BackupsCancelAsync( + string backend, + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCreate.g.cs new file mode 100644 index 0000000..ac45273 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCreate.g.cs @@ -0,0 +1,47 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IBackupsClient + { + /// + /// Start a backup process
+ /// Start creating a backup for a set of collections. <br/><br/>Notes: <br/>- Weaviate uses gzip compression by default. <br/>- Weaviate stays usable while a backup process is ongoing. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BackupsCreateAsync( + string backend, + global::Weaviate.BackupCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start a backup process
+ /// Start creating a backup for a set of collections. <br/><br/>Notes: <br/>- Weaviate uses gzip compression by default. <br/>- Weaviate stays usable while a backup process is ongoing. + ///
+ /// + /// + /// The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. + /// + /// + /// Backup custom configuration + /// + /// + /// List of collections to include in the backup creation process. If not set, all collections are included. Cannot be used together with `exclude`. + /// + /// + /// List of collections to exclude from the backup creation process. If not set, all collections are included. Cannot be used together with `include`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BackupsCreateAsync( + string backend, + string id, + global::Weaviate.BackupConfig? config = default, + global::System.Collections.Generic.IList? include = default, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCreateStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCreateStatus.g.cs new file mode 100644 index 0000000..4b358c0 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsCreateStatus.g.cs @@ -0,0 +1,20 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IBackupsClient + { + /// + /// Get backup process status
+ /// Returns status of backup creation attempt for a set of collections. <br/><br/>All client implementations have a `wait for completion` option which will poll the backup status in the background and only return once the backup has completed (successfully or unsuccessfully). If you set the `wait for completion` option to false, you can also check the status yourself using this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BackupsCreateStatusAsync( + string backend, + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsList.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsList.g.cs new file mode 100644 index 0000000..3b9aba5 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsList.g.cs @@ -0,0 +1,18 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IBackupsClient + { + /// + /// List backups in progress
+ /// List all backups in progress + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> BackupsListAsync( + string backend, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsRestore.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsRestore.g.cs new file mode 100644 index 0000000..63fc74f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsRestore.g.cs @@ -0,0 +1,51 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IBackupsClient + { + /// + /// Start a restoration process
+ /// Starts a process of restoring a backup for a set of collections. <br/><br/>Any backup can be restored to any machine, as long as the number of nodes between source and target are identical.<br/><br/>Requrements:<br/><br/>- None of the collections to be restored already exist on the target restoration node(s).<br/>- The node names of the backed-up collections' must match those of the target restoration node(s). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BackupsRestoreAsync( + string backend, + string id, + global::Weaviate.BackupRestoreRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start a restoration process
+ /// Starts a process of restoring a backup for a set of collections. <br/><br/>Any backup can be restored to any machine, as long as the number of nodes between source and target are identical.<br/><br/>Requrements:<br/><br/>- None of the collections to be restored already exist on the target restoration node(s).<br/>- The node names of the backed-up collections' must match those of the target restoration node(s). + ///
+ /// + /// + /// + /// Backup custom configuration + /// + /// + /// List of collections to include in the backup restoration process. If not set, all collections are included. Cannot be used together with `exclude`. + /// + /// + /// List of collections to exclude from the backup restoration process. If not set, all collections are included. Cannot be used together with `include`. + /// + /// + /// Allows overriding the node names stored in the backup with different ones. Useful when restoring backups to a different environment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BackupsRestoreAsync( + string backend, + string id, + global::Weaviate.RestoreConfig? config = default, + global::System.Collections.Generic.IList? include = default, + global::System.Collections.Generic.IList? exclude = default, + global::Weaviate.BackupRestoreRequestNodeMapping? nodeMapping = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsRestoreStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsRestoreStatus.g.cs new file mode 100644 index 0000000..e4b2d69 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.BackupsRestoreStatus.g.cs @@ -0,0 +1,20 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IBackupsClient + { + /// + /// Get restore process status
+ /// Returns status of a backup restoration attempt for a set of classes. <br/><br/>All client implementations have a `wait for completion` option which will poll the backup status in the background and only return once the backup has completed (successfully or unsuccessfully). If you set the `wait for completion` option to false, you can also check the status yourself using the this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BackupsRestoreStatusAsync( + string backend, + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.g.cs new file mode 100644 index 0000000..524abaf --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBackupsClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Create, restore and check the status of backups. <br/><br/>See the [backups page](https://weaviate.io/developers/weaviate/configuration/backups) for a general introduction, configuration, and tech background of backups.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBackupsClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchObjectsCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchObjectsCreate.g.cs new file mode 100644 index 0000000..650f3d2 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchObjectsCreate.g.cs @@ -0,0 +1,41 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IBatchClient + { + /// + /// Batch create new objects.
+ /// Create new objects in bulk. <br/><br/>Meta-data and schema values are validated. <br/><br/>**Note: idempotence of `/batch/objects`**: <br/>`POST /batch/objects` is idempotent, and will overwrite any existing object given the same id. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> BatchObjectsCreateAsync( + global::Weaviate.BatchObjectsCreateRequest request, + global::Weaviate.BatchObjectsCreateConsistencyLevel? consistencyLevel = global::Weaviate.BatchObjectsCreateConsistencyLevel.QUORUM, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Batch create new objects.
+ /// Create new objects in bulk. <br/><br/>Meta-data and schema values are validated. <br/><br/>**Note: idempotence of `/batch/objects`**: <br/>`POST /batch/objects` is idempotent, and will overwrite any existing object given the same id. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// Define which fields need to be returned. Default value is ALL + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> BatchObjectsCreateAsync( + global::Weaviate.BatchObjectsCreateConsistencyLevel? consistencyLevel = global::Weaviate.BatchObjectsCreateConsistencyLevel.QUORUM, + global::System.Collections.Generic.IList? fields = default, + global::System.Collections.Generic.IList? objects = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchObjectsDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchObjectsDelete.g.cs new file mode 100644 index 0000000..f5ca6ac --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchObjectsDelete.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IBatchClient + { + /// + /// Batch delete objects.
+ /// Batch delete objects that match a particular filter. <br/><br/>The request body takes a single `where` filter and will delete all objects matched. <br/><br/>Note that there is a limit to the number of objects to be deleted at once using this filter, in order to protect against unexpected memory surges and very-long-running requests. The default limit is 10,000 and may be configured by setting the `QUERY_MAXIMUM_RESULTS` environment variable. <br/><br/>Objects are deleted in the same order that they would be returned in an equivalent Get query. To delete more objects than the limit, run the same query multiple times. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BatchObjectsDeleteAsync( + global::Weaviate.BatchDelete request, + global::Weaviate.BatchObjectsDeleteConsistencyLevel? consistencyLevel = global::Weaviate.BatchObjectsDeleteConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Batch delete objects.
+ /// Batch delete objects that match a particular filter. <br/><br/>The request body takes a single `where` filter and will delete all objects matched. <br/><br/>Note that there is a limit to the number of objects to be deleted at once using this filter, in order to protect against unexpected memory surges and very-long-running requests. The default limit is 10,000 and may be configured by setting the `QUERY_MAXIMUM_RESULTS` environment variable. <br/><br/>Objects are deleted in the same order that they would be returned in an equivalent Get query. To delete more objects than the limit, run the same query multiple times. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// + /// Outlines how to find the objects to be deleted. + /// + /// + /// Controls the verbosity of the output.
+ /// Default Value: minimal + /// + /// + /// If true, the call will show which objects would be matched using the specified filter without deleting any objects. <br/><br/>Depending on the configured verbosity, you will either receive a count of affected objects, or a list of IDs.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BatchObjectsDeleteAsync( + global::Weaviate.BatchObjectsDeleteConsistencyLevel? consistencyLevel = global::Weaviate.BatchObjectsDeleteConsistencyLevel.QUORUM, + string? tenant = default, + global::Weaviate.BatchDeleteMatch? match = default, + global::Weaviate.BatchDeleteOutput? output = global::Weaviate.BatchDeleteOutput.Minimal, + bool? dryRun = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchReferencesCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchReferencesCreate.g.cs new file mode 100644 index 0000000..648c795 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBatchClient.BatchReferencesCreate.g.cs @@ -0,0 +1,22 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IBatchClient + { + /// + /// Batch create cross-references.
+ /// Batch create cross-references between collections items (objects or objects) in bulk. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> BatchReferencesCreateAsync( + global::System.Collections.Generic.IList request, + global::Weaviate.BatchReferencesCreateConsistencyLevel? consistencyLevel = global::Weaviate.BatchReferencesCreateConsistencyLevel.QUORUM, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IBatchClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.IBatchClient.g.cs new file mode 100644 index 0000000..7be23f1 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IBatchClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Create, update and delete multiple objects and references at once. <br/><br/>Note that object-level errors may be reported even in a successful batch request. Accordingly, we recommend you check the response body for errors.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBatchClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.ClassificationsGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.ClassificationsGet.g.cs new file mode 100644 index 0000000..4ab2301 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.ClassificationsGet.g.cs @@ -0,0 +1,18 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IClassificationsClient + { + /// + /// View previously created classification
+ /// Get status, results and metadata of a previously created classification + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassificationsGetAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.ClassificationsPost.g.cs b/src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.ClassificationsPost.g.cs new file mode 100644 index 0000000..50d2e1e --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.ClassificationsPost.g.cs @@ -0,0 +1,71 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IClassificationsClient + { + /// + /// Starts a classification.
+ /// Trigger a classification based on the specified params. Classifications will run in the background, use GET /classifications/<id> to retrieve the status of your classification. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassificationsPostAsync( + global::Weaviate.Classification request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Starts a classification.
+ /// Trigger a classification based on the specified params. Classifications will run in the background, use GET /classifications/<id> to retrieve the status of your classification. + ///
+ /// + /// ID to uniquely identify this classification run
+ /// Example: ee722219-b8ec-4db1-8f8d-5150bb1a9e0c + /// + /// + /// class (name) which is used in this classification
+ /// Example: City + /// + /// + /// which ref-property to set as part of the classification
+ /// Example: [inCountry] + /// + /// + /// base the text-based classification on these fields (of type text)
+ /// Example: [description] + /// + /// + /// status of this classification
+ /// Example: running + /// + /// + /// Additional information to a specific classification + /// + /// + /// which algorithm to use for classifications + /// + /// + /// classification-type specific settings + /// + /// + /// error message if status == failed
+ /// Example: classify xzy: something went wrong + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassificationsPostAsync( + global::System.Guid? id = default, + string? @class = default, + global::System.Collections.Generic.IList? classifyProperties = default, + global::System.Collections.Generic.IList? basedOnProperties = default, + global::Weaviate.ClassificationStatus? status = default, + global::Weaviate.ClassificationMeta? meta = default, + string? type = default, + global::Weaviate.ClassificationSettings? settings = default, + string? error = default, + global::Weaviate.ClassificationFilters? filters = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.g.cs new file mode 100644 index 0000000..95c5412 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IClassificationsClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Perform classification operations
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IClassificationsClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IClusterClient.ClusterGetStatistics.g.cs b/src/libs/Weaviate/Generated/Weaviate.IClusterClient.ClusterGetStatistics.g.cs new file mode 100644 index 0000000..13c10af --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IClusterClient.ClusterGetStatistics.g.cs @@ -0,0 +1,16 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IClusterClient + { + /// + /// See Raft cluster statistics
+ /// Returns Raft cluster statistics of Weaviate DB. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClusterGetStatisticsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IClusterClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.IClusterClient.g.cs new file mode 100644 index 0000000..5f0ccd4 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IClusterClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Retrieve information about the cluster.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IClusterClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.GraphqlBatch.g.cs b/src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.GraphqlBatch.g.cs new file mode 100644 index 0000000..ed55f7a --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.GraphqlBatch.g.cs @@ -0,0 +1,18 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IGraphqlClient + { + /// + /// Perform batched GraphQL queries.
+ /// Perform batched GraphQL query + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GraphqlBatchAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.GraphqlPost.g.cs b/src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.GraphqlPost.g.cs new file mode 100644 index 0000000..d285d30 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.GraphqlPost.g.cs @@ -0,0 +1,39 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IGraphqlClient + { + /// + /// Perform a GraphQL query.
+ /// Get a response based on a GraphQL query + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GraphqlPostAsync( + global::Weaviate.GraphQLQuery request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Perform a GraphQL query.
+ /// Get a response based on a GraphQL query + ///
+ /// + /// The name of the operation if multiple exist in the query. + /// + /// + /// Query based on GraphQL syntax. + /// + /// + /// Additional variables for the query. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GraphqlPostAsync( + string? operationName = default, + string? query = default, + global::Weaviate.GraphQLQueryVariables? variables = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.g.cs new file mode 100644 index 0000000..fbb298b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IGraphqlClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Query data using the GraphQL query language. See the [Weaviate GraphQL documentation](https://weaviate.io/developers/weaviate/api/graphql) for query syntax details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGraphqlClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IMetaClient.MetaGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.IMetaClient.MetaGet.g.cs new file mode 100644 index 0000000..fd9f133 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IMetaClient.MetaGet.g.cs @@ -0,0 +1,16 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IMetaClient + { + /// + /// Get instance metadata.
+ /// Returns meta information about the server. Can be used to provide information to another Weaviate instance that wants to interact with the current instance. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MetaGetAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IMetaClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.IMetaClient.g.cs new file mode 100644 index 0000000..4bcaeb4 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IMetaClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Retrieve information about the server such as the hostname, location, versions and modules.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMetaClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.INodesClient.NodesGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.INodesClient.NodesGet.g.cs new file mode 100644 index 0000000..fef6a93 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.INodesClient.NodesGet.g.cs @@ -0,0 +1,20 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface INodesClient + { + /// + /// Node information for the database.
+ /// Returns node information for the entire database. + ///
+ /// + /// Default Value: minimal + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task NodesGetAsync( + global::Weaviate.NodesGetOutput? output = global::Weaviate.NodesGetOutput.Minimal, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.INodesClient.NodesGetClass.g.cs b/src/libs/Weaviate/Generated/Weaviate.INodesClient.NodesGetClass.g.cs new file mode 100644 index 0000000..39e173b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.INodesClient.NodesGetClass.g.cs @@ -0,0 +1,22 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface INodesClient + { + /// + /// Node information for a collection.
+ /// Returns node information for the nodes relevant to the collection. + ///
+ /// + /// + /// Default Value: minimal + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task NodesGetClassAsync( + string className, + global::Weaviate.NodesGetClassOutput? output = global::Weaviate.NodesGetClassOutput.Minimal, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.INodesClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.INodesClient.g.cs new file mode 100644 index 0000000..72263d0 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.INodesClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Retrieve information about relevant nodes in the cluster. The query can be for the entire cluster, or for a particular collection.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface INodesClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassDelete.g.cs new file mode 100644 index 0000000..2c68ad4 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassDelete.g.cs @@ -0,0 +1,26 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Delete an object.
+ /// Delete an object based on its collection and UUID. <br/><br/>Note: For backward compatibility, beacons also support an older, deprecated format without the collection name. As a result, when deleting a reference, the beacon specified has to match the beacon to be deleted exactly. In other words, if a beacon is present using the old format (without collection name) you also need to specify it the same way. <br/><br/>In the beacon format, you need to always use `localhost` as the host, rather than the actual hostname. `localhost` here refers to the fact that the beacon's target is on the same Weaviate instance, as opposed to a foreign instance. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassDeleteAsync( + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassDeleteConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassDeleteConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassGet.g.cs new file mode 100644 index 0000000..2d4f9ae --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassGet.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Get an object.
+ /// Get a data object based on its collection and UUID. Also available as Websocket bus. + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassGetAsync( + string className, + global::System.Guid id, + string? include = default, + global::Weaviate.ObjectsClassGetConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassGetConsistencyLevel.QUORUM, + string? nodeName = default, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassHead.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassHead.g.cs new file mode 100644 index 0000000..686a14f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassHead.g.cs @@ -0,0 +1,26 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Check if an object exists.
+ /// Checks if a data object exists based on its collection and uuid without retrieving it. <br/><br/>Internally it skips reading the object from disk other than checking if it is present. Thus it does not use resources on marshalling, parsing, etc., and is faster. Note the resulting HTTP request has no body; the existence of an object is indicated solely by the status code. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassHeadAsync( + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassHeadConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassHeadConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassPatch.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassPatch.g.cs new file mode 100644 index 0000000..a51ebb0 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassPatch.g.cs @@ -0,0 +1,83 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Update an object using patch semantics.
+ /// Update an individual data object based on its collection and uuid. This method supports json-merge style patch semantics (RFC 7396). Provided meta-data and schema values are validated. LastUpdateTime is set to the time this function is called. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassPatchAsync( + string className, + global::System.Guid id, + global::Weaviate.Object request, + global::Weaviate.ObjectsClassPatchConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPatchConsistencyLevel.QUORUM, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an object using patch semantics.
+ /// Update an individual data object based on its collection and uuid. This method supports json-merge style patch semantics (RFC 7396). Provided meta-data and schema values are validated. LastUpdateTime is set to the time this function is called. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The object collection name. + /// + /// + /// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// ID of the object. + /// + /// + /// (Response only) Timestamp of creation of this object in milliseconds since epoch UTC. + /// + /// + /// (Response only) Timestamp of the last object update in milliseconds since epoch UTC. + /// + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + /// + /// A map of named vectors for multi-vector representations. + /// + /// + /// Name of the tenant. + /// + /// + /// (Response only) Additional meta information about a single object. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassPatchAsync( + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassPatchConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPatchConsistencyLevel.QUORUM, + string? @class = default, + global::Weaviate.VectorWeights? vectorWeights = default, + global::Weaviate.PropertySchema? properties = default, + global::System.Guid? requestId = default, + long? creationTimeUnix = default, + long? lastUpdateTimeUnix = default, + global::System.Collections.Generic.IList? vector = default, + global::Weaviate.Vectors? vectors = default, + string? tenant = default, + global::Weaviate.AdditionalProperties? additional = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassPut.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassPut.g.cs new file mode 100644 index 0000000..8e57fc4 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassPut.g.cs @@ -0,0 +1,83 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Update an object.
+ /// Update an object based on its uuid and collection. This (`put`) method replaces the object with the provided object. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassPutAsync( + string className, + global::System.Guid id, + global::Weaviate.Object request, + global::Weaviate.ObjectsClassPutConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPutConsistencyLevel.QUORUM, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an object.
+ /// Update an object based on its uuid and collection. This (`put`) method replaces the object with the provided object. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The object collection name. + /// + /// + /// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// ID of the object. + /// + /// + /// (Response only) Timestamp of creation of this object in milliseconds since epoch UTC. + /// + /// + /// (Response only) Timestamp of the last object update in milliseconds since epoch UTC. + /// + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + /// + /// A map of named vectors for multi-vector representations. + /// + /// + /// Name of the tenant. + /// + /// + /// (Response only) Additional meta information about a single object. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassPutAsync( + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassPutConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPutConsistencyLevel.QUORUM, + string? @class = default, + global::Weaviate.VectorWeights? vectorWeights = default, + global::Weaviate.PropertySchema? properties = default, + global::System.Guid? requestId = default, + long? creationTimeUnix = default, + long? lastUpdateTimeUnix = default, + global::System.Collections.Generic.IList? vector = default, + global::Weaviate.Vectors? vectors = default, + string? tenant = default, + global::Weaviate.AdditionalProperties? additional = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesCreate.g.cs new file mode 100644 index 0000000..48a10b2 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesCreate.g.cs @@ -0,0 +1,71 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Add a cross-reference.
+ /// Add a single reference to an object. This adds a reference to the array of cross-references of the given property in the source object specified by its collection name and id + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassReferencesCreateAsync( + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.SingleRef request, + global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add a cross-reference.
+ /// Add a single reference to an object. This adds a reference to the array of cross-references of the given property in the source object specified by its collection name and id + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// If using a concept reference (rather than a direct reference), specify the desired class name here + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// If using a direct reference, specify the URI to point to the cross-ref here. Should be in the form of weaviate://localhost/<uuid> for the example of a local cross-ref to an object + /// + /// + /// If using a direct reference, this read-only fields provides a link to the referenced resource. If 'origin' is globally configured, an absolute URI is shown - a relative URI otherwise. + /// + /// + /// This meta field contains additional info about the classified reference property + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassReferencesCreateAsync( + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel.QUORUM, + string? tenant = default, + string? @class = default, + global::Weaviate.PropertySchema? schema = default, + string? beacon = default, + string? href = default, + global::Weaviate.ReferenceMetaClassification? classification = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesDelete.g.cs new file mode 100644 index 0000000..b2a4540 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesDelete.g.cs @@ -0,0 +1,71 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Delete a cross-reference.
+ /// Delete the single reference that is given in the body from the list of references that this property has. + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassReferencesDeleteAsync( + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.SingleRef request, + global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete a cross-reference.
+ /// Delete the single reference that is given in the body from the list of references that this property has. + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// If using a concept reference (rather than a direct reference), specify the desired class name here + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// If using a direct reference, specify the URI to point to the cross-ref here. Should be in the form of weaviate://localhost/<uuid> for the example of a local cross-ref to an object + /// + /// + /// If using a direct reference, this read-only fields provides a link to the referenced resource. If 'origin' is globally configured, an absolute URI is shown - a relative URI otherwise. + /// + /// + /// This meta field contains additional info about the classified reference property + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassReferencesDeleteAsync( + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel.QUORUM, + string? tenant = default, + string? @class = default, + global::Weaviate.PropertySchema? schema = default, + string? beacon = default, + string? href = default, + global::Weaviate.ReferenceMetaClassification? classification = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesPut.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesPut.g.cs new file mode 100644 index 0000000..91ffcd0 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsClassReferencesPut.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Replace cross-references.
+ /// Replace **all** references in cross-reference property of an object. + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsClassReferencesPutAsync( + string className, + global::System.Guid id, + string propertyName, + global::System.Collections.Generic.IList request, + global::Weaviate.ObjectsClassReferencesPutConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesPutConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsCreate.g.cs new file mode 100644 index 0000000..59f7c9c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsCreate.g.cs @@ -0,0 +1,75 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Create a new object.
+ /// Create a new object. <br/><br/>Meta-data and schema values are validated. <br/><br/>**Note: Use `/batch` for importing many objects**: <br/>If you plan on importing a large number of objects, it's much more efficient to use the `/batch` endpoint. Otherwise, sending multiple single requests sequentially would incur a large performance penalty. <br/><br/>**Note: idempotence of `/objects`**: <br/>POST /objects will fail if an id is provided which already exists in the class. To update an existing object with the objects endpoint, use the PUT or PATCH method. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsCreateAsync( + global::Weaviate.Object request, + global::Weaviate.ObjectsCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsCreateConsistencyLevel.QUORUM, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a new object.
+ /// Create a new object. <br/><br/>Meta-data and schema values are validated. <br/><br/>**Note: Use `/batch` for importing many objects**: <br/>If you plan on importing a large number of objects, it's much more efficient to use the `/batch` endpoint. Otherwise, sending multiple single requests sequentially would incur a large performance penalty. <br/><br/>**Note: idempotence of `/objects`**: <br/>POST /objects will fail if an id is provided which already exists in the class. To update an existing object with the objects endpoint, use the PUT or PATCH method. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// The object collection name. + /// + /// + /// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// ID of the object. + /// + /// + /// (Response only) Timestamp of creation of this object in milliseconds since epoch UTC. + /// + /// + /// (Response only) Timestamp of the last object update in milliseconds since epoch UTC. + /// + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + /// + /// A map of named vectors for multi-vector representations. + /// + /// + /// Name of the tenant. + /// + /// + /// (Response only) Additional meta information about a single object. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsCreateAsync( + global::Weaviate.ObjectsCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsCreateConsistencyLevel.QUORUM, + string? @class = default, + global::Weaviate.VectorWeights? vectorWeights = default, + global::Weaviate.PropertySchema? properties = default, + global::System.Guid? id = default, + long? creationTimeUnix = default, + long? lastUpdateTimeUnix = default, + global::System.Collections.Generic.IList? vector = default, + global::Weaviate.Vectors? vectors = default, + string? tenant = default, + global::Weaviate.AdditionalProperties? additional = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsList.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsList.g.cs new file mode 100644 index 0000000..2f531c3 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsList.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Get a list of objects.
+ /// Lists all objects in reverse order of creation. The data will be returned as an array of objects. <br/><br/>Tip: If you are looking to list all objects in a collection, use the `after` parameter. + ///
+ /// + /// + /// Default Value: 0L + /// + /// + /// Default Value: 25L + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsListAsync( + string? after = default, + long? offset = 0L, + long? limit = 25L, + string? include = default, + string? sort = default, + global::Weaviate.ObjectsListOrder? order = default, + string? @class = default, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsValidate.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsValidate.g.cs new file mode 100644 index 0000000..1c913fc --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.ObjectsValidate.g.cs @@ -0,0 +1,67 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IObjectsClient + { + /// + /// Validate an object.
+ /// Validate an object's schema and meta-data without creating it. <br/><br/>If the schema of the object is valid, the request should return nothing with a plain RESTful request. Otherwise, an error object will be returned. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsValidateAsync( + global::Weaviate.Object request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Validate an object.
+ /// Validate an object's schema and meta-data without creating it. <br/><br/>If the schema of the object is valid, the request should return nothing with a plain RESTful request. Otherwise, an error object will be returned. + ///
+ /// + /// The object collection name. + /// + /// + /// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// ID of the object. + /// + /// + /// (Response only) Timestamp of creation of this object in milliseconds since epoch UTC. + /// + /// + /// (Response only) Timestamp of the last object update in milliseconds since epoch UTC. + /// + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + /// + /// A map of named vectors for multi-vector representations. + /// + /// + /// Name of the tenant. + /// + /// + /// (Response only) Additional meta information about a single object. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ObjectsValidateAsync( + string? @class = default, + global::Weaviate.VectorWeights? vectorWeights = default, + global::Weaviate.PropertySchema? properties = default, + global::System.Guid? id = default, + long? creationTimeUnix = default, + long? lastUpdateTimeUnix = default, + global::System.Collections.Generic.IList? vector = default, + global::Weaviate.Vectors? vectors = default, + string? tenant = default, + global::Weaviate.AdditionalProperties? additional = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.g.cs new file mode 100644 index 0000000..69c7d8e --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IObjectsClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Create, update and delete objects and cross-references.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IObjectsClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IRootClient.WeaviateRoot.g.cs b/src/libs/Weaviate/Generated/Weaviate.IRootClient.WeaviateRoot.g.cs new file mode 100644 index 0000000..e229b2f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IRootClient.WeaviateRoot.g.cs @@ -0,0 +1,16 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IRootClient + { + /// + /// List available endpoints
+ /// Get links to other endpoints to help discover the REST API + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task WeaviateRootAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IRootClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.IRootClient.g.cs new file mode 100644 index 0000000..03ce8b1 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IRootClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The root of the API. Note the base url is `/v1`.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRootClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaDump.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaDump.g.cs new file mode 100644 index 0000000..200b99b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaDump.g.cs @@ -0,0 +1,20 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Get the entire schema.
+ /// Fetch an array of all collection definitions from the schema. + ///
+ /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaDumpAsync( + bool? consistency = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsCreate.g.cs new file mode 100644 index 0000000..97f1de7 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsCreate.g.cs @@ -0,0 +1,76 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Create a collection.
+ /// Create a new data object collection. <br/><br/>If [AutoSchema](https://weaviate.io/developers/weaviate/config-refs/schema#auto-schema) is enabled, Weaviate will attempt to infer the schema from the data at import time. However, manual schema definition is recommended for production environments. <br/><br/>For further discussions of parameters, please see the [schema reference page](https://weaviate.io/developers/weaviate/config-refs/schema). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaObjectsCreateAsync( + global::Weaviate.Class request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a collection.
+ /// Create a new data object collection. <br/><br/>If [AutoSchema](https://weaviate.io/developers/weaviate/config-refs/schema#auto-schema) is enabled, Weaviate will attempt to infer the schema from the data at import time. However, manual schema definition is recommended for production environments. <br/><br/>For further discussions of parameters, please see the [schema reference page](https://weaviate.io/developers/weaviate/config-refs/schema). + ///
+ /// + /// Name of the collection (a.k.a. class). Multiple words should be concatenated in CamelCase, e.g. `ArticleAuthor`. + /// + /// + /// Configure named vectors (https://weaviate.io/developers/weaviate/config-refs/schema/multi-vector). Either use this field or `vectorizer`, `vectorIndexType`, and `vectorIndexConfig` fields. Available from `v1.24.0`. + /// + /// + /// Name of the vector index to use, eg. (HNSW)
+ /// Default Value: hnsw + /// + /// + /// Vector index type specific settings. See the [vector index configuration page](https://weaviate.io/developers/weaviate/config-refs/schema/vector-index) for more details + /// + /// + /// Specify how the index should be sharded and distributed in the cluster + /// + /// + /// Configure how replication is executed in a cluster + /// + /// + /// Configure the inverted index built into Weaviate + /// + /// + /// Configuration related to multi-tenancy within a class + /// + /// + /// Vectorizer for this collection (e.g. `text2vec-transformers`). This will override any cluster-wide default set by an environment variable. <br/><br/>If `none`, you must import a vector with each object yourself. + /// + /// + /// Configuration specific to modules in a collection context. + /// + /// + /// Description of the collection for documentation purposes. + /// + /// + /// Define properties of the collection. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaObjectsCreateAsync( + string class1, + global::Weaviate.ClassVectorConfig? vectorConfig = default, + global::Weaviate.VectorIndexType? vectorIndexType = global::Weaviate.VectorIndexType.Hnsw, + global::Weaviate.VectorIndexConfig? vectorIndexConfig = default, + global::Weaviate.ShardingConfig? shardingConfig = default, + global::Weaviate.ReplicationConfig? replicationConfig = default, + global::Weaviate.InvertedIndexConfig? invertedIndexConfig = default, + global::Weaviate.MultiTenancyConfig? multiTenancyConfig = default, + global::Weaviate.Vectorizer? vectorizer = default, + global::Weaviate.ClassModuleConfig? moduleConfig = default, + string? description = default, + global::System.Collections.Generic.IList? properties = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsDelete.g.cs new file mode 100644 index 0000000..6eeabbd --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsDelete.g.cs @@ -0,0 +1,18 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Remove a collection (and its data).
+ /// Remove a collection from the schema. This will also delete all the objects in the collection. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaObjectsDeleteAsync( + string className, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsGet.g.cs new file mode 100644 index 0000000..56aac56 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsGet.g.cs @@ -0,0 +1,21 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Get a single collection schema. + /// + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaObjectsGetAsync( + string className, + bool? consistency = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsPropertiesAdd.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsPropertiesAdd.g.cs new file mode 100644 index 0000000..d0f3ee3 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsPropertiesAdd.g.cs @@ -0,0 +1,75 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Add a property.
+ /// Add a property to an existing collection. <br/><br/>If possible, we encourage you to create all required properties at collection creation time. Adding a property after collection creation can lead to [some indexing limitations](https://weaviate.io/developers/weaviate/config-refs/schema). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaObjectsPropertiesAddAsync( + string className, + global::Weaviate.Property request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add a property.
+ /// Add a property to an existing collection. <br/><br/>If possible, we encourage you to create all required properties at collection creation time. Adding a property after collection creation can lead to [some indexing limitations](https://weaviate.io/developers/weaviate/config-refs/schema). + ///
+ /// + /// + /// Data type of the property. If it starts with a capital (for example Person), may be a reference to another type. + /// + /// + /// Description of the property for documentation purposes. + /// + /// + /// Configuration specific to modules in a property context. + /// + /// + /// The name of the property. Multiple words should be concatenated in camelCase, e.g. `nameOfAuthor`. + /// + /// + /// (Deprecated) Whether to include this property in the inverted index. If `false`, this property cannot be used in `where` filters, `bm25` or `hybrid` search. <br/><br/>Unrelated to vectorization behavior (deprecated as of v1.19; use indexFilterable or/and indexSearchable instead)
+ /// Default Value: true + /// + /// + /// Whether to include this property in the filterable, Roaring Bitmap index. If `false`, this property cannot be used in `where` filters. <br/><br/>Unrelated to vectorization behavior.
+ /// Default Value: true + /// + /// + /// Whether to include this property in the searchable, inverted index. Applicable only to properties of data type text and text[]. If `false`, this property cannot be used in `bm25` or `hybrid` searches. <br/><br/>Unrelated to vectorization behavior.
+ /// Default Value: true + /// + /// + /// Whether to include this property in the filterable, range-based Roaring Bitmap inverted index. Defaults to false. Provides better performance for range queries compared to filterable index in large datasets. Applicable only to properties of data type int, number, date. + /// + /// + /// Set tokenization of the property as separate words or whole field. Applies to text and text[] data types.
+ /// Default Value: word + /// + /// + /// The properties of the nested object(s). Applies to object and object[] data types. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaObjectsPropertiesAddAsync( + string className, + global::System.Collections.Generic.IList dataType, + string name, + string? description = default, + global::Weaviate.PropertyModuleConfig? moduleConfig = default, + bool? indexInverted = true, + bool? indexFilterable = true, + bool? indexSearchable = true, + bool? indexRangeFilters = default, + global::Weaviate.Tokenization? tokenization = global::Weaviate.Tokenization.Word, + global::System.Collections.Generic.IList? nestedProperties = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsShardsGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsShardsGet.g.cs new file mode 100644 index 0000000..0b68b3a --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsShardsGet.g.cs @@ -0,0 +1,20 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Get the shard status
+ /// Get the status of every shard in the cluster. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SchemaObjectsShardsGetAsync( + string className, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsShardsUpdate.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsShardsUpdate.g.cs new file mode 100644 index 0000000..a9b1f8d --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsShardsUpdate.g.cs @@ -0,0 +1,39 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Update a shard status.
+ /// Update a shard status for a collection. For example, a shard may have been marked as `READONLY` because its disk was full. After providing more disk space, use this endpoint to set the shard status to `READY` again. There is also a convenience function in each client to set the status of all shards of a collection. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaObjectsShardsUpdateAsync( + string className, + string shardName, + global::Weaviate.ShardStatus request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a shard status.
+ /// Update a shard status for a collection. For example, a shard may have been marked as `READONLY` because its disk was full. After providing more disk space, use this endpoint to set the shard status to `READY` again. There is also a convenience function in each client to set the status of all shards of a collection. + ///
+ /// + /// + /// + /// Status of the shard + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaObjectsShardsUpdateAsync( + string className, + string shardName, + string? status = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsUpdate.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsUpdate.g.cs new file mode 100644 index 0000000..fa249df --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.SchemaObjectsUpdate.g.cs @@ -0,0 +1,80 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Update an existing collection.
+ /// Alter an existing collection definition. <br/><br/>Note that not all settings are mutable ([see this list](https://weaviate.io/developers/weaviate/config-refs/schema#mutability)). To update any other (i.e. immutable) setting, you need to delete the collection, re-create it with the correct setting and then re-import the data. <br/><br/>This endpoint cannot be used to modify properties. Instead use POST /v1/schema/{className}/properties. A typical use case for this endpoint is to update a index configuration, such as `vectorIndexConfig/dynamicEfFactor`. <br/><br/>You should attach a body to this PUT request with the entire new configuration of the collection. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaObjectsUpdateAsync( + string className, + global::Weaviate.Class request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an existing collection.
+ /// Alter an existing collection definition. <br/><br/>Note that not all settings are mutable ([see this list](https://weaviate.io/developers/weaviate/config-refs/schema#mutability)). To update any other (i.e. immutable) setting, you need to delete the collection, re-create it with the correct setting and then re-import the data. <br/><br/>This endpoint cannot be used to modify properties. Instead use POST /v1/schema/{className}/properties. A typical use case for this endpoint is to update a index configuration, such as `vectorIndexConfig/dynamicEfFactor`. <br/><br/>You should attach a body to this PUT request with the entire new configuration of the collection. + ///
+ /// + /// + /// Name of the collection (a.k.a. class). Multiple words should be concatenated in CamelCase, e.g. `ArticleAuthor`. + /// + /// + /// Configure named vectors (https://weaviate.io/developers/weaviate/config-refs/schema/multi-vector). Either use this field or `vectorizer`, `vectorIndexType`, and `vectorIndexConfig` fields. Available from `v1.24.0`. + /// + /// + /// Name of the vector index to use, eg. (HNSW)
+ /// Default Value: hnsw + /// + /// + /// Vector index type specific settings. See the [vector index configuration page](https://weaviate.io/developers/weaviate/config-refs/schema/vector-index) for more details + /// + /// + /// Specify how the index should be sharded and distributed in the cluster + /// + /// + /// Configure how replication is executed in a cluster + /// + /// + /// Configure the inverted index built into Weaviate + /// + /// + /// Configuration related to multi-tenancy within a class + /// + /// + /// Vectorizer for this collection (e.g. `text2vec-transformers`). This will override any cluster-wide default set by an environment variable. <br/><br/>If `none`, you must import a vector with each object yourself. + /// + /// + /// Configuration specific to modules in a collection context. + /// + /// + /// Description of the collection for documentation purposes. + /// + /// + /// Define properties of the collection. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SchemaObjectsUpdateAsync( + string className, + string class1, + global::Weaviate.ClassVectorConfig? vectorConfig = default, + global::Weaviate.VectorIndexType? vectorIndexType = global::Weaviate.VectorIndexType.Hnsw, + global::Weaviate.VectorIndexConfig? vectorIndexConfig = default, + global::Weaviate.ShardingConfig? shardingConfig = default, + global::Weaviate.ReplicationConfig? replicationConfig = default, + global::Weaviate.InvertedIndexConfig? invertedIndexConfig = default, + global::Weaviate.MultiTenancyConfig? multiTenancyConfig = default, + global::Weaviate.Vectorizer? vectorizer = default, + global::Weaviate.ClassModuleConfig? moduleConfig = default, + string? description = default, + global::System.Collections.Generic.IList? properties = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantExists.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantExists.g.cs new file mode 100644 index 0000000..778ab99 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantExists.g.cs @@ -0,0 +1,24 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Check whether a tenant exists
+ /// Check if a tenant exists for a specific class + ///
+ /// + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TenantExistsAsync( + string className, + string tenantName, + bool? consistency = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsCreate.g.cs new file mode 100644 index 0000000..6e779c4 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsCreate.g.cs @@ -0,0 +1,20 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Create a new tenant
+ /// Create a new tenant for a collection. Multi-tenancy must be enabled in the collection definition. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TenantsCreateAsync( + string className, + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsDelete.g.cs new file mode 100644 index 0000000..3b97456 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsDelete.g.cs @@ -0,0 +1,20 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Delete tenant(s).
+ /// Delete tenants from a collection + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TenantsDeleteAsync( + string className, + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsGet.g.cs new file mode 100644 index 0000000..1a68e3f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsGet.g.cs @@ -0,0 +1,22 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Get the list of tenants.
+ /// Get all tenants from a collection. + ///
+ /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TenantsGetAsync( + string className, + bool? consistency = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsUpdate.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsUpdate.g.cs new file mode 100644 index 0000000..8322c3a --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.TenantsUpdate.g.cs @@ -0,0 +1,20 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface ISchemaClient + { + /// + /// Update a tenant.
+ /// Update a tenant for a collection + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TenantsUpdateAsync( + string className, + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.g.cs new file mode 100644 index 0000000..7173f0b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ISchemaClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Operate on the database schema. <br/><br/>Note an 'Object class' in Weaviate is being renamed to a 'collection'. <br/><br/>See <a href='https://weaviate.io/developers/weaviate/manage-data/collections'>this page</a> for client code examples.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISchemaClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IWeaviateClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.IWeaviateClient.g.cs new file mode 100644 index 0000000..996f902 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IWeaviateClient.g.cs @@ -0,0 +1,84 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// # Introduction
+ /// Weaviate is an open source, AI-native vector database that helps developers create intuitive and reliable AI-powered applications.
+ /// ### Base Path
+ /// The base path for the Weaviate server is structured as `[YOUR-WEAVIATE-HOST]:[PORT]/v1`. As an example, if you wish to access the `schema` endpoint on a local instance, you would navigate to `http://localhost:8080/v1/schema`. Ensure you replace `[YOUR-WEAVIATE-HOST]` and `[PORT]` with your actual server host and port number respectively.
+ /// ### Questions?
+ /// If you have any comments or questions, please feel free to reach out to us at the community forum [https://forum.weaviate.io/](https://forum.weaviate.io/).
+ /// ### Issues?
+ /// If you find a bug or want to file a feature request, please open an issue on our GitHub repository for [Weaviate](https://github.com/weaviate/weaviate).
+ /// ### Want more documentation?
+ /// For a quickstart, code examples, concepts and more, please visit our [documentation page](https://weaviate.io/developers/weaviate).
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IWeaviateClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + /// + /// The root of the API. Note the base url is `/v1`. + /// + public RootClient Root { get; } + + /// + /// Operate on the database schema. <br/><br/>Note an 'Object class' in Weaviate is being renamed to a 'collection'. <br/><br/>See <a href='https://weaviate.io/developers/weaviate/manage-data/collections'>this page</a> for client code examples. + /// + public SchemaClient Schema { get; } + + /// + /// Create, update and delete objects and cross-references. + /// + public ObjectsClient Objects { get; } + + /// + /// Create, update and delete multiple objects and references at once. <br/><br/>Note that object-level errors may be reported even in a successful batch request. Accordingly, we recommend you check the response body for errors. + /// + public BatchClient Batch { get; } + + /// + /// Create, restore and check the status of backups. <br/><br/>See the [backups page](https://weaviate.io/developers/weaviate/configuration/backups) for a general introduction, configuration, and tech background of backups. + /// + public BackupsClient Backups { get; } + + /// + /// Retrieve information about the server such as the hostname, location, versions and modules. + /// + public MetaClient Meta { get; } + + /// + /// Retrieve information about the cluster. + /// + public ClusterClient Cluster { get; } + + /// + /// Retrieve information about relevant nodes in the cluster. The query can be for the entire cluster, or for a particular collection. + /// + public NodesClient Nodes { get; } + + /// + /// `.well-known` endpoints. If OpenID Connect (OIDC) authentication is enabled, this endpoint includes OIDC configuration details. + /// + public WellKnownClient WellKnown { get; } + + /// + /// Query data using the GraphQL query language. See the [Weaviate GraphQL documentation](https://weaviate.io/developers/weaviate/api/graphql) for query syntax details. + /// + public GraphqlClient Graphql { get; } + + /// + /// Perform classification operations + /// + public ClassificationsClient Classifications { get; } + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.GetWellKnownOpenidConfiguration.g.cs b/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.GetWellKnownOpenidConfiguration.g.cs new file mode 100644 index 0000000..c521f6e --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.GetWellKnownOpenidConfiguration.g.cs @@ -0,0 +1,16 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IWellKnownClient + { + /// + /// OIDC discovery information (if OIDC auth is enabled)
+ /// OIDC Discovery page, redirects to the token issuer if one is configured + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetWellKnownOpenidConfigurationAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.WeaviateWellknownLiveness.g.cs b/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.WeaviateWellknownLiveness.g.cs new file mode 100644 index 0000000..3176e8e --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.WeaviateWellknownLiveness.g.cs @@ -0,0 +1,16 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IWellKnownClient + { + /// + /// Get application liveness.
+ /// Determines whether the application is alive. Can be used for kubernetes liveness probe + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task WeaviateWellknownLivenessAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.WeaviateWellknownReadiness.g.cs b/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.WeaviateWellknownReadiness.g.cs new file mode 100644 index 0000000..2733185 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.WeaviateWellknownReadiness.g.cs @@ -0,0 +1,16 @@ +#nullable enable + +namespace Weaviate +{ + public partial interface IWellKnownClient + { + /// + /// Get application readiness.
+ /// Determines whether the application is ready to receive traffic. Can be used for kubernetes readiness probe. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task WeaviateWellknownReadinessAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.g.cs new file mode 100644 index 0000000..74aa036 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.IWellKnownClient.g.cs @@ -0,0 +1,20 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// `.well-known` endpoints. If OpenID Connect (OIDC) authentication is enabled, this endpoint includes OIDC configuration details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IWellKnownClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.MetaClient.MetaGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.MetaClient.MetaGet.g.cs new file mode 100644 index 0000000..512ede5 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.MetaClient.MetaGet.g.cs @@ -0,0 +1,104 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class MetaClient + { + partial void PrepareMetaGetArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareMetaGetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessMetaGetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessMetaGetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get instance metadata.
+ /// Returns meta information about the server. Can be used to provide information to another Weaviate instance that wants to interact with the current instance. + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task MetaGetAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareMetaGetArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/meta", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareMetaGetRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessMetaGetResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessMetaGetResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Meta), JsonSerializerContext) as global::Weaviate.Meta ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.MetaClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.MetaClient.g.cs new file mode 100644 index 0000000..bf4b808 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.MetaClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Retrieve information about the server such as the hostname, location, versions and modules.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class MetaClient : global::Weaviate.IMetaClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the MetaClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public MetaClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.AdditionalProperties.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.AdditionalProperties.g.cs new file mode 100644 index 0000000..1f35d1c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.AdditionalProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// (Response only) Additional meta information about a single object. + /// + public sealed partial class AdditionalProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties2 { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BM25Config.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BM25Config.g.cs new file mode 100644 index 0000000..4dbbcee --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BM25Config.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// tuning parameters for the BM25 algorithm + /// + public sealed partial class BM25Config + { + /// + /// Calibrates term-weight scaling based on the term frequency within a document
+ /// Default Value: 1.2F + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("k1")] + public float? K1 { get; set; } = 1.2F; + + /// + /// Calibrates term-weight scaling based on the document length
+ /// Default Value: 0.75F + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("b")] + public float? B { get; set; } = 0.75F; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupConfig.g.cs new file mode 100644 index 0000000..cf5ca42 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupConfig.g.cs @@ -0,0 +1,39 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Backup custom configuration + /// + public sealed partial class BackupConfig + { + /// + /// Desired CPU core utilization ranging from 1%-80%
+ /// Default Value: 50 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("CPUPercentage")] + public int? CPUPercentage { get; set; } = 50; + + /// + /// Aimed chunk size, with a minimum of 2MB, default of 128MB, and a maximum of 512MB. The actual chunk size may vary.
+ /// Default Value: 128 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("ChunkSize")] + public int? ChunkSize { get; set; } = 128; + + /// + /// Compression level used by compression algorithm
+ /// Default Value: DefaultCompression + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("CompressionLevel")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.BackupConfigCompressionLevelJsonConverter))] + public global::Weaviate.BackupConfigCompressionLevel? CompressionLevel { get; set; } = global::Weaviate.BackupConfigCompressionLevel.DefaultCompression; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupConfigCompressionLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupConfigCompressionLevel.g.cs new file mode 100644 index 0000000..f8dda03 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupConfigCompressionLevel.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Compression level used by compression algorithm
+ /// Default Value: DefaultCompression + ///
+ public enum BackupConfigCompressionLevel + { + /// + /// + /// + DefaultCompression, + /// + /// + /// + BestSpeed, + /// + /// + /// + BestCompression, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BackupConfigCompressionLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BackupConfigCompressionLevel value) + { + return value switch + { + BackupConfigCompressionLevel.DefaultCompression => "DefaultCompression", + BackupConfigCompressionLevel.BestSpeed => "BestSpeed", + BackupConfigCompressionLevel.BestCompression => "BestCompression", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BackupConfigCompressionLevel? ToEnum(string value) + { + return value switch + { + "DefaultCompression" => BackupConfigCompressionLevel.DefaultCompression, + "BestSpeed" => BackupConfigCompressionLevel.BestSpeed, + "BestCompression" => BackupConfigCompressionLevel.BestCompression, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateRequest.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateRequest.g.cs new file mode 100644 index 0000000..3a6aa06 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateRequest.g.cs @@ -0,0 +1,42 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Request body for creating a backup of a set of classes + /// + public sealed partial class BackupCreateRequest + { + /// + /// The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Backup custom configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("config")] + public global::Weaviate.BackupConfig? Config { get; set; } + + /// + /// List of collections to include in the backup creation process. If not set, all collections are included. Cannot be used together with `exclude`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("include")] + public global::System.Collections.Generic.IList? Include { get; set; } + + /// + /// List of collections to exclude from the backup creation process. If not set, all collections are included. Cannot be used together with `include`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exclude")] + public global::System.Collections.Generic.IList? Exclude { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateResponse.g.cs new file mode 100644 index 0000000..3403f58 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateResponse.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The definition of a backup create response body + /// + public sealed partial class BackupCreateResponse + { + /// + /// The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// The list of classes for which the backup creation process was started + /// + [global::System.Text.Json.Serialization.JsonPropertyName("classes")] + public global::System.Collections.Generic.IList? Classes { get; set; } + + /// + /// Backup backend name e.g. filesystem, gcs, s3. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("backend")] + public string? Backend { get; set; } + + /// + /// destination path of backup files proper to selected backend + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// error message if creation failed + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + + /// + /// phase of backup creation process
+ /// Default Value: STARTED + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.BackupCreateResponseStatusJsonConverter))] + public global::Weaviate.BackupCreateResponseStatus? Status { get; set; } = global::Weaviate.BackupCreateResponseStatus.STARTED; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateResponseStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateResponseStatus.g.cs new file mode 100644 index 0000000..e888604 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateResponseStatus.g.cs @@ -0,0 +1,70 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// phase of backup creation process
+ /// Default Value: STARTED + ///
+ public enum BackupCreateResponseStatus + { + /// + /// + /// + STARTED, + /// + /// + /// + TRANSFERRING, + /// + /// + /// + TRANSFERRED, + /// + /// + /// + SUCCESS, + /// + /// + /// + FAILED, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BackupCreateResponseStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BackupCreateResponseStatus value) + { + return value switch + { + BackupCreateResponseStatus.STARTED => "STARTED", + BackupCreateResponseStatus.TRANSFERRING => "TRANSFERRING", + BackupCreateResponseStatus.TRANSFERRED => "TRANSFERRED", + BackupCreateResponseStatus.SUCCESS => "SUCCESS", + BackupCreateResponseStatus.FAILED => "FAILED", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BackupCreateResponseStatus? ToEnum(string value) + { + return value switch + { + "STARTED" => BackupCreateResponseStatus.STARTED, + "TRANSFERRING" => BackupCreateResponseStatus.TRANSFERRING, + "TRANSFERRED" => BackupCreateResponseStatus.TRANSFERRED, + "SUCCESS" => BackupCreateResponseStatus.SUCCESS, + "FAILED" => BackupCreateResponseStatus.FAILED, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateStatusResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateStatusResponse.g.cs new file mode 100644 index 0000000..d89d243 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateStatusResponse.g.cs @@ -0,0 +1,49 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The definition of a backup create metadata + /// + public sealed partial class BackupCreateStatusResponse + { + /// + /// The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// Backup backend name e.g. filesystem, gcs, s3. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("backend")] + public string? Backend { get; set; } + + /// + /// destination path of backup files proper to selected backend + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// error message if creation failed + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + + /// + /// phase of backup creation process
+ /// Default Value: STARTED + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.BackupCreateStatusResponseStatusJsonConverter))] + public global::Weaviate.BackupCreateStatusResponseStatus? Status { get; set; } = global::Weaviate.BackupCreateStatusResponseStatus.STARTED; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateStatusResponseStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateStatusResponseStatus.g.cs new file mode 100644 index 0000000..21d682e --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupCreateStatusResponseStatus.g.cs @@ -0,0 +1,76 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// phase of backup creation process
+ /// Default Value: STARTED + ///
+ public enum BackupCreateStatusResponseStatus + { + /// + /// + /// + STARTED, + /// + /// + /// + TRANSFERRING, + /// + /// + /// + TRANSFERRED, + /// + /// + /// + SUCCESS, + /// + /// + /// + FAILED, + /// + /// + /// + CANCELED, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BackupCreateStatusResponseStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BackupCreateStatusResponseStatus value) + { + return value switch + { + BackupCreateStatusResponseStatus.STARTED => "STARTED", + BackupCreateStatusResponseStatus.TRANSFERRING => "TRANSFERRING", + BackupCreateStatusResponseStatus.TRANSFERRED => "TRANSFERRED", + BackupCreateStatusResponseStatus.SUCCESS => "SUCCESS", + BackupCreateStatusResponseStatus.FAILED => "FAILED", + BackupCreateStatusResponseStatus.CANCELED => "CANCELED", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BackupCreateStatusResponseStatus? ToEnum(string value) + { + return value switch + { + "STARTED" => BackupCreateStatusResponseStatus.STARTED, + "TRANSFERRING" => BackupCreateStatusResponseStatus.TRANSFERRING, + "TRANSFERRED" => BackupCreateStatusResponseStatus.TRANSFERRED, + "SUCCESS" => BackupCreateStatusResponseStatus.SUCCESS, + "FAILED" => BackupCreateStatusResponseStatus.FAILED, + "CANCELED" => BackupCreateStatusResponseStatus.CANCELED, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupListResponseItem.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupListResponseItem.g.cs new file mode 100644 index 0000000..8b7b356 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupListResponseItem.g.cs @@ -0,0 +1,42 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class BackupListResponseItem + { + /// + /// The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// destination path of backup files proper to selected backend + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// The list of classes for which the existed backup process + /// + [global::System.Text.Json.Serialization.JsonPropertyName("classes")] + public global::System.Collections.Generic.IList? Classes { get; set; } + + /// + /// status of backup process + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.BackupListResponseItemStatusJsonConverter))] + public global::Weaviate.BackupListResponseItemStatus? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupListResponseItemStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupListResponseItemStatus.g.cs new file mode 100644 index 0000000..7d30da3 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupListResponseItemStatus.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// status of backup process + /// + public enum BackupListResponseItemStatus + { + /// + /// + /// + STARTED, + /// + /// + /// + TRANSFERRING, + /// + /// + /// + TRANSFERRED, + /// + /// + /// + SUCCESS, + /// + /// + /// + FAILED, + /// + /// + /// + CANCELED, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BackupListResponseItemStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BackupListResponseItemStatus value) + { + return value switch + { + BackupListResponseItemStatus.STARTED => "STARTED", + BackupListResponseItemStatus.TRANSFERRING => "TRANSFERRING", + BackupListResponseItemStatus.TRANSFERRED => "TRANSFERRED", + BackupListResponseItemStatus.SUCCESS => "SUCCESS", + BackupListResponseItemStatus.FAILED => "FAILED", + BackupListResponseItemStatus.CANCELED => "CANCELED", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BackupListResponseItemStatus? ToEnum(string value) + { + return value switch + { + "STARTED" => BackupListResponseItemStatus.STARTED, + "TRANSFERRING" => BackupListResponseItemStatus.TRANSFERRING, + "TRANSFERRED" => BackupListResponseItemStatus.TRANSFERRED, + "SUCCESS" => BackupListResponseItemStatus.SUCCESS, + "FAILED" => BackupListResponseItemStatus.FAILED, + "CANCELED" => BackupListResponseItemStatus.CANCELED, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreRequest.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreRequest.g.cs new file mode 100644 index 0000000..3c013ea --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreRequest.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Request body for restoring a backup for a set of classes + /// + public sealed partial class BackupRestoreRequest + { + /// + /// Backup custom configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("config")] + public global::Weaviate.RestoreConfig? Config { get; set; } + + /// + /// List of collections to include in the backup restoration process. If not set, all collections are included. Cannot be used together with `exclude`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("include")] + public global::System.Collections.Generic.IList? Include { get; set; } + + /// + /// List of collections to exclude from the backup restoration process. If not set, all collections are included. Cannot be used together with `include`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exclude")] + public global::System.Collections.Generic.IList? Exclude { get; set; } + + /// + /// Allows overriding the node names stored in the backup with different ones. Useful when restoring backups to a different environment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_mapping")] + public global::Weaviate.BackupRestoreRequestNodeMapping? NodeMapping { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreRequestNodeMapping.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreRequestNodeMapping.g.cs new file mode 100644 index 0000000..9978651 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreRequestNodeMapping.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Allows overriding the node names stored in the backup with different ones. Useful when restoring backups to a different environment. + /// + public sealed partial class BackupRestoreRequestNodeMapping + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreResponse.g.cs new file mode 100644 index 0000000..d17369d --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreResponse.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The definition of a backup restore response body + /// + public sealed partial class BackupRestoreResponse + { + /// + /// The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// The list of classes for which the backup restoration process was started + /// + [global::System.Text.Json.Serialization.JsonPropertyName("classes")] + public global::System.Collections.Generic.IList? Classes { get; set; } + + /// + /// Backup backend name e.g. filesystem, gcs, s3. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("backend")] + public string? Backend { get; set; } + + /// + /// destination path of backup files proper to selected backend + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// error message if restoration failed + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + + /// + /// phase of backup restoration process
+ /// Default Value: STARTED + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.BackupRestoreResponseStatusJsonConverter))] + public global::Weaviate.BackupRestoreResponseStatus? Status { get; set; } = global::Weaviate.BackupRestoreResponseStatus.STARTED; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreResponseStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreResponseStatus.g.cs new file mode 100644 index 0000000..c11743c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreResponseStatus.g.cs @@ -0,0 +1,70 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// phase of backup restoration process
+ /// Default Value: STARTED + ///
+ public enum BackupRestoreResponseStatus + { + /// + /// + /// + STARTED, + /// + /// + /// + TRANSFERRING, + /// + /// + /// + TRANSFERRED, + /// + /// + /// + SUCCESS, + /// + /// + /// + FAILED, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BackupRestoreResponseStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BackupRestoreResponseStatus value) + { + return value switch + { + BackupRestoreResponseStatus.STARTED => "STARTED", + BackupRestoreResponseStatus.TRANSFERRING => "TRANSFERRING", + BackupRestoreResponseStatus.TRANSFERRED => "TRANSFERRED", + BackupRestoreResponseStatus.SUCCESS => "SUCCESS", + BackupRestoreResponseStatus.FAILED => "FAILED", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BackupRestoreResponseStatus? ToEnum(string value) + { + return value switch + { + "STARTED" => BackupRestoreResponseStatus.STARTED, + "TRANSFERRING" => BackupRestoreResponseStatus.TRANSFERRING, + "TRANSFERRED" => BackupRestoreResponseStatus.TRANSFERRED, + "SUCCESS" => BackupRestoreResponseStatus.SUCCESS, + "FAILED" => BackupRestoreResponseStatus.FAILED, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreStatusResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreStatusResponse.g.cs new file mode 100644 index 0000000..dc6e996 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreStatusResponse.g.cs @@ -0,0 +1,49 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The definition of a backup restore metadata + /// + public sealed partial class BackupRestoreStatusResponse + { + /// + /// The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// Backup backend name e.g. filesystem, gcs, s3. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("backend")] + public string? Backend { get; set; } + + /// + /// destination path of backup files proper to selected backup backend + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// error message if restoration failed + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + + /// + /// phase of backup restoration process
+ /// Default Value: STARTED + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.BackupRestoreStatusResponseStatusJsonConverter))] + public global::Weaviate.BackupRestoreStatusResponseStatus? Status { get; set; } = global::Weaviate.BackupRestoreStatusResponseStatus.STARTED; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreStatusResponseStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreStatusResponseStatus.g.cs new file mode 100644 index 0000000..836ab93 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BackupRestoreStatusResponseStatus.g.cs @@ -0,0 +1,70 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// phase of backup restoration process
+ /// Default Value: STARTED + ///
+ public enum BackupRestoreStatusResponseStatus + { + /// + /// + /// + STARTED, + /// + /// + /// + TRANSFERRING, + /// + /// + /// + TRANSFERRED, + /// + /// + /// + SUCCESS, + /// + /// + /// + FAILED, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BackupRestoreStatusResponseStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BackupRestoreStatusResponseStatus value) + { + return value switch + { + BackupRestoreStatusResponseStatus.STARTED => "STARTED", + BackupRestoreStatusResponseStatus.TRANSFERRING => "TRANSFERRING", + BackupRestoreStatusResponseStatus.TRANSFERRED => "TRANSFERRED", + BackupRestoreStatusResponseStatus.SUCCESS => "SUCCESS", + BackupRestoreStatusResponseStatus.FAILED => "FAILED", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BackupRestoreStatusResponseStatus? ToEnum(string value) + { + return value switch + { + "STARTED" => BackupRestoreStatusResponseStatus.STARTED, + "TRANSFERRING" => BackupRestoreStatusResponseStatus.TRANSFERRING, + "TRANSFERRED" => BackupRestoreStatusResponseStatus.TRANSFERRED, + "SUCCESS" => BackupRestoreStatusResponseStatus.SUCCESS, + "FAILED" => BackupRestoreStatusResponseStatus.FAILED, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDelete.g.cs new file mode 100644 index 0000000..cda74fe --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDelete.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class BatchDelete + { + /// + /// Outlines how to find the objects to be deleted. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("match")] + public global::Weaviate.BatchDeleteMatch? Match { get; set; } + + /// + /// Controls the verbosity of the output.
+ /// Default Value: minimal + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("output")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.BatchDeleteOutputJsonConverter))] + public global::Weaviate.BatchDeleteOutput? Output { get; set; } = global::Weaviate.BatchDeleteOutput.Minimal; + + /// + /// If true, the call will show which objects would be matched using the specified filter without deleting any objects. <br/><br/>Depending on the configured verbosity, you will either receive a count of affected objects, or a list of IDs.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] + public bool? DryRun { get; set; } = false; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteMatch.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteMatch.g.cs new file mode 100644 index 0000000..6bdab0f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteMatch.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Outlines how to find the objects to be deleted. + /// + public sealed partial class BatchDeleteMatch + { + /// + /// Class (name) which objects will be deleted.
+ /// Example: City + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("class")] + public string? Class { get; set; } + + /// + /// Filter search results using a where filter + /// + [global::System.Text.Json.Serialization.JsonPropertyName("where")] + public global::Weaviate.WhereFilter? Where { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteOutput.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteOutput.g.cs new file mode 100644 index 0000000..af04f47 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteOutput.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Controls the verbosity of the output.
+ /// Default Value: minimal + ///
+ public enum BatchDeleteOutput + { + /// + /// + /// + Minimal, + /// + /// + /// + Verbose, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BatchDeleteOutputExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BatchDeleteOutput value) + { + return value switch + { + BatchDeleteOutput.Minimal => "minimal", + BatchDeleteOutput.Verbose => "verbose", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BatchDeleteOutput? ToEnum(string value) + { + return value switch + { + "minimal" => BatchDeleteOutput.Minimal, + "verbose" => BatchDeleteOutput.Verbose, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponse.g.cs new file mode 100644 index 0000000..9557524 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponse.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Delete Objects response. + /// + public sealed partial class BatchDeleteResponse + { + /// + /// Outlines how to find the objects to be deleted. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("match")] + public global::Weaviate.BatchDeleteResponseMatch? Match { get; set; } + + /// + /// Controls the verbosity of the output.
+ /// Default Value: minimal + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("output")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.BatchDeleteResponseOutputJsonConverter))] + public global::Weaviate.BatchDeleteResponseOutput? Output { get; set; } = global::Weaviate.BatchDeleteResponseOutput.Minimal; + + /// + /// If true, objects will not be deleted yet, but merely listed. Defaults to false.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("dryRun")] + public bool? DryRun { get; set; } = false; + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("results")] + public global::Weaviate.BatchDeleteResponseResults? Results { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseMatch.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseMatch.g.cs new file mode 100644 index 0000000..a3396b7 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseMatch.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Outlines how to find the objects to be deleted. + /// + public sealed partial class BatchDeleteResponseMatch + { + /// + /// Class (name) which objects will be deleted.
+ /// Example: City + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("class")] + public string? Class { get; set; } + + /// + /// Filter search results using a where filter + /// + [global::System.Text.Json.Serialization.JsonPropertyName("where")] + public global::Weaviate.WhereFilter? Where { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseOutput.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseOutput.g.cs new file mode 100644 index 0000000..e8e1c55 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseOutput.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Controls the verbosity of the output.
+ /// Default Value: minimal + ///
+ public enum BatchDeleteResponseOutput + { + /// + /// + /// + Minimal, + /// + /// + /// + Verbose, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BatchDeleteResponseOutputExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BatchDeleteResponseOutput value) + { + return value switch + { + BatchDeleteResponseOutput.Minimal => "minimal", + BatchDeleteResponseOutput.Verbose => "verbose", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BatchDeleteResponseOutput? ToEnum(string value) + { + return value switch + { + "minimal" => BatchDeleteResponseOutput.Minimal, + "verbose" => BatchDeleteResponseOutput.Verbose, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResults.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResults.g.cs new file mode 100644 index 0000000..3766446 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResults.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class BatchDeleteResponseResults + { + /// + /// How many objects were matched by the filter. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("matches")] + public double? Matches { get; set; } + + /// + /// The most amount of objects that can be deleted in a single query, equals QUERY_MAXIMUM_RESULTS. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("limit")] + public double? Limit { get; set; } + + /// + /// How many objects were successfully deleted in this round. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("successful")] + public double? Successful { get; set; } + + /// + /// How many objects should have been deleted but could not be deleted. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("failed")] + public double? Failed { get; set; } + + /// + /// With output set to "minimal" only objects with error occurred will the be described. Successfully deleted objects would be omitted. Output set to "verbose" will list all of the objets with their respective statuses. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("objects")] + public global::System.Collections.Generic.IList? Objects { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResultsObject.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResultsObject.g.cs new file mode 100644 index 0000000..2af01ba --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResultsObject.g.cs @@ -0,0 +1,36 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Results for this specific Object. + /// + public sealed partial class BatchDeleteResponseResultsObject + { + /// + /// ID of the Object. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public global::System.Guid? Id { get; set; } + + /// + /// Default Value: SUCCESS + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.BatchDeleteResponseResultsObjectStatusJsonConverter))] + public global::Weaviate.BatchDeleteResponseResultsObjectStatus? Status { get; set; } = global::Weaviate.BatchDeleteResponseResultsObjectStatus.SUCCESS; + + /// + /// An error response given by Weaviate end-points. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("errors")] + public global::Weaviate.ErrorResponse? Errors { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResultsObjectStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResultsObjectStatus.g.cs new file mode 100644 index 0000000..2b44565 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchDeleteResponseResultsObjectStatus.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: SUCCESS + /// + public enum BatchDeleteResponseResultsObjectStatus + { + /// + /// + /// + SUCCESS, + /// + /// + /// + DRYRUN, + /// + /// + /// + FAILED, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BatchDeleteResponseResultsObjectStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BatchDeleteResponseResultsObjectStatus value) + { + return value switch + { + BatchDeleteResponseResultsObjectStatus.SUCCESS => "SUCCESS", + BatchDeleteResponseResultsObjectStatus.DRYRUN => "DRYRUN", + BatchDeleteResponseResultsObjectStatus.FAILED => "FAILED", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BatchDeleteResponseResultsObjectStatus? ToEnum(string value) + { + return value switch + { + "SUCCESS" => BatchDeleteResponseResultsObjectStatus.SUCCESS, + "DRYRUN" => BatchDeleteResponseResultsObjectStatus.DRYRUN, + "FAILED" => BatchDeleteResponseResultsObjectStatus.FAILED, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateConsistencyLevel.g.cs new file mode 100644 index 0000000..f5e1922 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum BatchObjectsCreateConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BatchObjectsCreateConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BatchObjectsCreateConsistencyLevel value) + { + return value switch + { + BatchObjectsCreateConsistencyLevel.ONE => "ONE", + BatchObjectsCreateConsistencyLevel.QUORUM => "QUORUM", + BatchObjectsCreateConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BatchObjectsCreateConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => BatchObjectsCreateConsistencyLevel.ONE, + "QUORUM" => BatchObjectsCreateConsistencyLevel.QUORUM, + "ALL" => BatchObjectsCreateConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateRequest.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateRequest.g.cs new file mode 100644 index 0000000..996a622 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateRequest.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class BatchObjectsCreateRequest + { + /// + /// Define which fields need to be returned. Default value is ALL + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fields")] + public global::System.Collections.Generic.IList? Fields { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("objects")] + public global::System.Collections.Generic.IList? Objects { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateRequestField.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateRequestField.g.cs new file mode 100644 index 0000000..b8fd273 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsCreateRequestField.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: ALL + /// + public enum BatchObjectsCreateRequestField + { + /// + /// + /// + ALL, + /// + /// + /// + Class, + /// + /// + /// + Schema, + /// + /// + /// + Id, + /// + /// + /// + CreationTimeUnix, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BatchObjectsCreateRequestFieldExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BatchObjectsCreateRequestField value) + { + return value switch + { + BatchObjectsCreateRequestField.ALL => "ALL", + BatchObjectsCreateRequestField.Class => "class", + BatchObjectsCreateRequestField.Schema => "schema", + BatchObjectsCreateRequestField.Id => "id", + BatchObjectsCreateRequestField.CreationTimeUnix => "creationTimeUnix", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BatchObjectsCreateRequestField? ToEnum(string value) + { + return value switch + { + "ALL" => BatchObjectsCreateRequestField.ALL, + "class" => BatchObjectsCreateRequestField.Class, + "schema" => BatchObjectsCreateRequestField.Schema, + "id" => BatchObjectsCreateRequestField.Id, + "creationTimeUnix" => BatchObjectsCreateRequestField.CreationTimeUnix, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsDeleteConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsDeleteConsistencyLevel.g.cs new file mode 100644 index 0000000..f1cf37a --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchObjectsDeleteConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum BatchObjectsDeleteConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BatchObjectsDeleteConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BatchObjectsDeleteConsistencyLevel value) + { + return value switch + { + BatchObjectsDeleteConsistencyLevel.ONE => "ONE", + BatchObjectsDeleteConsistencyLevel.QUORUM => "QUORUM", + BatchObjectsDeleteConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BatchObjectsDeleteConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => BatchObjectsDeleteConsistencyLevel.ONE, + "QUORUM" => BatchObjectsDeleteConsistencyLevel.QUORUM, + "ALL" => BatchObjectsDeleteConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchReference.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReference.g.cs new file mode 100644 index 0000000..7007fd7 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReference.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class BatchReference + { + /// + /// Long-form beacon-style URI to identify the source of the cross-ref including the property name. Should be in the form of weaviate://localhost/<kinds>/<uuid>/<className>/<propertyName>, where <kinds> must be one of 'objects', 'objects' and <className> and <propertyName> must represent the cross-ref property of source class to be used.
+ /// Example: weaviate://localhost/Zoo/a5d09582-4239-4702-81c9-92a6e0122bb4/hasAnimals + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public string? From { get; set; } + + /// + /// Short-form URI to point to the cross-ref. Should be in the form of weaviate://localhost/<uuid> for the example of a local cross-ref to an object
+ /// Example: weaviate://localhost/97525810-a9a5-4eb0-858a-71449aeb007f + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("to")] + public string? To { get; set; } + + /// + /// Name of the reference tenant. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tenant")] + public string? Tenant { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponse.g.cs new file mode 100644 index 0000000..2bb51e7 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponse.g.cs @@ -0,0 +1,214 @@ +using System.Linq; +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public readonly partial struct BatchReferenceResponse : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Weaviate.BatchReference? Value1 { get; init; } +#else + public global::Weaviate.BatchReference? Value1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] +#endif + public bool IsValue1 => Value1 != null; + + /// + /// + /// + public static implicit operator BatchReferenceResponse(global::Weaviate.BatchReference value) => new BatchReferenceResponse(value); + + /// + /// + /// + public static implicit operator global::Weaviate.BatchReference?(BatchReferenceResponse @this) => @this.Value1; + + /// + /// + /// + public BatchReferenceResponse(global::Weaviate.BatchReference? value) + { + Value1 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Weaviate.BatchReferenceResponseVariant2? Value2 { get; init; } +#else + public global::Weaviate.BatchReferenceResponseVariant2? Value2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] +#endif + public bool IsValue2 => Value2 != null; + + /// + /// + /// + public static implicit operator BatchReferenceResponse(global::Weaviate.BatchReferenceResponseVariant2 value) => new BatchReferenceResponse(value); + + /// + /// + /// + public static implicit operator global::Weaviate.BatchReferenceResponseVariant2?(BatchReferenceResponse @this) => @this.Value2; + + /// + /// + /// + public BatchReferenceResponse(global::Weaviate.BatchReferenceResponseVariant2? value) + { + Value2 = value; + } + + /// + /// + /// + public BatchReferenceResponse( + global::Weaviate.BatchReference? value1, + global::Weaviate.BatchReferenceResponseVariant2? value2 + ) + { + Value1 = value1; + Value2 = value2; + } + + /// + /// + /// + public object? Object => + Value2 as object ?? + Value1 as object + ; + + /// + /// + /// + public bool Validate() + { + return IsValue1 && IsValue2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? value1 = null, + global::System.Func? value2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1 && value1 != null) + { + return value1(Value1!); + } + else if (IsValue2 && value2 != null) + { + return value2(Value2!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? value1 = null, + global::System.Action? value2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1) + { + value1?.Invoke(Value1!); + } + else if (IsValue2) + { + value2?.Invoke(Value2!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Value1, + typeof(global::Weaviate.BatchReference), + Value2, + typeof(global::Weaviate.BatchReferenceResponseVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + return fields.Aggregate(offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(BatchReferenceResponse other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) + ; + } + + /// + /// + /// + public static bool operator ==(BatchReferenceResponse obj1, BatchReferenceResponse obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(BatchReferenceResponse obj1, BatchReferenceResponse obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is BatchReferenceResponse o && Equals(o); + } + } +} diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2.g.cs new file mode 100644 index 0000000..c67c6cf --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class BatchReferenceResponseVariant2 + { + /// + /// Results for this specific reference. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("result")] + public global::Weaviate.BatchReferenceResponseVariant2Result? Result { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2Result.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2Result.g.cs new file mode 100644 index 0000000..6526816 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2Result.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Results for this specific reference. + /// + public sealed partial class BatchReferenceResponseVariant2Result + { + /// + /// Default Value: SUCCESS + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.BatchReferenceResponseVariant2ResultStatusJsonConverter))] + public global::Weaviate.BatchReferenceResponseVariant2ResultStatus? Status { get; set; } = global::Weaviate.BatchReferenceResponseVariant2ResultStatus.SUCCESS; + + /// + /// An error response given by Weaviate end-points. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("errors")] + public global::Weaviate.ErrorResponse? Errors { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2ResultStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2ResultStatus.g.cs new file mode 100644 index 0000000..b8c80d2 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferenceResponseVariant2ResultStatus.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: SUCCESS + /// + public enum BatchReferenceResponseVariant2ResultStatus + { + /// + /// + /// + SUCCESS, + /// + /// + /// + PENDING, + /// + /// + /// + FAILED, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BatchReferenceResponseVariant2ResultStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BatchReferenceResponseVariant2ResultStatus value) + { + return value switch + { + BatchReferenceResponseVariant2ResultStatus.SUCCESS => "SUCCESS", + BatchReferenceResponseVariant2ResultStatus.PENDING => "PENDING", + BatchReferenceResponseVariant2ResultStatus.FAILED => "FAILED", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BatchReferenceResponseVariant2ResultStatus? ToEnum(string value) + { + return value switch + { + "SUCCESS" => BatchReferenceResponseVariant2ResultStatus.SUCCESS, + "PENDING" => BatchReferenceResponseVariant2ResultStatus.PENDING, + "FAILED" => BatchReferenceResponseVariant2ResultStatus.FAILED, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferencesCreateConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferencesCreateConsistencyLevel.g.cs new file mode 100644 index 0000000..296c95c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchReferencesCreateConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum BatchReferencesCreateConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BatchReferencesCreateConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BatchReferencesCreateConsistencyLevel value) + { + return value switch + { + BatchReferencesCreateConsistencyLevel.ONE => "ONE", + BatchReferencesCreateConsistencyLevel.QUORUM => "QUORUM", + BatchReferencesCreateConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BatchReferencesCreateConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => BatchReferencesCreateConsistencyLevel.ONE, + "QUORUM" => BatchReferencesCreateConsistencyLevel.QUORUM, + "ALL" => BatchReferencesCreateConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.BatchStats.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.BatchStats.g.cs new file mode 100644 index 0000000..d99b9d6 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.BatchStats.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The summary of a nodes batch queue congestion status. + /// + public sealed partial class BatchStats + { + /// + /// How many objects are currently in the batch queue. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("queueLength")] + public double? QueueLength { get; set; } + + /// + /// How many objects are approximately processed from the batch queue per second. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ratePerSecond")] + public double? RatePerSecond { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.C11yExtension.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.C11yExtension.g.cs new file mode 100644 index 0000000..f7b8bf2 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.C11yExtension.g.cs @@ -0,0 +1,36 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// A resource describing an extension to the contextinoary, containing both the identifier and the definition of the extension + /// + public sealed partial class C11yExtension + { + /// + /// The new concept you want to extend. Must be an all-lowercase single word, or a space delimited compound word. Examples: 'foobarium', 'my custom concept'
+ /// Example: foobarium + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("concept")] + public string? Concept { get; set; } + + /// + /// A list of space-delimited words or a sentence describing what the custom concept is about. Avoid using the custom concept itself. An Example definition for the custom concept 'foobarium': would be 'a naturally occurring element which can only be seen by programmers' + /// + [global::System.Text.Json.Serialization.JsonPropertyName("definition")] + public string? Definition { get; set; } + + /// + /// Weight of the definition of the new concept where 1='override existing definition entirely' and 0='ignore custom definition'. Note that if the custom concept is not present in the contextionary yet, the weight cannot be less than 1. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("weight")] + public float? Weight { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.C11yNearestNeighbor.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.C11yNearestNeighbor.g.cs new file mode 100644 index 0000000..44c9472 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.C11yNearestNeighbor.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class C11yNearestNeighbor + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("word")] + public string? Word { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("distance")] + public float? Distance { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.C11yVectorBasedQuestionItem.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.C11yVectorBasedQuestionItem.g.cs new file mode 100644 index 0000000..a6ec442 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.C11yVectorBasedQuestionItem.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class C11yVectorBasedQuestionItem + { + /// + /// Vectorized classname. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("classVectors")] + public global::System.Collections.Generic.IList? ClassVectors { get; set; } + + /// + /// Vectorized properties. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("classProps")] + public global::System.Collections.Generic.IList? ClassProps { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.C11yVectorBasedQuestionItemClassProp.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.C11yVectorBasedQuestionItemClassProp.g.cs new file mode 100644 index 0000000..078ce2c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.C11yVectorBasedQuestionItemClassProp.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class C11yVectorBasedQuestionItemClassProp + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("propsVectors")] + public global::System.Collections.Generic.IList? PropsVectors { get; set; } + + /// + /// String with valuename. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + public string? Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponse.g.cs new file mode 100644 index 0000000..0d8fa9b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponse.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// An array of available words and contexts. + /// + public sealed partial class C11yWordsResponse + { + /// + /// Weighted results for all words + /// + [global::System.Text.Json.Serialization.JsonPropertyName("concatenatedWord")] + public global::Weaviate.C11yWordsResponseConcatenatedWord? ConcatenatedWord { get; set; } + + /// + /// Weighted results for per individual word + /// + [global::System.Text.Json.Serialization.JsonPropertyName("individualWords")] + public global::System.Collections.Generic.IList? IndividualWords { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseConcatenatedWord.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseConcatenatedWord.g.cs new file mode 100644 index 0000000..425d717 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseConcatenatedWord.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Weighted results for all words + /// + public sealed partial class C11yWordsResponseConcatenatedWord + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("concatenatedWord")] + public string? ConcatenatedWord { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("singleWords")] + public global::System.Collections.Generic.IList? SingleWords { get; set; } + + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("concatenatedVector")] + public global::System.Collections.Generic.IList? ConcatenatedVector { get; set; } + + /// + /// C11y function to show the nearest neighbors to a word. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("concatenatedNearestNeighbors")] + public global::System.Collections.Generic.IList? ConcatenatedNearestNeighbors { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseConcatenatedWordSingleWord.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseConcatenatedWordSingleWord.g.cs new file mode 100644 index 0000000..1ef05f8 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseConcatenatedWordSingleWord.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class C11yWordsResponseConcatenatedWordSingleWord + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseIndividualWord.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseIndividualWord.g.cs new file mode 100644 index 0000000..d1289b0 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseIndividualWord.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class C11yWordsResponseIndividualWord + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("word")] + public string? Word { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("present")] + public bool? Present { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("info")] + public global::Weaviate.C11yWordsResponseIndividualWordInfo? Info { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseIndividualWordInfo.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseIndividualWordInfo.g.cs new file mode 100644 index 0000000..2a4081d --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.C11yWordsResponseIndividualWordInfo.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class C11yWordsResponseIndividualWordInfo + { + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vector")] + public global::System.Collections.Generic.IList? Vector { get; set; } + + /// + /// C11y function to show the nearest neighbors to a word. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("nearestNeighbors")] + public global::System.Collections.Generic.IList? NearestNeighbors { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Class.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Class.g.cs new file mode 100644 index 0000000..dcafcd5 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Class.g.cs @@ -0,0 +1,93 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class Class + { + /// + /// Name of the collection (a.k.a. class). Multiple words should be concatenated in CamelCase, e.g. `ArticleAuthor`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("class")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Class1 { get; set; } + + /// + /// Configure named vectors (https://weaviate.io/developers/weaviate/config-refs/schema/multi-vector). Either use this field or `vectorizer`, `vectorIndexType`, and `vectorIndexConfig` fields. Available from `v1.24.0`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vectorConfig")] + public global::Weaviate.ClassVectorConfig? VectorConfig { get; set; } + + /// + /// Name of the vector index to use, eg. (HNSW)
+ /// Default Value: hnsw + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("vectorIndexType")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.VectorIndexTypeJsonConverter))] + public global::Weaviate.VectorIndexType? VectorIndexType { get; set; } = global::Weaviate.VectorIndexType.Hnsw; + + /// + /// Vector index type specific settings. See the [vector index configuration page](https://weaviate.io/developers/weaviate/config-refs/schema/vector-index) for more details + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vectorIndexConfig")] + public global::Weaviate.VectorIndexConfig? VectorIndexConfig { get; set; } + + /// + /// Specify how the index should be sharded and distributed in the cluster + /// + [global::System.Text.Json.Serialization.JsonPropertyName("shardingConfig")] + public global::Weaviate.ShardingConfig? ShardingConfig { get; set; } + + /// + /// Configure how replication is executed in a cluster + /// + [global::System.Text.Json.Serialization.JsonPropertyName("replicationConfig")] + public global::Weaviate.ReplicationConfig? ReplicationConfig { get; set; } + + /// + /// Configure the inverted index built into Weaviate + /// + [global::System.Text.Json.Serialization.JsonPropertyName("invertedIndexConfig")] + public global::Weaviate.InvertedIndexConfig? InvertedIndexConfig { get; set; } + + /// + /// Configuration related to multi-tenancy within a class + /// + [global::System.Text.Json.Serialization.JsonPropertyName("multiTenancyConfig")] + public global::Weaviate.MultiTenancyConfig? MultiTenancyConfig { get; set; } + + /// + /// Vectorizer for this collection (e.g. `text2vec-transformers`). This will override any cluster-wide default set by an environment variable. <br/><br/>If `none`, you must import a vector with each object yourself. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vectorizer")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.VectorizerJsonConverter))] + public global::Weaviate.Vectorizer? Vectorizer { get; set; } + + /// + /// Configuration specific to modules in a collection context. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("moduleConfig")] + public global::Weaviate.ClassModuleConfig? ModuleConfig { get; set; } + + /// + /// Description of the collection for documentation purposes. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Define properties of the collection. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("properties")] + public global::System.Collections.Generic.IList? Properties { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ClassModuleConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ClassModuleConfig.g.cs new file mode 100644 index 0000000..d01faee --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ClassModuleConfig.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Configuration specific to modules in a collection context. + /// + public sealed partial class ClassModuleConfig + { + /// + /// E.g. `text2vec-transformers`, `text2vec-openai`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("")] + public global::Weaviate.CollectionModuleConfig? x_moduleName_ { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ClassVectorConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ClassVectorConfig.g.cs new file mode 100644 index 0000000..eb5c5b6 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ClassVectorConfig.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Configure named vectors (https://weaviate.io/developers/weaviate/config-refs/schema/multi-vector). Either use this field or `vectorizer`, `vectorIndexType`, and `vectorIndexConfig` fields. Available from `v1.24.0`. + /// + public sealed partial class ClassVectorConfig + { + /// + /// Configuration of each named vector. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("")] + public global::Weaviate.VectorConfig? x_vectorName_ { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Classification.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Classification.g.cs new file mode 100644 index 0000000..1fc2fbf --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Classification.g.cs @@ -0,0 +1,84 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Manage classifications, trigger them and view status of past classifications. + /// + public sealed partial class Classification + { + /// + /// ID to uniquely identify this classification run
+ /// Example: ee722219-b8ec-4db1-8f8d-5150bb1a9e0c + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public global::System.Guid? Id { get; set; } + + /// + /// class (name) which is used in this classification
+ /// Example: City + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("class")] + public string? Class { get; set; } + + /// + /// which ref-property to set as part of the classification
+ /// Example: [inCountry] + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("classifyProperties")] + public global::System.Collections.Generic.IList? ClassifyProperties { get; set; } + + /// + /// base the text-based classification on these fields (of type text)
+ /// Example: [description] + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("basedOnProperties")] + public global::System.Collections.Generic.IList? BasedOnProperties { get; set; } + + /// + /// status of this classification
+ /// Example: running + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.ClassificationStatusJsonConverter))] + public global::Weaviate.ClassificationStatus? Status { get; set; } + + /// + /// Additional information to a specific classification + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::Weaviate.ClassificationMeta? Meta { get; set; } + + /// + /// which algorithm to use for classifications + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// classification-type specific settings + /// + [global::System.Text.Json.Serialization.JsonPropertyName("settings")] + public global::Weaviate.ClassificationSettings? Settings { get; set; } + + /// + /// error message if status == failed
+ /// Example: classify xzy: something went wrong + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filters")] + public global::Weaviate.ClassificationFilters? Filters { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationFilters.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationFilters.g.cs new file mode 100644 index 0000000..b1236ad --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationFilters.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class ClassificationFilters + { + /// + /// Filter search results using a where filter + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sourceWhere")] + public global::Weaviate.WhereFilter? SourceWhere { get; set; } + + /// + /// Filter search results using a where filter + /// + [global::System.Text.Json.Serialization.JsonPropertyName("trainingSetWhere")] + public global::Weaviate.WhereFilter? TrainingSetWhere { get; set; } + + /// + /// Filter search results using a where filter + /// + [global::System.Text.Json.Serialization.JsonPropertyName("targetWhere")] + public global::Weaviate.WhereFilter? TargetWhere { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationMeta.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationMeta.g.cs new file mode 100644 index 0000000..c70a9ae --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationMeta.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Additional information to a specific classification + /// + public sealed partial class ClassificationMeta + { + /// + /// time when this classification was started + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started")] + public global::System.DateTime? Started { get; set; } + + /// + /// time when this classification finished + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed")] + public global::System.DateTime? Completed { get; set; } + + /// + /// number of objects which were taken into consideration for classification
+ /// Example: 147 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("count")] + public int? Count { get; set; } + + /// + /// number of objects successfully classified
+ /// Example: 140 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("countSucceeded")] + public int? CountSucceeded { get; set; } + + /// + /// number of objects which could not be classified - see error message for details
+ /// Example: 7 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("countFailed")] + public int? CountFailed { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationSettings.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationSettings.g.cs new file mode 100644 index 0000000..988bbf9 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationSettings.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// classification-type specific settings + /// + public sealed partial class ClassificationSettings + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationStatus.g.cs new file mode 100644 index 0000000..4c98890 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ClassificationStatus.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// status of this classification
+ /// Example: running + ///
+ public enum ClassificationStatus + { + /// + /// + /// + Running, + /// + /// + /// + Completed, + /// + /// + /// + Failed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ClassificationStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ClassificationStatus value) + { + return value switch + { + ClassificationStatus.Running => "running", + ClassificationStatus.Completed => "completed", + ClassificationStatus.Failed => "failed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ClassificationStatus? ToEnum(string value) + { + return value switch + { + "running" => ClassificationStatus.Running, + "completed" => ClassificationStatus.Completed, + "failed" => ClassificationStatus.Failed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ClusterStatisticsResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ClusterStatisticsResponse.g.cs new file mode 100644 index 0000000..6d6faf9 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ClusterStatisticsResponse.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The cluster statistics of all of the Weaviate nodes + /// + public sealed partial class ClusterStatisticsResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("statistics")] + public global::System.Collections.Generic.IList? Statistics { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronized")] + public bool? Synchronized { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.CollectionModuleConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.CollectionModuleConfig.g.cs new file mode 100644 index 0000000..a7a4716 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.CollectionModuleConfig.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// E.g. `text2vec-transformers`, `text2vec-openai`. + /// + public sealed partial class CollectionModuleConfig + { + /// + /// Whether the name of the collection is used in determining the object vector.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("vectorizeClassName")] + public bool? VectorizeClassName { get; set; } = true; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.DataTypeItem.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.DataTypeItem.g.cs new file mode 100644 index 0000000..73159a9 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.DataTypeItem.g.cs @@ -0,0 +1,135 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public enum DataTypeItem + { + /// + /// + /// + String, + /// + /// + /// + StringArray, + /// + /// + /// + Object, + /// + /// + /// + ObjectArray, + /// + /// + /// + Int, + /// + /// + /// + IntArray, + /// + /// + /// + Number, + /// + /// + /// + NumberArray, + /// + /// + /// + Date, + /// + /// + /// + DateArray, + /// + /// + /// + Uuid, + /// + /// + /// + UuidArray, + /// + /// + /// + GeoCoordinates, + /// + /// + /// + PhoneNumber, + /// + /// + /// + Blob, + /// + /// + /// + x_crossReference_, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DataTypeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DataTypeItem value) + { + return value switch + { + DataTypeItem.String => "string", + DataTypeItem.StringArray => "string[]", + DataTypeItem.Object => "object", + DataTypeItem.ObjectArray => "object[]", + DataTypeItem.Int => "int", + DataTypeItem.IntArray => "int[]", + DataTypeItem.Number => "number", + DataTypeItem.NumberArray => "number[]", + DataTypeItem.Date => "date", + DataTypeItem.DateArray => "date[]", + DataTypeItem.Uuid => "uuid", + DataTypeItem.UuidArray => "uuid[]", + DataTypeItem.GeoCoordinates => "geoCoordinates", + DataTypeItem.PhoneNumber => "phoneNumber", + DataTypeItem.Blob => "blob", + DataTypeItem.x_crossReference_ => "", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DataTypeItem? ToEnum(string value) + { + return value switch + { + "string" => DataTypeItem.String, + "string[]" => DataTypeItem.StringArray, + "object" => DataTypeItem.Object, + "object[]" => DataTypeItem.ObjectArray, + "int" => DataTypeItem.Int, + "int[]" => DataTypeItem.IntArray, + "number" => DataTypeItem.Number, + "number[]" => DataTypeItem.NumberArray, + "date" => DataTypeItem.Date, + "date[]" => DataTypeItem.DateArray, + "uuid" => DataTypeItem.Uuid, + "uuid[]" => DataTypeItem.UuidArray, + "geoCoordinates" => DataTypeItem.GeoCoordinates, + "phoneNumber" => DataTypeItem.PhoneNumber, + "blob" => DataTypeItem.Blob, + "" => DataTypeItem.x_crossReference_, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Deprecation.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Deprecation.g.cs new file mode 100644 index 0000000..fb7d6a0 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Deprecation.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class Deprecation + { + /// + /// The id that uniquely identifies this particular deprecations (mostly used internally) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// Whether the problematic API functionality is deprecated (planned to be removed) or already removed + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public string? Status { get; set; } + + /// + /// Describes which API is effected, usually one of: REST, GraphQL + /// + [global::System.Text.Json.Serialization.JsonPropertyName("apiType")] + public string? ApiType { get; set; } + + /// + /// What this deprecation is about + /// + [global::System.Text.Json.Serialization.JsonPropertyName("msg")] + public string? Msg { get; set; } + + /// + /// User-required object to not be affected by the (planned) removal + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mitigation")] + public string? Mitigation { get; set; } + + /// + /// The deprecation was introduced in this version + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sinceVersion")] + public string? SinceVersion { get; set; } + + /// + /// A best-effort guess of which upcoming version will remove the feature entirely + /// + [global::System.Text.Json.Serialization.JsonPropertyName("plannedRemovalVersion")] + public string? PlannedRemovalVersion { get; set; } + + /// + /// If the feature has already been removed, it was removed in this version + /// + [global::System.Text.Json.Serialization.JsonPropertyName("removedIn")] + public string? RemovedIn { get; set; } + + /// + /// If the feature has already been removed, it was removed at this timestamp + /// + [global::System.Text.Json.Serialization.JsonPropertyName("removedTime")] + public global::System.DateTime? RemovedTime { get; set; } + + /// + /// The deprecation was introduced in this version + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sinceTime")] + public global::System.DateTime? SinceTime { get; set; } + + /// + /// The locations within the specified API affected by this deprecation + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locations")] + public global::System.Collections.Generic.IList? Locations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ErrorResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ErrorResponse.g.cs new file mode 100644 index 0000000..9bc5491 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ErrorResponse.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// An error response given by Weaviate end-points. + /// + public sealed partial class ErrorResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public global::System.Collections.Generic.IList? Error { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ErrorResponseErrorItem.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ErrorResponseErrorItem.g.cs new file mode 100644 index 0000000..cb6c774 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ErrorResponseErrorItem.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class ErrorResponseErrorItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.GeoCoordinates.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.GeoCoordinates.g.cs new file mode 100644 index 0000000..20e13ae --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.GeoCoordinates.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class GeoCoordinates + { + /// + /// The latitude of the point on earth in decimal form + /// + [global::System.Text.Json.Serialization.JsonPropertyName("latitude")] + public float? Latitude { get; set; } + + /// + /// The longitude of the point on earth in decimal form + /// + [global::System.Text.Json.Serialization.JsonPropertyName("longitude")] + public float? Longitude { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLError.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLError.g.cs new file mode 100644 index 0000000..8190db0 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLError.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// An error response caused by a GraphQL query. + /// + public sealed partial class GraphQLError + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locations")] + public global::System.Collections.Generic.IList? Locations { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public global::System.Collections.Generic.IList? Path { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLErrorLocation.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLErrorLocation.g.cs new file mode 100644 index 0000000..9c35c41 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLErrorLocation.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class GraphQLErrorLocation + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("column")] + public long? Column { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("line")] + public long? Line { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLQuery.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLQuery.g.cs new file mode 100644 index 0000000..4e0127b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLQuery.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// GraphQL query based on: http://facebook.github.io/graphql/. + /// + public sealed partial class GraphQLQuery + { + /// + /// The name of the operation if multiple exist in the query. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("operationName")] + public string? OperationName { get; set; } + + /// + /// Query based on GraphQL syntax. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("query")] + public string? Query { get; set; } + + /// + /// Additional variables for the query. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("variables")] + public global::Weaviate.GraphQLQueryVariables? Variables { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLQueryVariables.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLQueryVariables.g.cs new file mode 100644 index 0000000..a7cf43a --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLQueryVariables.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Additional variables for the query. + /// + public sealed partial class GraphQLQueryVariables + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLResponse.g.cs new file mode 100644 index 0000000..2eadfa2 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLResponse.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// GraphQL based response: http://facebook.github.io/graphql/. + /// + public sealed partial class GraphQLResponse + { + /// + /// GraphQL data object. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::Weaviate.GraphQLResponseData? Data { get; set; } + + /// + /// Array with errors. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("errors")] + public global::System.Collections.Generic.IList? Errors { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLResponseData.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLResponseData.g.cs new file mode 100644 index 0000000..5541af0 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.GraphQLResponseData.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// GraphQL data object. + /// + public sealed partial class GraphQLResponseData + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.InvertedIndexConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.InvertedIndexConfig.g.cs new file mode 100644 index 0000000..5d2f33e --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.InvertedIndexConfig.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Configure the inverted index built into Weaviate + /// + public sealed partial class InvertedIndexConfig + { + /// + /// Asynchronous index clean up happens every n seconds
+ /// Default Value: 60 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("cleanupIntervalSeconds")] + public double? CleanupIntervalSeconds { get; set; } = 60; + + /// + /// tuning parameters for the BM25 algorithm + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bm25")] + public global::Weaviate.BM25Config? Bm25 { get; set; } + + /// + /// fine-grained control over stopword list usage + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stopwords")] + public global::Weaviate.StopwordConfig? Stopwords { get; set; } + + /// + /// Index each object by its internal timestamps
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("indexTimestamps")] + public bool? IndexTimestamps { get; set; } = false; + + /// + /// Index each object with the null state
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("indexNullState")] + public bool? IndexNullState { get; set; } = false; + + /// + /// Index length of properties
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("indexPropertyLength")] + public bool? IndexPropertyLength { get; set; } = false; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.JsonObject.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.JsonObject.g.cs new file mode 100644 index 0000000..025f8d1 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.JsonObject.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// JSON object value. + /// + public sealed partial class JsonObject + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Link.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Link.g.cs new file mode 100644 index 0000000..d1ee736 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Link.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class Link + { + /// + /// target of the link + /// + [global::System.Text.Json.Serialization.JsonPropertyName("href")] + public string? Href { get; set; } + + /// + /// relationship if both resources are related, e.g. 'next', 'previous', 'parent', etc. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rel")] + public string? Rel { get; set; } + + /// + /// human readable name of the resource group + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// weaviate documentation about this resource group + /// + [global::System.Text.Json.Serialization.JsonPropertyName("documentationHref")] + public string? DocumentationHref { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Meta.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Meta.g.cs new file mode 100644 index 0000000..0f6828c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Meta.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Contains meta information of the current Weaviate instance. + /// + public sealed partial class Meta + { + /// + /// The url of the host. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hostname")] + public string? Hostname { get; set; } + + /// + /// The Weaviate server version. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("version")] + public string? Version { get; set; } + + /// + /// Module-specific meta information. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("modules")] + public global::Weaviate.MetaModules? Modules { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.MetaModules.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.MetaModules.g.cs new file mode 100644 index 0000000..9dbee2d --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.MetaModules.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Module-specific meta information. + /// + public sealed partial class MetaModules + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.MultiTenancyConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.MultiTenancyConfig.g.cs new file mode 100644 index 0000000..ada82a9 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.MultiTenancyConfig.g.cs @@ -0,0 +1,36 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Configuration related to multi-tenancy within a class + /// + public sealed partial class MultiTenancyConfig + { + /// + /// Whether or not multi-tenancy is enabled for this class
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("enabled")] + public bool? Enabled { get; set; } = false; + + /// + /// Nonexistent tenants should (not) be created implicitly + /// + [global::System.Text.Json.Serialization.JsonPropertyName("autoTenantCreation")] + public bool? AutoTenantCreation { get; set; } + + /// + /// Existing tenants should (not) be turned HOT implicitly when they are accessed and in another activity status + /// + [global::System.Text.Json.Serialization.JsonPropertyName("autoTenantActivation")] + public bool? AutoTenantActivation { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.NestedProperty.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.NestedProperty.g.cs new file mode 100644 index 0000000..4e6295c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.NestedProperty.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class NestedProperty + { + /// + /// The name of the property. Multiple words should be concatenated in camelCase, e.g. `nameOfAuthor`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Data type of the property. If it starts with a capital (for example Person), may be a reference to another type. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dataType")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList DataType { get; set; } + + /// + /// Description of the property for documentation purposes. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Whether to include this property in the filterable, Roaring Bitmap index. If `false`, this property cannot be used in `where` filters. <br/><br/>Unrelated to vectorization behavior.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("indexFilterable")] + public bool? IndexFilterable { get; set; } = true; + + /// + /// Whether to include this property in the searchable, inverted index. Applicable only to properties of data type text and text[]. If `false`, this property cannot be used in `bm25` or `hybrid` searches. <br/><br/>Unrelated to vectorization behavior.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("indexSearchable")] + public bool? IndexSearchable { get; set; } = true; + + /// + /// Whether to include this property in the filterable, range-based Roaring Bitmap inverted index. Defaults to false. Provides better performance for range queries compared to filterable index in large datasets. Applicable only to properties of data type int, number, date. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("indexRangeFilters")] + public bool? IndexRangeFilters { get; set; } + + /// + /// Set tokenization of the property as separate words or whole field. Applies to text and text[] data types.
+ /// Default Value: word + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("tokenization")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.TokenizationJsonConverter))] + public global::Weaviate.Tokenization? Tokenization { get; set; } = global::Weaviate.Tokenization.Word; + + /// + /// Specify the properties of the nested object(s) as required. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("nestedProperties")] + public global::System.Collections.Generic.IList? NestedProperties { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatus.g.cs new file mode 100644 index 0000000..db9899f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatus.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The definition of a node shard status response body + /// + public sealed partial class NodeShardStatus + { + /// + /// The name of the shard. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// The name of shard's class. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("class")] + public string? Class { get; set; } + + /// + /// The number of objects in shard. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("objectCount")] + public double? ObjectCount { get; set; } + + /// + /// The status of the vector indexing process. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vectorIndexingStatus")] + public string? VectorIndexingStatus { get; set; } + + /// + /// The status of vector compression/quantization. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("compressed")] + public bool? Compressed { get; set; } + + /// + /// The length of the vector indexing queue. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vectorQueueLength")] + public double? VectorQueueLength { get; set; } + + /// + /// The load status of the shard. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("loaded")] + public bool? Loaded { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatusCompressed.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatusCompressed.g.cs new file mode 100644 index 0000000..b45efaf --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatusCompressed.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The status of vector compression/quantization. + /// + public sealed partial class NodeShardStatusCompressed + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatusVectorIndexingStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatusVectorIndexingStatus.g.cs new file mode 100644 index 0000000..5570502 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.NodeShardStatusVectorIndexingStatus.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The status of the vector indexing process. + /// + public sealed partial class NodeShardStatusVectorIndexingStatus + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.NodeStats.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.NodeStats.g.cs new file mode 100644 index 0000000..dacb807 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.NodeStats.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The summary of Weaviate's statistics. + /// + public sealed partial class NodeStats + { + /// + /// The count of Weaviate's shards. To see this value, set `output` to `verbose`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("shardCount")] + public double? ShardCount { get; set; } + + /// + /// The total number of objects in DB. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("objectCount")] + public double? ObjectCount { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.NodeStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.NodeStatus.g.cs new file mode 100644 index 0000000..f3863fb --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.NodeStatus.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The definition of a backup node status response body + /// + public sealed partial class NodeStatus + { + /// + /// The name of the node. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Node's status.
+ /// Default Value: HEALTHY + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.NodeStatusStatusJsonConverter))] + public global::Weaviate.NodeStatusStatus? Status { get; set; } = global::Weaviate.NodeStatusStatus.HEALTHY; + + /// + /// The version of Weaviate. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("version")] + public string? Version { get; set; } + + /// + /// The gitHash of Weaviate. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gitHash")] + public string? GitHash { get; set; } + + /// + /// The summary of Weaviate's statistics. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stats")] + public global::Weaviate.NodeStats? Stats { get; set; } + + /// + /// The summary of a nodes batch queue congestion status. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("batchStats")] + public global::Weaviate.BatchStats? BatchStats { get; set; } + + /// + /// The list of the shards with it's statistics. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("shards")] + public global::System.Collections.Generic.IList? Shards { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.NodeStatusStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.NodeStatusStatus.g.cs new file mode 100644 index 0000000..ce3d174 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.NodeStatusStatus.g.cs @@ -0,0 +1,70 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Node's status.
+ /// Default Value: HEALTHY + ///
+ public enum NodeStatusStatus + { + /// + /// + /// + HEALTHY, + /// + /// + /// + UNHEALTHY, + /// + /// + /// + UNAVAILABLE, + /// + /// + /// + TIMEOUT, + /// + /// + /// + INDEXING, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class NodeStatusStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this NodeStatusStatus value) + { + return value switch + { + NodeStatusStatus.HEALTHY => "HEALTHY", + NodeStatusStatus.UNHEALTHY => "UNHEALTHY", + NodeStatusStatus.UNAVAILABLE => "UNAVAILABLE", + NodeStatusStatus.TIMEOUT => "TIMEOUT", + NodeStatusStatus.INDEXING => "INDEXING", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static NodeStatusStatus? ToEnum(string value) + { + return value switch + { + "HEALTHY" => NodeStatusStatus.HEALTHY, + "UNHEALTHY" => NodeStatusStatus.UNHEALTHY, + "UNAVAILABLE" => NodeStatusStatus.UNAVAILABLE, + "TIMEOUT" => NodeStatusStatus.TIMEOUT, + "INDEXING" => NodeStatusStatus.INDEXING, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.NodesGetClassOutput.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.NodesGetClassOutput.g.cs new file mode 100644 index 0000000..f225a0e --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.NodesGetClassOutput.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: minimal + /// + public enum NodesGetClassOutput + { + /// + /// + /// + Minimal, + /// + /// + /// + Verbose, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class NodesGetClassOutputExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this NodesGetClassOutput value) + { + return value switch + { + NodesGetClassOutput.Minimal => "minimal", + NodesGetClassOutput.Verbose => "verbose", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static NodesGetClassOutput? ToEnum(string value) + { + return value switch + { + "minimal" => NodesGetClassOutput.Minimal, + "verbose" => NodesGetClassOutput.Verbose, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.NodesGetOutput.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.NodesGetOutput.g.cs new file mode 100644 index 0000000..18cec3b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.NodesGetOutput.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: minimal + /// + public enum NodesGetOutput + { + /// + /// + /// + Minimal, + /// + /// + /// + Verbose, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class NodesGetOutputExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this NodesGetOutput value) + { + return value switch + { + NodesGetOutput.Minimal => "minimal", + NodesGetOutput.Verbose => "verbose", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static NodesGetOutput? ToEnum(string value) + { + return value switch + { + "minimal" => NodesGetOutput.Minimal, + "verbose" => NodesGetOutput.Verbose, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.NodesStatusResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.NodesStatusResponse.g.cs new file mode 100644 index 0000000..80384d3 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.NodesStatusResponse.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The status of all of the Weaviate nodes + /// + public sealed partial class NodesStatusResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("nodes")] + public global::System.Collections.Generic.IList? Nodes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Object.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Object.g.cs new file mode 100644 index 0000000..2ef5af6 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Object.g.cs @@ -0,0 +1,77 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class Object + { + /// + /// The object collection name. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("class")] + public string? Class { get; set; } + + /// + /// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vectorWeights")] + public global::Weaviate.VectorWeights? VectorWeights { get; set; } + + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("properties")] + public global::Weaviate.PropertySchema? Properties { get; set; } + + /// + /// ID of the object. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public global::System.Guid? Id { get; set; } + + /// + /// (Response only) Timestamp of creation of this object in milliseconds since epoch UTC. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("creationTimeUnix")] + public long? CreationTimeUnix { get; set; } + + /// + /// (Response only) Timestamp of the last object update in milliseconds since epoch UTC. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastUpdateTimeUnix")] + public long? LastUpdateTimeUnix { get; set; } + + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vector")] + public global::System.Collections.Generic.IList? Vector { get; set; } + + /// + /// A map of named vectors for multi-vector representations. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vectors")] + public global::Weaviate.Vectors? Vectors { get; set; } + + /// + /// Name of the tenant. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tenant")] + public string? Tenant { get; set; } + + /// + /// (Response only) Additional meta information about a single object. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("additional")] + public global::Weaviate.AdditionalProperties? Additional { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassDeleteConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassDeleteConsistencyLevel.g.cs new file mode 100644 index 0000000..a2a010a --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassDeleteConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsClassDeleteConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsClassDeleteConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsClassDeleteConsistencyLevel value) + { + return value switch + { + ObjectsClassDeleteConsistencyLevel.ONE => "ONE", + ObjectsClassDeleteConsistencyLevel.QUORUM => "QUORUM", + ObjectsClassDeleteConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsClassDeleteConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsClassDeleteConsistencyLevel.ONE, + "QUORUM" => ObjectsClassDeleteConsistencyLevel.QUORUM, + "ALL" => ObjectsClassDeleteConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassGetConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassGetConsistencyLevel.g.cs new file mode 100644 index 0000000..731ae1d --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassGetConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsClassGetConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsClassGetConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsClassGetConsistencyLevel value) + { + return value switch + { + ObjectsClassGetConsistencyLevel.ONE => "ONE", + ObjectsClassGetConsistencyLevel.QUORUM => "QUORUM", + ObjectsClassGetConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsClassGetConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsClassGetConsistencyLevel.ONE, + "QUORUM" => ObjectsClassGetConsistencyLevel.QUORUM, + "ALL" => ObjectsClassGetConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassHeadConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassHeadConsistencyLevel.g.cs new file mode 100644 index 0000000..9ebb9f6 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassHeadConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsClassHeadConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsClassHeadConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsClassHeadConsistencyLevel value) + { + return value switch + { + ObjectsClassHeadConsistencyLevel.ONE => "ONE", + ObjectsClassHeadConsistencyLevel.QUORUM => "QUORUM", + ObjectsClassHeadConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsClassHeadConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsClassHeadConsistencyLevel.ONE, + "QUORUM" => ObjectsClassHeadConsistencyLevel.QUORUM, + "ALL" => ObjectsClassHeadConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassPatchConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassPatchConsistencyLevel.g.cs new file mode 100644 index 0000000..a69664c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassPatchConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsClassPatchConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsClassPatchConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsClassPatchConsistencyLevel value) + { + return value switch + { + ObjectsClassPatchConsistencyLevel.ONE => "ONE", + ObjectsClassPatchConsistencyLevel.QUORUM => "QUORUM", + ObjectsClassPatchConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsClassPatchConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsClassPatchConsistencyLevel.ONE, + "QUORUM" => ObjectsClassPatchConsistencyLevel.QUORUM, + "ALL" => ObjectsClassPatchConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassPutConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassPutConsistencyLevel.g.cs new file mode 100644 index 0000000..9cde91b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassPutConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsClassPutConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsClassPutConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsClassPutConsistencyLevel value) + { + return value switch + { + ObjectsClassPutConsistencyLevel.ONE => "ONE", + ObjectsClassPutConsistencyLevel.QUORUM => "QUORUM", + ObjectsClassPutConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsClassPutConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsClassPutConsistencyLevel.ONE, + "QUORUM" => ObjectsClassPutConsistencyLevel.QUORUM, + "ALL" => ObjectsClassPutConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesCreateConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesCreateConsistencyLevel.g.cs new file mode 100644 index 0000000..bbe5568 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesCreateConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsClassReferencesCreateConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsClassReferencesCreateConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsClassReferencesCreateConsistencyLevel value) + { + return value switch + { + ObjectsClassReferencesCreateConsistencyLevel.ONE => "ONE", + ObjectsClassReferencesCreateConsistencyLevel.QUORUM => "QUORUM", + ObjectsClassReferencesCreateConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsClassReferencesCreateConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsClassReferencesCreateConsistencyLevel.ONE, + "QUORUM" => ObjectsClassReferencesCreateConsistencyLevel.QUORUM, + "ALL" => ObjectsClassReferencesCreateConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesDeleteConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesDeleteConsistencyLevel.g.cs new file mode 100644 index 0000000..48a8766 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesDeleteConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsClassReferencesDeleteConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsClassReferencesDeleteConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsClassReferencesDeleteConsistencyLevel value) + { + return value switch + { + ObjectsClassReferencesDeleteConsistencyLevel.ONE => "ONE", + ObjectsClassReferencesDeleteConsistencyLevel.QUORUM => "QUORUM", + ObjectsClassReferencesDeleteConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsClassReferencesDeleteConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsClassReferencesDeleteConsistencyLevel.ONE, + "QUORUM" => ObjectsClassReferencesDeleteConsistencyLevel.QUORUM, + "ALL" => ObjectsClassReferencesDeleteConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesPutConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesPutConsistencyLevel.g.cs new file mode 100644 index 0000000..2b0a93b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsClassReferencesPutConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsClassReferencesPutConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsClassReferencesPutConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsClassReferencesPutConsistencyLevel value) + { + return value switch + { + ObjectsClassReferencesPutConsistencyLevel.ONE => "ONE", + ObjectsClassReferencesPutConsistencyLevel.QUORUM => "QUORUM", + ObjectsClassReferencesPutConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsClassReferencesPutConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsClassReferencesPutConsistencyLevel.ONE, + "QUORUM" => ObjectsClassReferencesPutConsistencyLevel.QUORUM, + "ALL" => ObjectsClassReferencesPutConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsCreateConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsCreateConsistencyLevel.g.cs new file mode 100644 index 0000000..93a6428 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsCreateConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsCreateConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsCreateConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsCreateConsistencyLevel value) + { + return value switch + { + ObjectsCreateConsistencyLevel.ONE => "ONE", + ObjectsCreateConsistencyLevel.QUORUM => "QUORUM", + ObjectsCreateConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsCreateConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsCreateConsistencyLevel.ONE, + "QUORUM" => ObjectsCreateConsistencyLevel.QUORUM, + "ALL" => ObjectsCreateConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsDeleteConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsDeleteConsistencyLevel.g.cs new file mode 100644 index 0000000..26ac559 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsDeleteConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsDeleteConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsDeleteConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsDeleteConsistencyLevel value) + { + return value switch + { + ObjectsDeleteConsistencyLevel.ONE => "ONE", + ObjectsDeleteConsistencyLevel.QUORUM => "QUORUM", + ObjectsDeleteConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsDeleteConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsDeleteConsistencyLevel.ONE, + "QUORUM" => ObjectsDeleteConsistencyLevel.QUORUM, + "ALL" => ObjectsDeleteConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponse.g.cs new file mode 100644 index 0000000..5a82bff --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponse.g.cs @@ -0,0 +1,265 @@ +using System.Linq; +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public readonly partial struct ObjectsGetResponse : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Weaviate.Object? Value1 { get; init; } +#else + public global::Weaviate.Object? Value1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] +#endif + public bool IsValue1 => Value1 != null; + + /// + /// + /// + public static implicit operator ObjectsGetResponse(global::Weaviate.Object value) => new ObjectsGetResponse(value); + + /// + /// + /// + public static implicit operator global::Weaviate.Object?(ObjectsGetResponse @this) => @this.Value1; + + /// + /// + /// + public ObjectsGetResponse(global::Weaviate.Object? value) + { + Value1 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Weaviate.ObjectsGetResponseVariant2? Value2 { get; init; } +#else + public global::Weaviate.ObjectsGetResponseVariant2? Value2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] +#endif + public bool IsValue2 => Value2 != null; + + /// + /// + /// + public static implicit operator ObjectsGetResponse(global::Weaviate.ObjectsGetResponseVariant2 value) => new ObjectsGetResponse(value); + + /// + /// + /// + public static implicit operator global::Weaviate.ObjectsGetResponseVariant2?(ObjectsGetResponse @this) => @this.Value2; + + /// + /// + /// + public ObjectsGetResponse(global::Weaviate.ObjectsGetResponseVariant2? value) + { + Value2 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Weaviate.ObjectsGetResponseVariant3? Value3 { get; init; } +#else + public global::Weaviate.ObjectsGetResponseVariant3? Value3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value3))] +#endif + public bool IsValue3 => Value3 != null; + + /// + /// + /// + public static implicit operator ObjectsGetResponse(global::Weaviate.ObjectsGetResponseVariant3 value) => new ObjectsGetResponse(value); + + /// + /// + /// + public static implicit operator global::Weaviate.ObjectsGetResponseVariant3?(ObjectsGetResponse @this) => @this.Value3; + + /// + /// + /// + public ObjectsGetResponse(global::Weaviate.ObjectsGetResponseVariant3? value) + { + Value3 = value; + } + + /// + /// + /// + public ObjectsGetResponse( + global::Weaviate.Object? value1, + global::Weaviate.ObjectsGetResponseVariant2? value2, + global::Weaviate.ObjectsGetResponseVariant3? value3 + ) + { + Value1 = value1; + Value2 = value2; + Value3 = value3; + } + + /// + /// + /// + public object? Object => + Value3 as object ?? + Value2 as object ?? + Value1 as object + ; + + /// + /// + /// + public bool Validate() + { + return IsValue1 && IsValue2 && IsValue3; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? value1 = null, + global::System.Func? value2 = null, + global::System.Func? value3 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1 && value1 != null) + { + return value1(Value1!); + } + else if (IsValue2 && value2 != null) + { + return value2(Value2!); + } + else if (IsValue3 && value3 != null) + { + return value3(Value3!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? value1 = null, + global::System.Action? value2 = null, + global::System.Action? value3 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsValue1) + { + value1?.Invoke(Value1!); + } + else if (IsValue2) + { + value2?.Invoke(Value2!); + } + else if (IsValue3) + { + value3?.Invoke(Value3!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Value1, + typeof(global::Weaviate.Object), + Value2, + typeof(global::Weaviate.ObjectsGetResponseVariant2), + Value3, + typeof(global::Weaviate.ObjectsGetResponseVariant3), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + return fields.Aggregate(offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ObjectsGetResponse other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) + ; + } + + /// + /// + /// + public static bool operator ==(ObjectsGetResponse obj1, ObjectsGetResponse obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ObjectsGetResponse obj1, ObjectsGetResponse obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ObjectsGetResponse o && Equals(o); + } + } +} diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant2.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant2.g.cs new file mode 100644 index 0000000..5d81c37 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant2.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class ObjectsGetResponseVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deprecations")] + public global::System.Collections.Generic.IList? Deprecations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3.g.cs new file mode 100644 index 0000000..a1de754 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class ObjectsGetResponseVariant3 + { + /// + /// Results for this specific Object. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("result")] + public global::Weaviate.ObjectsGetResponseVariant3Result? Result { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3Result.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3Result.g.cs new file mode 100644 index 0000000..d656c13 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3Result.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Results for this specific Object. + /// + public sealed partial class ObjectsGetResponseVariant3Result + { + /// + /// Default Value: SUCCESS + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.ObjectsGetResponseVariant3ResultStatusJsonConverter))] + public global::Weaviate.ObjectsGetResponseVariant3ResultStatus? Status { get; set; } = global::Weaviate.ObjectsGetResponseVariant3ResultStatus.SUCCESS; + + /// + /// An error response given by Weaviate end-points. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("errors")] + public global::Weaviate.ErrorResponse? Errors { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3ResultStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3ResultStatus.g.cs new file mode 100644 index 0000000..bba5af7 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsGetResponseVariant3ResultStatus.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: SUCCESS + /// + public enum ObjectsGetResponseVariant3ResultStatus + { + /// + /// + /// + SUCCESS, + /// + /// + /// + PENDING, + /// + /// + /// + FAILED, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsGetResponseVariant3ResultStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsGetResponseVariant3ResultStatus value) + { + return value switch + { + ObjectsGetResponseVariant3ResultStatus.SUCCESS => "SUCCESS", + ObjectsGetResponseVariant3ResultStatus.PENDING => "PENDING", + ObjectsGetResponseVariant3ResultStatus.FAILED => "FAILED", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsGetResponseVariant3ResultStatus? ToEnum(string value) + { + return value switch + { + "SUCCESS" => ObjectsGetResponseVariant3ResultStatus.SUCCESS, + "PENDING" => ObjectsGetResponseVariant3ResultStatus.PENDING, + "FAILED" => ObjectsGetResponseVariant3ResultStatus.FAILED, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsListOrder.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsListOrder.g.cs new file mode 100644 index 0000000..a38a48c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsListOrder.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public enum ObjectsListOrder + { + /// + /// `sort=author_name,title&order=desc,asc`. + /// + Asc, + /// + /// `sort=author_name,title&order=desc,asc`. + /// + Desc, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsListOrderExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsListOrder value) + { + return value switch + { + ObjectsListOrder.Asc => "asc", + ObjectsListOrder.Desc => "desc", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsListOrder? ToEnum(string value) + { + return value switch + { + "asc" => ObjectsListOrder.Asc, + "desc" => ObjectsListOrder.Desc, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsListResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsListResponse.g.cs new file mode 100644 index 0000000..5e92649 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsListResponse.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// List of Objects. + /// + public sealed partial class ObjectsListResponse + { + /// + /// The actual list of Objects. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("objects")] + public global::System.Collections.Generic.IList? Objects { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deprecations")] + public global::System.Collections.Generic.IList? Deprecations { get; set; } + + /// + /// The total number of Objects for the query. The number of items in a response may be smaller due to paging. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("totalResults")] + public long? TotalResults { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsPatchConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsPatchConsistencyLevel.g.cs new file mode 100644 index 0000000..e4e94fe --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsPatchConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsPatchConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsPatchConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsPatchConsistencyLevel value) + { + return value switch + { + ObjectsPatchConsistencyLevel.ONE => "ONE", + ObjectsPatchConsistencyLevel.QUORUM => "QUORUM", + ObjectsPatchConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsPatchConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsPatchConsistencyLevel.ONE, + "QUORUM" => ObjectsPatchConsistencyLevel.QUORUM, + "ALL" => ObjectsPatchConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsUpdateConsistencyLevel.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsUpdateConsistencyLevel.g.cs new file mode 100644 index 0000000..9f0ac3f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ObjectsUpdateConsistencyLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Default Value: QUORUM + /// + public enum ObjectsUpdateConsistencyLevel + { + /// + /// + /// + ONE, + /// + /// + /// + QUORUM, + /// + /// + /// + ALL, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ObjectsUpdateConsistencyLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ObjectsUpdateConsistencyLevel value) + { + return value switch + { + ObjectsUpdateConsistencyLevel.ONE => "ONE", + ObjectsUpdateConsistencyLevel.QUORUM => "QUORUM", + ObjectsUpdateConsistencyLevel.ALL => "ALL", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ObjectsUpdateConsistencyLevel? ToEnum(string value) + { + return value switch + { + "ONE" => ObjectsUpdateConsistencyLevel.ONE, + "QUORUM" => ObjectsUpdateConsistencyLevel.QUORUM, + "ALL" => ObjectsUpdateConsistencyLevel.ALL, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentAction.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentAction.g.cs new file mode 100644 index 0000000..4388eb0 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentAction.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Either a JSONPatch document as defined by RFC 6902 (from, op, path, value), or a merge document (RFC 7396). + /// + public sealed partial class PatchDocumentAction + { + /// + /// A string containing a JSON Pointer value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public string? From { get; set; } + + /// + /// The operation to be performed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("op")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.PatchDocumentActionOpJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Weaviate.PatchDocumentActionOp Op { get; set; } + + /// + /// A JSON-Pointer. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// The value to be used within the operations. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + public global::Weaviate.PatchDocumentActionValue? Value { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("merge")] + public global::Weaviate.Object? Merge { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentActionOp.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentActionOp.g.cs new file mode 100644 index 0000000..a88207f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentActionOp.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The operation to be performed. + /// + public enum PatchDocumentActionOp + { + /// + /// + /// + Add, + /// + /// + /// + Remove, + /// + /// + /// + Replace, + /// + /// + /// + Move, + /// + /// + /// + Copy, + /// + /// + /// + Test, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class PatchDocumentActionOpExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this PatchDocumentActionOp value) + { + return value switch + { + PatchDocumentActionOp.Add => "add", + PatchDocumentActionOp.Remove => "remove", + PatchDocumentActionOp.Replace => "replace", + PatchDocumentActionOp.Move => "move", + PatchDocumentActionOp.Copy => "copy", + PatchDocumentActionOp.Test => "test", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static PatchDocumentActionOp? ToEnum(string value) + { + return value switch + { + "add" => PatchDocumentActionOp.Add, + "remove" => PatchDocumentActionOp.Remove, + "replace" => PatchDocumentActionOp.Replace, + "move" => PatchDocumentActionOp.Move, + "copy" => PatchDocumentActionOp.Copy, + "test" => PatchDocumentActionOp.Test, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentActionValue.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentActionValue.g.cs new file mode 100644 index 0000000..c7355ba --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentActionValue.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The value to be used within the operations. + /// + public sealed partial class PatchDocumentActionValue + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObject.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObject.g.cs new file mode 100644 index 0000000..92e054c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObject.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Either a JSONPatch document as defined by RFC 6902 (from, op, path, value), or a merge document (RFC 7396). + /// + public sealed partial class PatchDocumentObject + { + /// + /// A string containing a JSON Pointer value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public string? From { get; set; } + + /// + /// The operation to be performed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("op")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.PatchDocumentObjectOpJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Weaviate.PatchDocumentObjectOp Op { get; set; } + + /// + /// A JSON-Pointer. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// The value to be used within the operations. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + public global::Weaviate.PatchDocumentObjectValue? Value { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("merge")] + public global::Weaviate.Object? Merge { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObjectOp.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObjectOp.g.cs new file mode 100644 index 0000000..7787670 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObjectOp.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The operation to be performed. + /// + public enum PatchDocumentObjectOp + { + /// + /// + /// + Add, + /// + /// + /// + Remove, + /// + /// + /// + Replace, + /// + /// + /// + Move, + /// + /// + /// + Copy, + /// + /// + /// + Test, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class PatchDocumentObjectOpExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this PatchDocumentObjectOp value) + { + return value switch + { + PatchDocumentObjectOp.Add => "add", + PatchDocumentObjectOp.Remove => "remove", + PatchDocumentObjectOp.Replace => "replace", + PatchDocumentObjectOp.Move => "move", + PatchDocumentObjectOp.Copy => "copy", + PatchDocumentObjectOp.Test => "test", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static PatchDocumentObjectOp? ToEnum(string value) + { + return value switch + { + "add" => PatchDocumentObjectOp.Add, + "remove" => PatchDocumentObjectOp.Remove, + "replace" => PatchDocumentObjectOp.Replace, + "move" => PatchDocumentObjectOp.Move, + "copy" => PatchDocumentObjectOp.Copy, + "test" => PatchDocumentObjectOp.Test, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObjectValue.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObjectValue.g.cs new file mode 100644 index 0000000..55a0002 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PatchDocumentObjectValue.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The value to be used within the operations. + /// + public sealed partial class PatchDocumentObjectValue + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PeerUpdate.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PeerUpdate.g.cs new file mode 100644 index 0000000..90c705e --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PeerUpdate.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// A single peer in the network. + /// + public sealed partial class PeerUpdate + { + /// + /// The session ID of the peer. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public global::System.Guid? Id { get; set; } + + /// + /// Human readable name. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// The location where the peer is exposed to the internet. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uri")] + public string? Uri { get; set; } + + /// + /// The latest known hash of the peer's schema. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("schemaHash")] + public string? SchemaHash { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PhoneNumber.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PhoneNumber.g.cs new file mode 100644 index 0000000..f6b9087 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PhoneNumber.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class PhoneNumber + { + /// + /// The raw input as the phone number is present in your raw data set. It will be parsed into the standardized formats if valid. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("input")] + public string? Input { get; set; } + + /// + /// Read-only. Parsed result in the international format (e.g. +49 123 ...) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("internationalFormatted")] + public string? InternationalFormatted { get; set; } + + /// + /// Optional. The ISO 3166-1 alpha-2 country code. This is used to figure out the correct countryCode and international format if only a national number (e.g. 0123 4567) is provided + /// + [global::System.Text.Json.Serialization.JsonPropertyName("defaultCountry")] + public string? DefaultCountry { get; set; } + + /// + /// Read-only. The numerical country code (e.g. 49) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("countryCode")] + public double? CountryCode { get; set; } + + /// + /// Read-only. The numerical representation of the national part + /// + [global::System.Text.Json.Serialization.JsonPropertyName("national")] + public double? National { get; set; } + + /// + /// Read-only. Parsed result in the national format (e.g. 0123 456789) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("nationalFormatted")] + public string? NationalFormatted { get; set; } + + /// + /// Read-only. Indicates whether the parsed number is a valid phone number + /// + [global::System.Text.Json.Serialization.JsonPropertyName("valid")] + public bool? Valid { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Principal.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Principal.g.cs new file mode 100644 index 0000000..725cd06 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Principal.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class Principal + { + /// + /// The username that was extracted either from the authentication information + /// + [global::System.Text.Json.Serialization.JsonPropertyName("username")] + public string? Username { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("groups")] + public global::System.Collections.Generic.IList? Groups { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Property.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Property.g.cs new file mode 100644 index 0000000..06b6fe8 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Property.g.cs @@ -0,0 +1,84 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class Property + { + /// + /// Data type of the property. If it starts with a capital (for example Person), may be a reference to another type. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dataType")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList DataType { get; set; } + + /// + /// Description of the property for documentation purposes. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Configuration specific to modules in a property context. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("moduleConfig")] + public global::Weaviate.PropertyModuleConfig? ModuleConfig { get; set; } + + /// + /// The name of the property. Multiple words should be concatenated in camelCase, e.g. `nameOfAuthor`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// (Deprecated) Whether to include this property in the inverted index. If `false`, this property cannot be used in `where` filters, `bm25` or `hybrid` search. <br/><br/>Unrelated to vectorization behavior (deprecated as of v1.19; use indexFilterable or/and indexSearchable instead)
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("indexInverted")] + public bool? IndexInverted { get; set; } = true; + + /// + /// Whether to include this property in the filterable, Roaring Bitmap index. If `false`, this property cannot be used in `where` filters. <br/><br/>Unrelated to vectorization behavior.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("indexFilterable")] + public bool? IndexFilterable { get; set; } = true; + + /// + /// Whether to include this property in the searchable, inverted index. Applicable only to properties of data type text and text[]. If `false`, this property cannot be used in `bm25` or `hybrid` searches. <br/><br/>Unrelated to vectorization behavior.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("indexSearchable")] + public bool? IndexSearchable { get; set; } = true; + + /// + /// Whether to include this property in the filterable, range-based Roaring Bitmap inverted index. Defaults to false. Provides better performance for range queries compared to filterable index in large datasets. Applicable only to properties of data type int, number, date. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("indexRangeFilters")] + public bool? IndexRangeFilters { get; set; } + + /// + /// Set tokenization of the property as separate words or whole field. Applies to text and text[] data types.
+ /// Default Value: word + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("tokenization")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.TokenizationJsonConverter))] + public global::Weaviate.Tokenization? Tokenization { get; set; } = global::Weaviate.Tokenization.Word; + + /// + /// The properties of the nested object(s). Applies to object and object[] data types. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("nestedProperties")] + public global::System.Collections.Generic.IList? NestedProperties { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PropertyModuleConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PropertyModuleConfig.g.cs new file mode 100644 index 0000000..5c07b84 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PropertyModuleConfig.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Configuration specific to modules in a property context. + /// + public sealed partial class PropertyModuleConfig + { + /// + /// E.g. `text2vec-transformers`, `text2vec-openai`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("")] + public global::Weaviate.PropertyModuleConfig2? x_moduleName_ { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PropertyModuleConfig2.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PropertyModuleConfig2.g.cs new file mode 100644 index 0000000..038148e --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PropertyModuleConfig2.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// E.g. `text2vec-transformers`, `text2vec-openai`. + /// + public sealed partial class PropertyModuleConfig2 + { + /// + /// If true, the whole property will NOT be included in vectorization.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("skip")] + public bool? Skip { get; set; } = false; + + /// + /// Whether the name of the property is used in determining the object vector.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("vectorizePropertyName")] + public bool? VectorizePropertyName { get; set; } = true; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.PropertySchema.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.PropertySchema.g.cs new file mode 100644 index 0000000..abd5d02 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.PropertySchema.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + public sealed partial class PropertySchema + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.RaftStatistics.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.RaftStatistics.g.cs new file mode 100644 index 0000000..8955e47 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.RaftStatistics.g.cs @@ -0,0 +1,125 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The definition of Raft statistics. + /// + public sealed partial class RaftStatistics + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appliedIndex")] + public string? AppliedIndex { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("commitIndex")] + public string? CommitIndex { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fsmPending")] + public string? FsmPending { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastContact")] + public string? LastContact { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastLogIndex")] + public string? LastLogIndex { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastLogTerm")] + public string? LastLogTerm { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastSnapshotIndex")] + public string? LastSnapshotIndex { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastSnapshotTerm")] + public string? LastSnapshotTerm { get; set; } + + /// + /// Weaviate Raft nodes. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("latestConfiguration")] + public global::Weaviate.RaftStatisticsLatestConfiguration? LatestConfiguration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("latestConfigurationIndex")] + public string? LatestConfigurationIndex { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("numPeers")] + public string? NumPeers { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("protocolVersion")] + public string? ProtocolVersion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("protocolVersionMax")] + public string? ProtocolVersionMax { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("protocolVersionMin")] + public string? ProtocolVersionMin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("snapshotVersionMax")] + public string? SnapshotVersionMax { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("snapshotVersionMin")] + public string? SnapshotVersionMin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + public string? State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("term")] + public string? Term { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.RaftStatisticsLatestConfiguration.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.RaftStatisticsLatestConfiguration.g.cs new file mode 100644 index 0000000..a669933 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.RaftStatisticsLatestConfiguration.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Weaviate Raft nodes. + /// + public sealed partial class RaftStatisticsLatestConfiguration + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ReferenceMetaClassification.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ReferenceMetaClassification.g.cs new file mode 100644 index 0000000..147693a --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ReferenceMetaClassification.g.cs @@ -0,0 +1,77 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// This meta field contains additional info about the classified reference property + /// + public sealed partial class ReferenceMetaClassification + { + /// + /// overall neighbors checked as part of the classification. In most cases this will equal k, but could be lower than k - for example if not enough data was present + /// + [global::System.Text.Json.Serialization.JsonPropertyName("overallCount")] + public double? OverallCount { get; set; } + + /// + /// size of the winning group, a number between 1..k + /// + [global::System.Text.Json.Serialization.JsonPropertyName("winningCount")] + public double? WinningCount { get; set; } + + /// + /// size of the losing group, can be 0 if the winning group size equals k + /// + [global::System.Text.Json.Serialization.JsonPropertyName("losingCount")] + public double? LosingCount { get; set; } + + /// + /// The lowest distance of any neighbor, regardless of whether they were in the winning or losing group + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closestOverallDistance")] + public double? ClosestOverallDistance { get; set; } + + /// + /// deprecated - do not use, to be removed in 0.23.0 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("winningDistance")] + public double? WinningDistance { get; set; } + + /// + /// Mean distance of all neighbors from the winning group + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meanWinningDistance")] + public double? MeanWinningDistance { get; set; } + + /// + /// Closest distance of a neighbor from the winning group + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closestWinningDistance")] + public double? ClosestWinningDistance { get; set; } + + /// + /// The lowest distance of a neighbor in the losing group. Optional. If k equals the size of the winning group, there is no losing group + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closestLosingDistance")] + public double? ClosestLosingDistance { get; set; } + + /// + /// deprecated - do not use, to be removed in 0.23.0 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("losingDistance")] + public double? LosingDistance { get; set; } + + /// + /// Mean distance of all neighbors from the losing group. Optional. If k equals the size of the winning group, there is no losing group. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meanLosingDistance")] + public double? MeanLosingDistance { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ReplicationConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ReplicationConfig.g.cs new file mode 100644 index 0000000..6752bbd --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ReplicationConfig.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Configure how replication is executed in a cluster + /// + public sealed partial class ReplicationConfig + { + /// + /// Number of times a class is replicated
+ /// Default Value: 1 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("factor")] + public int? Factor { get; set; } = 1; + + /// + /// Enable asynchronous replication + /// + [global::System.Text.Json.Serialization.JsonPropertyName("asyncEnabled")] + public bool? AsyncEnabled { get; set; } + + /// + /// Conflict resolution strategy for deleted objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("objectDeletionConflictResolution")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.ReplicationConfigObjectDeletionConflictResolutionJsonConverter))] + public global::Weaviate.ReplicationConfigObjectDeletionConflictResolution? ObjectDeletionConflictResolution { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ReplicationConfigObjectDeletionConflictResolution.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ReplicationConfigObjectDeletionConflictResolution.g.cs new file mode 100644 index 0000000..cf30a23 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ReplicationConfigObjectDeletionConflictResolution.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Conflict resolution strategy for deleted objects + /// + public enum ReplicationConfigObjectDeletionConflictResolution + { + /// + /// + /// + NoAutomatedResolution, + /// + /// + /// + PermanentDeletion, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReplicationConfigObjectDeletionConflictResolutionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReplicationConfigObjectDeletionConflictResolution value) + { + return value switch + { + ReplicationConfigObjectDeletionConflictResolution.NoAutomatedResolution => "NoAutomatedResolution", + ReplicationConfigObjectDeletionConflictResolution.PermanentDeletion => "PermanentDeletion", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReplicationConfigObjectDeletionConflictResolution? ToEnum(string value) + { + return value switch + { + "NoAutomatedResolution" => ReplicationConfigObjectDeletionConflictResolution.NoAutomatedResolution, + "PermanentDeletion" => ReplicationConfigObjectDeletionConflictResolution.PermanentDeletion, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Response.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Response.g.cs new file mode 100644 index 0000000..151682d --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Response.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class Response + { + /// + /// The Location to redirect to + /// + [global::System.Text.Json.Serialization.JsonPropertyName("href")] + public string? Href { get; set; } + + /// + /// OAuth Client ID + /// + [global::System.Text.Json.Serialization.JsonPropertyName("clientId")] + public string? ClientId { get; set; } + + /// + /// OAuth Scopes + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scopes")] + public global::System.Collections.Generic.IList? Scopes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.RestoreConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.RestoreConfig.g.cs new file mode 100644 index 0000000..d8fb3ec --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.RestoreConfig.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Backup custom configuration + /// + public sealed partial class RestoreConfig + { + /// + /// Desired CPU core utilization ranging from 1%-80%
+ /// Default Value: 50 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("CPUPercentage")] + public int? CPUPercentage { get; set; } = 50; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Schema.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Schema.g.cs new file mode 100644 index 0000000..3f0d43b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Schema.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Definitions of semantic schemas (also see: https://github.com/weaviate/weaviate-semantic-schemas). + /// + public sealed partial class Schema + { + /// + /// Semantic classes that are available. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("classes")] + public global::System.Collections.Generic.IList? Classes { get; set; } + + /// + /// Email of the maintainer. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maintainer")] + public string? Maintainer { get; set; } + + /// + /// Name of the schema. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.SchemaClusterStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.SchemaClusterStatus.g.cs new file mode 100644 index 0000000..990356b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.SchemaClusterStatus.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Indicates the health of the schema in a cluster. + /// + public sealed partial class SchemaClusterStatus + { + /// + /// True if the cluster is in sync, false if there is an issue (see error). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("healthy")] + public bool? Healthy { get; set; } + + /// + /// Contains the sync check error if one occurred + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + public string? Error { get; set; } + + /// + /// Hostname of the coordinating node, i.e. the one that received the cluster. This can be useful information if the error message contains phrases such as 'other nodes agree, but local does not', etc. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hostname")] + public string? Hostname { get; set; } + + /// + /// Number of nodes that participated in the sync check + /// + [global::System.Text.Json.Serialization.JsonPropertyName("nodeCount")] + public double? NodeCount { get; set; } + + /// + /// The cluster check at startup can be ignored (to recover from an out-of-sync situation). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ignoreSchemaSync")] + public bool? IgnoreSchemaSync { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.SchemaHistory.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.SchemaHistory.g.cs new file mode 100644 index 0000000..baea706 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.SchemaHistory.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// This is an open object, with OpenAPI Specification 3.0 this will be more detailed. See Weaviate docs for more info. In the future this will become a key/value OR a SingleRef definition. + /// + public sealed partial class SchemaHistory + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ShardStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ShardStatus.g.cs new file mode 100644 index 0000000..2425254 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ShardStatus.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The status of a single shard + /// + public sealed partial class ShardStatus + { + /// + /// Status of the shard + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public string? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ShardStatusGetResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ShardStatusGetResponse.g.cs new file mode 100644 index 0000000..4aa0d65 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ShardStatusGetResponse.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Response body of shard status get request + /// + public sealed partial class ShardStatusGetResponse + { + /// + /// Name of the shard + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Status of the shard + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public string? Status { get; set; } + + /// + /// Size of the vector queue of the shard + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vectorQueueSize")] + public int? VectorQueueSize { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.ShardingConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.ShardingConfig.g.cs new file mode 100644 index 0000000..db255eb --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.ShardingConfig.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Specify how the index should be sharded and distributed in the cluster + /// + public sealed partial class ShardingConfig + { + /// + /// (Defaults to the number of nodes in the cluster.) Controls how many shards should be created for this collection index. The typical setting is that a collection should be distributed across all the nodes in the cluster, but you can explicitly set this value to a lower value. If the `desiredCount` is larger than the amount of physical nodes in the cluster, then some nodes will contain multiple shards. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("desiredCount")] + public int? DesiredCount { get; set; } + + /// + /// Weaviate uses virtual shards. This helps in reducing the amount of data moved when resharding
+ /// Default Value: 128 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("virtualPerPhysical")] + public int? VirtualPerPhysical { get; set; } = 128; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.SingleRef.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.SingleRef.g.cs new file mode 100644 index 0000000..39d9fc8 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.SingleRef.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Either set beacon (direct reference) or set class and schema (concept reference) + /// + public sealed partial class SingleRef + { + /// + /// If using a concept reference (rather than a direct reference), specify the desired class name here + /// + [global::System.Text.Json.Serialization.JsonPropertyName("class")] + public string? Class { get; set; } + + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("schema")] + public global::Weaviate.PropertySchema? Schema { get; set; } + + /// + /// If using a direct reference, specify the URI to point to the cross-ref here. Should be in the form of weaviate://localhost/<uuid> for the example of a local cross-ref to an object + /// + [global::System.Text.Json.Serialization.JsonPropertyName("beacon")] + public string? Beacon { get; set; } + + /// + /// If using a direct reference, this read-only fields provides a link to the referenced resource. If 'origin' is globally configured, an absolute URI is shown - a relative URI otherwise. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("href")] + public string? Href { get; set; } + + /// + /// This meta field contains additional info about the classified reference property + /// + [global::System.Text.Json.Serialization.JsonPropertyName("classification")] + public global::Weaviate.ReferenceMetaClassification? Classification { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Statistics.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Statistics.g.cs new file mode 100644 index 0000000..03b8c58 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Statistics.g.cs @@ -0,0 +1,97 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The definition of node statistics. + /// + public sealed partial class Statistics + { + /// + /// The name of the node. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Node's status.
+ /// Default Value: HEALTHY + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.StatisticsStatusJsonConverter))] + public global::Weaviate.StatisticsStatus? Status { get; set; } = global::Weaviate.StatisticsStatus.HEALTHY; + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bootstrapped")] + public bool? Bootstrapped { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dbLoaded")] + public bool? DbLoaded { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("initialLastAppliedIndex")] + public double? InitialLastAppliedIndex { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastAppliedIndex")] + public double? LastAppliedIndex { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("isVoter")] + public bool? IsVoter { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("leaderId")] + public global::Weaviate.StatisticsLeaderId? LeaderId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("leaderAddress")] + public global::Weaviate.StatisticsLeaderAddress? LeaderAddress { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("open")] + public bool? Open { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ready")] + public bool? Ready { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("candidates")] + public global::Weaviate.StatisticsCandidates? Candidates { get; set; } + + /// + /// The definition of Raft statistics. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("raft")] + public global::Weaviate.RaftStatistics? Raft { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsCandidates.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsCandidates.g.cs new file mode 100644 index 0000000..6c232de --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsCandidates.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class StatisticsCandidates + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsLeaderAddress.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsLeaderAddress.g.cs new file mode 100644 index 0000000..44cdb20 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsLeaderAddress.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class StatisticsLeaderAddress + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsLeaderId.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsLeaderId.g.cs new file mode 100644 index 0000000..157dc55 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsLeaderId.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class StatisticsLeaderId + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsStatus.g.cs new file mode 100644 index 0000000..6a5f619 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.StatisticsStatus.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Node's status.
+ /// Default Value: HEALTHY + ///
+ public enum StatisticsStatus + { + /// + /// + /// + HEALTHY, + /// + /// + /// + UNHEALTHY, + /// + /// + /// + UNAVAILABLE, + /// + /// + /// + TIMEOUT, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class StatisticsStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this StatisticsStatus value) + { + return value switch + { + StatisticsStatus.HEALTHY => "HEALTHY", + StatisticsStatus.UNHEALTHY => "UNHEALTHY", + StatisticsStatus.UNAVAILABLE => "UNAVAILABLE", + StatisticsStatus.TIMEOUT => "TIMEOUT", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static StatisticsStatus? ToEnum(string value) + { + return value switch + { + "HEALTHY" => StatisticsStatus.HEALTHY, + "UNHEALTHY" => StatisticsStatus.UNHEALTHY, + "UNAVAILABLE" => StatisticsStatus.UNAVAILABLE, + "TIMEOUT" => StatisticsStatus.TIMEOUT, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.StopwordConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.StopwordConfig.g.cs new file mode 100644 index 0000000..af3650c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.StopwordConfig.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// fine-grained control over stopword list usage + /// + public sealed partial class StopwordConfig + { + /// + /// pre-existing list of common words by language
+ /// Default Value: en + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("preset")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.StopwordConfigPresetJsonConverter))] + public global::Weaviate.StopwordConfigPreset? Preset { get; set; } = global::Weaviate.StopwordConfigPreset.En; + + /// + /// Stopwords to be considered additionally. Can be any array of custom strings. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("additions")] + public global::System.Collections.Generic.IList? Additions { get; set; } + + /// + /// stopwords to be removed from consideration. Can be any array of custom strings. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("removals")] + public global::System.Collections.Generic.IList? Removals { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.StopwordConfigPreset.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.StopwordConfigPreset.g.cs new file mode 100644 index 0000000..8c67fdd --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.StopwordConfigPreset.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// pre-existing list of common words by language
+ /// Default Value: en + ///
+ public enum StopwordConfigPreset + { + /// + /// + /// + En, + /// + /// + /// + None, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class StopwordConfigPresetExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this StopwordConfigPreset value) + { + return value switch + { + StopwordConfigPreset.En => "en", + StopwordConfigPreset.None => "none", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static StopwordConfigPreset? ToEnum(string value) + { + return value switch + { + "en" => StopwordConfigPreset.En, + "none" => StopwordConfigPreset.None, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Tenant.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Tenant.g.cs new file mode 100644 index 0000000..2498b20 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Tenant.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// attributes representing a single tenant within weaviate + /// + public sealed partial class Tenant + { + /// + /// name of the tenant + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// activity status of the tenant's shard. Optional for creating tenant (implicit `ACTIVE`) and required for updating tenant. For creation, allowed values are `ACTIVE` - tenant is fully active and `INACTIVE` - tenant is inactive; no actions can be performed on tenant, tenant's files are stored locally. For updating, `ACTIVE`, `INACTIVE` and also `OFFLOADED` - as INACTIVE, but files are stored on cloud storage. The following values are read-only and are set by the server for internal use: `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("activityStatus")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.TenantActivityStatusJsonConverter))] + public global::Weaviate.TenantActivityStatus? ActivityStatus { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.TenantActivityStatus.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.TenantActivityStatus.g.cs new file mode 100644 index 0000000..2d68aaa --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.TenantActivityStatus.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// activity status of the tenant's shard. Optional for creating tenant (implicit `ACTIVE`) and required for updating tenant. For creation, allowed values are `ACTIVE` - tenant is fully active and `INACTIVE` - tenant is inactive; no actions can be performed on tenant, tenant's files are stored locally. For updating, `ACTIVE`, `INACTIVE` and also `OFFLOADED` - as INACTIVE, but files are stored on cloud storage. The following values are read-only and are set by the server for internal use: `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + public enum TenantActivityStatus + { + /// + /// `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + ACTIVE, + /// + /// `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + INACTIVE, + /// + /// `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + OFFLOADED, + /// + /// `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + OFFLOADING, + /// + /// `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + ONLOADING, + /// + /// `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + HOT, + /// + /// `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + COLD, + /// + /// `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + FROZEN, + /// + /// `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + FREEZING, + /// + /// `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`). + /// + UNFREEZING, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class TenantActivityStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this TenantActivityStatus value) + { + return value switch + { + TenantActivityStatus.ACTIVE => "ACTIVE", + TenantActivityStatus.INACTIVE => "INACTIVE", + TenantActivityStatus.OFFLOADED => "OFFLOADED", + TenantActivityStatus.OFFLOADING => "OFFLOADING", + TenantActivityStatus.ONLOADING => "ONLOADING", + TenantActivityStatus.HOT => "HOT", + TenantActivityStatus.COLD => "COLD", + TenantActivityStatus.FROZEN => "FROZEN", + TenantActivityStatus.FREEZING => "FREEZING", + TenantActivityStatus.UNFREEZING => "UNFREEZING", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static TenantActivityStatus? ToEnum(string value) + { + return value switch + { + "ACTIVE" => TenantActivityStatus.ACTIVE, + "INACTIVE" => TenantActivityStatus.INACTIVE, + "OFFLOADED" => TenantActivityStatus.OFFLOADED, + "OFFLOADING" => TenantActivityStatus.OFFLOADING, + "ONLOADING" => TenantActivityStatus.ONLOADING, + "HOT" => TenantActivityStatus.HOT, + "COLD" => TenantActivityStatus.COLD, + "FROZEN" => TenantActivityStatus.FROZEN, + "FREEZING" => TenantActivityStatus.FREEZING, + "UNFREEZING" => TenantActivityStatus.UNFREEZING, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Tokenization.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Tokenization.g.cs new file mode 100644 index 0000000..d890d77 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Tokenization.g.cs @@ -0,0 +1,82 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Set tokenization of the property as separate words or whole field. Applies to text and text[] data types.
+ /// Default Value: word + ///
+ public enum Tokenization + { + /// + /// + /// + Word, + /// + /// + /// + Lowercase, + /// + /// + /// + Whitespace, + /// + /// + /// + Field, + /// + /// + /// + Trigram, + /// + /// + /// + Gse, + /// + /// + /// + KagomeKr, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class TokenizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this Tokenization value) + { + return value switch + { + Tokenization.Word => "word", + Tokenization.Lowercase => "lowercase", + Tokenization.Whitespace => "whitespace", + Tokenization.Field => "field", + Tokenization.Trigram => "trigram", + Tokenization.Gse => "gse", + Tokenization.KagomeKr => "kagome_kr", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static Tokenization? ToEnum(string value) + { + return value switch + { + "word" => Tokenization.Word, + "lowercase" => Tokenization.Lowercase, + "whitespace" => Tokenization.Whitespace, + "field" => Tokenization.Field, + "trigram" => Tokenization.Trigram, + "gse" => Tokenization.Gse, + "kagome_kr" => Tokenization.KagomeKr, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.VectorConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.VectorConfig.g.cs new file mode 100644 index 0000000..03538f6 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.VectorConfig.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Configuration of each named vector. + /// + public sealed partial class VectorConfig + { + /// + /// Vectorizer for this collection (e.g. `text2vec-transformers`). This will override any cluster-wide default set by an environment variable. <br/><br/>If `none`, you must import a vector with each object yourself. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vectorizer")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.VectorizerJsonConverter))] + public global::Weaviate.Vectorizer? Vectorizer { get; set; } + + /// + /// Name of the vector index to use, eg. (HNSW)
+ /// Default Value: hnsw + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("vectorIndexType")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.VectorIndexTypeJsonConverter))] + public global::Weaviate.VectorIndexType? VectorIndexType { get; set; } = global::Weaviate.VectorIndexType.Hnsw; + + /// + /// Vector index type specific settings. See the [vector index configuration page](https://weaviate.io/developers/weaviate/config-refs/schema/vector-index) for more details + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vectorIndexConfig")] + public global::Weaviate.VectorIndexConfig? VectorIndexConfig { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.VectorIndexConfig.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.VectorIndexConfig.g.cs new file mode 100644 index 0000000..a1a3c71 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.VectorIndexConfig.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Vector index type specific settings. See the [vector index configuration page](https://weaviate.io/developers/weaviate/config-refs/schema/vector-index) for more details + /// + public sealed partial class VectorIndexConfig + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.VectorIndexType.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.VectorIndexType.g.cs new file mode 100644 index 0000000..71c09ff --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.VectorIndexType.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Name of the vector index to use, eg. (HNSW)
+ /// Default Value: hnsw + ///
+ public enum VectorIndexType + { + /// + /// + /// + Hnsw, + /// + /// + /// + Flat, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VectorIndexTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VectorIndexType value) + { + return value switch + { + VectorIndexType.Hnsw => "hnsw", + VectorIndexType.Flat => "flat", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static VectorIndexType? ToEnum(string value) + { + return value switch + { + "hnsw" => VectorIndexType.Hnsw, + "flat" => VectorIndexType.Flat, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.VectorWeights.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.VectorWeights.g.cs new file mode 100644 index 0000000..c6ed10d --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.VectorWeights.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. + /// + public sealed partial class VectorWeights + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Vectorizer.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Vectorizer.g.cs new file mode 100644 index 0000000..a490b4d --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Vectorizer.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Vectorizer for this collection (e.g. `text2vec-transformers`). This will override any cluster-wide default set by an environment variable. <br/><br/>If `none`, you must import a vector with each object yourself. + /// + public enum Vectorizer + { + /// + /// + /// + None, + /// + /// + /// + x_vectorizerModuleName_, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VectorizerExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this Vectorizer value) + { + return value switch + { + Vectorizer.None => "none", + Vectorizer.x_vectorizerModuleName_ => "", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static Vectorizer? ToEnum(string value) + { + return value switch + { + "none" => Vectorizer.None, + "" => Vectorizer.x_vectorizerModuleName_, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.Vectors.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.Vectors.g.cs new file mode 100644 index 0000000..adc485f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.Vectors.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// A map of named vectors for multi-vector representations. + /// + public sealed partial class Vectors + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.WeaviateRootResponse.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.WeaviateRootResponse.g.cs new file mode 100644 index 0000000..9ecba23 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.WeaviateRootResponse.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class WeaviateRootResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::System.Collections.Generic.IList? Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilter.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilter.g.cs new file mode 100644 index 0000000..015b033 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilter.g.cs @@ -0,0 +1,128 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Filter search results using a where filter + /// + public sealed partial class WhereFilter + { + /// + /// combine multiple where filters, requires 'And' or 'Or' operator + /// + [global::System.Text.Json.Serialization.JsonPropertyName("operands")] + public global::System.Collections.Generic.IList? Operands { get; set; } + + /// + /// operator to use
+ /// Example: GreaterThanEqual + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("operator")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Weaviate.JsonConverters.WhereFilterOperatorJsonConverter))] + public global::Weaviate.WhereFilterOperator? Operator { get; set; } + + /// + /// path to the property currently being filtered
+ /// Example: [inCity, City, name] + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public global::System.Collections.Generic.IList? Path { get; set; } + + /// + /// value as integer
+ /// Example: 2000L + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueInt")] + public long? ValueInt { get; set; } + + /// + /// value as number/float
+ /// Example: 3.14 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueNumber")] + public double? ValueNumber { get; set; } + + /// + /// value as boolean
+ /// Example: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueBoolean")] + public bool? ValueBoolean { get; set; } + + /// + /// value as text (deprecated as of v1.19; alias for valueText)
+ /// Example: my search term + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueString")] + public string? ValueString { get; set; } + + /// + /// value as text
+ /// Example: my search term + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueText")] + public string? ValueText { get; set; } + + /// + /// value as date (as string)
+ /// Example: TODO + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueDate")] + public string? ValueDate { get; set; } + + /// + /// value as integer
+ /// Example: [100, 200] + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueIntArray")] + public global::System.Collections.Generic.IList? ValueIntArray { get; set; } + + /// + /// value as number/float
+ /// Example: [3.14] + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueNumberArray")] + public global::System.Collections.Generic.IList? ValueNumberArray { get; set; } + + /// + /// value as boolean
+ /// Example: [true, false] + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueBooleanArray")] + public global::System.Collections.Generic.IList? ValueBooleanArray { get; set; } + + /// + /// value as text (deprecated as of v1.19; alias for valueText)
+ /// Example: [my search term] + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueStringArray")] + public global::System.Collections.Generic.IList? ValueStringArray { get; set; } + + /// + /// value as text
+ /// Example: [my search term] + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueTextArray")] + public global::System.Collections.Generic.IList? ValueTextArray { get; set; } + + /// + /// value as date (as string)
+ /// Example: TODO + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("valueDateArray")] + public global::System.Collections.Generic.IList? ValueDateArray { get; set; } + + /// + /// filter within a distance of a georange + /// + [global::System.Text.Json.Serialization.JsonPropertyName("valueGeoRange")] + public global::Weaviate.WhereFilterGeoRange? ValueGeoRange { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterGeoRange.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterGeoRange.g.cs new file mode 100644 index 0000000..6536acb --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterGeoRange.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// filter within a distance of a georange + /// + public sealed partial class WhereFilterGeoRange + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("geoCoordinates")] + public global::Weaviate.GeoCoordinates? GeoCoordinates { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("distance")] + public global::Weaviate.WhereFilterGeoRangeDistance? Distance { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterGeoRangeDistance.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterGeoRangeDistance.g.cs new file mode 100644 index 0000000..dd9ae1c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterGeoRangeDistance.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public sealed partial class WhereFilterGeoRangeDistance + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max")] + public double? Max { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterOperator.g.cs b/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterOperator.g.cs new file mode 100644 index 0000000..e813191 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Models.WhereFilterOperator.g.cs @@ -0,0 +1,118 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// operator to use
+ /// Example: GreaterThanEqual + ///
+ public enum WhereFilterOperator + { + /// + /// + /// + And, + /// + /// + /// + Or, + /// + /// + /// + Equal, + /// + /// + /// + Like, + /// + /// + /// + NotEqual, + /// + /// + /// + GreaterThan, + /// + /// + /// + GreaterThanEqual, + /// + /// + /// + LessThan, + /// + /// + /// + LessThanEqual, + /// + /// + /// + WithinGeoRange, + /// + /// + /// + IsNull, + /// + /// + /// + ContainsAny, + /// + /// + /// + ContainsAll, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WhereFilterOperatorExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WhereFilterOperator value) + { + return value switch + { + WhereFilterOperator.And => "And", + WhereFilterOperator.Or => "Or", + WhereFilterOperator.Equal => "Equal", + WhereFilterOperator.Like => "Like", + WhereFilterOperator.NotEqual => "NotEqual", + WhereFilterOperator.GreaterThan => "GreaterThan", + WhereFilterOperator.GreaterThanEqual => "GreaterThanEqual", + WhereFilterOperator.LessThan => "LessThan", + WhereFilterOperator.LessThanEqual => "LessThanEqual", + WhereFilterOperator.WithinGeoRange => "WithinGeoRange", + WhereFilterOperator.IsNull => "IsNull", + WhereFilterOperator.ContainsAny => "ContainsAny", + WhereFilterOperator.ContainsAll => "ContainsAll", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WhereFilterOperator? ToEnum(string value) + { + return value switch + { + "And" => WhereFilterOperator.And, + "Or" => WhereFilterOperator.Or, + "Equal" => WhereFilterOperator.Equal, + "Like" => WhereFilterOperator.Like, + "NotEqual" => WhereFilterOperator.NotEqual, + "GreaterThan" => WhereFilterOperator.GreaterThan, + "GreaterThanEqual" => WhereFilterOperator.GreaterThanEqual, + "LessThan" => WhereFilterOperator.LessThan, + "LessThanEqual" => WhereFilterOperator.LessThanEqual, + "WithinGeoRange" => WhereFilterOperator.WithinGeoRange, + "IsNull" => WhereFilterOperator.IsNull, + "ContainsAny" => WhereFilterOperator.ContainsAny, + "ContainsAll" => WhereFilterOperator.ContainsAll, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.NodesClient.NodesGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.NodesClient.NodesGet.g.cs new file mode 100644 index 0000000..cac35cd --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.NodesClient.NodesGet.g.cs @@ -0,0 +1,115 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class NodesClient + { + partial void PrepareNodesGetArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::Weaviate.NodesGetOutput? output); + partial void PrepareNodesGetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Weaviate.NodesGetOutput? output); + partial void ProcessNodesGetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessNodesGetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Node information for the database.
+ /// Returns node information for the entire database. + ///
+ /// + /// Default Value: minimal + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task NodesGetAsync( + global::Weaviate.NodesGetOutput? output = global::Weaviate.NodesGetOutput.Minimal, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareNodesGetArguments( + httpClient: _httpClient, + output: ref output); + + var __pathBuilder = new PathBuilder( + path: "/nodes", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("output", output?.ToValueString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareNodesGetRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + output: output); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessNodesGetResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessNodesGetResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.NodesStatusResponse), JsonSerializerContext) as global::Weaviate.NodesStatusResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.NodesClient.NodesGetClass.g.cs b/src/libs/Weaviate/Generated/Weaviate.NodesClient.NodesGetClass.g.cs new file mode 100644 index 0000000..c7163da --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.NodesClient.NodesGetClass.g.cs @@ -0,0 +1,121 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class NodesClient + { + partial void PrepareNodesGetClassArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref global::Weaviate.NodesGetClassOutput? output); + partial void PrepareNodesGetClassRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::Weaviate.NodesGetClassOutput? output); + partial void ProcessNodesGetClassResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessNodesGetClassResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Node information for a collection.
+ /// Returns node information for the nodes relevant to the collection. + ///
+ /// + /// + /// Default Value: minimal + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task NodesGetClassAsync( + string className, + global::Weaviate.NodesGetClassOutput? output = global::Weaviate.NodesGetClassOutput.Minimal, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareNodesGetClassArguments( + httpClient: _httpClient, + className: ref className, + output: ref output); + + var __pathBuilder = new PathBuilder( + path: $"/nodes/{className}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("output", output?.ToValueString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareNodesGetClassRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + output: output); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessNodesGetClassResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessNodesGetClassResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.NodesStatusResponse), JsonSerializerContext) as global::Weaviate.NodesStatusResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.NodesClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.NodesClient.g.cs new file mode 100644 index 0000000..f965304 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.NodesClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Retrieve information about relevant nodes in the cluster. The query can be for the entire cluster, or for a particular collection.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class NodesClient : global::Weaviate.INodesClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the NodesClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public NodesClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassDelete.g.cs new file mode 100644 index 0000000..b5eb452 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassDelete.g.cs @@ -0,0 +1,134 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsClassDeleteArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref global::System.Guid id, + ref global::Weaviate.ObjectsClassDeleteConsistencyLevel? consistencyLevel, + ref string? tenant); + partial void PrepareObjectsClassDeleteRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassDeleteConsistencyLevel? consistencyLevel, + string? tenant); + partial void ProcessObjectsClassDeleteResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsClassDeleteResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Delete an object.
+ /// Delete an object based on its collection and UUID. <br/><br/>Note: For backward compatibility, beacons also support an older, deprecated format without the collection name. As a result, when deleting a reference, the beacon specified has to match the beacon to be deleted exactly. In other words, if a beacon is present using the old format (without collection name) you also need to specify it the same way. <br/><br/>In the beacon format, you need to always use `localhost` as the host, rather than the actual hostname. `localhost` here refers to the fact that the beacon's target is on the same Weaviate instance, as opposed to a foreign instance. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassDeleteAsync( + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassDeleteConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassDeleteConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareObjectsClassDeleteArguments( + httpClient: _httpClient, + className: ref className, + id: ref id, + consistencyLevel: ref consistencyLevel, + tenant: ref tenant); + + var __pathBuilder = new PathBuilder( + path: $"/objects/{className}/{id}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + .AddOptionalParameter("tenant", tenant) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsClassDeleteRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + id: id, + consistencyLevel: consistencyLevel, + tenant: tenant); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsClassDeleteResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsClassDeleteResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassGet.g.cs new file mode 100644 index 0000000..d1d696a --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassGet.g.cs @@ -0,0 +1,148 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsClassGetArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref global::System.Guid id, + ref string? include, + ref global::Weaviate.ObjectsClassGetConsistencyLevel? consistencyLevel, + ref string? nodeName, + ref string? tenant); + partial void PrepareObjectsClassGetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Guid id, + string? include, + global::Weaviate.ObjectsClassGetConsistencyLevel? consistencyLevel, + string? nodeName, + string? tenant); + partial void ProcessObjectsClassGetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsClassGetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get an object.
+ /// Get a data object based on its collection and UUID. Also available as Websocket bus. + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassGetAsync( + string className, + global::System.Guid id, + string? include = default, + global::Weaviate.ObjectsClassGetConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassGetConsistencyLevel.QUORUM, + string? nodeName = default, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareObjectsClassGetArguments( + httpClient: _httpClient, + className: ref className, + id: ref id, + include: ref include, + consistencyLevel: ref consistencyLevel, + nodeName: ref nodeName, + tenant: ref tenant); + + var __pathBuilder = new PathBuilder( + path: $"/objects/{className}/{id}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("include", include) + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + .AddOptionalParameter("node_name", nodeName) + .AddOptionalParameter("tenant", tenant) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsClassGetRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + id: id, + include: include, + consistencyLevel: consistencyLevel, + nodeName: nodeName, + tenant: tenant); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsClassGetResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsClassGetResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Object), JsonSerializerContext) as global::Weaviate.Object ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassHead.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassHead.g.cs new file mode 100644 index 0000000..513d7ad --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassHead.g.cs @@ -0,0 +1,134 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsClassHeadArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref global::System.Guid id, + ref global::Weaviate.ObjectsClassHeadConsistencyLevel? consistencyLevel, + ref string? tenant); + partial void PrepareObjectsClassHeadRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassHeadConsistencyLevel? consistencyLevel, + string? tenant); + partial void ProcessObjectsClassHeadResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsClassHeadResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Check if an object exists.
+ /// Checks if a data object exists based on its collection and uuid without retrieving it. <br/><br/>Internally it skips reading the object from disk other than checking if it is present. Thus it does not use resources on marshalling, parsing, etc., and is faster. Note the resulting HTTP request has no body; the existence of an object is indicated solely by the status code. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassHeadAsync( + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassHeadConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassHeadConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareObjectsClassHeadArguments( + httpClient: _httpClient, + className: ref className, + id: ref id, + consistencyLevel: ref consistencyLevel, + tenant: ref tenant); + + var __pathBuilder = new PathBuilder( + path: $"/objects/{className}/{id}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + .AddOptionalParameter("tenant", tenant) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Head, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsClassHeadRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + id: id, + consistencyLevel: consistencyLevel, + tenant: tenant); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsClassHeadResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsClassHeadResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassPatch.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassPatch.g.cs new file mode 100644 index 0000000..000c281 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassPatch.g.cs @@ -0,0 +1,220 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsClassPatchArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref global::System.Guid id, + ref global::Weaviate.ObjectsClassPatchConsistencyLevel? consistencyLevel, + global::Weaviate.Object request); + partial void PrepareObjectsClassPatchRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassPatchConsistencyLevel? consistencyLevel, + global::Weaviate.Object request); + partial void ProcessObjectsClassPatchResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsClassPatchResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update an object using patch semantics.
+ /// Update an individual data object based on its collection and uuid. This method supports json-merge style patch semantics (RFC 7396). Provided meta-data and schema values are validated. LastUpdateTime is set to the time this function is called. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassPatchAsync( + string className, + global::System.Guid id, + global::Weaviate.Object request, + global::Weaviate.ObjectsClassPatchConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPatchConsistencyLevel.QUORUM, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareObjectsClassPatchArguments( + httpClient: _httpClient, + className: ref className, + id: ref id, + consistencyLevel: ref consistencyLevel, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/objects/{className}/{id}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsClassPatchRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + id: id, + consistencyLevel: consistencyLevel, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsClassPatchResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsClassPatchResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update an object using patch semantics.
+ /// Update an individual data object based on its collection and uuid. This method supports json-merge style patch semantics (RFC 7396). Provided meta-data and schema values are validated. LastUpdateTime is set to the time this function is called. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The object collection name. + /// + /// + /// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// ID of the object. + /// + /// + /// (Response only) Timestamp of creation of this object in milliseconds since epoch UTC. + /// + /// + /// (Response only) Timestamp of the last object update in milliseconds since epoch UTC. + /// + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + /// + /// A map of named vectors for multi-vector representations. + /// + /// + /// Name of the tenant. + /// + /// + /// (Response only) Additional meta information about a single object. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassPatchAsync( + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassPatchConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPatchConsistencyLevel.QUORUM, + string? @class = default, + global::Weaviate.VectorWeights? vectorWeights = default, + global::Weaviate.PropertySchema? properties = default, + global::System.Guid? requestId = default, + long? creationTimeUnix = default, + long? lastUpdateTimeUnix = default, + global::System.Collections.Generic.IList? vector = default, + global::Weaviate.Vectors? vectors = default, + string? tenant = default, + global::Weaviate.AdditionalProperties? additional = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.Object + { + Class = @class, + VectorWeights = vectorWeights, + Properties = properties, + Id = requestId, + CreationTimeUnix = creationTimeUnix, + LastUpdateTimeUnix = lastUpdateTimeUnix, + Vector = vector, + Vectors = vectors, + Tenant = tenant, + Additional = additional, + }; + + return await ObjectsClassPatchAsync( + className: className, + id: id, + consistencyLevel: consistencyLevel, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassPut.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassPut.g.cs new file mode 100644 index 0000000..f9cb826 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassPut.g.cs @@ -0,0 +1,220 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsClassPutArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref global::System.Guid id, + ref global::Weaviate.ObjectsClassPutConsistencyLevel? consistencyLevel, + global::Weaviate.Object request); + partial void PrepareObjectsClassPutRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassPutConsistencyLevel? consistencyLevel, + global::Weaviate.Object request); + partial void ProcessObjectsClassPutResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsClassPutResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update an object.
+ /// Update an object based on its uuid and collection. This (`put`) method replaces the object with the provided object. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassPutAsync( + string className, + global::System.Guid id, + global::Weaviate.Object request, + global::Weaviate.ObjectsClassPutConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPutConsistencyLevel.QUORUM, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareObjectsClassPutArguments( + httpClient: _httpClient, + className: ref className, + id: ref id, + consistencyLevel: ref consistencyLevel, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/objects/{className}/{id}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsClassPutRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + id: id, + consistencyLevel: consistencyLevel, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsClassPutResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsClassPutResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Object), JsonSerializerContext) as global::Weaviate.Object ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update an object.
+ /// Update an object based on its uuid and collection. This (`put`) method replaces the object with the provided object. + ///
+ /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// The object collection name. + /// + /// + /// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// ID of the object. + /// + /// + /// (Response only) Timestamp of creation of this object in milliseconds since epoch UTC. + /// + /// + /// (Response only) Timestamp of the last object update in milliseconds since epoch UTC. + /// + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + /// + /// A map of named vectors for multi-vector representations. + /// + /// + /// Name of the tenant. + /// + /// + /// (Response only) Additional meta information about a single object. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassPutAsync( + string className, + global::System.Guid id, + global::Weaviate.ObjectsClassPutConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPutConsistencyLevel.QUORUM, + string? @class = default, + global::Weaviate.VectorWeights? vectorWeights = default, + global::Weaviate.PropertySchema? properties = default, + global::System.Guid? requestId = default, + long? creationTimeUnix = default, + long? lastUpdateTimeUnix = default, + global::System.Collections.Generic.IList? vector = default, + global::Weaviate.Vectors? vectors = default, + string? tenant = default, + global::Weaviate.AdditionalProperties? additional = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.Object + { + Class = @class, + VectorWeights = vectorWeights, + Properties = properties, + Id = requestId, + CreationTimeUnix = creationTimeUnix, + LastUpdateTimeUnix = lastUpdateTimeUnix, + Vector = vector, + Vectors = vectors, + Tenant = tenant, + Additional = additional, + }; + + return await ObjectsClassPutAsync( + className: className, + id: id, + consistencyLevel: consistencyLevel, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesCreate.g.cs new file mode 100644 index 0000000..8d64341 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesCreate.g.cs @@ -0,0 +1,214 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsClassReferencesCreateArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref global::System.Guid id, + ref string propertyName, + ref global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? consistencyLevel, + ref string? tenant, + global::Weaviate.SingleRef request); + partial void PrepareObjectsClassReferencesCreateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? consistencyLevel, + string? tenant, + global::Weaviate.SingleRef request); + partial void ProcessObjectsClassReferencesCreateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsClassReferencesCreateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Add a cross-reference.
+ /// Add a single reference to an object. This adds a reference to the array of cross-references of the given property in the source object specified by its collection name and id + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassReferencesCreateAsync( + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.SingleRef request, + global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareObjectsClassReferencesCreateArguments( + httpClient: _httpClient, + className: ref className, + id: ref id, + propertyName: ref propertyName, + consistencyLevel: ref consistencyLevel, + tenant: ref tenant, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/objects/{className}/{id}/references/{propertyName}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + .AddOptionalParameter("tenant", tenant) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsClassReferencesCreateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + id: id, + propertyName: propertyName, + consistencyLevel: consistencyLevel, + tenant: tenant, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsClassReferencesCreateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsClassReferencesCreateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Add a cross-reference.
+ /// Add a single reference to an object. This adds a reference to the array of cross-references of the given property in the source object specified by its collection name and id + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// If using a concept reference (rather than a direct reference), specify the desired class name here + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// If using a direct reference, specify the URI to point to the cross-ref here. Should be in the form of weaviate://localhost/<uuid> for the example of a local cross-ref to an object + /// + /// + /// If using a direct reference, this read-only fields provides a link to the referenced resource. If 'origin' is globally configured, an absolute URI is shown - a relative URI otherwise. + /// + /// + /// This meta field contains additional info about the classified reference property + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassReferencesCreateAsync( + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel.QUORUM, + string? tenant = default, + string? @class = default, + global::Weaviate.PropertySchema? schema = default, + string? beacon = default, + string? href = default, + global::Weaviate.ReferenceMetaClassification? classification = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.SingleRef + { + Class = @class, + Schema = schema, + Beacon = beacon, + Href = href, + Classification = classification, + }; + + return await ObjectsClassReferencesCreateAsync( + className: className, + id: id, + propertyName: propertyName, + consistencyLevel: consistencyLevel, + tenant: tenant, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesDelete.g.cs new file mode 100644 index 0000000..a719c20 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesDelete.g.cs @@ -0,0 +1,214 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsClassReferencesDeleteArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref global::System.Guid id, + ref string propertyName, + ref global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? consistencyLevel, + ref string? tenant, + global::Weaviate.SingleRef request); + partial void PrepareObjectsClassReferencesDeleteRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? consistencyLevel, + string? tenant, + global::Weaviate.SingleRef request); + partial void ProcessObjectsClassReferencesDeleteResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsClassReferencesDeleteResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Delete a cross-reference.
+ /// Delete the single reference that is given in the body from the list of references that this property has. + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassReferencesDeleteAsync( + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.SingleRef request, + global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareObjectsClassReferencesDeleteArguments( + httpClient: _httpClient, + className: ref className, + id: ref id, + propertyName: ref propertyName, + consistencyLevel: ref consistencyLevel, + tenant: ref tenant, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/objects/{className}/{id}/references/{propertyName}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + .AddOptionalParameter("tenant", tenant) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsClassReferencesDeleteRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + id: id, + propertyName: propertyName, + consistencyLevel: consistencyLevel, + tenant: tenant, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsClassReferencesDeleteResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsClassReferencesDeleteResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Delete a cross-reference.
+ /// Delete the single reference that is given in the body from the list of references that this property has. + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// If using a concept reference (rather than a direct reference), specify the desired class name here + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// If using a direct reference, specify the URI to point to the cross-ref here. Should be in the form of weaviate://localhost/<uuid> for the example of a local cross-ref to an object + /// + /// + /// If using a direct reference, this read-only fields provides a link to the referenced resource. If 'origin' is globally configured, an absolute URI is shown - a relative URI otherwise. + /// + /// + /// This meta field contains additional info about the classified reference property + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassReferencesDeleteAsync( + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel.QUORUM, + string? tenant = default, + string? @class = default, + global::Weaviate.PropertySchema? schema = default, + string? beacon = default, + string? href = default, + global::Weaviate.ReferenceMetaClassification? classification = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.SingleRef + { + Class = @class, + Schema = schema, + Beacon = beacon, + Href = href, + Classification = classification, + }; + + return await ObjectsClassReferencesDeleteAsync( + className: className, + id: id, + propertyName: propertyName, + consistencyLevel: consistencyLevel, + tenant: tenant, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesPut.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesPut.g.cs new file mode 100644 index 0000000..17541ad --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsClassReferencesPut.g.cs @@ -0,0 +1,154 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsClassReferencesPutArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref global::System.Guid id, + ref string propertyName, + ref global::Weaviate.ObjectsClassReferencesPutConsistencyLevel? consistencyLevel, + ref string? tenant, + global::System.Collections.Generic.IList request); + partial void PrepareObjectsClassReferencesPutRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Guid id, + string propertyName, + global::Weaviate.ObjectsClassReferencesPutConsistencyLevel? consistencyLevel, + string? tenant, + global::System.Collections.Generic.IList request); + partial void ProcessObjectsClassReferencesPutResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsClassReferencesPutResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Replace cross-references.
+ /// Replace **all** references in cross-reference property of an object. + ///
+ /// + /// + /// + /// + /// Default Value: QUORUM + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsClassReferencesPutAsync( + string className, + global::System.Guid id, + string propertyName, + global::System.Collections.Generic.IList request, + global::Weaviate.ObjectsClassReferencesPutConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesPutConsistencyLevel.QUORUM, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareObjectsClassReferencesPutArguments( + httpClient: _httpClient, + className: ref className, + id: ref id, + propertyName: ref propertyName, + consistencyLevel: ref consistencyLevel, + tenant: ref tenant, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/objects/{className}/{id}/references/{propertyName}", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + .AddOptionalParameter("tenant", tenant) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsClassReferencesPutRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + id: id, + propertyName: propertyName, + consistencyLevel: consistencyLevel, + tenant: tenant, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsClassReferencesPutResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsClassReferencesPutResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsCreate.g.cs new file mode 100644 index 0000000..58901d5 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsCreate.g.cs @@ -0,0 +1,202 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsCreateArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::Weaviate.ObjectsCreateConsistencyLevel? consistencyLevel, + global::Weaviate.Object request); + partial void PrepareObjectsCreateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Weaviate.ObjectsCreateConsistencyLevel? consistencyLevel, + global::Weaviate.Object request); + partial void ProcessObjectsCreateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsCreateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a new object.
+ /// Create a new object. <br/><br/>Meta-data and schema values are validated. <br/><br/>**Note: Use `/batch` for importing many objects**: <br/>If you plan on importing a large number of objects, it's much more efficient to use the `/batch` endpoint. Otherwise, sending multiple single requests sequentially would incur a large performance penalty. <br/><br/>**Note: idempotence of `/objects`**: <br/>POST /objects will fail if an id is provided which already exists in the class. To update an existing object with the objects endpoint, use the PUT or PATCH method. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsCreateAsync( + global::Weaviate.Object request, + global::Weaviate.ObjectsCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsCreateConsistencyLevel.QUORUM, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareObjectsCreateArguments( + httpClient: _httpClient, + consistencyLevel: ref consistencyLevel, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/objects", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("consistency_level", consistencyLevel?.ToValueString()) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsCreateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + consistencyLevel: consistencyLevel, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsCreateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsCreateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Object), JsonSerializerContext) as global::Weaviate.Object ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create a new object.
+ /// Create a new object. <br/><br/>Meta-data and schema values are validated. <br/><br/>**Note: Use `/batch` for importing many objects**: <br/>If you plan on importing a large number of objects, it's much more efficient to use the `/batch` endpoint. Otherwise, sending multiple single requests sequentially would incur a large performance penalty. <br/><br/>**Note: idempotence of `/objects`**: <br/>POST /objects will fail if an id is provided which already exists in the class. To update an existing object with the objects endpoint, use the PUT or PATCH method. + ///
+ /// + /// Default Value: QUORUM + /// + /// + /// The object collection name. + /// + /// + /// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// ID of the object. + /// + /// + /// (Response only) Timestamp of creation of this object in milliseconds since epoch UTC. + /// + /// + /// (Response only) Timestamp of the last object update in milliseconds since epoch UTC. + /// + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + /// + /// A map of named vectors for multi-vector representations. + /// + /// + /// Name of the tenant. + /// + /// + /// (Response only) Additional meta information about a single object. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsCreateAsync( + global::Weaviate.ObjectsCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsCreateConsistencyLevel.QUORUM, + string? @class = default, + global::Weaviate.VectorWeights? vectorWeights = default, + global::Weaviate.PropertySchema? properties = default, + global::System.Guid? id = default, + long? creationTimeUnix = default, + long? lastUpdateTimeUnix = default, + global::System.Collections.Generic.IList? vector = default, + global::Weaviate.Vectors? vectors = default, + string? tenant = default, + global::Weaviate.AdditionalProperties? additional = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.Object + { + Class = @class, + VectorWeights = vectorWeights, + Properties = properties, + Id = id, + CreationTimeUnix = creationTimeUnix, + LastUpdateTimeUnix = lastUpdateTimeUnix, + Vector = vector, + Vectors = vectors, + Tenant = tenant, + Additional = additional, + }; + + return await ObjectsCreateAsync( + consistencyLevel: consistencyLevel, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsList.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsList.g.cs new file mode 100644 index 0000000..cd80be9 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsList.g.cs @@ -0,0 +1,166 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsListArguments( + global::System.Net.Http.HttpClient httpClient, + ref string? after, + ref long? offset, + ref long? limit, + ref string? include, + ref string? sort, + ref global::Weaviate.ObjectsListOrder? order, + ref string? @class, + ref string? tenant); + partial void PrepareObjectsListRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string? after, + long? offset, + long? limit, + string? include, + string? sort, + global::Weaviate.ObjectsListOrder? order, + string? @class, + string? tenant); + partial void ProcessObjectsListResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsListResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a list of objects.
+ /// Lists all objects in reverse order of creation. The data will be returned as an array of objects. <br/><br/>Tip: If you are looking to list all objects in a collection, use the `after` parameter. + ///
+ /// + /// + /// Default Value: 0L + /// + /// + /// Default Value: 25L + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsListAsync( + string? after = default, + long? offset = 0L, + long? limit = 25L, + string? include = default, + string? sort = default, + global::Weaviate.ObjectsListOrder? order = default, + string? @class = default, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareObjectsListArguments( + httpClient: _httpClient, + after: ref after, + offset: ref offset, + limit: ref limit, + include: ref include, + sort: ref sort, + order: ref order, + @class: ref @class, + tenant: ref tenant); + + var __pathBuilder = new PathBuilder( + path: "/objects", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("after", after) + .AddOptionalParameter("offset", offset?.ToString()) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("include", include) + .AddOptionalParameter("sort", sort) + .AddOptionalParameter("order", order?.ToValueString()) + .AddOptionalParameter("class", @class) + .AddOptionalParameter("tenant", tenant) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsListRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + after: after, + offset: offset, + limit: limit, + include: include, + sort: sort, + order: order, + @class: @class, + tenant: tenant); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsListResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsListResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ObjectsListResponse), JsonSerializerContext) as global::Weaviate.ObjectsListResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsValidate.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsValidate.g.cs new file mode 100644 index 0000000..1e8d36d --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.ObjectsValidate.g.cs @@ -0,0 +1,186 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class ObjectsClient + { + partial void PrepareObjectsValidateArguments( + global::System.Net.Http.HttpClient httpClient, + global::Weaviate.Object request); + partial void PrepareObjectsValidateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Weaviate.Object request); + partial void ProcessObjectsValidateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessObjectsValidateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Validate an object.
+ /// Validate an object's schema and meta-data without creating it. <br/><br/>If the schema of the object is valid, the request should return nothing with a plain RESTful request. Otherwise, an error object will be returned. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsValidateAsync( + global::Weaviate.Object request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareObjectsValidateArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/objects/validate", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareObjectsValidateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessObjectsValidateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessObjectsValidateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Validate an object.
+ /// Validate an object's schema and meta-data without creating it. <br/><br/>If the schema of the object is valid, the request should return nothing with a plain RESTful request. Otherwise, an error object will be returned. + ///
+ /// + /// The object collection name. + /// + /// + /// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word. + /// + /// + /// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection. + /// + /// + /// ID of the object. + /// + /// + /// (Response only) Timestamp of creation of this object in milliseconds since epoch UTC. + /// + /// + /// (Response only) Timestamp of the last object update in milliseconds since epoch UTC. + /// + /// + /// A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting. + /// + /// + /// A map of named vectors for multi-vector representations. + /// + /// + /// Name of the tenant. + /// + /// + /// (Response only) Additional meta information about a single object. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ObjectsValidateAsync( + string? @class = default, + global::Weaviate.VectorWeights? vectorWeights = default, + global::Weaviate.PropertySchema? properties = default, + global::System.Guid? id = default, + long? creationTimeUnix = default, + long? lastUpdateTimeUnix = default, + global::System.Collections.Generic.IList? vector = default, + global::Weaviate.Vectors? vectors = default, + string? tenant = default, + global::Weaviate.AdditionalProperties? additional = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.Object + { + Class = @class, + VectorWeights = vectorWeights, + Properties = properties, + Id = id, + CreationTimeUnix = creationTimeUnix, + LastUpdateTimeUnix = lastUpdateTimeUnix, + Vector = vector, + Vectors = vectors, + Tenant = tenant, + Additional = additional, + }; + + return await ObjectsValidateAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.g.cs new file mode 100644 index 0000000..25dd91c --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.ObjectsClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Create, update and delete objects and cross-references.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class ObjectsClient : global::Weaviate.IObjectsClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the ObjectsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public ObjectsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.PathBuilder.g.cs b/src/libs/Weaviate/Generated/Weaviate.PathBuilder.g.cs new file mode 100644 index 0000000..dec87fb --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.PathBuilder.g.cs @@ -0,0 +1,253 @@ +using System.Linq; + +#nullable enable + +namespace Weaviate +{ + /// + /// A helper class to build URL paths with optional and required parameters. + /// + public class PathBuilder + { + private readonly global::System.Text.StringBuilder _stringBuilder = + new global::System.Text.StringBuilder(capacity: 256); + private bool _firstParameter = true; + + /// + /// Initializes a new instance of the class. + /// + /// The base path for the URL. + /// The base URI to prepend to the path, if any. + public PathBuilder( + string path, + global::System.Uri? baseUri = null) + { + if (baseUri is not null) + { + _stringBuilder.Append(baseUri.AbsoluteUri.TrimEnd('/')); + } + + _stringBuilder.Append(path); + } + + /// + /// Adds a required parameter to the URL. + /// + /// The name of the parameter. + /// The value of the parameter. + /// The current instance. + public PathBuilder AddRequiredParameter( + string name, + string value) + { + if (_firstParameter) + { + _stringBuilder.Append('?'); + _firstParameter = false; + } + else + { + _stringBuilder.Append('&'); + } + + _stringBuilder.Append(global::System.Uri.EscapeDataString(name)); + _stringBuilder.Append('='); + _stringBuilder.Append(global::System.Uri.EscapeDataString(value)); + + return this; + } + + /// + /// Adds a required parameter with multiple values to the URL. + /// + /// The name of the parameter. + /// The values of the parameter. + /// The delimiter to use between values. + /// Whether to explode the values into separate parameters. + /// The current instance. + public PathBuilder AddRequiredParameter( + string name, + global::System.Collections.Generic.IEnumerable value, + string delimiter = ",", + bool explode = false) + { + if (explode) + { + foreach (var item in value) + { + AddRequiredParameter($"{name}", item); + } + + return this; + } + + AddRequiredParameter(name, string.Join(delimiter, value)); + + return this; + } + + /// + /// Adds a required parameter with multiple values to the URL, using a selector function. + /// + /// The type of the values. + /// The name of the parameter. + /// The values of the parameter. + /// The function to select the string representation of each value. + /// The delimiter to use between values. + /// Whether to explode the values into separate parameters. + /// The current instance. + public PathBuilder AddRequiredParameter( + string name, + global::System.Collections.Generic.IEnumerable value, + global::System.Func selector, + string delimiter = ",", + bool explode = false) + { + AddRequiredParameter(name, value.Select(selector).ToArray(), delimiter, explode); + + return this; + } + + /// + /// Adds an optional parameter to the URL. + /// + /// The name of the parameter. + /// The value of the parameter, or null if not present. + /// The current instance. + public PathBuilder AddOptionalParameter( + string name, + string? value) + { + if (value is not null) + { + AddRequiredParameter(name, value); + } + + return this; + } + + /// + /// Adds an optional parameter with multiple values to the URL. + /// + /// The name of the parameter. + /// The values of the parameter, or null if not present. + /// The delimiter to use between values. + /// Whether to explode the values into separate parameters. + /// The current instance. + public PathBuilder AddOptionalParameter( + string name, + global::System.Collections.Generic.IEnumerable? value, + string delimiter = ",", + bool explode = false) + { + if (value is not null) + { + AddRequiredParameter(name, value, delimiter, explode); + } + + return this; + } + + /// + /// Adds an optional parameter with multiple values to the URL, using a selector function. + /// + /// The type of the values. + /// The name of the parameter. + /// The values of the parameter, or null if not present. + /// The function to select the string representation of each value. + /// The delimiter to use between values. + /// Whether to explode the values into separate parameters. + /// The current instance. + public PathBuilder AddOptionalParameter( + string name, + global::System.Collections.Generic.IEnumerable? value, + global::System.Func selector, + string delimiter = ",", + bool explode = false) + { + if (value is not null) + { + AddRequiredParameter(name, value.Select(selector).ToArray(), delimiter, explode); + } + + return this; + } + + /// + /// Adds a required parameter to the URL, using a formattable value. + /// + /// The type of the value. + /// The name of the parameter. + /// The value of the parameter. + /// The format string. + /// The format provider. + /// The current instance. + public PathBuilder AddRequiredParameter( + string name, + T value, + string? format = null, + global::System.IFormatProvider? formatProvider = null) + where T : global::System.IFormattable + { + AddRequiredParameter(name, value.ToString(format, formatProvider)); + + return this; + } + + /// + /// Adds an optional parameter to the URL, using a formattable value. + /// + /// The type of the value. + /// The name of the parameter. + /// The value of the parameter, or null if not present. + /// The format string. + /// The format provider. + /// The current instance. + public PathBuilder AddOptionalParameter( + string name, + T? value, + string? format = null, + global::System.IFormatProvider? formatProvider = null) + where T : global::System.IFormattable + { + if (value is not null) + { + AddOptionalParameter(name, value.ToString(format, formatProvider)); + } + + return this; + } + + /// + /// Returns the constructed URL as a string. + /// + /// The constructed URL. + public override string ToString() => _stringBuilder.ToString(); + } + + /// + /// + /// + public class EndPointAuthorization + { + /// + /// + /// + public string Type { get; set; } = string.Empty; + + /// + /// + /// + public string Location { get; set; } = string.Empty; + + /// + /// + /// + public string Name { get; set; } = string.Empty; + + /// + /// + /// + public string Value { get; set; } = string.Empty; + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.Polyfills.g.cs b/src/libs/Weaviate/Generated/Weaviate.Polyfills.g.cs new file mode 100644 index 0000000..d162133 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.Polyfills.g.cs @@ -0,0 +1,53 @@ + +#if !NET6_0_OR_GREATER +#nullable enable + +namespace Weaviate +{ + /// + /// + /// + public static partial class AutoSDKPolyfills + { + /// + /// + /// + /// + /// + /// + public static global::System.Threading.Tasks.Task ReadAsStringAsync( + this global::System.Net.Http.HttpContent content, + global::System.Threading.CancellationToken cancellationToken) + { + content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + return content.ReadAsStringAsync(); + } + /// + /// + /// + /// + /// + /// + public static global::System.Threading.Tasks.Task ReadAsStreamAsync( + this global::System.Net.Http.HttpContent content, + global::System.Threading.CancellationToken cancellationToken) + { + content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + return content.ReadAsStreamAsync(); + } + /// + /// + /// + /// + /// + /// + public static global::System.Threading.Tasks.Task ReadAsByteArrayAsync( + this global::System.Net.Http.HttpContent content, + global::System.Threading.CancellationToken cancellationToken) + { + content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + return content.ReadAsByteArrayAsync(); + } + } +} +#endif \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.RootClient.WeaviateRoot.g.cs b/src/libs/Weaviate/Generated/Weaviate.RootClient.WeaviateRoot.g.cs new file mode 100644 index 0000000..8b4dde1 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.RootClient.WeaviateRoot.g.cs @@ -0,0 +1,104 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class RootClient + { + partial void PrepareWeaviateRootArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareWeaviateRootRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessWeaviateRootResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessWeaviateRootResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List available endpoints
+ /// Get links to other endpoints to help discover the REST API + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task WeaviateRootAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareWeaviateRootArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareWeaviateRootRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessWeaviateRootResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessWeaviateRootResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.WeaviateRootResponse), JsonSerializerContext) as global::Weaviate.WeaviateRootResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.RootClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.RootClient.g.cs new file mode 100644 index 0000000..08542fe --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.RootClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// The root of the API. Note the base url is `/v1`.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class RootClient : global::Weaviate.IRootClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the RootClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public RootClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaDump.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaDump.g.cs new file mode 100644 index 0000000..363beb9 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaDump.g.cs @@ -0,0 +1,118 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareSchemaDumpArguments( + global::System.Net.Http.HttpClient httpClient, + ref bool? consistency); + partial void PrepareSchemaDumpRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + bool? consistency); + partial void ProcessSchemaDumpResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSchemaDumpResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get the entire schema.
+ /// Fetch an array of all collection definitions from the schema. + ///
+ /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaDumpAsync( + bool? consistency = true, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareSchemaDumpArguments( + httpClient: _httpClient, + consistency: ref consistency); + + var __pathBuilder = new PathBuilder( + path: "/schema", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + if (consistency != default) + { + httpRequest.Headers.TryAddWithoutValidation("consistency", consistency.ToString()); + } + + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSchemaDumpRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + consistency: consistency); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSchemaDumpResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSchemaDumpResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Schema), JsonSerializerContext) as global::Weaviate.Schema ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsCreate.g.cs new file mode 100644 index 0000000..01cfbc0 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsCreate.g.cs @@ -0,0 +1,197 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareSchemaObjectsCreateArguments( + global::System.Net.Http.HttpClient httpClient, + global::Weaviate.Class request); + partial void PrepareSchemaObjectsCreateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Weaviate.Class request); + partial void ProcessSchemaObjectsCreateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSchemaObjectsCreateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a collection.
+ /// Create a new data object collection. <br/><br/>If [AutoSchema](https://weaviate.io/developers/weaviate/config-refs/schema#auto-schema) is enabled, Weaviate will attempt to infer the schema from the data at import time. However, manual schema definition is recommended for production environments. <br/><br/>For further discussions of parameters, please see the [schema reference page](https://weaviate.io/developers/weaviate/config-refs/schema). + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaObjectsCreateAsync( + global::Weaviate.Class request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareSchemaObjectsCreateArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/schema", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSchemaObjectsCreateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSchemaObjectsCreateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSchemaObjectsCreateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Class), JsonSerializerContext) as global::Weaviate.Class ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create a collection.
+ /// Create a new data object collection. <br/><br/>If [AutoSchema](https://weaviate.io/developers/weaviate/config-refs/schema#auto-schema) is enabled, Weaviate will attempt to infer the schema from the data at import time. However, manual schema definition is recommended for production environments. <br/><br/>For further discussions of parameters, please see the [schema reference page](https://weaviate.io/developers/weaviate/config-refs/schema). + ///
+ /// + /// Name of the collection (a.k.a. class). Multiple words should be concatenated in CamelCase, e.g. `ArticleAuthor`. + /// + /// + /// Configure named vectors (https://weaviate.io/developers/weaviate/config-refs/schema/multi-vector). Either use this field or `vectorizer`, `vectorIndexType`, and `vectorIndexConfig` fields. Available from `v1.24.0`. + /// + /// + /// Name of the vector index to use, eg. (HNSW)
+ /// Default Value: hnsw + /// + /// + /// Vector index type specific settings. See the [vector index configuration page](https://weaviate.io/developers/weaviate/config-refs/schema/vector-index) for more details + /// + /// + /// Specify how the index should be sharded and distributed in the cluster + /// + /// + /// Configure how replication is executed in a cluster + /// + /// + /// Configure the inverted index built into Weaviate + /// + /// + /// Configuration related to multi-tenancy within a class + /// + /// + /// Vectorizer for this collection (e.g. `text2vec-transformers`). This will override any cluster-wide default set by an environment variable. <br/><br/>If `none`, you must import a vector with each object yourself. + /// + /// + /// Configuration specific to modules in a collection context. + /// + /// + /// Description of the collection for documentation purposes. + /// + /// + /// Define properties of the collection. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaObjectsCreateAsync( + string class1, + global::Weaviate.ClassVectorConfig? vectorConfig = default, + global::Weaviate.VectorIndexType? vectorIndexType = global::Weaviate.VectorIndexType.Hnsw, + global::Weaviate.VectorIndexConfig? vectorIndexConfig = default, + global::Weaviate.ShardingConfig? shardingConfig = default, + global::Weaviate.ReplicationConfig? replicationConfig = default, + global::Weaviate.InvertedIndexConfig? invertedIndexConfig = default, + global::Weaviate.MultiTenancyConfig? multiTenancyConfig = default, + global::Weaviate.Vectorizer? vectorizer = default, + global::Weaviate.ClassModuleConfig? moduleConfig = default, + string? description = default, + global::System.Collections.Generic.IList? properties = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.Class + { + Class1 = class1, + VectorConfig = vectorConfig, + VectorIndexType = vectorIndexType, + VectorIndexConfig = vectorIndexConfig, + ShardingConfig = shardingConfig, + ReplicationConfig = replicationConfig, + InvertedIndexConfig = invertedIndexConfig, + MultiTenancyConfig = multiTenancyConfig, + Vectorizer = vectorizer, + ModuleConfig = moduleConfig, + Description = description, + Properties = properties, + }; + + return await SchemaObjectsCreateAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsDelete.g.cs new file mode 100644 index 0000000..6772ba1 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsDelete.g.cs @@ -0,0 +1,110 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareSchemaObjectsDeleteArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className); + partial void PrepareSchemaObjectsDeleteRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className); + partial void ProcessSchemaObjectsDeleteResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSchemaObjectsDeleteResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Remove a collection (and its data).
+ /// Remove a collection from the schema. This will also delete all the objects in the collection. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaObjectsDeleteAsync( + string className, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareSchemaObjectsDeleteArguments( + httpClient: _httpClient, + className: ref className); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSchemaObjectsDeleteRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSchemaObjectsDeleteResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSchemaObjectsDeleteResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsGet.g.cs new file mode 100644 index 0000000..e6d04c9 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsGet.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareSchemaObjectsGetArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref bool? consistency); + partial void PrepareSchemaObjectsGetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + bool? consistency); + partial void ProcessSchemaObjectsGetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSchemaObjectsGetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a single collection schema. + /// + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaObjectsGetAsync( + string className, + bool? consistency = true, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareSchemaObjectsGetArguments( + httpClient: _httpClient, + className: ref className, + consistency: ref consistency); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + if (consistency != default) + { + httpRequest.Headers.TryAddWithoutValidation("consistency", consistency.ToString()); + } + + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSchemaObjectsGetRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + consistency: consistency); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSchemaObjectsGetResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSchemaObjectsGetResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Class), JsonSerializerContext) as global::Weaviate.Class ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsPropertiesAdd.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsPropertiesAdd.g.cs new file mode 100644 index 0000000..244905f --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsPropertiesAdd.g.cs @@ -0,0 +1,199 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareSchemaObjectsPropertiesAddArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + global::Weaviate.Property request); + partial void PrepareSchemaObjectsPropertiesAddRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::Weaviate.Property request); + partial void ProcessSchemaObjectsPropertiesAddResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSchemaObjectsPropertiesAddResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Add a property.
+ /// Add a property to an existing collection. <br/><br/>If possible, we encourage you to create all required properties at collection creation time. Adding a property after collection creation can lead to [some indexing limitations](https://weaviate.io/developers/weaviate/config-refs/schema). + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaObjectsPropertiesAddAsync( + string className, + global::Weaviate.Property request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareSchemaObjectsPropertiesAddArguments( + httpClient: _httpClient, + className: ref className, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}/properties", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSchemaObjectsPropertiesAddRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSchemaObjectsPropertiesAddResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSchemaObjectsPropertiesAddResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Property), JsonSerializerContext) as global::Weaviate.Property ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Add a property.
+ /// Add a property to an existing collection. <br/><br/>If possible, we encourage you to create all required properties at collection creation time. Adding a property after collection creation can lead to [some indexing limitations](https://weaviate.io/developers/weaviate/config-refs/schema). + ///
+ /// + /// + /// Data type of the property. If it starts with a capital (for example Person), may be a reference to another type. + /// + /// + /// Description of the property for documentation purposes. + /// + /// + /// Configuration specific to modules in a property context. + /// + /// + /// The name of the property. Multiple words should be concatenated in camelCase, e.g. `nameOfAuthor`. + /// + /// + /// (Deprecated) Whether to include this property in the inverted index. If `false`, this property cannot be used in `where` filters, `bm25` or `hybrid` search. <br/><br/>Unrelated to vectorization behavior (deprecated as of v1.19; use indexFilterable or/and indexSearchable instead)
+ /// Default Value: true + /// + /// + /// Whether to include this property in the filterable, Roaring Bitmap index. If `false`, this property cannot be used in `where` filters. <br/><br/>Unrelated to vectorization behavior.
+ /// Default Value: true + /// + /// + /// Whether to include this property in the searchable, inverted index. Applicable only to properties of data type text and text[]. If `false`, this property cannot be used in `bm25` or `hybrid` searches. <br/><br/>Unrelated to vectorization behavior.
+ /// Default Value: true + /// + /// + /// Whether to include this property in the filterable, range-based Roaring Bitmap inverted index. Defaults to false. Provides better performance for range queries compared to filterable index in large datasets. Applicable only to properties of data type int, number, date. + /// + /// + /// Set tokenization of the property as separate words or whole field. Applies to text and text[] data types.
+ /// Default Value: word + /// + /// + /// The properties of the nested object(s). Applies to object and object[] data types. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaObjectsPropertiesAddAsync( + string className, + global::System.Collections.Generic.IList dataType, + string name, + string? description = default, + global::Weaviate.PropertyModuleConfig? moduleConfig = default, + bool? indexInverted = true, + bool? indexFilterable = true, + bool? indexSearchable = true, + bool? indexRangeFilters = default, + global::Weaviate.Tokenization? tokenization = global::Weaviate.Tokenization.Word, + global::System.Collections.Generic.IList? nestedProperties = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.Property + { + DataType = dataType, + Description = description, + ModuleConfig = moduleConfig, + Name = name, + IndexInverted = indexInverted, + IndexFilterable = indexFilterable, + IndexSearchable = indexSearchable, + IndexRangeFilters = indexRangeFilters, + Tokenization = tokenization, + NestedProperties = nestedProperties, + }; + + return await SchemaObjectsPropertiesAddAsync( + className: className, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsShardsGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsShardsGet.g.cs new file mode 100644 index 0000000..6980335 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsShardsGet.g.cs @@ -0,0 +1,119 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareSchemaObjectsShardsGetArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref string? tenant); + partial void PrepareSchemaObjectsShardsGetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + string? tenant); + partial void ProcessSchemaObjectsShardsGetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSchemaObjectsShardsGetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get the shard status
+ /// Get the status of every shard in the cluster. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> SchemaObjectsShardsGetAsync( + string className, + string? tenant = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareSchemaObjectsShardsGetArguments( + httpClient: _httpClient, + className: ref className, + tenant: ref tenant); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}/shards", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("tenant", tenant) + ; + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSchemaObjectsShardsGetRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + tenant: tenant); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSchemaObjectsShardsGetResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSchemaObjectsShardsGetResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsShardsUpdate.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsShardsUpdate.g.cs new file mode 100644 index 0000000..e9a6e0b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsShardsUpdate.g.cs @@ -0,0 +1,159 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareSchemaObjectsShardsUpdateArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref string shardName, + global::Weaviate.ShardStatus request); + partial void PrepareSchemaObjectsShardsUpdateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + string shardName, + global::Weaviate.ShardStatus request); + partial void ProcessSchemaObjectsShardsUpdateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSchemaObjectsShardsUpdateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update a shard status.
+ /// Update a shard status for a collection. For example, a shard may have been marked as `READONLY` because its disk was full. After providing more disk space, use this endpoint to set the shard status to `READY` again. There is also a convenience function in each client to set the status of all shards of a collection. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaObjectsShardsUpdateAsync( + string className, + string shardName, + global::Weaviate.ShardStatus request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareSchemaObjectsShardsUpdateArguments( + httpClient: _httpClient, + className: ref className, + shardName: ref shardName, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}/shards/{shardName}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSchemaObjectsShardsUpdateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + shardName: shardName, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSchemaObjectsShardsUpdateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSchemaObjectsShardsUpdateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ShardStatus), JsonSerializerContext) as global::Weaviate.ShardStatus ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update a shard status.
+ /// Update a shard status for a collection. For example, a shard may have been marked as `READONLY` because its disk was full. After providing more disk space, use this endpoint to set the shard status to `READY` again. There is also a convenience function in each client to set the status of all shards of a collection. + ///
+ /// + /// + /// + /// Status of the shard + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaObjectsShardsUpdateAsync( + string className, + string shardName, + string? status = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.ShardStatus + { + Status = status, + }; + + return await SchemaObjectsShardsUpdateAsync( + className: className, + shardName: shardName, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsUpdate.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsUpdate.g.cs new file mode 100644 index 0000000..84cccbc --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.SchemaObjectsUpdate.g.cs @@ -0,0 +1,206 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareSchemaObjectsUpdateArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + global::Weaviate.Class request); + partial void PrepareSchemaObjectsUpdateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::Weaviate.Class request); + partial void ProcessSchemaObjectsUpdateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSchemaObjectsUpdateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update an existing collection.
+ /// Alter an existing collection definition. <br/><br/>Note that not all settings are mutable ([see this list](https://weaviate.io/developers/weaviate/config-refs/schema#mutability)). To update any other (i.e. immutable) setting, you need to delete the collection, re-create it with the correct setting and then re-import the data. <br/><br/>This endpoint cannot be used to modify properties. Instead use POST /v1/schema/{className}/properties. A typical use case for this endpoint is to update a index configuration, such as `vectorIndexConfig/dynamicEfFactor`. <br/><br/>You should attach a body to this PUT request with the entire new configuration of the collection. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaObjectsUpdateAsync( + string className, + global::Weaviate.Class request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareSchemaObjectsUpdateArguments( + httpClient: _httpClient, + className: ref className, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSchemaObjectsUpdateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSchemaObjectsUpdateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSchemaObjectsUpdateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Class), JsonSerializerContext) as global::Weaviate.Class ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update an existing collection.
+ /// Alter an existing collection definition. <br/><br/>Note that not all settings are mutable ([see this list](https://weaviate.io/developers/weaviate/config-refs/schema#mutability)). To update any other (i.e. immutable) setting, you need to delete the collection, re-create it with the correct setting and then re-import the data. <br/><br/>This endpoint cannot be used to modify properties. Instead use POST /v1/schema/{className}/properties. A typical use case for this endpoint is to update a index configuration, such as `vectorIndexConfig/dynamicEfFactor`. <br/><br/>You should attach a body to this PUT request with the entire new configuration of the collection. + ///
+ /// + /// + /// Name of the collection (a.k.a. class). Multiple words should be concatenated in CamelCase, e.g. `ArticleAuthor`. + /// + /// + /// Configure named vectors (https://weaviate.io/developers/weaviate/config-refs/schema/multi-vector). Either use this field or `vectorizer`, `vectorIndexType`, and `vectorIndexConfig` fields. Available from `v1.24.0`. + /// + /// + /// Name of the vector index to use, eg. (HNSW)
+ /// Default Value: hnsw + /// + /// + /// Vector index type specific settings. See the [vector index configuration page](https://weaviate.io/developers/weaviate/config-refs/schema/vector-index) for more details + /// + /// + /// Specify how the index should be sharded and distributed in the cluster + /// + /// + /// Configure how replication is executed in a cluster + /// + /// + /// Configure the inverted index built into Weaviate + /// + /// + /// Configuration related to multi-tenancy within a class + /// + /// + /// Vectorizer for this collection (e.g. `text2vec-transformers`). This will override any cluster-wide default set by an environment variable. <br/><br/>If `none`, you must import a vector with each object yourself. + /// + /// + /// Configuration specific to modules in a collection context. + /// + /// + /// Description of the collection for documentation purposes. + /// + /// + /// Define properties of the collection. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SchemaObjectsUpdateAsync( + string className, + string class1, + global::Weaviate.ClassVectorConfig? vectorConfig = default, + global::Weaviate.VectorIndexType? vectorIndexType = global::Weaviate.VectorIndexType.Hnsw, + global::Weaviate.VectorIndexConfig? vectorIndexConfig = default, + global::Weaviate.ShardingConfig? shardingConfig = default, + global::Weaviate.ReplicationConfig? replicationConfig = default, + global::Weaviate.InvertedIndexConfig? invertedIndexConfig = default, + global::Weaviate.MultiTenancyConfig? multiTenancyConfig = default, + global::Weaviate.Vectorizer? vectorizer = default, + global::Weaviate.ClassModuleConfig? moduleConfig = default, + string? description = default, + global::System.Collections.Generic.IList? properties = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Weaviate.Class + { + Class1 = class1, + VectorConfig = vectorConfig, + VectorIndexType = vectorIndexType, + VectorIndexConfig = vectorIndexConfig, + ShardingConfig = shardingConfig, + ReplicationConfig = replicationConfig, + InvertedIndexConfig = invertedIndexConfig, + MultiTenancyConfig = multiTenancyConfig, + Vectorizer = vectorizer, + ModuleConfig = moduleConfig, + Description = description, + Properties = properties, + }; + + return await SchemaObjectsUpdateAsync( + className: className, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantExists.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantExists.g.cs new file mode 100644 index 0000000..3ba9d41 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantExists.g.cs @@ -0,0 +1,130 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareTenantExistsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref string tenantName, + ref bool? consistency); + partial void PrepareTenantExistsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + string tenantName, + bool? consistency); + partial void ProcessTenantExistsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessTenantExistsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Check whether a tenant exists
+ /// Check if a tenant exists for a specific class + ///
+ /// + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task TenantExistsAsync( + string className, + string tenantName, + bool? consistency = true, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareTenantExistsArguments( + httpClient: _httpClient, + className: ref className, + tenantName: ref tenantName, + consistency: ref consistency); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}/tenants/{tenantName}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Head, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + if (consistency != default) + { + httpRequest.Headers.TryAddWithoutValidation("consistency", consistency.ToString()); + } + + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareTenantExistsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + tenantName: tenantName, + consistency: consistency); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessTenantExistsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessTenantExistsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsCreate.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsCreate.g.cs new file mode 100644 index 0000000..2ed6673 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsCreate.g.cs @@ -0,0 +1,124 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareTenantsCreateArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + global::System.Collections.Generic.IList request); + partial void PrepareTenantsCreateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Collections.Generic.IList request); + partial void ProcessTenantsCreateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessTenantsCreateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a new tenant
+ /// Create a new tenant for a collection. Multi-tenancy must be enabled in the collection definition. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> TenantsCreateAsync( + string className, + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareTenantsCreateArguments( + httpClient: _httpClient, + className: ref className, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}/tenants", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareTenantsCreateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessTenantsCreateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessTenantsCreateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsDelete.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsDelete.g.cs new file mode 100644 index 0000000..1348786 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsDelete.g.cs @@ -0,0 +1,124 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareTenantsDeleteArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + global::System.Collections.Generic.IList request); + partial void PrepareTenantsDeleteRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Collections.Generic.IList request); + partial void ProcessTenantsDeleteResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessTenantsDeleteResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Delete tenant(s).
+ /// Delete tenants from a collection + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task TenantsDeleteAsync( + string className, + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareTenantsDeleteArguments( + httpClient: _httpClient, + className: ref className, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}/tenants", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareTenantsDeleteRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessTenantsDeleteResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessTenantsDeleteResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.ErrorResponse), JsonSerializerContext) as global::Weaviate.ErrorResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsGet.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsGet.g.cs new file mode 100644 index 0000000..c39f055 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsGet.g.cs @@ -0,0 +1,124 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareTenantsGetArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + ref bool? consistency); + partial void PrepareTenantsGetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + bool? consistency); + partial void ProcessTenantsGetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessTenantsGetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get the list of tenants.
+ /// Get all tenants from a collection. + ///
+ /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> TenantsGetAsync( + string className, + bool? consistency = true, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareTenantsGetArguments( + httpClient: _httpClient, + className: ref className, + consistency: ref consistency); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}/tenants", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + if (consistency != default) + { + httpRequest.Headers.TryAddWithoutValidation("consistency", consistency.ToString()); + } + + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareTenantsGetRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + consistency: consistency); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessTenantsGetResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessTenantsGetResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsUpdate.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsUpdate.g.cs new file mode 100644 index 0000000..a15b56b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.TenantsUpdate.g.cs @@ -0,0 +1,124 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class SchemaClient + { + partial void PrepareTenantsUpdateArguments( + global::System.Net.Http.HttpClient httpClient, + ref string className, + global::System.Collections.Generic.IList request); + partial void PrepareTenantsUpdateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string className, + global::System.Collections.Generic.IList request); + partial void ProcessTenantsUpdateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessTenantsUpdateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update a tenant.
+ /// Update a tenant for a collection + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> TenantsUpdateAsync( + string className, + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareTenantsUpdateArguments( + httpClient: _httpClient, + className: ref className, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/schema/{className}/tenants", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareTenantsUpdateRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + className: className, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessTenantsUpdateResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessTenantsUpdateResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.SchemaClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.g.cs new file mode 100644 index 0000000..363f432 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.SchemaClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// Operate on the database schema. <br/><br/>Note an 'Object class' in Weaviate is being renamed to a 'collection'. <br/><br/>See <a href='https://weaviate.io/developers/weaviate/manage-data/collections'>this page</a> for client code examples.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class SchemaClient : global::Weaviate.ISchemaClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the SchemaClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public SchemaClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.WeaviateClient.Authorizations.Bearer.g.cs b/src/libs/Weaviate/Generated/Weaviate.WeaviateClient.Authorizations.Bearer.g.cs new file mode 100644 index 0000000..d9e60bf --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.WeaviateClient.Authorizations.Bearer.g.cs @@ -0,0 +1,27 @@ + +#nullable enable + +namespace Weaviate +{ + public sealed partial class WeaviateClient + { + /// + /// Authorize using bearer authentication. + /// + /// + public void AuthorizeUsingBearer( + string apiKey) + { + apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); + + _authorizations.Clear(); + _authorizations.Add(new global::Weaviate.EndPointAuthorization + { + Type = "Http", + Location = "Header", + Name = "Bearer", + Value = apiKey, + }); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.WeaviateClient.Constructors.Bearer.g.cs b/src/libs/Weaviate/Generated/Weaviate.WeaviateClient.Constructors.Bearer.g.cs new file mode 100644 index 0000000..e82219b --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.WeaviateClient.Constructors.Bearer.g.cs @@ -0,0 +1,28 @@ + +#nullable enable + +namespace Weaviate +{ + public sealed partial class WeaviateClient + { + /// + public WeaviateClient( + string apiKey, + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + { + Authorizing(_httpClient, ref apiKey); + + AuthorizeUsingBearer(apiKey); + + Authorized(_httpClient); + } + + partial void Authorizing( + global::System.Net.Http.HttpClient client, + ref string apiKey); + partial void Authorized( + global::System.Net.Http.HttpClient client); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.WeaviateClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.WeaviateClient.g.cs new file mode 100644 index 0000000..1500109 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.WeaviateClient.g.cs @@ -0,0 +1,165 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// # Introduction
+ /// Weaviate is an open source, AI-native vector database that helps developers create intuitive and reliable AI-powered applications.
+ /// ### Base Path
+ /// The base path for the Weaviate server is structured as `[YOUR-WEAVIATE-HOST]:[PORT]/v1`. As an example, if you wish to access the `schema` endpoint on a local instance, you would navigate to `http://localhost:8080/v1/schema`. Ensure you replace `[YOUR-WEAVIATE-HOST]` and `[PORT]` with your actual server host and port number respectively.
+ /// ### Questions?
+ /// If you have any comments or questions, please feel free to reach out to us at the community forum [https://forum.weaviate.io/](https://forum.weaviate.io/).
+ /// ### Issues?
+ /// If you find a bug or want to file a feature request, please open an issue on our GitHub repository for [Weaviate](https://github.com/weaviate/weaviate).
+ /// ### Want more documentation?
+ /// For a quickstart, code examples, concepts and more, please visit our [documentation page](https://weaviate.io/developers/weaviate).
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class WeaviateClient : global::Weaviate.IWeaviateClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// The root of the API. Note the base url is `/v1`. + /// + public RootClient Root => new RootClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// Operate on the database schema. <br/><br/>Note an 'Object class' in Weaviate is being renamed to a 'collection'. <br/><br/>See <a href='https://weaviate.io/developers/weaviate/manage-data/collections'>this page</a> for client code examples. + /// + public SchemaClient Schema => new SchemaClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// Create, update and delete objects and cross-references. + /// + public ObjectsClient Objects => new ObjectsClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// Create, update and delete multiple objects and references at once. <br/><br/>Note that object-level errors may be reported even in a successful batch request. Accordingly, we recommend you check the response body for errors. + /// + public BatchClient Batch => new BatchClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// Create, restore and check the status of backups. <br/><br/>See the [backups page](https://weaviate.io/developers/weaviate/configuration/backups) for a general introduction, configuration, and tech background of backups. + /// + public BackupsClient Backups => new BackupsClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// Retrieve information about the server such as the hostname, location, versions and modules. + /// + public MetaClient Meta => new MetaClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// Retrieve information about the cluster. + /// + public ClusterClient Cluster => new ClusterClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// Retrieve information about relevant nodes in the cluster. The query can be for the entire cluster, or for a particular collection. + /// + public NodesClient Nodes => new NodesClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// `.well-known` endpoints. If OpenID Connect (OIDC) authentication is enabled, this endpoint includes OIDC configuration details. + /// + public WellKnownClient WellKnown => new WellKnownClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// Query data using the GraphQL query language. See the [Weaviate GraphQL documentation](https://weaviate.io/developers/weaviate/api/graphql) for query syntax details. + /// + public GraphqlClient Graphql => new GraphqlClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// Perform classification operations + /// + public ClassificationsClient Classifications => new ClassificationsClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerContext = JsonSerializerContext, + }; + + /// + /// Creates a new instance of the WeaviateClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public WeaviateClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.GetWellKnownOpenidConfiguration.g.cs b/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.GetWellKnownOpenidConfiguration.g.cs new file mode 100644 index 0000000..006f1d9 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.GetWellKnownOpenidConfiguration.g.cs @@ -0,0 +1,104 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class WellKnownClient + { + partial void PrepareGetWellKnownOpenidConfigurationArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetWellKnownOpenidConfigurationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetWellKnownOpenidConfigurationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetWellKnownOpenidConfigurationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// OIDC discovery information (if OIDC auth is enabled)
+ /// OIDC Discovery page, redirects to the token issuer if one is configured + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetWellKnownOpenidConfigurationAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetWellKnownOpenidConfigurationArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/.well-known/openid-configuration", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetWellKnownOpenidConfigurationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetWellKnownOpenidConfigurationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetWellKnownOpenidConfigurationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Weaviate.Response), JsonSerializerContext) as global::Weaviate.Response ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.WeaviateWellknownLiveness.g.cs b/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.WeaviateWellknownLiveness.g.cs new file mode 100644 index 0000000..8eb8333 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.WeaviateWellknownLiveness.g.cs @@ -0,0 +1,76 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class WellKnownClient + { + partial void PrepareWeaviateWellknownLivenessArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareWeaviateWellknownLivenessRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessWeaviateWellknownLivenessResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Get application liveness.
+ /// Determines whether the application is alive. Can be used for kubernetes liveness probe + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task WeaviateWellknownLivenessAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareWeaviateWellknownLivenessArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/.well-known/live", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareWeaviateWellknownLivenessRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessWeaviateWellknownLivenessResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.WeaviateWellknownReadiness.g.cs b/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.WeaviateWellknownReadiness.g.cs new file mode 100644 index 0000000..b010efa --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.WeaviateWellknownReadiness.g.cs @@ -0,0 +1,76 @@ + +#nullable enable + +namespace Weaviate +{ + public partial class WellKnownClient + { + partial void PrepareWeaviateWellknownReadinessArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareWeaviateWellknownReadinessRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessWeaviateWellknownReadinessResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Get application readiness.
+ /// Determines whether the application is ready to receive traffic. Can be used for kubernetes readiness probe. + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task WeaviateWellknownReadinessAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareWeaviateWellknownReadinessArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/.well-known/ready", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: _authorization.Name, + parameter: _authorization.Value); + } + else if (_authorization.Type == "ApiKey" && + _authorization.Location == "Header") + { + httpRequest.Headers.Add(_authorization.Name, _authorization.Value); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareWeaviateWellknownReadinessRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessWeaviateWellknownReadinessResponse( + httpClient: _httpClient, + httpResponseMessage: response); + response.EnsureSuccessStatusCode(); + } + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.g.cs b/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.g.cs new file mode 100644 index 0000000..4c4e207 --- /dev/null +++ b/src/libs/Weaviate/Generated/Weaviate.WellKnownClient.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace Weaviate +{ + /// + /// `.well-known` endpoints. If OpenID Connect (OIDC) authentication is enabled, this endpoint includes OIDC configuration details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class WellKnownClient : global::Weaviate.IWellKnownClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https:///v1"; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Weaviate.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the WellKnownClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public WellKnownClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Weaviate/Weaviate.csproj b/src/libs/Weaviate/Weaviate.csproj new file mode 100644 index 0000000..1157c31 --- /dev/null +++ b/src/libs/Weaviate/Weaviate.csproj @@ -0,0 +1,24 @@ + + + + netstandard2.0;net4.6.2;net6.0;net8.0 + + + + C# SDK based on Weaviate OpenAPI specification. + api;client;sdk;dotnet;swagger;openapi;specification;generated;nswag + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + diff --git a/src/libs/Weaviate/generate.sh b/src/libs/Weaviate/generate.sh new file mode 100644 index 0000000..4920381 --- /dev/null +++ b/src/libs/Weaviate/generate.sh @@ -0,0 +1,14 @@ +dotnet tool install --global autosdk.cli --prerelease +rm -rf Generated +curl -o openapi.yaml https://raw.githubusercontent.com/weaviate/weaviate/openapi_docs/openapi-specs/schema.json +dotnet run --project ../../helpers/FixOpenApiSpec openapi.yaml +if [ $? -ne 0 ]; then + echo "Failed, exiting..." + exit 1 +fi +autosdk generate openapi.yaml \ + --namespace Weaviate \ + --clientClassName WeaviateClient \ + --targetFramework net8.0 \ + --output Generated \ + --exclude-deprecated-operations \ No newline at end of file diff --git a/src/libs/Weaviate/openapi.yaml b/src/libs/Weaviate/openapi.yaml new file mode 100644 index 0000000..b167cf7 --- /dev/null +++ b/src/libs/Weaviate/openapi.yaml @@ -0,0 +1,4548 @@ +openapi: 3.0.1 +info: + title: Weaviate + description: "# Introduction\n Weaviate is an open source, AI-native vector database that helps developers create intuitive and reliable AI-powered applications. \n ### Base Path \nThe base path for the Weaviate server is structured as `[YOUR-WEAVIATE-HOST]:[PORT]/v1`. As an example, if you wish to access the `schema` endpoint on a local instance, you would navigate to `http://localhost:8080/v1/schema`. Ensure you replace `[YOUR-WEAVIATE-HOST]` and `[PORT]` with your actual server host and port number respectively. \n ### Questions? \nIf you have any comments or questions, please feel free to reach out to us at the community forum [https://forum.weaviate.io/](https://forum.weaviate.io/). \n### Issues? \nIf you find a bug or want to file a feature request, please open an issue on our GitHub repository for [Weaviate](https://github.com/weaviate/weaviate). \n### Want more documentation? \nFor a quickstart, code examples, concepts and more, please visit our [documentation page](https://weaviate.io/developers/weaviate)." + contact: + name: Weaviate + url: https://weaviate.io + version: '1.26.5' +servers: + - url: https:///v1 +paths: + /: + get: + tags: + - root + summary: List available endpoints + description: Get links to other endpoints to help discover the REST API + operationId: weaviate.root + responses: + '200': + description: Weaviate is alive and ready to serve content + content: + application/json: + schema: + type: object + properties: + links: + type: array + items: + $ref: '#/components/schemas/Link' + /.well-known/live: + get: + tags: + - well-known + summary: Get application liveness. + description: Determines whether the application is alive. Can be used for kubernetes liveness probe + operationId: weaviate.wellknown.liveness + responses: + '200': + description: The application is able to respond to HTTP requests + content: + application/json: { } + /.well-known/ready: + get: + tags: + - well-known + summary: Get application readiness. + description: Determines whether the application is ready to receive traffic. Can be used for kubernetes readiness probe. + operationId: weaviate.wellknown.readiness + responses: + '200': + description: The application has completed its start-up routine and is ready to accept traffic. + content: + application/json: { } + '503': + description: 'The application is currently not able to serve traffic. If other horizontal replicas of weaviate are available and they are capable of receiving traffic, all traffic should be redirected there instead.' + content: + application/json: { } + /.well-known/openid-configuration: + get: + tags: + - well-known + summary: OIDC discovery information (if OIDC auth is enabled) + description: 'OIDC Discovery page, redirects to the token issuer if one is configured' + responses: + '200': + description: 'Successful response, inspect body' + content: + application/json: + schema: + type: object + properties: + href: + type: string + description: The Location to redirect to + clientId: + type: string + description: OAuth Client ID + scopes: + type: array + items: + type: string + description: OAuth Scopes + x-omitempty: true + '404': + description: 'Not found, no oidc provider present' + content: + application/json: { } + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-available-in-mqtt: false + x-available-in-websocket: false + /objects: + get: + tags: + - objects + summary: Get a list of objects. + description: 'Lists all objects in reverse order of creation. The data will be returned as an array of objects.

Tip: If you are looking to list all objects in a collection, use the `after` parameter.' + operationId: objects.list + parameters: + - $ref: '#/components/parameters/CommonAfterParameterQuery' + - $ref: '#/components/parameters/CommonOffsetParameterQuery' + - $ref: '#/components/parameters/CommonLimitParameterQuery' + - $ref: '#/components/parameters/CommonIncludeParameterQuery' + - $ref: '#/components/parameters/CommonSortParameterQuery' + - $ref: '#/components/parameters/CommonOrderParameterQuery' + - $ref: '#/components/parameters/CommonClassParameterQuery' + - $ref: '#/components/parameters/CommonTenantParameterQuery' + responses: + '200': + description: 'Successful response.

If `class` is not provided, the response will not include any objects.' + content: + application/json: + schema: + $ref: '#/components/schemas/ObjectsListResponse' + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: { } + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.query + x-available-in-mqtt: false + x-available-in-websocket: false + post: + tags: + - objects + summary: Create a new object. + description: 'Create a new object.

Meta-data and schema values are validated.

**Note: Use `/batch` for importing many objects**:
If you plan on importing a large number of objects, it''s much more efficient to use the `/batch` endpoint. Otherwise, sending multiple single requests sequentially would incur a large performance penalty.

**Note: idempotence of `/objects`**:
POST /objects will fail if an id is provided which already exists in the class. To update an existing object with the objects endpoint, use the PUT or PATCH method.' + operationId: objects.create + parameters: + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + required: true + x-bodyName: body + responses: + '200': + description: Object created. + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.add + x-available-in-mqtt: false + x-available-in-websocket: false + '/objects/{id}': + get: + tags: + - objects + summary: List objects. + description: Get a specific object based on its UUID. Also available as Websocket bus. + operationId: objects.get + parameters: + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - $ref: '#/components/parameters/CommonIncludeParameterQuery' + responses: + '200': + description: Successful response. + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: { } + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + deprecated: true + x-serviceIds: + - weaviate.local.query + x-available-in-mqtt: false + x-available-in-websocket: false + put: + tags: + - objects + summary: Update an object. + description: Updates an object based on its UUID. Given meta-data and schema values are validated. LastUpdateTime is set to the time this function is called. + operationId: objects.update + parameters: + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + required: true + x-bodyName: body + responses: + '200': + description: Successfully received. + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: { } + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + deprecated: true + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + delete: + tags: + - objects + summary: Delete an object. + description: Deletes an object from the database based on its UUID. + operationId: objects.delete + parameters: + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + - $ref: '#/components/parameters/CommonTenantParameterQuery' + responses: + '204': + description: Successfully deleted. + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: { } + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + deprecated: true + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: true + x-available-in-websocket: true + head: + tags: + - objects + summary: Check if object exists. + description: Checks if an object exists in the system based on its UUID. + operationId: objects.head + parameters: + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + responses: + '204': + description: Object exists. + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Object doesn't exist. + content: + application/json: { } + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + deprecated: true + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: true + x-available-in-websocket: true + patch: + tags: + - objects + summary: Update an object using patch semantics. + description: Update an object based on its UUID (using patch semantics). This method supports json-merge style patch semantics (RFC 7396). Provided meta-data and schema values are validated. LastUpdateTime is set to the time this function is called. + operationId: objects.patch + parameters: + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + requestBody: + description: 'RFC 7396-style patch, the body contains the object to merge into the existing object.' + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + x-bodyName: body + responses: + '204': + description: Successfully applied. No content provided. + content: + application/json: { } + '400': + description: The patch-JSON is malformed. + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: { } + '422': + description: The patch-JSON is valid but unprocessable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + deprecated: true + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + '/objects/{className}/{id}': + get: + tags: + - objects + summary: Get an object. + description: Get a data object based on its collection and UUID. Also available as Websocket bus. + operationId: objects.class.get + parameters: + - name: className + in: path + required: true + schema: + type: string + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - $ref: '#/components/parameters/CommonIncludeParameterQuery' + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + - $ref: '#/components/parameters/CommonNodeNameParameterQuery' + - $ref: '#/components/parameters/CommonTenantParameterQuery' + responses: + '200': + description: Successful response. + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: { } + '422': + description: 'Request is well-formed (i.e., syntactically correct), but erroneous.' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.query + x-available-in-mqtt: false + x-available-in-websocket: false + put: + tags: + - objects + summary: Update an object. + description: Update an object based on its uuid and collection. This (`put`) method replaces the object with the provided object. + operationId: objects.class.put + parameters: + - name: className + in: path + required: true + schema: + type: string + - name: id + in: path + description: The uuid of the data object to update. + required: true + schema: + type: string + format: uuid + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + required: true + x-bodyName: body + responses: + '200': + description: Successfully received. + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: { } + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + delete: + tags: + - objects + summary: Delete an object. + description: 'Delete an object based on its collection and UUID.

Note: For backward compatibility, beacons also support an older, deprecated format without the collection name. As a result, when deleting a reference, the beacon specified has to match the beacon to be deleted exactly. In other words, if a beacon is present using the old format (without collection name) you also need to specify it the same way.

In the beacon format, you need to always use `localhost` as the host, rather than the actual hostname. `localhost` here refers to the fact that the beacon''s target is on the same Weaviate instance, as opposed to a foreign instance.' + operationId: objects.class.delete + parameters: + - name: className + in: path + required: true + schema: + type: string + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + - $ref: '#/components/parameters/CommonTenantParameterQuery' + responses: + '204': + description: Successfully deleted. + content: + application/json: { } + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: { } + '422': + description: 'Request is well-formed (i.e., syntactically correct), but erroneous.' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: true + x-available-in-websocket: true + head: + tags: + - objects + summary: Check if an object exists. + description: 'Checks if a data object exists based on its collection and uuid without retrieving it.

Internally it skips reading the object from disk other than checking if it is present. Thus it does not use resources on marshalling, parsing, etc., and is faster. Note the resulting HTTP request has no body; the existence of an object is indicated solely by the status code.' + operationId: objects.class.head + parameters: + - name: className + in: path + description: The class name as defined in the schema + required: true + schema: + type: string + - name: id + in: path + description: The uuid of the data object + required: true + schema: + type: string + format: uuid + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + - $ref: '#/components/parameters/CommonTenantParameterQuery' + responses: + '204': + description: Object exists. + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Object doesn't exist. + content: + application/json: { } + '422': + description: 'Request is well-formed (i.e., syntactically correct), but erroneous.' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: true + x-available-in-websocket: true + patch: + tags: + - objects + summary: Update an object using patch semantics. + description: Update an individual data object based on its collection and uuid. This method supports json-merge style patch semantics (RFC 7396). Provided meta-data and schema values are validated. LastUpdateTime is set to the time this function is called. + operationId: objects.class.patch + parameters: + - name: className + in: path + description: The class name as defined in the schema + required: true + schema: + type: string + - name: id + in: path + description: The uuid of the data object to update. + required: true + schema: + type: string + format: uuid + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + requestBody: + description: 'RFC 7396-style patch, the body contains the object to merge into the existing object.' + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + x-bodyName: body + responses: + '204': + description: Successfully applied. No content provided. + content: + application/json: { } + '400': + description: The patch-JSON is malformed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: { } + '422': + description: The patch-JSON is valid but unprocessable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + '/objects/{id}/references/{propertyName}': + put: + tags: + - objects + summary: Replace cross-references. + description: Replace all references in cross-reference property of an object. + operationId: objects.references.update + parameters: + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - name: propertyName + in: path + description: Unique name of the property related to the Object. + required: true + schema: + type: string + - $ref: '#/components/parameters/CommonTenantParameterQuery' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MultipleRef' + required: true + x-bodyName: body + responses: + '200': + description: Successfully replaced all the references. + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the property exists or that it is a class?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + deprecated: true + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + post: + tags: + - objects + summary: Add a cross-reference. + description: Add a cross-reference. + operationId: objects.references.create + parameters: + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - name: propertyName + in: path + description: Unique name of the property related to the Object. + required: true + schema: + type: string + - $ref: '#/components/parameters/CommonTenantParameterQuery' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SingleRef' + required: true + x-bodyName: body + responses: + '200': + description: Successfully added the reference. + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the property exists or that it is a class?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + deprecated: true + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + delete: + tags: + - objects + summary: Delete a cross-reference. + description: Delete the single reference that is given in the body from the list of references that this property has. + operationId: objects.references.delete + parameters: + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - name: propertyName + in: path + description: Unique name of the property related to the Object. + required: true + schema: + type: string + - $ref: '#/components/parameters/CommonTenantParameterQuery' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SingleRef' + required: true + x-bodyName: body + responses: + '204': + description: Successfully deleted. + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + deprecated: true + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + '/objects/{className}/{id}/references/{propertyName}': + put: + tags: + - objects + summary: Replace cross-references. + description: Replace **all** references in cross-reference property of an object. + operationId: objects.class.references.put + parameters: + - name: className + in: path + description: The class name as defined in the schema + required: true + schema: + type: string + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - name: propertyName + in: path + description: Unique name of the property related to the Object. + required: true + schema: + type: string + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + - $ref: '#/components/parameters/CommonTenantParameterQuery' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MultipleRef' + required: true + x-bodyName: body + responses: + '200': + description: Successfully replaced all the references. + content: + application/json: { } + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Source object doesn't exist. + content: + application/json: { } + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the property exists or that it is a class?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + post: + tags: + - objects + summary: Add a cross-reference. + description: Add a single reference to an object. This adds a reference to the array of cross-references of the given property in the source object specified by its collection name and id + operationId: objects.class.references.create + parameters: + - name: className + in: path + description: The class name as defined in the schema + required: true + schema: + type: string + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - name: propertyName + in: path + description: Unique name of the property related to the Object. + required: true + schema: + type: string + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + - $ref: '#/components/parameters/CommonTenantParameterQuery' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SingleRef' + required: true + x-bodyName: body + responses: + '200': + description: Successfully added the reference. + content: + application/json: { } + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Source object doesn't exist. + content: + application/json: { } + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the property exists or that it is a class?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + delete: + tags: + - objects + summary: Delete a cross-reference. + description: Delete the single reference that is given in the body from the list of references that this property has. + operationId: objects.class.references.delete + parameters: + - name: className + in: path + description: The class name as defined in the schema + required: true + schema: + type: string + - name: id + in: path + description: Unique ID of the Object. + required: true + schema: + type: string + format: uuid + - name: propertyName + in: path + description: Unique name of the property related to the Object. + required: true + schema: + type: string + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + - $ref: '#/components/parameters/CommonTenantParameterQuery' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SingleRef' + required: true + x-bodyName: body + responses: + '204': + description: Successfully deleted. + content: + application/json: { } + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Successful query result but no resource was found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the property exists or that it is a class?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + /objects/validate: + post: + tags: + - objects + summary: Validate an object. + description: 'Validate an object''s schema and meta-data without creating it.

If the schema of the object is valid, the request should return nothing with a plain RESTful request. Otherwise, an error object will be returned.' + operationId: objects.validate + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Object' + required: true + x-bodyName: body + responses: + '200': + description: Successfully validated. + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.query.meta + x-available-in-mqtt: false + x-available-in-websocket: false + /batch/objects: + post: + tags: + - batch + summary: Batch create new objects. + description: 'Create new objects in bulk.

Meta-data and schema values are validated.

**Note: idempotence of `/batch/objects`**:
`POST /batch/objects` is idempotent, and will overwrite any existing object given the same id.' + operationId: batch.objects.create + parameters: + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + requestBody: + content: + application/json: + schema: + type: object + properties: + fields: + type: array + items: + enum: + - ALL + - class + - schema + - id + - creationTimeUnix + type: string + default: ALL + description: Define which fields need to be returned. Default value is ALL + objects: + type: array + items: + $ref: '#/components/schemas/Object' + required: true + x-bodyName: body + responses: + '200': + description: 'Request succeeded, see response body to get detailed information about each batched item.' + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ObjectsGetResponse' + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.add + x-available-in-mqtt: false + x-available-in-websocket: false + delete: + tags: + - batch + summary: Batch delete objects. + description: 'Batch delete objects that match a particular filter.

The request body takes a single `where` filter and will delete all objects matched.

Note that there is a limit to the number of objects to be deleted at once using this filter, in order to protect against unexpected memory surges and very-long-running requests. The default limit is 10,000 and may be configured by setting the `QUERY_MAXIMUM_RESULTS` environment variable.

Objects are deleted in the same order that they would be returned in an equivalent Get query. To delete more objects than the limit, run the same query multiple times.' + operationId: batch.objects.delete + parameters: + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + - $ref: '#/components/parameters/CommonTenantParameterQuery' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BatchDelete' + required: true + x-bodyName: body + responses: + '200': + description: 'Request succeeded, see response body to get detailed information about each batched item.' + content: + application/json: + schema: + $ref: '#/components/schemas/BatchDeleteResponse' + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate + x-available-in-mqtt: false + x-available-in-websocket: false + /batch/references: + post: + tags: + - batch + summary: Batch create cross-references. + description: Batch create cross-references between collections items (objects or objects) in bulk. + operationId: batch.references.create + parameters: + - $ref: '#/components/parameters/CommonConsistencyLevelParameterQuery' + requestBody: + description: A list of references to be batched. The ideal size depends on the used database connector. Please see the documentation of the used connector for help + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BatchReference' + required: true + x-bodyName: body + responses: + '200': + description: 'Request Successful. Warning: A successful request does not guarantee that every batched reference was successfully created. Inspect the response body to see which references succeeded and which failed.' + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BatchReferenceResponse' + '400': + description: Malformed request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.add + x-available-in-mqtt: false + x-available-in-websocket: false + /graphql: + post: + tags: + - graphql + summary: Perform a GraphQL query. + description: Get a response based on a GraphQL query + operationId: graphql.post + requestBody: + description: The GraphQL query request parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLQuery' + required: true + x-bodyName: body + responses: + '200': + description: Successful query (with select). + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.query + - weaviate.local.query.meta + - weaviate.network.query + - weaviate.network.query.meta + x-available-in-mqtt: false + x-available-in-websocket: false + /graphql/batch: + post: + tags: + - graphql + summary: Perform batched GraphQL queries. + description: Perform batched GraphQL query + operationId: graphql.batch + requestBody: + description: The GraphQL queries. + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLQueries' + required: true + x-bodyName: body + responses: + '200': + description: Successful query (with select). + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLResponses' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: 'Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?' + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.query + - weaviate.local.query.meta + - weaviate.network.query + - weaviate.network.query.meta + x-available-in-mqtt: false + x-available-in-websocket: false + /meta: + get: + tags: + - meta + summary: Get instance metadata. + description: Returns meta information about the server. Can be used to provide information to another Weaviate instance that wants to interact with the current instance. + operationId: meta.get + responses: + '200': + description: Successful response. + content: + application/json: + schema: + $ref: '#/components/schemas/Meta' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.query.meta + x-available-in-mqtt: false + x-available-in-websocket: false + /schema: + get: + tags: + - schema + summary: Get the entire schema. + description: Fetch an array of all collection definitions from the schema. + operationId: schema.dump + parameters: + - name: consistency + in: header + description: 'If consistency is true, the request will be proxied to the leader to ensure strong schema consistency' + schema: + type: boolean + default: true + responses: + '200': + description: Successfully dumped the database schema. + content: + application/json: + schema: + $ref: '#/components/schemas/Schema' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.query.meta + post: + tags: + - schema + summary: Create a collection. + description: 'Create a new data object collection.

If [AutoSchema](https://weaviate.io/developers/weaviate/config-refs/schema#auto-schema) is enabled, Weaviate will attempt to infer the schema from the data at import time. However, manual schema definition is recommended for production environments.

For further discussions of parameters, please see the [schema reference page](https://weaviate.io/developers/weaviate/config-refs/schema).' + operationId: schema.objects.create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Class' + required: true + x-bodyName: objectClass + responses: + '200': + description: Added the new Object class to the schema. + content: + application/json: + schema: + $ref: '#/components/schemas/Class' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid Object class + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.add.meta + '/schema/{className}': + get: + tags: + - schema + summary: Get a single collection schema. + operationId: schema.objects.get + parameters: + - name: className + in: path + required: true + schema: + type: string + - name: consistency + in: header + description: 'If consistency is true, the request will be proxied to the leader to ensure strong schema consistency' + schema: + type: boolean + default: true + responses: + '200': + description: 'Found the Class, returned as body' + content: + application/json: + schema: + $ref: '#/components/schemas/Class' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: This class does not exist + content: + application/json: { } + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.get.meta + put: + tags: + - schema + summary: Update an existing collection. + description: 'Alter an existing collection definition.

Note that not all settings are mutable ([see this list](https://weaviate.io/developers/weaviate/config-refs/schema#mutability)). To update any other (i.e. immutable) setting, you need to delete the collection, re-create it with the correct setting and then re-import the data.

This endpoint cannot be used to modify properties. Instead use POST /v1/schema/{className}/properties. A typical use case for this endpoint is to update a index configuration, such as `vectorIndexConfig/dynamicEfFactor`.

You should attach a body to this PUT request with the entire new configuration of the collection.' + operationId: schema.objects.update + parameters: + - name: className + in: path + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Class' + required: true + x-bodyName: objectClass + responses: + '200': + description: Class was updated successfully + content: + application/json: + schema: + $ref: '#/components/schemas/Class' + '422': + description: Invalid update attempt + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Class to be updated does not exist + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate.meta + delete: + tags: + - schema + summary: Remove a collection (and its data). + description: Remove a collection from the schema. This will also delete all the objects in the collection. + operationId: schema.objects.delete + parameters: + - name: className + in: path + required: true + schema: + type: string + responses: + '200': + description: Removed the Object class from the schema. + content: + application/json: { } + '400': + description: Could not delete the Object class. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate.meta + '/schema/{className}/properties': + post: + tags: + - schema + summary: Add a property. + description: 'Add a property to an existing collection.

If possible, we encourage you to create all required properties at collection creation time. Adding a property after collection creation can lead to [some indexing limitations](https://weaviate.io/developers/weaviate/config-refs/schema).' + operationId: schema.objects.properties.add + parameters: + - name: className + in: path + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Property' + required: true + x-bodyName: body + responses: + '200': + description: Added the property. + content: + application/json: + schema: + $ref: '#/components/schemas/Property' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid property. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate.meta + '/schema/{className}/shards': + get: + tags: + - schema + summary: Get the shard status + description: Get the status of every shard in the cluster. + operationId: schema.objects.shards.get + parameters: + - name: className + in: path + required: true + schema: + type: string + - name: tenant + in: query + schema: + type: string + responses: + '200': + description: 'Found the status of the shards, returned as body' + content: + application/json: + schema: + $ref: '#/components/schemas/ShardStatusList' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: This class does not exist + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.get.meta + '/schema/{className}/shards/{shardName}': + put: + tags: + - schema + summary: Update a shard status. + description: 'Update a shard status for a collection. For example, a shard may have been marked as `READONLY` because its disk was full. After providing more disk space, use this endpoint to set the shard status to `READY` again. There is also a convenience function in each client to set the status of all shards of a collection.' + operationId: schema.objects.shards.update + parameters: + - name: className + in: path + required: true + schema: + type: string + - name: shardName + in: path + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ShardStatus' + required: true + x-bodyName: body + responses: + '200': + description: Shard status was updated successfully + content: + application/json: + schema: + $ref: '#/components/schemas/ShardStatus' + '422': + description: Invalid update attempt + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Shard to be updated does not exist + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.manipulate.meta + '/schema/{className}/tenants': + get: + tags: + - schema + summary: Get the list of tenants. + description: Get all tenants from a collection. + operationId: tenants.get + parameters: + - name: className + in: path + required: true + schema: + type: string + - name: consistency + in: header + description: 'If consistency is true, the request will be proxied to the leader to ensure strong schema consistency' + schema: + type: boolean + default: true + responses: + '200': + description: tenants from specified class. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tenant' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid Tenant class + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + put: + tags: + - schema + summary: Update a tenant. + description: Update a tenant for a collection + operationId: tenants.update + parameters: + - name: className + in: path + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tenant' + required: true + x-bodyName: body + responses: + '200': + description: Updated tenants of the specified class + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tenant' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid Tenant class + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + post: + tags: + - schema + summary: Create a new tenant + description: Create a new tenant for a collection. Multi-tenancy must be enabled in the collection definition. + operationId: tenants.create + parameters: + - name: className + in: path + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tenant' + required: true + x-bodyName: body + responses: + '200': + description: Added new tenants to the specified class + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tenant' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid Tenant class + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + delete: + tags: + - schema + summary: Delete tenant(s). + description: Delete tenants from a collection + operationId: tenants.delete + parameters: + - name: className + in: path + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: array + items: + type: string + required: true + x-bodyName: tenants + responses: + '200': + description: Deleted tenants from specified class. + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid Tenant class + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '/schema/{className}/tenants/{tenantName}': + head: + tags: + - schema + summary: Check whether a tenant exists + description: Check if a tenant exists for a specific class + operationId: tenant.exists + parameters: + - name: className + in: path + required: true + schema: + type: string + - name: tenantName + in: path + required: true + schema: + type: string + - name: consistency + in: header + description: 'If consistency is true, the request will be proxied to the leader to ensure strong schema consistency' + schema: + type: boolean + default: true + responses: + '200': + description: The tenant exists in the specified class + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The tenant not found + content: + application/json: { } + '422': + description: Invalid Tenant class + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '/backups/{backend}': + get: + tags: + - backups + summary: List backups in progress + description: List all backups in progress + operationId: backups.list + parameters: + - name: backend + in: path + description: 'Backup backend name e.g. filesystem, gcs, s3.' + required: true + schema: + type: string + responses: + '200': + description: Existed backups + content: + application/json: + schema: + $ref: '#/components/schemas/BackupListResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid backup list. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.backup + post: + tags: + - backups + summary: Start a backup process + description: 'Start creating a backup for a set of collections.

Notes:
- Weaviate uses gzip compression by default.
- Weaviate stays usable while a backup process is ongoing.' + operationId: backups.create + parameters: + - name: backend + in: path + description: 'Backup backend name e.g. `filesystem`, `gcs`, `s3`, `azure`.' + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BackupCreateRequest' + required: true + x-bodyName: body + responses: + '200': + description: Backup create process successfully started. + content: + application/json: + schema: + $ref: '#/components/schemas/BackupCreateResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid backup creation attempt. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.backup + '/backups/{backend}/{id}': + get: + tags: + - backups + summary: Get backup process status + description: 'Returns status of backup creation attempt for a set of collections.

All client implementations have a `wait for completion` option which will poll the backup status in the background and only return once the backup has completed (successfully or unsuccessfully). If you set the `wait for completion` option to false, you can also check the status yourself using this endpoint.' + operationId: backups.create.status + parameters: + - name: backend + in: path + description: 'Backup backend name e.g. filesystem, gcs, s3.' + required: true + schema: + type: string + - name: id + in: path + description: 'The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.' + required: true + schema: + type: string + responses: + '200': + description: Backup creation status successfully returned + content: + application/json: + schema: + $ref: '#/components/schemas/BackupCreateStatusResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Not Found - Backup does not exist + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid backup restoration status attempt. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.backup + delete: + tags: + - backups + summary: Cancel backup + description: Cancel created backup with specified ID + operationId: backups.cancel + parameters: + - name: backend + in: path + description: 'Backup backend name e.g. filesystem, gcs, s3.' + required: true + schema: + type: string + - name: id + in: path + description: 'The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.' + required: true + schema: + type: string + responses: + '204': + description: Successfully deleted. + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid backup cancellation attempt. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.backup + '/backups/{backend}/{id}/restore': + get: + tags: + - backups + summary: Get restore process status + description: 'Returns status of a backup restoration attempt for a set of classes.

All client implementations have a `wait for completion` option which will poll the backup status in the background and only return once the backup has completed (successfully or unsuccessfully). If you set the `wait for completion` option to false, you can also check the status yourself using the this endpoint.' + operationId: backups.restore.status + parameters: + - name: backend + in: path + description: 'Backup backend name e.g. `filesystem`, `gcs`, `s3`, `azure`.' + required: true + schema: + type: string + - name: id + in: path + description: 'The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.' + required: true + schema: + type: string + responses: + '200': + description: Backup restoration status successfully returned + content: + application/json: + schema: + $ref: '#/components/schemas/BackupRestoreStatusResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Not Found - Backup does not exist + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.backup + post: + tags: + - backups + summary: Start a restoration process + description: 'Starts a process of restoring a backup for a set of collections.

Any backup can be restored to any machine, as long as the number of nodes between source and target are identical.

Requrements:

- None of the collections to be restored already exist on the target restoration node(s).
- The node names of the backed-up collections'' must match those of the target restoration node(s).' + operationId: backups.restore + parameters: + - name: backend + in: path + description: 'Backup backend name e.g. `filesystem`, `gcs`, `s3`, `azure`.' + required: true + schema: + type: string + - name: id + in: path + description: 'The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.' + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BackupRestoreRequest' + required: true + x-bodyName: body + responses: + '200': + description: Backup restoration process successfully started. + content: + application/json: + schema: + $ref: '#/components/schemas/BackupRestoreResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Not Found - Backup does not exist + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid backup restoration attempt. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.local.backup + /cluster/statistics: + get: + tags: + - cluster + summary: See Raft cluster statistics + description: Returns Raft cluster statistics of Weaviate DB. + operationId: cluster.get.statistics + responses: + '200': + description: Cluster statistics successfully returned + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterStatisticsResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid backup restoration status attempt. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.cluster.statistics.get + /nodes: + get: + tags: + - nodes + summary: Node information for the database. + description: Returns node information for the entire database. + operationId: nodes.get + parameters: + - $ref: '#/components/parameters/CommonOutputVerbosityParameterQuery' + responses: + '200': + description: Nodes status successfully returned + content: + application/json: + schema: + $ref: '#/components/schemas/NodesStatusResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Not Found - Backup does not exist + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid backup restoration status attempt. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.nodes.status.get + '/nodes/{className}': + get: + tags: + - nodes + summary: Node information for a collection. + description: Returns node information for the nodes relevant to the collection. + operationId: nodes.get.class + parameters: + - name: className + in: path + required: true + schema: + type: string + - $ref: '#/components/parameters/CommonOutputVerbosityParameterQuery' + responses: + '200': + description: Nodes status successfully returned + content: + application/json: + schema: + $ref: '#/components/schemas/NodesStatusResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Not Found - Backup does not exist + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: Invalid backup restoration status attempt. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.nodes.status.get.class + /classifications/: + post: + tags: + - classifications + summary: Starts a classification. + description: 'Trigger a classification based on the specified params. Classifications will run in the background, use GET /classifications/ to retrieve the status of your classification.' + operationId: classifications.post + requestBody: + description: parameters to start a classification + content: + application/json: + schema: + $ref: '#/components/schemas/Classification' + required: true + x-bodyName: params + responses: + '201': + description: Successfully started classification. + content: + application/json: + schema: + $ref: '#/components/schemas/Classification' + '400': + description: Incorrect request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.classifications.post + '/classifications/{id}': + get: + tags: + - classifications + summary: View previously created classification + description: 'Get status, results and metadata of a previously created classification' + operationId: classifications.get + parameters: + - name: id + in: path + description: classification id + required: true + schema: + type: string + responses: + '200': + description: 'Found the classification, returned as body' + content: + application/json: + schema: + $ref: '#/components/schemas/Classification' + '404': + description: Not Found - Classification does not exist + content: + application/json: { } + '401': + description: Unauthorized or invalid credentials. + content: + application/json: { } + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-serviceIds: + - weaviate.classifications.get +components: + schemas: + Link: + type: object + properties: + href: + type: string + description: target of the link + rel: + type: string + description: 'relationship if both resources are related, e.g. ''next'', ''previous'', ''parent'', etc.' + name: + type: string + description: human readable name of the resource group + documentationHref: + type: string + description: weaviate documentation about this resource group + Principal: + type: object + properties: + username: + type: string + description: The username that was extracted either from the authentication information + groups: + type: array + items: + type: string + C11yWordsResponse: + properties: + concatenatedWord: + type: object + properties: + concatenatedWord: + type: string + singleWords: + type: array + items: + format: string + concatenatedVector: + $ref: '#/components/schemas/C11yVector' + concatenatedNearestNeighbors: + $ref: '#/components/schemas/C11yNearestNeighbors' + description: Weighted results for all words + individualWords: + type: array + items: + type: object + properties: + word: + type: string + present: + type: boolean + info: + type: object + properties: + vector: + $ref: '#/components/schemas/C11yVector' + nearestNeighbors: + $ref: '#/components/schemas/C11yNearestNeighbors' + description: Weighted results for per individual word + description: An array of available words and contexts. + C11yExtension: + properties: + concept: + type: string + description: 'The new concept you want to extend. Must be an all-lowercase single word, or a space delimited compound word. Examples: ''foobarium'', ''my custom concept''' + example: foobarium + definition: + type: string + description: 'A list of space-delimited words or a sentence describing what the custom concept is about. Avoid using the custom concept itself. An Example definition for the custom concept ''foobarium'': would be ''a naturally occurring element which can only be seen by programmers''' + weight: + type: number + description: 'Weight of the definition of the new concept where 1=''override existing definition entirely'' and 0=''ignore custom definition''. Note that if the custom concept is not present in the contextionary yet, the weight cannot be less than 1.' + format: float + description: 'A resource describing an extension to the contextinoary, containing both the identifier and the definition of the extension' + C11yNearestNeighbors: + type: array + items: + type: object + properties: + word: + type: string + distance: + type: number + format: float + description: C11y function to show the nearest neighbors to a word. + C11yVector: + type: array + items: + type: number + format: float + description: 'A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting.' + Vector: + type: array + items: + type: number + format: float + description: 'A vector representation of the object. If provided at object creation, this wil take precedence over any vectorizer setting.' + Vectors: + type: object + additionalProperties: + $ref: '#/components/schemas/Vector' + description: A map of named vectors for multi-vector representations. + C11yVectorBasedQuestion: + type: array + items: + type: object + properties: + classVectors: + maxItems: 300 + minItems: 300 + type: array + items: + type: number + format: float + description: Vectorized classname. + classProps: + maxItems: 300 + minItems: 300 + type: array + items: + type: object + properties: + propsVectors: + type: array + items: + type: number + format: float + value: + type: string + description: String with valuename. + description: Vectorized properties. + description: 'Receive question based on array of classes, properties and values.' + Deprecation: + type: object + properties: + id: + type: string + description: The id that uniquely identifies this particular deprecations (mostly used internally) + status: + type: string + description: Whether the problematic API functionality is deprecated (planned to be removed) or already removed + apiType: + type: string + description: 'Describes which API is effected, usually one of: REST, GraphQL' + msg: + type: string + description: What this deprecation is about + mitigation: + type: string + description: User-required object to not be affected by the (planned) removal + sinceVersion: + type: string + description: The deprecation was introduced in this version + plannedRemovalVersion: + type: string + description: A best-effort guess of which upcoming version will remove the feature entirely + removedIn: + type: string + description: 'If the feature has already been removed, it was removed in this version' + x-nullable: true + removedTime: + type: string + description: 'If the feature has already been removed, it was removed at this timestamp' + format: date-time + x-nullable: true + sinceTime: + type: string + description: The deprecation was introduced in this version + format: date-time + locations: + type: array + items: + type: string + description: The locations within the specified API affected by this deprecation + ErrorResponse: + type: object + properties: + error: + type: array + items: + type: object + properties: + message: + type: string + description: An error response given by Weaviate end-points. + GraphQLError: + properties: + locations: + type: array + items: + type: object + properties: + column: + type: integer + format: int64 + line: + type: integer + format: int64 + message: + type: string + path: + type: array + items: + type: string + description: An error response caused by a GraphQL query. + GraphQLQuery: + type: object + properties: + operationName: + type: string + description: The name of the operation if multiple exist in the query. + query: + type: string + description: Query based on GraphQL syntax. + variables: + type: object + description: Additional variables for the query. + description: 'GraphQL query based on: http://facebook.github.io/graphql/.' + GraphQLQueries: + type: array + items: + $ref: '#/components/schemas/GraphQLQuery' + description: A list of GraphQL queries. + GraphQLResponse: + properties: + data: + type: object + additionalProperties: + $ref: '#/components/schemas/JsonObject' + description: GraphQL data object. + errors: + type: array + items: + $ref: '#/components/schemas/GraphQLError' + description: Array with errors. + x-omitempty: true + description: 'GraphQL based response: http://facebook.github.io/graphql/.' + GraphQLResponses: + type: array + items: + $ref: '#/components/schemas/GraphQLResponse' + description: A list of GraphQL responses. + InvertedIndexConfig: + type: object + properties: + cleanupIntervalSeconds: + type: number + description: Asynchronous index clean up happens every n seconds + format: int + default: 60 + bm25: + $ref: '#/components/schemas/BM25Config' + stopwords: + $ref: '#/components/schemas/StopwordConfig' + indexTimestamps: + type: boolean + description: Index each object by its internal timestamps + default: false + indexNullState: + type: boolean + description: Index each object with the null state + default: false + indexPropertyLength: + type: boolean + description: Index length of properties + default: false + description: Configure the inverted index built into Weaviate + ShardingConfig: + type: object + properties: + desiredCount: + type: integer + description: '(Defaults to the number of nodes in the cluster.) Controls how many shards should be created for this collection index. The typical setting is that a collection should be distributed across all the nodes in the cluster, but you can explicitly set this value to a lower value. If the `desiredCount` is larger than the amount of physical nodes in the cluster, then some nodes will contain multiple shards.' + virtualPerPhysical: + type: integer + description: Weaviate uses virtual shards. This helps in reducing the amount of data moved when resharding + default: 128 + description: Specify how the index should be sharded and distributed in the cluster + ReplicationConfig: + type: object + properties: + factor: + type: integer + description: Number of times a class is replicated + default: 1 + asyncEnabled: + type: boolean + description: Enable asynchronous replication + x-omitempty: false + objectDeletionConflictResolution: + enum: + - NoAutomatedResolution + - PermanentDeletion + type: string + description: Conflict resolution strategy for deleted objects + x-omitempty: true + description: Configure how replication is executed in a cluster + BM25Config: + type: object + properties: + k1: + type: number + description: Calibrates term-weight scaling based on the term frequency within a document + format: float + default: 1.2 + b: + type: number + description: Calibrates term-weight scaling based on the document length + format: float + default: 0.75 + description: tuning parameters for the BM25 algorithm + StopwordConfig: + type: object + properties: + preset: + enum: + - en + - none + type: string + description: pre-existing list of common words by language + default: en + additions: + type: array + items: + type: string + description: Stopwords to be considered additionally. Can be any array of custom strings. + removals: + type: array + items: + type: string + description: stopwords to be removed from consideration. Can be any array of custom strings. + description: fine-grained control over stopword list usage + MultiTenancyConfig: + properties: + enabled: + type: boolean + description: Whether or not multi-tenancy is enabled for this class + default: false + x-omitempty: false + autoTenantCreation: + type: boolean + description: Nonexistent tenants should (not) be created implicitly + x-omitempty: false + autoTenantActivation: + type: boolean + description: Existing tenants should (not) be turned HOT implicitly when they are accessed and in another activity status + x-omitempty: false + description: Configuration related to multi-tenancy within a class + JsonObject: + type: object + description: JSON object value. + Meta: + type: object + properties: + hostname: + type: string + description: The url of the host. + format: url + version: + type: string + description: The Weaviate server version. + modules: + type: object + description: Module-specific meta information. + description: Contains meta information of the current Weaviate instance. + MultipleRef: + type: array + items: + $ref: '#/components/schemas/SingleRef' + description: Multiple instances of references to other objects. + PatchDocumentObject: + required: + - op + - path + properties: + from: + type: string + description: A string containing a JSON Pointer value. + op: + enum: + - add + - remove + - replace + - move + - copy + - test + type: string + description: The operation to be performed. + path: + type: string + description: A JSON-Pointer. + value: + type: object + description: The value to be used within the operations. + merge: + $ref: '#/components/schemas/Object' + description: 'Either a JSONPatch document as defined by RFC 6902 (from, op, path, value), or a merge document (RFC 7396).' + PatchDocumentAction: + required: + - op + - path + properties: + from: + type: string + description: A string containing a JSON Pointer value. + op: + enum: + - add + - remove + - replace + - move + - copy + - test + type: string + description: The operation to be performed. + path: + type: string + description: A JSON-Pointer. + value: + type: object + description: The value to be used within the operations. + merge: + $ref: '#/components/schemas/Object' + description: 'Either a JSONPatch document as defined by RFC 6902 (from, op, path, value), or a merge document (RFC 7396).' + PeerUpdate: + properties: + id: + type: string + description: The session ID of the peer. + format: uuid + name: + type: string + description: Human readable name. + uri: + type: string + description: The location where the peer is exposed to the internet. + format: uri + schemaHash: + type: string + description: The latest known hash of the peer's schema. + description: A single peer in the network. + PeerUpdateList: + type: array + items: + $ref: '#/components/schemas/PeerUpdate' + description: List of known peers. + VectorWeights: + type: object + description: 'Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word.' + PropertySchema: + type: object + description: 'Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection.' + SchemaHistory: + type: object + description: 'This is an open object, with OpenAPI Specification 3.0 this will be more detailed. See Weaviate docs for more info. In the future this will become a key/value OR a SingleRef definition.' + Schema: + type: object + properties: + classes: + type: array + items: + $ref: '#/components/schemas/Class' + description: Semantic classes that are available. + maintainer: + type: string + description: Email of the maintainer. + format: email + name: + type: string + description: Name of the schema. + description: 'Definitions of semantic schemas (also see: https://github.com/weaviate/weaviate-semantic-schemas).' + SchemaClusterStatus: + type: object + properties: + healthy: + type: boolean + description: 'True if the cluster is in sync, false if there is an issue (see error).' + x-omitempty: false + error: + type: string + description: Contains the sync check error if one occurred + x-omitempty: true + hostname: + type: string + description: 'Hostname of the coordinating node, i.e. the one that received the cluster. This can be useful information if the error message contains phrases such as ''other nodes agree, but local does not'', etc.' + nodeCount: + type: number + description: Number of nodes that participated in the sync check + format: int + ignoreSchemaSync: + type: boolean + description: The cluster check at startup can be ignored (to recover from an out-of-sync situation). + x-omitempty: false + description: Indicates the health of the schema in a cluster. + Class: + required: + - class + type: object + properties: + class: + type: string + description: 'Name of the collection (a.k.a. class). Multiple words should be concatenated in CamelCase, e.g. `ArticleAuthor`.' + vectorConfig: + type: object + properties: + : + $ref: '#/components/schemas/VectorConfig' + description: 'Configure named vectors (https://weaviate.io/developers/weaviate/config-refs/schema/multi-vector). Either use this field or `vectorizer`, `vectorIndexType`, and `vectorIndexConfig` fields. Available from `v1.24.0`.' + vectorIndexType: + $ref: '#/components/schemas/VectorIndexType' + vectorIndexConfig: + $ref: '#/components/schemas/VectorIndexConfig' + shardingConfig: + $ref: '#/components/schemas/ShardingConfig' + replicationConfig: + $ref: '#/components/schemas/ReplicationConfig' + invertedIndexConfig: + $ref: '#/components/schemas/InvertedIndexConfig' + multiTenancyConfig: + $ref: '#/components/schemas/MultiTenancyConfig' + vectorizer: + $ref: '#/components/schemas/Vectorizer' + moduleConfig: + type: object + properties: + : + $ref: '#/components/schemas/CollectionModuleConfig' + description: Configuration specific to modules in a collection context. + description: + type: string + description: Description of the collection for documentation purposes. + properties: + type: array + items: + $ref: '#/components/schemas/Property' + description: Define properties of the collection. + Property: + required: + - name + - dataType + type: object + properties: + dataType: + $ref: '#/components/schemas/DataType' + description: + $ref: '#/components/schemas/PropertyDescription' + moduleConfig: + type: object + properties: + : + $ref: '#/components/schemas/PropertyModuleConfig' + description: Configuration specific to modules in a property context. + name: + $ref: '#/components/schemas/PropertyName' + indexInverted: + type: boolean + description: '(Deprecated) Whether to include this property in the inverted index. If `false`, this property cannot be used in `where` filters, `bm25` or `hybrid` search.

Unrelated to vectorization behavior (deprecated as of v1.19; use indexFilterable or/and indexSearchable instead)' + default: true + x-nullable: true + indexFilterable: + $ref: '#/components/schemas/IndexFilterable' + indexSearchable: + $ref: '#/components/schemas/IndexSearchable' + indexRangeFilters: + $ref: '#/components/schemas/indexRangeFilters' + tokenization: + $ref: '#/components/schemas/Tokenization' + nestedProperties: + type: array + items: + $ref: '#/components/schemas/NestedProperty' + description: 'The properties of the nested object(s). Applies to object and object[] data types.' + x-omitempty: true + CollectionModuleConfig: + type: object + properties: + vectorizeClassName: + type: boolean + description: Whether the name of the collection is used in determining the object vector. + default: true + description: 'E.g. `text2vec-transformers`, `text2vec-openai`.' + PropertyModuleConfig: + type: object + properties: + skip: + type: boolean + description: 'If true, the whole property will NOT be included in vectorization.' + default: false + vectorizePropertyName: + type: boolean + description: Whether the name of the property is used in determining the object vector. + default: true + description: 'E.g. `text2vec-transformers`, `text2vec-openai`.' + VectorConfig: + type: object + properties: + vectorizer: + $ref: '#/components/schemas/Vectorizer' + vectorIndexType: + $ref: '#/components/schemas/VectorIndexType' + vectorIndexConfig: + $ref: '#/components/schemas/VectorIndexConfig' + description: Configuration of each named vector. + Vectorizer: + enum: + - none + - + type: string + description: 'Vectorizer for this collection (e.g. `text2vec-transformers`). This will override any cluster-wide default set by an environment variable.

If `none`, you must import a vector with each object yourself.' + VectorIndexType: + enum: + - hnsw + - flat + type: string + description: 'Name of the vector index to use, eg. (HNSW)' + default: hnsw + VectorIndexConfig: + type: object + description: 'Vector index type specific settings. See the [vector index configuration page](https://weaviate.io/developers/weaviate/config-refs/schema/vector-index) for more details' + Tokenization: + enum: + - word + - lowercase + - whitespace + - field + - trigram + - gse + - kagome_kr + type: string + description: 'Set tokenization of the property as separate words or whole field. Applies to text and text[] data types.' + default: word + IndexFilterable: + type: boolean + description: 'Whether to include this property in the filterable, Roaring Bitmap index. If `false`, this property cannot be used in `where` filters.

Unrelated to vectorization behavior.' + default: true + x-nullable: true + IndexSearchable: + type: boolean + description: 'Whether to include this property in the searchable, inverted index. Applicable only to properties of data type text and text[]. If `false`, this property cannot be used in `bm25` or `hybrid` searches.

Unrelated to vectorization behavior.' + default: true + x-nullable: true + indexRangeFilters: + type: boolean + description: 'Whether to include this property in the filterable, range-based Roaring Bitmap inverted index. Defaults to false. Provides better performance for range queries compared to filterable index in large datasets. Applicable only to properties of data type int, number, date.' + x-nullable: true + PropertyName: + type: string + description: 'The name of the property. Multiple words should be concatenated in camelCase, e.g. `nameOfAuthor`.' + DataType: + type: array + items: + enum: + - string + - 'string[]' + - object + - 'object[]' + - int + - 'int[]' + - number + - 'number[]' + - date + - 'date[]' + - uuid + - 'uuid[]' + - geoCoordinates + - phoneNumber + - blob + - + type: string + description: 'Data type of the property. If it starts with a capital (for example Person), may be a reference to another type.' + PropertyDescription: + type: string + description: Description of the property for documentation purposes. + NestedProperty: + required: + - name + - dataType + type: object + properties: + name: + $ref: '#/components/schemas/PropertyName' + dataType: + $ref: '#/components/schemas/DataType' + description: + $ref: '#/components/schemas/PropertyDescription' + indexFilterable: + $ref: '#/components/schemas/IndexFilterable' + indexSearchable: + $ref: '#/components/schemas/IndexSearchable' + indexRangeFilters: + $ref: '#/components/schemas/indexRangeFilters' + tokenization: + $ref: '#/components/schemas/Tokenization' + nestedProperties: + type: array + items: + $ref: '#/components/schemas/NestedProperty' + description: Specify the properties of the nested object(s) as required. + x-omitempty: true + ShardStatusList: + type: array + items: + $ref: '#/components/schemas/ShardStatusGetResponse' + description: The status of all the shards of a Class + ShardStatusGetResponse: + properties: + name: + type: string + description: Name of the shard + status: + type: string + description: Status of the shard + vectorQueueSize: + type: integer + description: Size of the vector queue of the shard + x-omitempty: false + description: Response body of shard status get request + ShardStatus: + properties: + status: + type: string + description: Status of the shard + description: The status of a single shard + BackupCreateStatusResponse: + properties: + id: + type: string + description: 'The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.' + backend: + type: string + description: 'Backup backend name e.g. filesystem, gcs, s3.' + path: + type: string + description: destination path of backup files proper to selected backend + error: + type: string + description: error message if creation failed + status: + enum: + - STARTED + - TRANSFERRING + - TRANSFERRED + - SUCCESS + - FAILED + - CANCELED + type: string + description: phase of backup creation process + default: STARTED + description: The definition of a backup create metadata + BackupRestoreStatusResponse: + properties: + id: + type: string + description: 'The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.' + backend: + type: string + description: 'Backup backend name e.g. filesystem, gcs, s3.' + path: + type: string + description: destination path of backup files proper to selected backup backend + error: + type: string + description: error message if restoration failed + status: + enum: + - STARTED + - TRANSFERRING + - TRANSFERRED + - SUCCESS + - FAILED + type: string + description: phase of backup restoration process + default: STARTED + description: The definition of a backup restore metadata + BackupConfig: + type: object + properties: + CPUPercentage: + maximum: 80 + minimum: 1 + type: integer + description: Desired CPU core utilization ranging from 1%-80% + default: 50 + x-nullable: false + ChunkSize: + maximum: 512 + minimum: 2 + type: integer + description: 'Aimed chunk size, with a minimum of 2MB, default of 128MB, and a maximum of 512MB. The actual chunk size may vary.' + default: 128 + x-nullable: false + CompressionLevel: + enum: + - DefaultCompression + - BestSpeed + - BestCompression + type: string + description: Compression level used by compression algorithm + default: DefaultCompression + x-nullable: false + description: Backup custom configuration + RestoreConfig: + type: object + properties: + CPUPercentage: + maximum: 80 + minimum: 1 + type: integer + description: Desired CPU core utilization ranging from 1%-80% + default: 50 + x-nullable: false + description: Backup custom configuration + BackupCreateRequest: + required: + - id + properties: + id: + type: string + description: 'The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.' + config: + $ref: '#/components/schemas/BackupConfig' + include: + type: array + items: + type: string + description: 'List of collections to include in the backup creation process. If not set, all collections are included. Cannot be used together with `exclude`.' + exclude: + type: array + items: + type: string + description: 'List of collections to exclude from the backup creation process. If not set, all collections are included. Cannot be used together with `include`.' + description: Request body for creating a backup of a set of classes + BackupCreateResponse: + properties: + id: + type: string + description: 'The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.' + classes: + type: array + items: + type: string + description: The list of classes for which the backup creation process was started + backend: + type: string + description: 'Backup backend name e.g. filesystem, gcs, s3.' + path: + type: string + description: destination path of backup files proper to selected backend + error: + type: string + description: error message if creation failed + status: + enum: + - STARTED + - TRANSFERRING + - TRANSFERRED + - SUCCESS + - FAILED + type: string + description: phase of backup creation process + default: STARTED + description: The definition of a backup create response body + BackupListResponse: + type: array + items: + type: object + properties: + id: + type: string + description: 'The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.' + path: + type: string + description: destination path of backup files proper to selected backend + classes: + type: array + items: + type: string + description: The list of classes for which the existed backup process + status: + enum: + - STARTED + - TRANSFERRING + - TRANSFERRED + - SUCCESS + - FAILED + - CANCELED + type: string + description: status of backup process + description: The definition of a backup create response body + BackupRestoreRequest: + properties: + config: + $ref: '#/components/schemas/RestoreConfig' + include: + type: array + items: + type: string + description: 'List of collections to include in the backup restoration process. If not set, all collections are included. Cannot be used together with `exclude`.' + exclude: + type: array + items: + type: string + description: 'List of collections to exclude from the backup restoration process. If not set, all collections are included. Cannot be used together with `include`.' + node_mapping: + type: object + additionalProperties: + type: string + description: Allows overriding the node names stored in the backup with different ones. Useful when restoring backups to a different environment. + description: Request body for restoring a backup for a set of classes + BackupRestoreResponse: + properties: + id: + type: string + description: 'The ID of the backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed.' + classes: + type: array + items: + type: string + description: The list of classes for which the backup restoration process was started + backend: + type: string + description: 'Backup backend name e.g. filesystem, gcs, s3.' + path: + type: string + description: destination path of backup files proper to selected backend + error: + type: string + description: error message if restoration failed + status: + enum: + - STARTED + - TRANSFERRING + - TRANSFERRED + - SUCCESS + - FAILED + type: string + description: phase of backup restoration process + default: STARTED + description: The definition of a backup restore response body + NodeStats: + properties: + shardCount: + type: number + description: 'The count of Weaviate''s shards. To see this value, set `output` to `verbose`.' + format: int + x-omitempty: false + objectCount: + type: number + description: The total number of objects in DB. + format: int64 + x-omitempty: false + description: The summary of Weaviate's statistics. + BatchStats: + properties: + queueLength: + type: number + description: How many objects are currently in the batch queue. + format: int + x-omitempty: true + x-nullable: true + ratePerSecond: + type: number + description: How many objects are approximately processed from the batch queue per second. + format: int + x-omitempty: false + description: The summary of a nodes batch queue congestion status. + NodeShardStatus: + properties: + name: + type: string + description: The name of the shard. + x-omitempty: false + class: + type: string + description: The name of shard's class. + x-omitempty: false + objectCount: + type: number + description: The number of objects in shard. + format: int64 + x-omitempty: false + vectorIndexingStatus: + description: The status of the vector indexing process. + format: string + x-omitempty: false + compressed: + description: The status of vector compression/quantization. + format: boolean + x-omitempty: false + vectorQueueLength: + type: number + description: The length of the vector indexing queue. + format: int64 + x-omitempty: false + loaded: + type: boolean + description: The load status of the shard. + x-omitempty: false + description: The definition of a node shard status response body + NodeStatus: + properties: + name: + type: string + description: The name of the node. + status: + enum: + - HEALTHY + - UNHEALTHY + - UNAVAILABLE + - TIMEOUT + - INDEXING + type: string + description: Node's status. + default: HEALTHY + version: + type: string + description: The version of Weaviate. + gitHash: + type: string + description: The gitHash of Weaviate. + stats: + $ref: '#/components/schemas/NodeStats' + batchStats: + $ref: '#/components/schemas/BatchStats' + shards: + type: array + items: + $ref: '#/components/schemas/NodeShardStatus' + description: The list of the shards with it's statistics. + description: The definition of a backup node status response body + NodesStatusResponse: + type: object + properties: + nodes: + type: array + items: + $ref: '#/components/schemas/NodeStatus' + description: The status of all of the Weaviate nodes + RaftStatistics: + properties: + appliedIndex: + type: string + commitIndex: + type: string + fsmPending: + type: string + lastContact: + type: string + lastLogIndex: + type: string + lastLogTerm: + type: string + lastSnapshotIndex: + type: string + lastSnapshotTerm: + type: string + latestConfiguration: + type: object + description: Weaviate Raft nodes. + latestConfigurationIndex: + type: string + numPeers: + type: string + protocolVersion: + type: string + protocolVersionMax: + type: string + protocolVersionMin: + type: string + snapshotVersionMax: + type: string + snapshotVersionMin: + type: string + state: + type: string + term: + type: string + description: The definition of Raft statistics. + Statistics: + properties: + name: + type: string + description: The name of the node. + status: + enum: + - HEALTHY + - UNHEALTHY + - UNAVAILABLE + - TIMEOUT + type: string + description: Node's status. + default: HEALTHY + bootstrapped: + type: boolean + dbLoaded: + type: boolean + initialLastAppliedIndex: + type: number + format: uint64 + lastAppliedIndex: + type: number + isVoter: + type: boolean + leaderId: + type: object + leaderAddress: + type: object + open: + type: boolean + ready: + type: boolean + candidates: + type: object + raft: + $ref: '#/components/schemas/RaftStatistics' + description: The definition of node statistics. + ClusterStatisticsResponse: + type: object + properties: + statistics: + type: array + items: + $ref: '#/components/schemas/Statistics' + synchronized: + type: boolean + x-omitempty: false + description: The cluster statistics of all of the Weaviate nodes + SingleRef: + properties: + class: + type: string + description: 'If using a concept reference (rather than a direct reference), specify the desired class name here' + format: uri + schema: + $ref: '#/components/schemas/PropertySchema' + beacon: + type: string + description: 'If using a direct reference, specify the URI to point to the cross-ref here. Should be in the form of weaviate://localhost/ for the example of a local cross-ref to an object' + format: uri + href: + type: string + description: 'If using a direct reference, this read-only fields provides a link to the referenced resource. If ''origin'' is globally configured, an absolute URI is shown - a relative URI otherwise.' + format: uri + classification: + $ref: '#/components/schemas/ReferenceMetaClassification' + description: Either set beacon (direct reference) or set class and schema (concept reference) + AdditionalProperties: + type: object + additionalProperties: + type: object + description: (Response only) Additional meta information about a single object. + ReferenceMetaClassification: + properties: + overallCount: + type: number + description: 'overall neighbors checked as part of the classification. In most cases this will equal k, but could be lower than k - for example if not enough data was present' + format: int64 + winningCount: + type: number + description: 'size of the winning group, a number between 1..k' + format: int64 + losingCount: + type: number + description: 'size of the losing group, can be 0 if the winning group size equals k' + format: int64 + closestOverallDistance: + type: number + description: 'The lowest distance of any neighbor, regardless of whether they were in the winning or losing group' + format: float32 + winningDistance: + type: number + description: 'deprecated - do not use, to be removed in 0.23.0' + format: float32 + meanWinningDistance: + type: number + description: Mean distance of all neighbors from the winning group + format: float32 + closestWinningDistance: + type: number + description: Closest distance of a neighbor from the winning group + format: float32 + closestLosingDistance: + type: number + description: 'The lowest distance of a neighbor in the losing group. Optional. If k equals the size of the winning group, there is no losing group' + format: float32 + x-nullable: true + losingDistance: + type: number + description: 'deprecated - do not use, to be removed in 0.23.0' + format: float32 + x-nullable: true + meanLosingDistance: + type: number + description: 'Mean distance of all neighbors from the losing group. Optional. If k equals the size of the winning group, there is no losing group.' + format: float32 + x-nullable: true + description: This meta field contains additional info about the classified reference property + BatchReference: + properties: + from: + type: string + description: 'Long-form beacon-style URI to identify the source of the cross-ref including the property name. Should be in the form of weaviate://localhost////, where must be one of ''objects'', ''objects'' and and must represent the cross-ref property of source class to be used.' + format: uri + example: weaviate://localhost/Zoo/a5d09582-4239-4702-81c9-92a6e0122bb4/hasAnimals + to: + type: string + description: Short-form URI to point to the cross-ref. Should be in the form of weaviate://localhost/ for the example of a local cross-ref to an object + format: uri + example: weaviate://localhost/97525810-a9a5-4eb0-858a-71449aeb007f + tenant: + type: string + description: Name of the reference tenant. + BatchReferenceResponse: + type: object + allOf: + - $ref: '#/components/schemas/BatchReference' + - properties: + result: + properties: + status: + enum: + - SUCCESS + - PENDING + - FAILED + type: string + default: SUCCESS + errors: + $ref: '#/components/schemas/ErrorResponse' + description: Results for this specific reference. + format: object + GeoCoordinates: + properties: + latitude: + type: number + description: The latitude of the point on earth in decimal form + format: float + x-nullable: true + longitude: + type: number + description: The longitude of the point on earth in decimal form + format: float + x-nullable: true + PhoneNumber: + properties: + input: + type: string + description: The raw input as the phone number is present in your raw data set. It will be parsed into the standardized formats if valid. + internationalFormatted: + type: string + description: Read-only. Parsed result in the international format (e.g. +49 123 ...) + defaultCountry: + type: string + description: Optional. The ISO 3166-1 alpha-2 country code. This is used to figure out the correct countryCode and international format if only a national number (e.g. 0123 4567) is provided + countryCode: + type: number + description: Read-only. The numerical country code (e.g. 49) + format: uint64 + national: + type: number + description: Read-only. The numerical representation of the national part + format: uint64 + nationalFormatted: + type: string + description: Read-only. Parsed result in the national format (e.g. 0123 456789) + valid: + type: boolean + description: Read-only. Indicates whether the parsed number is a valid phone number + Object: + type: object + properties: + class: + type: string + description: The object collection name. + vectorWeights: + $ref: '#/components/schemas/VectorWeights' + properties: + $ref: '#/components/schemas/PropertySchema' + id: + type: string + description: ID of the object. + format: uuid + creationTimeUnix: + type: integer + description: (Response only) Timestamp of creation of this object in milliseconds since epoch UTC. + format: int64 + lastUpdateTimeUnix: + type: integer + description: (Response only) Timestamp of the last object update in milliseconds since epoch UTC. + format: int64 + vector: + $ref: '#/components/schemas/C11yVector' + vectors: + $ref: '#/components/schemas/Vectors' + tenant: + type: string + description: Name of the tenant. + additional: + $ref: '#/components/schemas/AdditionalProperties' + ObjectsGetResponse: + type: object + allOf: + - $ref: '#/components/schemas/Object' + - properties: + deprecations: + type: array + items: + $ref: '#/components/schemas/Deprecation' + - properties: + result: + properties: + status: + enum: + - SUCCESS + - PENDING + - FAILED + type: string + default: SUCCESS + errors: + $ref: '#/components/schemas/ErrorResponse' + description: Results for this specific Object. + format: object + BatchDelete: + type: object + properties: + match: + type: object + properties: + class: + type: string + description: Class (name) which objects will be deleted. + example: City + where: + $ref: '#/components/schemas/WhereFilter' + description: Outlines how to find the objects to be deleted. + output: + enum: + - minimal + - verbose + type: string + description: Controls the verbosity of the output. + default: minimal + dryRun: + type: boolean + description: 'If true, the call will show which objects would be matched using the specified filter without deleting any objects.

Depending on the configured verbosity, you will either receive a count of affected objects, or a list of IDs.' + default: false + BatchDeleteResponse: + type: object + properties: + match: + type: object + properties: + class: + type: string + description: Class (name) which objects will be deleted. + example: City + where: + $ref: '#/components/schemas/WhereFilter' + description: Outlines how to find the objects to be deleted. + output: + enum: + - minimal + - verbose + type: string + description: Controls the verbosity of the output. + default: minimal + dryRun: + type: boolean + description: 'If true, objects will not be deleted yet, but merely listed. Defaults to false.' + default: false + results: + type: object + properties: + matches: + type: number + description: How many objects were matched by the filter. + format: int64 + x-omitempty: false + limit: + type: number + description: 'The most amount of objects that can be deleted in a single query, equals QUERY_MAXIMUM_RESULTS.' + format: int64 + x-omitempty: false + successful: + type: number + description: How many objects were successfully deleted in this round. + format: int64 + x-omitempty: false + failed: + type: number + description: How many objects should have been deleted but could not be deleted. + format: int64 + x-omitempty: false + objects: + type: array + items: + properties: + id: + type: string + description: ID of the Object. + format: uuid + status: + enum: + - SUCCESS + - DRYRUN + - FAILED + type: string + default: SUCCESS + errors: + $ref: '#/components/schemas/ErrorResponse' + description: Results for this specific Object. + format: object + description: With output set to "minimal" only objects with error occurred will the be described. Successfully deleted objects would be omitted. Output set to "verbose" will list all of the objets with their respective statuses. + description: Delete Objects response. + ObjectsListResponse: + type: object + properties: + objects: + type: array + items: + $ref: '#/components/schemas/Object' + description: The actual list of Objects. + deprecations: + type: array + items: + $ref: '#/components/schemas/Deprecation' + totalResults: + type: integer + description: The total number of Objects for the query. The number of items in a response may be smaller due to paging. + format: int64 + description: List of Objects. + Classification: + type: object + properties: + id: + type: string + description: ID to uniquely identify this classification run + format: uuid + example: ee722219-b8ec-4db1-8f8d-5150bb1a9e0c + class: + type: string + description: class (name) which is used in this classification + example: City + classifyProperties: + type: array + items: + type: string + description: which ref-property to set as part of the classification + example: + - inCountry + basedOnProperties: + type: array + items: + type: string + description: base the text-based classification on these fields (of type text) + example: + - description + status: + enum: + - running + - completed + - failed + type: string + description: status of this classification + example: running + meta: + $ref: '#/components/schemas/ClassificationMeta' + type: + type: string + description: which algorithm to use for classifications + settings: + type: object + description: classification-type specific settings + error: + type: string + description: error message if status == failed + default: '' + example: 'classify xzy: something went wrong' + filters: + type: object + properties: + sourceWhere: + $ref: '#/components/schemas/WhereFilter' + trainingSetWhere: + $ref: '#/components/schemas/WhereFilter' + targetWhere: + $ref: '#/components/schemas/WhereFilter' + description: 'Manage classifications, trigger them and view status of past classifications.' + ClassificationMeta: + type: object + properties: + started: + type: string + description: time when this classification was started + format: date-time + example: '2017-07-21T17:32:28.0000000+00:00' + completed: + type: string + description: time when this classification finished + format: date-time + example: '2017-07-21T17:32:28.0000000+00:00' + count: + type: integer + description: number of objects which were taken into consideration for classification + example: 147 + countSucceeded: + type: integer + description: number of objects successfully classified + example: 140 + countFailed: + type: integer + description: number of objects which could not be classified - see error message for details + example: 7 + description: Additional information to a specific classification + WhereFilter: + type: object + properties: + operands: + type: array + items: + $ref: '#/components/schemas/WhereFilter' + description: 'combine multiple where filters, requires ''And'' or ''Or'' operator' + operator: + enum: + - And + - Or + - Equal + - Like + - NotEqual + - GreaterThan + - GreaterThanEqual + - LessThan + - LessThanEqual + - WithinGeoRange + - IsNull + - ContainsAny + - ContainsAll + type: string + description: operator to use + example: GreaterThanEqual + path: + type: array + items: + type: string + description: path to the property currently being filtered + example: + - inCity + - City + - name + valueInt: + type: integer + description: value as integer + format: int64 + example: 2000 + x-nullable: true + valueNumber: + type: number + description: value as number/float + format: float64 + example: 3.14 + x-nullable: true + valueBoolean: + type: boolean + description: value as boolean + example: false + x-nullable: true + valueString: + type: string + description: value as text (deprecated as of v1.19; alias for valueText) + example: my search term + x-nullable: true + valueText: + type: string + description: value as text + example: my search term + x-nullable: true + valueDate: + type: string + description: value as date (as string) + example: TODO + x-nullable: true + valueIntArray: + type: array + items: + type: integer + format: int64 + description: value as integer + example: '[100, 200]' + x-nullable: true + x-omitempty: true + valueNumberArray: + type: array + items: + type: number + format: float64 + description: value as number/float + example: + - 3.14 + x-nullable: true + x-omitempty: true + valueBooleanArray: + type: array + items: + type: boolean + description: value as boolean + example: + - true + - false + x-nullable: true + x-omitempty: true + valueStringArray: + type: array + items: + type: string + description: value as text (deprecated as of v1.19; alias for valueText) + example: + - my search term + x-nullable: true + x-omitempty: true + valueTextArray: + type: array + items: + type: string + description: value as text + example: + - my search term + x-nullable: true + x-omitempty: true + valueDateArray: + type: array + items: + type: string + description: value as date (as string) + example: TODO + x-nullable: true + x-omitempty: true + valueGeoRange: + $ref: '#/components/schemas/WhereFilterGeoRange' + description: Filter search results using a where filter + WhereFilterGeoRange: + type: object + properties: + geoCoordinates: + $ref: '#/components/schemas/GeoCoordinates' + distance: + type: object + properties: + max: + type: number + format: float64 + description: filter within a distance of a georange + Tenant: + required: + - name + type: object + properties: + name: + type: string + description: name of the tenant + activityStatus: + enum: + - ACTIVE + - INACTIVE + - OFFLOADED + - OFFLOADING + - ONLOADING + - HOT + - COLD + - FROZEN + - FREEZING + - UNFREEZING + type: string + description: 'activity status of the tenant''s shard. Optional for creating tenant (implicit `ACTIVE`) and required for updating tenant. For creation, allowed values are `ACTIVE` - tenant is fully active and `INACTIVE` - tenant is inactive; no actions can be performed on tenant, tenant''s files are stored locally. For updating, `ACTIVE`, `INACTIVE` and also `OFFLOADED` - as INACTIVE, but files are stored on cloud storage. The following values are read-only and are set by the server for internal use: `OFFLOADING` - tenant is transitioning from ACTIVE/INACTIVE to OFFLOADED, `ONLOADING` - tenant is transitioning from OFFLOADED to ACTIVE/INACTIVE. We still accept deprecated names `HOT` (now `ACTIVE`), `COLD` (now `INACTIVE`), `FROZEN` (now `OFFLOADED`), `FREEZING` (now `OFFLOADING`), `UNFREEZING` (now `ONLOADING`).' + description: attributes representing a single tenant within weaviate + parameters: + CommonAfterParameterQuery: + name: after + in: query + description: 'A threshold UUID of the objects to retrieve after, using an UUID-based ordering. This object is not part of the set.

Must be used with `class`, typically in conjunction with `limit`.

Note `after` cannot be used with `offset` or `sort`.

For a null value similar to offset=0, set an empty string in the request, i.e. `after=` or `after`.' + schema: + type: string + CommonOffsetParameterQuery: + name: offset + in: query + description: The starting index of the result window. Note `offset` will retrieve `offset+limit` results and return `limit` results from the object with index `offset` onwards. Limited by the value of `QUERY_MAXIMUM_RESULTS`.

Should be used in conjunction with `limit`.

Cannot be used with `after`. + schema: + type: integer + format: int64 + default: 0 + CommonLimitParameterQuery: + name: limit + in: query + description: The maximum number of items to be returned per page. The default is 25 unless set otherwise as an environment variable. + schema: + type: integer + format: int64 + default: 25 + CommonIncludeParameterQuery: + name: include + in: query + description: 'Include additional information, such as classification infos. Allowed values include: `classification`, `vector`, `interpretation`, `featureProjection` and other module-specific additional properties.' + schema: + type: string + CommonConsistencyLevelParameterQuery: + name: consistency_level + in: query + description: Determines how many replicas must acknowledge a request before it is considered successful + schema: + enum: + - ONE + - QUORUM + - ALL + type: string + default: QUORUM + CommonTenantParameterQuery: + name: tenant + in: query + description: Specifies the tenant in a request targeting a multi-tenant collection + schema: + type: string + CommonNodeNameParameterQuery: + name: node_name + in: query + description: The target node which should fulfill the request + schema: + type: string + CommonSortParameterQuery: + name: sort + in: query + description: 'Name(s) of the property to sort by - e.g. `city`, or `country,city`.' + schema: + type: string + CommonOrderParameterQuery: + name: order + in: query + description: 'Order parameter to tell how to order (asc or desc) data within given field. Should be used in conjunction with `sort` parameter. If providing multiple `sort` values, provide multiple `order` values in corresponding order, e.g.: `sort=author_name,title&order=desc,asc`.' + schema: + enum: + - asc + - desc + type: string + CommonClassParameterQuery: + name: class + in: query + description: 'The collection from which to query objects.

Note that if `class` is not provided, the response will not include any objects.' + schema: + type: string + CommonOutputVerbosityParameterQuery: + name: output + in: query + description: Controls the verbosity of the output. + schema: + enum: + - minimal + - verbose + type: string + default: minimal + securitySchemes: + Bearer: + type: http + scheme: bearer +security: + - Bearer: [ ] +tags: + - name: root + description: The root of the API. Note the base url is `/v1`. + - name: schema + description: Operate on the database schema.

Note an 'Object class' in Weaviate is being renamed to a 'collection'.

See
this page for client code examples. + - name: objects + description: 'Create, update and delete objects and cross-references.' + - name: batch + description: 'Create, update and delete multiple objects and references at once.

Note that object-level errors may be reported even in a successful batch request. Accordingly, we recommend you check the response body for errors.' + - name: backups + description: 'Create, restore and check the status of backups.

See the [backups page](https://weaviate.io/developers/weaviate/configuration/backups) for a general introduction, configuration, and tech background of backups.' + - name: meta + description: 'Retrieve information about the server such as the hostname, location, versions and modules.' + - name: cluster + description: Retrieve information about the cluster. + - name: nodes + description: 'Retrieve information about relevant nodes in the cluster. The query can be for the entire cluster, or for a particular collection.' + - name: well-known + description: '`.well-known` endpoints. If OpenID Connect (OIDC) authentication is enabled, this endpoint includes OIDC configuration details.' + - name: graphql + description: 'Query data using the GraphQL query language. See the [Weaviate GraphQL documentation](https://weaviate.io/developers/weaviate/api/graphql) for query syntax details.' + - name: classifications + description: Perform classification operations +externalDocs: + url: https://github.com/weaviate/weaviate \ No newline at end of file diff --git a/src/tests/IntegrationTests/Tests.Test.cs b/src/tests/IntegrationTests/Tests.Test.cs new file mode 100644 index 0000000..60fcd06 --- /dev/null +++ b/src/tests/IntegrationTests/Tests.Test.cs @@ -0,0 +1,13 @@ +namespace Weaviate.IntegrationTests; + +public partial class Tests +{ + [TestMethod] + public async Task Generate() + { + using var client = GetAuthenticatedClient(); + + Class @class = await client.Schema.SchemaObjectsCreateAsync( + class1: "Question"); + } +} diff --git a/src/tests/IntegrationTests/Tests.cs b/src/tests/IntegrationTests/Tests.cs new file mode 100644 index 0000000..6b2cd6d --- /dev/null +++ b/src/tests/IntegrationTests/Tests.cs @@ -0,0 +1,19 @@ +namespace Weaviate.IntegrationTests; + +[TestClass] +public partial class Tests +{ + private static WeaviateClient GetAuthenticatedClient() + { + var apiKey = + Environment.GetEnvironmentVariable("WEAVIATE_API_KEY") ?? + throw new AssertInconclusiveException("WEAVIATE_API_KEY environment variable is not found."); + var url = + Environment.GetEnvironmentVariable("WEAVIATE_URL") ?? + throw new AssertInconclusiveException("WEAVIATE_URL environment variable is not found."); + + var client = new WeaviateClient(apiKey, baseUri: new Uri(url)); + + return client; + } +} diff --git a/src/tests/IntegrationTests/Weaviate.IntegrationTests.csproj b/src/tests/IntegrationTests/Weaviate.IntegrationTests.csproj new file mode 100644 index 0000000..0d5ddb3 --- /dev/null +++ b/src/tests/IntegrationTests/Weaviate.IntegrationTests.csproj @@ -0,0 +1,27 @@ + + + + net8.0 + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + + + + \ No newline at end of file