| Name | Type | Description | Notes |
|---|---|---|---|
| Field | string | Field to group by | |
| Interval | int32 | Interval of the histogram values | |
| Offset | Pointer to uint64 | Offset of the histogram values. Default value is 0. | [optional] |
| Keyed | Pointer to bool | Flag that defines if a search response will be a dictionary with the bucket keys. Default value is false. | [optional] |
func NewAggHistogram(field string, interval int32, ) *AggHistogram
NewAggHistogram instantiates a new AggHistogram object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAggHistogramWithDefaults() *AggHistogram
NewAggHistogramWithDefaults instantiates a new AggHistogram object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *AggHistogram) GetField() string
GetField returns the Field field if non-nil, zero value otherwise.
func (o *AggHistogram) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AggHistogram) SetField(v string)
SetField sets Field field to given value.
func (o *AggHistogram) GetInterval() int32
GetInterval returns the Interval field if non-nil, zero value otherwise.
func (o *AggHistogram) GetIntervalOk() (*int32, bool)
GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AggHistogram) SetInterval(v int32)
SetInterval sets Interval field to given value.
func (o *AggHistogram) GetOffset() int32
GetOffset returns the Offset field if non-nil, zero value otherwise.
func (o *AggHistogram) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AggHistogram) SetOffset(v int32)
SetOffset sets Offset field to given value.
func (o *AggHistogram) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (o *AggHistogram) GetKeyed() bool
GetKeyed returns the Keyed field if non-nil, zero value otherwise.
func (o *AggHistogram) GetKeyedOk() (*bool, bool)
GetKeyedOk returns a tuple with the Keyed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AggHistogram) SetKeyed(v bool)
SetKeyed sets Keyed field to given value.
func (o *AggHistogram) HasKeyed() bool
HasKeyed returns a boolean if a field has been set.