mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 04:19:37 +00:00
starting point for adding python sdk docs
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
---
|
||||
id: aggregation-result
|
||||
title: AggregationResult
|
||||
pagination_label: AggregationResult
|
||||
sidebar_label: AggregationResult
|
||||
sidebar_class_name: pythonsdk
|
||||
keywords: ['python', 'Python', 'sdk', 'AggregationResult', 'AggregationResult']
|
||||
slug: /tools/sdk/python/v3/models/aggregation-result
|
||||
tags: ['SDK', 'Software Development Kit', 'AggregationResult', 'AggregationResult']
|
||||
---
|
||||
|
||||
# AggregationResult
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**aggregations** | **object** | The document containing the results of the aggregation. This document is controlled by Elasticsearch and depends on the type of aggregation query that is run. See Elasticsearch [Aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/search-aggregations.html) documentation for information. | [optional]
|
||||
**hits** | **[]object** | The results of the aggregation search query. | [optional]
|
||||
}
|
||||
|
||||
## Example
|
||||
|
||||
```python
|
||||
from sailpoint.v3.models.aggregation_result import AggregationResult
|
||||
|
||||
aggregation_result = AggregationResult(
|
||||
aggregations={Identity Locations={buckets=[{key=Austin, doc_count=109}, {key=London, doc_count=64}, {key=San Jose, doc_count=27}, {key=Brussels, doc_count=26}, {key=Sao Paulo, doc_count=24}, {key=Munich, doc_count=23}, {key=Singapore, doc_count=22}, {key=Tokyo, doc_count=20}, {key=Taipei, doc_count=16}]}},
|
||||
hits=[
|
||||
sailpoint.v3.models.search_document.SearchDocument()
|
||||
]
|
||||
)
|
||||
|
||||
```
|
||||
[[Back to top]](#)
|
||||
|
||||
Reference in New Issue
Block a user