Skip to content

Commit

Permalink
run codegen to add support for returning percentile aggregates in the…
Browse files Browse the repository at this point in the history
… query result
  • Loading branch information
helenamariano authored and jonathaningram committed Mar 15, 2021
1 parent beea418 commit aa769c7
Show file tree
Hide file tree
Showing 13 changed files with 976 additions and 9 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ docs/Model/ListCollectionsResponse.md
docs/Model/ListPipelinesRequestView.md
docs/Model/ListPipelinesResponse.md
docs/Model/ListSchemaFieldsResponse.md
docs/Model/PercentileDataPoint.md
docs/Model/Pipeline.md
docs/Model/PipelineStep.md
docs/Model/PipelineStepParamBinding.md
Expand All @@ -40,6 +41,7 @@ docs/Model/QueryAggregateResultBucketsBucket.md
docs/Model/QueryAggregateResultCount.md
docs/Model/QueryAggregateResultDate.md
docs/Model/QueryAggregateResultMetric.md
docs/Model/QueryAggregateResultPercentile.md
docs/Model/QueryCollectionRequest.md
docs/Model/QueryCollectionRequestPipeline.md
docs/Model/QueryCollectionRequestTracking.md
Expand Down Expand Up @@ -90,6 +92,7 @@ lib/Model/ListPipelinesRequestView.php
lib/Model/ListPipelinesResponse.php
lib/Model/ListSchemaFieldsResponse.php
lib/Model/ModelInterface.php
lib/Model/PercentileDataPoint.php
lib/Model/Pipeline.php
lib/Model/PipelineStep.php
lib/Model/PipelineStepParamBinding.php
Expand All @@ -103,6 +106,7 @@ lib/Model/QueryAggregateResultBucketsBucket.php
lib/Model/QueryAggregateResultCount.php
lib/Model/QueryAggregateResultDate.php
lib/Model/QueryAggregateResultMetric.php
lib/Model/QueryAggregateResultPercentile.php
lib/Model/QueryCollectionRequest.php
lib/Model/QueryCollectionRequestPipeline.php
lib/Model/QueryCollectionRequestTracking.php
Expand Down Expand Up @@ -150,6 +154,7 @@ test/Model/ListCollectionsResponseTest.php
test/Model/ListPipelinesRequestViewTest.php
test/Model/ListPipelinesResponseTest.php
test/Model/ListSchemaFieldsResponseTest.php
test/Model/PercentileDataPointTest.php
test/Model/PipelineStepParamBindingTest.php
test/Model/PipelineStepTest.php
test/Model/PipelineTest.php
Expand All @@ -162,6 +167,7 @@ test/Model/QueryAggregateResultBucketsTest.php
test/Model/QueryAggregateResultCountTest.php
test/Model/QueryAggregateResultDateTest.php
test/Model/QueryAggregateResultMetricTest.php
test/Model/QueryAggregateResultPercentileTest.php
test/Model/QueryAggregateResultTest.php
test/Model/QueryCollectionRequestPipelineTest.php
test/Model/QueryCollectionRequestTest.php
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ All URIs are relative to *https://api-gateway.sajari.com*
- [ListPipelinesRequestView](docs/Model/ListPipelinesRequestView.md)
- [ListPipelinesResponse](docs/Model/ListPipelinesResponse.md)
- [ListSchemaFieldsResponse](docs/Model/ListSchemaFieldsResponse.md)
- [PercentileDataPoint](docs/Model/PercentileDataPoint.md)
- [Pipeline](docs/Model/Pipeline.md)
- [PipelineStep](docs/Model/PipelineStep.md)
- [PipelineStepParamBinding](docs/Model/PipelineStepParamBinding.md)
Expand All @@ -153,6 +154,7 @@ All URIs are relative to *https://api-gateway.sajari.com*
- [QueryAggregateResultCount](docs/Model/QueryAggregateResultCount.md)
- [QueryAggregateResultDate](docs/Model/QueryAggregateResultDate.md)
- [QueryAggregateResultMetric](docs/Model/QueryAggregateResultMetric.md)
- [QueryAggregateResultPercentile](docs/Model/QueryAggregateResultPercentile.md)
- [QueryCollectionRequest](docs/Model/QueryCollectionRequest.md)
- [QueryCollectionRequestPipeline](docs/Model/QueryCollectionRequestPipeline.md)
- [QueryCollectionRequestTracking](docs/Model/QueryCollectionRequestTracking.md)
Expand Down
10 changes: 10 additions & 0 deletions docs/Model/PercentileDataPoint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# # PercentileDataPoint

## Properties

| Name | Type | Description | Notes |
| --------- | ---------- | -------------------------------------------- | ---------- |
| **point** | **double** | The input point. | [optional] |
| **value** | **double** | The corresponding value for the given point. | [optional] |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
15 changes: 8 additions & 7 deletions docs/Model/QueryAggregateResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

## Properties

| Name | Type | Description | Notes |
| ------------ | --------------------------------------------------------------------------------- | ----------- | ---------- |
| **metric** | [**\Sajari\Model\QueryAggregateResultMetric**](QueryAggregateResultMetric.md) | | [optional] |
| **count** | [**\Sajari\Model\QueryAggregateResultCount**](QueryAggregateResultCount.md) | | [optional] |
| **buckets** | [**\Sajari\Model\QueryAggregateResultBuckets**](QueryAggregateResultBuckets.md) | | [optional] |
| **date** | [**\Sajari\Model\QueryAggregateResultDate**](QueryAggregateResultDate.md) | | [optional] |
| **analysis** | [**\Sajari\Model\QueryAggregateResultAnalysis**](QueryAggregateResultAnalysis.md) | | [optional] |
| Name | Type | Description | Notes |
| -------------- | ------------------------------------------------------------------------------------- | ----------- | ---------- |
| **metric** | [**\Sajari\Model\QueryAggregateResultMetric**](QueryAggregateResultMetric.md) | | [optional] |
| **count** | [**\Sajari\Model\QueryAggregateResultCount**](QueryAggregateResultCount.md) | | [optional] |
| **buckets** | [**\Sajari\Model\QueryAggregateResultBuckets**](QueryAggregateResultBuckets.md) | | [optional] |
| **date** | [**\Sajari\Model\QueryAggregateResultDate**](QueryAggregateResultDate.md) | | [optional] |
| **analysis** | [**\Sajari\Model\QueryAggregateResultAnalysis**](QueryAggregateResultAnalysis.md) | | [optional] |
| **percentile** | [**\Sajari\Model\QueryAggregateResultPercentile**](QueryAggregateResultPercentile.md) | | [optional] |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10 changes: 10 additions & 0 deletions docs/Model/QueryAggregateResultPercentile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# # QueryAggregateResultPercentile

## Properties

| Name | Type | Description | Notes |
| --------------- | ----------------------------------------------------------------- | ------------------------------------------------------- | ---------- |
| **percentiles** | [**\Sajari\Model\PercentileDataPoint[]**](PercentileDataPoint.md) | The percentile data points. | [optional] |
| **cdf** | [**\Sajari\Model\PercentileDataPoint[]**](PercentileDataPoint.md) | The cumulative distribution function (CDF) data points. | [optional] |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
Loading

0 comments on commit aa769c7

Please sign in to comment.