| Name | Type | Description | Notes |
|---|---|---|---|
| Field | string | Attribute to group by | |
| Ranges | []ModelRange | Ordered list of ranges | |
| Keyed | Pointer to bool | Return buckets as an object keyed by range label when true, or as an array when false. Default is false. | [optional] |
func NewAggRange(field string, ranges []ModelRange, ) *AggRange
NewAggRange instantiates a new AggRange 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 NewAggRangeWithDefaults() *AggRange
NewAggRangeWithDefaults instantiates a new AggRange 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 *AggRange) GetField() string
GetField returns the Field field if non-nil, zero value otherwise.
func (o *AggRange) 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 *AggRange) SetField(v string)
SetField sets Field field to given value.
func (o *AggRange) GetRanges() []ModelRange
GetRanges returns the Ranges field if non-nil, zero value otherwise.
func (o *AggRange) GetRangesOk() (*[]ModelRange, bool)
GetRangesOk returns a tuple with the Ranges field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AggRange) SetRanges(v []ModelRange)
SetRanges sets Ranges field to given value.
func (o *AggRange) GetKeyed() bool
GetKeyed returns the Keyed field if non-nil, zero value otherwise.
func (o *AggRange) 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 *AggRange) SetKeyed(v bool)
SetKeyed sets Keyed field to given value.
func (o *AggRange) HasKeyed() bool
HasKeyed returns a boolean if a field has been set.