sdk-go-zincsearch/docs/MetaAggregationAutoDateHistogram.md
2022-06-24 13:04:50 +08:00

5.4 KiB

MetaAggregationAutoDateHistogram

Properties

Name Type Description Notes
Buckets Pointer to int32 [optional]
Field Pointer to string [optional]
Format Pointer to string format key_as_string [optional]
Keyed Pointer to bool [optional]
MinimumInterval Pointer to string minute,hour,day,week,month,quarter,year [optional]
TimeZone Pointer to string time_zone [optional]

Methods

NewMetaAggregationAutoDateHistogram

func NewMetaAggregationAutoDateHistogram() *MetaAggregationAutoDateHistogram

NewMetaAggregationAutoDateHistogram instantiates a new MetaAggregationAutoDateHistogram 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

NewMetaAggregationAutoDateHistogramWithDefaults

func NewMetaAggregationAutoDateHistogramWithDefaults() *MetaAggregationAutoDateHistogram

NewMetaAggregationAutoDateHistogramWithDefaults instantiates a new MetaAggregationAutoDateHistogram 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

GetBuckets

func (o *MetaAggregationAutoDateHistogram) GetBuckets() int32

GetBuckets returns the Buckets field if non-nil, zero value otherwise.

GetBucketsOk

func (o *MetaAggregationAutoDateHistogram) GetBucketsOk() (*int32, bool)

GetBucketsOk returns a tuple with the Buckets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBuckets

func (o *MetaAggregationAutoDateHistogram) SetBuckets(v int32)

SetBuckets sets Buckets field to given value.

HasBuckets

func (o *MetaAggregationAutoDateHistogram) HasBuckets() bool

HasBuckets returns a boolean if a field has been set.

GetField

func (o *MetaAggregationAutoDateHistogram) GetField() string

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

GetFieldOk

func (o *MetaAggregationAutoDateHistogram) 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 *MetaAggregationAutoDateHistogram) SetField(v string)

SetField sets Field field to given value.

HasField

func (o *MetaAggregationAutoDateHistogram) HasField() bool

HasField returns a boolean if a field has been set.

GetFormat

func (o *MetaAggregationAutoDateHistogram) GetFormat() string

GetFormat returns the Format field if non-nil, zero value otherwise.

GetFormatOk

func (o *MetaAggregationAutoDateHistogram) GetFormatOk() (*string, bool)

GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFormat

func (o *MetaAggregationAutoDateHistogram) SetFormat(v string)

SetFormat sets Format field to given value.

HasFormat

func (o *MetaAggregationAutoDateHistogram) HasFormat() bool

HasFormat returns a boolean if a field has been set.

GetKeyed

func (o *MetaAggregationAutoDateHistogram) GetKeyed() bool

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

GetKeyedOk

func (o *MetaAggregationAutoDateHistogram) 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 *MetaAggregationAutoDateHistogram) SetKeyed(v bool)

SetKeyed sets Keyed field to given value.

HasKeyed

func (o *MetaAggregationAutoDateHistogram) HasKeyed() bool

HasKeyed returns a boolean if a field has been set.

GetMinimumInterval

func (o *MetaAggregationAutoDateHistogram) GetMinimumInterval() string

GetMinimumInterval returns the MinimumInterval field if non-nil, zero value otherwise.

GetMinimumIntervalOk

func (o *MetaAggregationAutoDateHistogram) GetMinimumIntervalOk() (*string, bool)

GetMinimumIntervalOk returns a tuple with the MinimumInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMinimumInterval

func (o *MetaAggregationAutoDateHistogram) SetMinimumInterval(v string)

SetMinimumInterval sets MinimumInterval field to given value.

HasMinimumInterval

func (o *MetaAggregationAutoDateHistogram) HasMinimumInterval() bool

HasMinimumInterval returns a boolean if a field has been set.

GetTimeZone

func (o *MetaAggregationAutoDateHistogram) GetTimeZone() string

GetTimeZone returns the TimeZone field if non-nil, zero value otherwise.

GetTimeZoneOk

func (o *MetaAggregationAutoDateHistogram) GetTimeZoneOk() (*string, bool)

GetTimeZoneOk returns a tuple with the TimeZone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTimeZone

func (o *MetaAggregationAutoDateHistogram) SetTimeZone(v string)

SetTimeZone sets TimeZone field to given value.

HasTimeZone

func (o *MetaAggregationAutoDateHistogram) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

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