AggDateHistogram

August 4, 2026 ยท View on GitHub

Properties

NameTypeDescriptionNotes
FieldstringField to group by
CalendarIntervalint32Interval of the histogram values
OffsetPointer to uint64Offset of the histogram values. Default value is 0.[optional]
KeyedPointer to boolFlag that defines if a search response will be a dictionary with the bucket keys. Default value is false.[optional]

Methods

NewAggDateHistogram

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

NewAggDateHistogramWithDefaults

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

GetField

func (o *AggDateHistogram) GetField() string

GetField returns the Field field if non-nil, zero value otherwise.

GetFieldOk

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.

SetField

func (o *AggDateHistogram) SetField(v string)

SetField sets Field field to given value.

GetCalendarInterval

func (o *AggDateHistogram) GetCalendarInterval() int32

GetCalendarInterval returns the CalendarInterval field if non-nil, zero value otherwise.

GetCalendarIntervalOk

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.

SetCalendarInterval

func (o *AggDateHistogram) SetCalendarInterval(v int32)

SetCalendarInterval sets CalendarInterval field to given value.

GetOffset

func (o *AggDateHistogram) GetOffset() int32

GetOffset returns the Offset field if non-nil, zero value otherwise.

GetOffsetOk

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.

SetOffset

func (o *AggDateHistogram) SetOffset(v int32)

SetOffset sets Offset field to given value.

HasOffset

func (o *AggDateHistogram) HasOffset() bool

HasOffset returns a boolean if a field has been set.

GetKeyed

func (o *AggDateHistogram) GetKeyed() bool

GetKeyed returns the Keyed field if non-nil, zero value otherwise.

GetKeyedOk

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.

SetKeyed

func (o *AggDateHistogram) SetKeyed(v bool)

SetKeyed sets Keyed field to given value.

HasKeyed

func (o *AggDateHistogram) HasKeyed() bool

HasKeyed returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]