| Name | Type | Description | Notes |
|---|---|---|---|
| Field | string | Field to group by | |
| CalendarInterval | 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 NewAggDateHistogram(field string, calendarInterval int32, ) *AggDateHistogram
NewAggDateHistogram instantiates a new AggDateHistogram 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 NewAggDateHistogramWithDefaults() *AggDateHistogram
NewAggDateHistogramWithDefaults instantiates a new AggDateHistogram 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 *AggDateHistogram) GetField() string
GetField returns the Field field if non-nil, zero value otherwise.
func (o *AggDateHistogram) 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 *AggDateHistogram) SetField(v string)
SetField sets Field field to given value.
func (o *AggDateHistogram) GetCalendarInterval() int32
GetCalendarInterval returns the CalendarInterval field if non-nil, zero value otherwise.
func (o *AggDateHistogram) GetCalendarIntervalOk() (*int32, bool)
GetCalendarIntervalOk returns a tuple with the CalendarInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AggDateHistogram) SetCalendarInterval(v int32)
SetCalendarInterval sets CalendarInterval field to given value.
func (o *AggDateHistogram) GetOffset() int32
GetOffset returns the Offset field if non-nil, zero value otherwise.
func (o *AggDateHistogram) 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 *AggDateHistogram) SetOffset(v int32)
SetOffset sets Offset field to given value.
func (o *AggDateHistogram) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (o *AggDateHistogram) GetKeyed() bool
GetKeyed returns the Keyed field if non-nil, zero value otherwise.
func (o *AggDateHistogram) 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 *AggDateHistogram) SetKeyed(v bool)
SetKeyed sets Keyed field to given value.
func (o *AggDateHistogram) HasKeyed() bool
HasKeyed returns a boolean if a field has been set.