From 70312cae40ec128ca5c362feb1906c95a6d06f2c Mon Sep 17 00:00:00 2001 From: Julia Benais Date: Tue, 16 Jul 2019 14:25:00 -0400 Subject: [PATCH] [dashboard] Add support for log query in legacy API --- dashboards.go | 33 + datadog-accessors.go | 10514 ++++++++++++++++++++++------------------- screen_widgets.go | 29 + 3 files changed, 5753 insertions(+), 4823 deletions(-) diff --git a/dashboards.go b/dashboards.go index 5a441db..6d43b9b 100644 --- a/dashboards.go +++ b/dashboards.go @@ -37,6 +37,39 @@ type GraphDefinitionRequest struct { OrderBy *string `json:"order_by,omitempty"` ExtraCol *string `json:"extra_col,omitempty"` Metadata map[string]GraphDefinitionMetadata `json:"metadata,omitempty"` + + // For APM and log query + LogQuery *GraphApmOrLogQuery `json:"log_query,omitempty"` +} + +// GraphApmOrLogQuery represents an APM or a Log query +type GraphApmOrLogQuery struct { + Index *string `json:"index"` + Compute *GraphApmOrLogQueryCompute `json:"compute"` + Search *GraphApmOrLogQuerySearch `json:"search,omitempty"` + GroupBy []GraphApmOrLogQueryGroupBy `json:"groupBy,omitempty"` +} + +type GraphApmOrLogQueryCompute struct { + Aggregation *string `json:"aggregation"` + Facet *string `json:"facet,omitempty"` + Interval *int `json:"interval,omitempty"` +} + +type GraphApmOrLogQuerySearch struct { + Query *string `json:"query"` +} + +type GraphApmOrLogQueryGroupBy struct { + Facet *string `json:"facet"` + Limit *int `json:"limit,omitempty"` + Sort *GraphApmOrLogQueryGroupBySort `json:"sort,omitempty"` +} + +type GraphApmOrLogQueryGroupBySort struct { + Aggregation *string `json:"aggregation"` + Order *string `json:"order"` + Facet *string `json:"facet,omitempty"` } type GraphDefinitionMetadata TileDefMetadata diff --git a/datadog-accessors.go b/datadog-accessors.go index 2e5fc7e..b40fc8f 100644 --- a/datadog-accessors.go +++ b/datadog-accessors.go @@ -5873,783 +5873,783 @@ func (g *Graph) SetTitle(v string) { g.Title = &v } -// GetAutoscale returns the Autoscale field if non-nil, zero value otherwise. -func (g *GraphDefinition) GetAutoscale() bool { - if g == nil || g.Autoscale == nil { - return false +// GetCompute returns the Compute field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQuery) GetCompute() GraphApmOrLogQueryCompute { + if g == nil || g.Compute == nil { + return GraphApmOrLogQueryCompute{} } - return *g.Autoscale + return *g.Compute } -// GetAutoscaleOk returns a tuple with the Autoscale field if it's non-nil, zero value otherwise +// GetComputeOk returns a tuple with the Compute field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinition) GetAutoscaleOk() (bool, bool) { - if g == nil || g.Autoscale == nil { - return false, false +func (g *GraphApmOrLogQuery) GetComputeOk() (GraphApmOrLogQueryCompute, bool) { + if g == nil || g.Compute == nil { + return GraphApmOrLogQueryCompute{}, false } - return *g.Autoscale, true + return *g.Compute, true } -// HasAutoscale returns a boolean if a field has been set. -func (g *GraphDefinition) HasAutoscale() bool { - if g != nil && g.Autoscale != nil { +// HasCompute returns a boolean if a field has been set. +func (g *GraphApmOrLogQuery) HasCompute() bool { + if g != nil && g.Compute != nil { return true } return false } -// SetAutoscale allocates a new g.Autoscale and returns the pointer to it. -func (g *GraphDefinition) SetAutoscale(v bool) { - g.Autoscale = &v +// SetCompute allocates a new g.Compute and returns the pointer to it. +func (g *GraphApmOrLogQuery) SetCompute(v GraphApmOrLogQueryCompute) { + g.Compute = &v } -// GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise. -func (g *GraphDefinition) GetCustomUnit() string { - if g == nil || g.CustomUnit == nil { +// GetIndex returns the Index field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQuery) GetIndex() string { + if g == nil || g.Index == nil { return "" } - return *g.CustomUnit + return *g.Index } -// GetCustomUnitOk returns a tuple with the CustomUnit field if it's non-nil, zero value otherwise +// GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinition) GetCustomUnitOk() (string, bool) { - if g == nil || g.CustomUnit == nil { +func (g *GraphApmOrLogQuery) GetIndexOk() (string, bool) { + if g == nil || g.Index == nil { return "", false } - return *g.CustomUnit, true + return *g.Index, true } -// HasCustomUnit returns a boolean if a field has been set. -func (g *GraphDefinition) HasCustomUnit() bool { - if g != nil && g.CustomUnit != nil { +// HasIndex returns a boolean if a field has been set. +func (g *GraphApmOrLogQuery) HasIndex() bool { + if g != nil && g.Index != nil { return true } return false } -// SetCustomUnit allocates a new g.CustomUnit and returns the pointer to it. -func (g *GraphDefinition) SetCustomUnit(v string) { - g.CustomUnit = &v +// SetIndex allocates a new g.Index and returns the pointer to it. +func (g *GraphApmOrLogQuery) SetIndex(v string) { + g.Index = &v } -// GetIncludeNoMetricHosts returns the IncludeNoMetricHosts field if non-nil, zero value otherwise. -func (g *GraphDefinition) GetIncludeNoMetricHosts() bool { - if g == nil || g.IncludeNoMetricHosts == nil { - return false +// GetSearch returns the Search field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQuery) GetSearch() GraphApmOrLogQuerySearch { + if g == nil || g.Search == nil { + return GraphApmOrLogQuerySearch{} } - return *g.IncludeNoMetricHosts + return *g.Search } -// GetIncludeNoMetricHostsOk returns a tuple with the IncludeNoMetricHosts field if it's non-nil, zero value otherwise +// GetSearchOk returns a tuple with the Search field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinition) GetIncludeNoMetricHostsOk() (bool, bool) { - if g == nil || g.IncludeNoMetricHosts == nil { - return false, false +func (g *GraphApmOrLogQuery) GetSearchOk() (GraphApmOrLogQuerySearch, bool) { + if g == nil || g.Search == nil { + return GraphApmOrLogQuerySearch{}, false } - return *g.IncludeNoMetricHosts, true + return *g.Search, true } -// HasIncludeNoMetricHosts returns a boolean if a field has been set. -func (g *GraphDefinition) HasIncludeNoMetricHosts() bool { - if g != nil && g.IncludeNoMetricHosts != nil { +// HasSearch returns a boolean if a field has been set. +func (g *GraphApmOrLogQuery) HasSearch() bool { + if g != nil && g.Search != nil { return true } return false } -// SetIncludeNoMetricHosts allocates a new g.IncludeNoMetricHosts and returns the pointer to it. -func (g *GraphDefinition) SetIncludeNoMetricHosts(v bool) { - g.IncludeNoMetricHosts = &v +// SetSearch allocates a new g.Search and returns the pointer to it. +func (g *GraphApmOrLogQuery) SetSearch(v GraphApmOrLogQuerySearch) { + g.Search = &v } -// GetIncludeUngroupedHosts returns the IncludeUngroupedHosts field if non-nil, zero value otherwise. -func (g *GraphDefinition) GetIncludeUngroupedHosts() bool { - if g == nil || g.IncludeUngroupedHosts == nil { - return false +// GetAggregation returns the Aggregation field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQueryCompute) GetAggregation() string { + if g == nil || g.Aggregation == nil { + return "" } - return *g.IncludeUngroupedHosts + return *g.Aggregation } -// GetIncludeUngroupedHostsOk returns a tuple with the IncludeUngroupedHosts field if it's non-nil, zero value otherwise +// GetAggregationOk returns a tuple with the Aggregation field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinition) GetIncludeUngroupedHostsOk() (bool, bool) { - if g == nil || g.IncludeUngroupedHosts == nil { - return false, false +func (g *GraphApmOrLogQueryCompute) GetAggregationOk() (string, bool) { + if g == nil || g.Aggregation == nil { + return "", false } - return *g.IncludeUngroupedHosts, true + return *g.Aggregation, true } -// HasIncludeUngroupedHosts returns a boolean if a field has been set. -func (g *GraphDefinition) HasIncludeUngroupedHosts() bool { - if g != nil && g.IncludeUngroupedHosts != nil { +// HasAggregation returns a boolean if a field has been set. +func (g *GraphApmOrLogQueryCompute) HasAggregation() bool { + if g != nil && g.Aggregation != nil { return true } return false } -// SetIncludeUngroupedHosts allocates a new g.IncludeUngroupedHosts and returns the pointer to it. -func (g *GraphDefinition) SetIncludeUngroupedHosts(v bool) { - g.IncludeUngroupedHosts = &v +// SetAggregation allocates a new g.Aggregation and returns the pointer to it. +func (g *GraphApmOrLogQueryCompute) SetAggregation(v string) { + g.Aggregation = &v } -// GetNodeType returns the NodeType field if non-nil, zero value otherwise. -func (g *GraphDefinition) GetNodeType() string { - if g == nil || g.NodeType == nil { +// GetFacet returns the Facet field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQueryCompute) GetFacet() string { + if g == nil || g.Facet == nil { return "" } - return *g.NodeType + return *g.Facet } -// GetNodeTypeOk returns a tuple with the NodeType field if it's non-nil, zero value otherwise +// GetFacetOk returns a tuple with the Facet field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinition) GetNodeTypeOk() (string, bool) { - if g == nil || g.NodeType == nil { +func (g *GraphApmOrLogQueryCompute) GetFacetOk() (string, bool) { + if g == nil || g.Facet == nil { return "", false } - return *g.NodeType, true + return *g.Facet, true } -// HasNodeType returns a boolean if a field has been set. -func (g *GraphDefinition) HasNodeType() bool { - if g != nil && g.NodeType != nil { +// HasFacet returns a boolean if a field has been set. +func (g *GraphApmOrLogQueryCompute) HasFacet() bool { + if g != nil && g.Facet != nil { return true } return false } -// SetNodeType allocates a new g.NodeType and returns the pointer to it. -func (g *GraphDefinition) SetNodeType(v string) { - g.NodeType = &v +// SetFacet allocates a new g.Facet and returns the pointer to it. +func (g *GraphApmOrLogQueryCompute) SetFacet(v string) { + g.Facet = &v } -// GetPrecision returns the Precision field if non-nil, zero value otherwise. -func (g *GraphDefinition) GetPrecision() PrecisionT { - if g == nil || g.Precision == nil { - return "" +// GetInterval returns the Interval field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQueryCompute) GetInterval() int { + if g == nil || g.Interval == nil { + return 0 } - return *g.Precision + return *g.Interval } -// GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise +// 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 (g *GraphDefinition) GetPrecisionOk() (PrecisionT, bool) { - if g == nil || g.Precision == nil { - return "", false +func (g *GraphApmOrLogQueryCompute) GetIntervalOk() (int, bool) { + if g == nil || g.Interval == nil { + return 0, false } - return *g.Precision, true + return *g.Interval, true } -// HasPrecision returns a boolean if a field has been set. -func (g *GraphDefinition) HasPrecision() bool { - if g != nil && g.Precision != nil { +// HasInterval returns a boolean if a field has been set. +func (g *GraphApmOrLogQueryCompute) HasInterval() bool { + if g != nil && g.Interval != nil { return true } return false } -// SetPrecision allocates a new g.Precision and returns the pointer to it. -func (g *GraphDefinition) SetPrecision(v PrecisionT) { - g.Precision = &v +// SetInterval allocates a new g.Interval and returns the pointer to it. +func (g *GraphApmOrLogQueryCompute) SetInterval(v int) { + g.Interval = &v } -// GetStyle returns the Style field if non-nil, zero value otherwise. -func (g *GraphDefinition) GetStyle() Style { - if g == nil || g.Style == nil { - return Style{} +// GetFacet returns the Facet field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQueryGroupBy) GetFacet() string { + if g == nil || g.Facet == nil { + return "" } - return *g.Style + return *g.Facet } -// GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise +// GetFacetOk returns a tuple with the Facet field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinition) GetStyleOk() (Style, bool) { - if g == nil || g.Style == nil { - return Style{}, false +func (g *GraphApmOrLogQueryGroupBy) GetFacetOk() (string, bool) { + if g == nil || g.Facet == nil { + return "", false } - return *g.Style, true + return *g.Facet, true } -// HasStyle returns a boolean if a field has been set. -func (g *GraphDefinition) HasStyle() bool { - if g != nil && g.Style != nil { +// HasFacet returns a boolean if a field has been set. +func (g *GraphApmOrLogQueryGroupBy) HasFacet() bool { + if g != nil && g.Facet != nil { return true } return false } -// SetStyle allocates a new g.Style and returns the pointer to it. -func (g *GraphDefinition) SetStyle(v Style) { - g.Style = &v +// SetFacet allocates a new g.Facet and returns the pointer to it. +func (g *GraphApmOrLogQueryGroupBy) SetFacet(v string) { + g.Facet = &v } -// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise. -func (g *GraphDefinition) GetTextAlign() string { - if g == nil || g.TextAlign == nil { - return "" +// GetLimit returns the Limit field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQueryGroupBy) GetLimit() int { + if g == nil || g.Limit == nil { + return 0 } - return *g.TextAlign + return *g.Limit } -// GetTextAlignOk returns a tuple with the TextAlign field if it's non-nil, zero value otherwise +// GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinition) GetTextAlignOk() (string, bool) { - if g == nil || g.TextAlign == nil { - return "", false +func (g *GraphApmOrLogQueryGroupBy) GetLimitOk() (int, bool) { + if g == nil || g.Limit == nil { + return 0, false } - return *g.TextAlign, true + return *g.Limit, true } -// HasTextAlign returns a boolean if a field has been set. -func (g *GraphDefinition) HasTextAlign() bool { - if g != nil && g.TextAlign != nil { +// HasLimit returns a boolean if a field has been set. +func (g *GraphApmOrLogQueryGroupBy) HasLimit() bool { + if g != nil && g.Limit != nil { return true } return false } -// SetTextAlign allocates a new g.TextAlign and returns the pointer to it. -func (g *GraphDefinition) SetTextAlign(v string) { - g.TextAlign = &v +// SetLimit allocates a new g.Limit and returns the pointer to it. +func (g *GraphApmOrLogQueryGroupBy) SetLimit(v int) { + g.Limit = &v } -// GetViz returns the Viz field if non-nil, zero value otherwise. -func (g *GraphDefinition) GetViz() string { - if g == nil || g.Viz == nil { - return "" +// GetSort returns the Sort field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQueryGroupBy) GetSort() GraphApmOrLogQueryGroupBySort { + if g == nil || g.Sort == nil { + return GraphApmOrLogQueryGroupBySort{} } - return *g.Viz + return *g.Sort } -// GetVizOk returns a tuple with the Viz field if it's non-nil, zero value otherwise +// GetSortOk returns a tuple with the Sort field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinition) GetVizOk() (string, bool) { - if g == nil || g.Viz == nil { - return "", false +func (g *GraphApmOrLogQueryGroupBy) GetSortOk() (GraphApmOrLogQueryGroupBySort, bool) { + if g == nil || g.Sort == nil { + return GraphApmOrLogQueryGroupBySort{}, false } - return *g.Viz, true + return *g.Sort, true } -// HasViz returns a boolean if a field has been set. -func (g *GraphDefinition) HasViz() bool { - if g != nil && g.Viz != nil { +// HasSort returns a boolean if a field has been set. +func (g *GraphApmOrLogQueryGroupBy) HasSort() bool { + if g != nil && g.Sort != nil { return true } return false } -// SetViz allocates a new g.Viz and returns the pointer to it. -func (g *GraphDefinition) SetViz(v string) { - g.Viz = &v +// SetSort allocates a new g.Sort and returns the pointer to it. +func (g *GraphApmOrLogQueryGroupBy) SetSort(v GraphApmOrLogQueryGroupBySort) { + g.Sort = &v } -// GetLabel returns the Label field if non-nil, zero value otherwise. -func (g *GraphDefinitionMarker) GetLabel() string { - if g == nil || g.Label == nil { +// GetAggregation returns the Aggregation field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQueryGroupBySort) GetAggregation() string { + if g == nil || g.Aggregation == nil { return "" } - return *g.Label + return *g.Aggregation } -// GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise +// GetAggregationOk returns a tuple with the Aggregation field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionMarker) GetLabelOk() (string, bool) { - if g == nil || g.Label == nil { +func (g *GraphApmOrLogQueryGroupBySort) GetAggregationOk() (string, bool) { + if g == nil || g.Aggregation == nil { return "", false } - return *g.Label, true + return *g.Aggregation, true } -// HasLabel returns a boolean if a field has been set. -func (g *GraphDefinitionMarker) HasLabel() bool { - if g != nil && g.Label != nil { +// HasAggregation returns a boolean if a field has been set. +func (g *GraphApmOrLogQueryGroupBySort) HasAggregation() bool { + if g != nil && g.Aggregation != nil { return true } return false } -// SetLabel allocates a new g.Label and returns the pointer to it. -func (g *GraphDefinitionMarker) SetLabel(v string) { - g.Label = &v +// SetAggregation allocates a new g.Aggregation and returns the pointer to it. +func (g *GraphApmOrLogQueryGroupBySort) SetAggregation(v string) { + g.Aggregation = &v } -// GetMax returns the Max field if non-nil, zero value otherwise. -func (g *GraphDefinitionMarker) GetMax() json.Number { - if g == nil || g.Max == nil { +// GetFacet returns the Facet field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQueryGroupBySort) GetFacet() string { + if g == nil || g.Facet == nil { return "" } - return *g.Max + return *g.Facet } -// GetMaxOk returns a tuple with the Max field if it's non-nil, zero value otherwise +// GetFacetOk returns a tuple with the Facet field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionMarker) GetMaxOk() (json.Number, bool) { - if g == nil || g.Max == nil { +func (g *GraphApmOrLogQueryGroupBySort) GetFacetOk() (string, bool) { + if g == nil || g.Facet == nil { return "", false } - return *g.Max, true + return *g.Facet, true } -// HasMax returns a boolean if a field has been set. -func (g *GraphDefinitionMarker) HasMax() bool { - if g != nil && g.Max != nil { +// HasFacet returns a boolean if a field has been set. +func (g *GraphApmOrLogQueryGroupBySort) HasFacet() bool { + if g != nil && g.Facet != nil { return true } return false } -// SetMax allocates a new g.Max and returns the pointer to it. -func (g *GraphDefinitionMarker) SetMax(v json.Number) { - g.Max = &v +// SetFacet allocates a new g.Facet and returns the pointer to it. +func (g *GraphApmOrLogQueryGroupBySort) SetFacet(v string) { + g.Facet = &v } -// GetMin returns the Min field if non-nil, zero value otherwise. -func (g *GraphDefinitionMarker) GetMin() json.Number { - if g == nil || g.Min == nil { +// GetOrder returns the Order field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQueryGroupBySort) GetOrder() string { + if g == nil || g.Order == nil { return "" } - return *g.Min + return *g.Order } -// GetMinOk returns a tuple with the Min field if it's non-nil, zero value otherwise +// GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionMarker) GetMinOk() (json.Number, bool) { - if g == nil || g.Min == nil { +func (g *GraphApmOrLogQueryGroupBySort) GetOrderOk() (string, bool) { + if g == nil || g.Order == nil { return "", false } - return *g.Min, true + return *g.Order, true } -// HasMin returns a boolean if a field has been set. -func (g *GraphDefinitionMarker) HasMin() bool { - if g != nil && g.Min != nil { +// HasOrder returns a boolean if a field has been set. +func (g *GraphApmOrLogQueryGroupBySort) HasOrder() bool { + if g != nil && g.Order != nil { return true } return false } -// SetMin allocates a new g.Min and returns the pointer to it. -func (g *GraphDefinitionMarker) SetMin(v json.Number) { - g.Min = &v +// SetOrder allocates a new g.Order and returns the pointer to it. +func (g *GraphApmOrLogQueryGroupBySort) SetOrder(v string) { + g.Order = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (g *GraphDefinitionMarker) GetType() string { - if g == nil || g.Type == nil { +// GetQuery returns the Query field if non-nil, zero value otherwise. +func (g *GraphApmOrLogQuerySearch) GetQuery() string { + if g == nil || g.Query == nil { return "" } - return *g.Type + return *g.Query } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionMarker) GetTypeOk() (string, bool) { - if g == nil || g.Type == nil { +func (g *GraphApmOrLogQuerySearch) GetQueryOk() (string, bool) { + if g == nil || g.Query == nil { return "", false } - return *g.Type, true + return *g.Query, true } -// HasType returns a boolean if a field has been set. -func (g *GraphDefinitionMarker) HasType() bool { - if g != nil && g.Type != nil { +// HasQuery returns a boolean if a field has been set. +func (g *GraphApmOrLogQuerySearch) HasQuery() bool { + if g != nil && g.Query != nil { return true } return false } -// SetType allocates a new g.Type and returns the pointer to it. -func (g *GraphDefinitionMarker) SetType(v string) { - g.Type = &v +// SetQuery allocates a new g.Query and returns the pointer to it. +func (g *GraphApmOrLogQuerySearch) SetQuery(v string) { + g.Query = &v } -// GetVal returns the Val field if non-nil, zero value otherwise. -func (g *GraphDefinitionMarker) GetVal() json.Number { - if g == nil || g.Val == nil { - return "" - } - return *g.Val +// GetAutoscale returns the Autoscale field if non-nil, zero value otherwise. +func (g *GraphDefinition) GetAutoscale() bool { + if g == nil || g.Autoscale == nil { + return false + } + return *g.Autoscale } -// GetValOk returns a tuple with the Val field if it's non-nil, zero value otherwise +// GetAutoscaleOk returns a tuple with the Autoscale field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionMarker) GetValOk() (json.Number, bool) { - if g == nil || g.Val == nil { - return "", false +func (g *GraphDefinition) GetAutoscaleOk() (bool, bool) { + if g == nil || g.Autoscale == nil { + return false, false } - return *g.Val, true + return *g.Autoscale, true } -// HasVal returns a boolean if a field has been set. -func (g *GraphDefinitionMarker) HasVal() bool { - if g != nil && g.Val != nil { +// HasAutoscale returns a boolean if a field has been set. +func (g *GraphDefinition) HasAutoscale() bool { + if g != nil && g.Autoscale != nil { return true } return false } -// SetVal allocates a new g.Val and returns the pointer to it. -func (g *GraphDefinitionMarker) SetVal(v json.Number) { - g.Val = &v +// SetAutoscale allocates a new g.Autoscale and returns the pointer to it. +func (g *GraphDefinition) SetAutoscale(v bool) { + g.Autoscale = &v } -// GetValue returns the Value field if non-nil, zero value otherwise. -func (g *GraphDefinitionMarker) GetValue() string { - if g == nil || g.Value == nil { +// GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise. +func (g *GraphDefinition) GetCustomUnit() string { + if g == nil || g.CustomUnit == nil { return "" } - return *g.Value + return *g.CustomUnit } -// GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +// GetCustomUnitOk returns a tuple with the CustomUnit field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionMarker) GetValueOk() (string, bool) { - if g == nil || g.Value == nil { +func (g *GraphDefinition) GetCustomUnitOk() (string, bool) { + if g == nil || g.CustomUnit == nil { return "", false } - return *g.Value, true + return *g.CustomUnit, true } -// HasValue returns a boolean if a field has been set. -func (g *GraphDefinitionMarker) HasValue() bool { - if g != nil && g.Value != nil { +// HasCustomUnit returns a boolean if a field has been set. +func (g *GraphDefinition) HasCustomUnit() bool { + if g != nil && g.CustomUnit != nil { return true } return false } -// SetValue allocates a new g.Value and returns the pointer to it. -func (g *GraphDefinitionMarker) SetValue(v string) { - g.Value = &v +// SetCustomUnit allocates a new g.CustomUnit and returns the pointer to it. +func (g *GraphDefinition) SetCustomUnit(v string) { + g.CustomUnit = &v } -// GetAggregator returns the Aggregator field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetAggregator() string { - if g == nil || g.Aggregator == nil { - return "" +// GetIncludeNoMetricHosts returns the IncludeNoMetricHosts field if non-nil, zero value otherwise. +func (g *GraphDefinition) GetIncludeNoMetricHosts() bool { + if g == nil || g.IncludeNoMetricHosts == nil { + return false } - return *g.Aggregator + return *g.IncludeNoMetricHosts } -// GetAggregatorOk returns a tuple with the Aggregator field if it's non-nil, zero value otherwise +// GetIncludeNoMetricHostsOk returns a tuple with the IncludeNoMetricHosts field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetAggregatorOk() (string, bool) { - if g == nil || g.Aggregator == nil { - return "", false +func (g *GraphDefinition) GetIncludeNoMetricHostsOk() (bool, bool) { + if g == nil || g.IncludeNoMetricHosts == nil { + return false, false } - return *g.Aggregator, true + return *g.IncludeNoMetricHosts, true } -// HasAggregator returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasAggregator() bool { - if g != nil && g.Aggregator != nil { +// HasIncludeNoMetricHosts returns a boolean if a field has been set. +func (g *GraphDefinition) HasIncludeNoMetricHosts() bool { + if g != nil && g.IncludeNoMetricHosts != nil { return true } return false } -// SetAggregator allocates a new g.Aggregator and returns the pointer to it. -func (g *GraphDefinitionRequest) SetAggregator(v string) { - g.Aggregator = &v +// SetIncludeNoMetricHosts allocates a new g.IncludeNoMetricHosts and returns the pointer to it. +func (g *GraphDefinition) SetIncludeNoMetricHosts(v bool) { + g.IncludeNoMetricHosts = &v } -// GetChangeType returns the ChangeType field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetChangeType() string { - if g == nil || g.ChangeType == nil { - return "" +// GetIncludeUngroupedHosts returns the IncludeUngroupedHosts field if non-nil, zero value otherwise. +func (g *GraphDefinition) GetIncludeUngroupedHosts() bool { + if g == nil || g.IncludeUngroupedHosts == nil { + return false } - return *g.ChangeType + return *g.IncludeUngroupedHosts } -// GetChangeTypeOk returns a tuple with the ChangeType field if it's non-nil, zero value otherwise +// GetIncludeUngroupedHostsOk returns a tuple with the IncludeUngroupedHosts field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetChangeTypeOk() (string, bool) { - if g == nil || g.ChangeType == nil { - return "", false +func (g *GraphDefinition) GetIncludeUngroupedHostsOk() (bool, bool) { + if g == nil || g.IncludeUngroupedHosts == nil { + return false, false } - return *g.ChangeType, true + return *g.IncludeUngroupedHosts, true } -// HasChangeType returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasChangeType() bool { - if g != nil && g.ChangeType != nil { +// HasIncludeUngroupedHosts returns a boolean if a field has been set. +func (g *GraphDefinition) HasIncludeUngroupedHosts() bool { + if g != nil && g.IncludeUngroupedHosts != nil { return true } return false } -// SetChangeType allocates a new g.ChangeType and returns the pointer to it. -func (g *GraphDefinitionRequest) SetChangeType(v string) { - g.ChangeType = &v +// SetIncludeUngroupedHosts allocates a new g.IncludeUngroupedHosts and returns the pointer to it. +func (g *GraphDefinition) SetIncludeUngroupedHosts(v bool) { + g.IncludeUngroupedHosts = &v } -// GetCompareTo returns the CompareTo field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetCompareTo() string { - if g == nil || g.CompareTo == nil { +// GetNodeType returns the NodeType field if non-nil, zero value otherwise. +func (g *GraphDefinition) GetNodeType() string { + if g == nil || g.NodeType == nil { return "" } - return *g.CompareTo + return *g.NodeType } -// GetCompareToOk returns a tuple with the CompareTo field if it's non-nil, zero value otherwise +// GetNodeTypeOk returns a tuple with the NodeType field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetCompareToOk() (string, bool) { - if g == nil || g.CompareTo == nil { +func (g *GraphDefinition) GetNodeTypeOk() (string, bool) { + if g == nil || g.NodeType == nil { return "", false } - return *g.CompareTo, true + return *g.NodeType, true } -// HasCompareTo returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasCompareTo() bool { - if g != nil && g.CompareTo != nil { +// HasNodeType returns a boolean if a field has been set. +func (g *GraphDefinition) HasNodeType() bool { + if g != nil && g.NodeType != nil { return true } return false } -// SetCompareTo allocates a new g.CompareTo and returns the pointer to it. -func (g *GraphDefinitionRequest) SetCompareTo(v string) { - g.CompareTo = &v +// SetNodeType allocates a new g.NodeType and returns the pointer to it. +func (g *GraphDefinition) SetNodeType(v string) { + g.NodeType = &v } -// GetExtraCol returns the ExtraCol field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetExtraCol() string { - if g == nil || g.ExtraCol == nil { +// GetPrecision returns the Precision field if non-nil, zero value otherwise. +func (g *GraphDefinition) GetPrecision() PrecisionT { + if g == nil || g.Precision == nil { return "" } - return *g.ExtraCol + return *g.Precision } -// GetExtraColOk returns a tuple with the ExtraCol field if it's non-nil, zero value otherwise +// GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetExtraColOk() (string, bool) { - if g == nil || g.ExtraCol == nil { +func (g *GraphDefinition) GetPrecisionOk() (PrecisionT, bool) { + if g == nil || g.Precision == nil { return "", false } - return *g.ExtraCol, true + return *g.Precision, true } -// HasExtraCol returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasExtraCol() bool { - if g != nil && g.ExtraCol != nil { +// HasPrecision returns a boolean if a field has been set. +func (g *GraphDefinition) HasPrecision() bool { + if g != nil && g.Precision != nil { return true } return false } -// SetExtraCol allocates a new g.ExtraCol and returns the pointer to it. -func (g *GraphDefinitionRequest) SetExtraCol(v string) { - g.ExtraCol = &v +// SetPrecision allocates a new g.Precision and returns the pointer to it. +func (g *GraphDefinition) SetPrecision(v PrecisionT) { + g.Precision = &v } -// GetIncreaseGood returns the IncreaseGood field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetIncreaseGood() bool { - if g == nil || g.IncreaseGood == nil { - return false +// GetStyle returns the Style field if non-nil, zero value otherwise. +func (g *GraphDefinition) GetStyle() Style { + if g == nil || g.Style == nil { + return Style{} } - return *g.IncreaseGood + return *g.Style } -// GetIncreaseGoodOk returns a tuple with the IncreaseGood field if it's non-nil, zero value otherwise +// GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetIncreaseGoodOk() (bool, bool) { - if g == nil || g.IncreaseGood == nil { - return false, false +func (g *GraphDefinition) GetStyleOk() (Style, bool) { + if g == nil || g.Style == nil { + return Style{}, false } - return *g.IncreaseGood, true + return *g.Style, true } -// HasIncreaseGood returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasIncreaseGood() bool { - if g != nil && g.IncreaseGood != nil { +// HasStyle returns a boolean if a field has been set. +func (g *GraphDefinition) HasStyle() bool { + if g != nil && g.Style != nil { return true } return false } -// SetIncreaseGood allocates a new g.IncreaseGood and returns the pointer to it. -func (g *GraphDefinitionRequest) SetIncreaseGood(v bool) { - g.IncreaseGood = &v +// SetStyle allocates a new g.Style and returns the pointer to it. +func (g *GraphDefinition) SetStyle(v Style) { + g.Style = &v } -// GetOrderBy returns the OrderBy field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetOrderBy() string { - if g == nil || g.OrderBy == nil { +// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise. +func (g *GraphDefinition) GetTextAlign() string { + if g == nil || g.TextAlign == nil { return "" } - return *g.OrderBy + return *g.TextAlign } -// GetOrderByOk returns a tuple with the OrderBy field if it's non-nil, zero value otherwise +// GetTextAlignOk returns a tuple with the TextAlign field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetOrderByOk() (string, bool) { - if g == nil || g.OrderBy == nil { +func (g *GraphDefinition) GetTextAlignOk() (string, bool) { + if g == nil || g.TextAlign == nil { return "", false } - return *g.OrderBy, true + return *g.TextAlign, true } -// HasOrderBy returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasOrderBy() bool { - if g != nil && g.OrderBy != nil { +// HasTextAlign returns a boolean if a field has been set. +func (g *GraphDefinition) HasTextAlign() bool { + if g != nil && g.TextAlign != nil { return true } return false } -// SetOrderBy allocates a new g.OrderBy and returns the pointer to it. -func (g *GraphDefinitionRequest) SetOrderBy(v string) { - g.OrderBy = &v +// SetTextAlign allocates a new g.TextAlign and returns the pointer to it. +func (g *GraphDefinition) SetTextAlign(v string) { + g.TextAlign = &v } -// GetOrderDirection returns the OrderDirection field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetOrderDirection() string { - if g == nil || g.OrderDirection == nil { +// GetViz returns the Viz field if non-nil, zero value otherwise. +func (g *GraphDefinition) GetViz() string { + if g == nil || g.Viz == nil { return "" } - return *g.OrderDirection + return *g.Viz } -// GetOrderDirectionOk returns a tuple with the OrderDirection field if it's non-nil, zero value otherwise +// GetVizOk returns a tuple with the Viz field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetOrderDirectionOk() (string, bool) { - if g == nil || g.OrderDirection == nil { +func (g *GraphDefinition) GetVizOk() (string, bool) { + if g == nil || g.Viz == nil { return "", false } - return *g.OrderDirection, true + return *g.Viz, true } -// HasOrderDirection returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasOrderDirection() bool { - if g != nil && g.OrderDirection != nil { - return true +// HasViz returns a boolean if a field has been set. +func (g *GraphDefinition) HasViz() bool { + if g != nil && g.Viz != nil { + return true } return false } -// SetOrderDirection allocates a new g.OrderDirection and returns the pointer to it. -func (g *GraphDefinitionRequest) SetOrderDirection(v string) { - g.OrderDirection = &v +// SetViz allocates a new g.Viz and returns the pointer to it. +func (g *GraphDefinition) SetViz(v string) { + g.Viz = &v } -// GetQuery returns the Query field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetQuery() string { - if g == nil || g.Query == nil { +// GetLabel returns the Label field if non-nil, zero value otherwise. +func (g *GraphDefinitionMarker) GetLabel() string { + if g == nil || g.Label == nil { return "" } - return *g.Query + return *g.Label } -// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise +// GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetQueryOk() (string, bool) { - if g == nil || g.Query == nil { +func (g *GraphDefinitionMarker) GetLabelOk() (string, bool) { + if g == nil || g.Label == nil { return "", false } - return *g.Query, true + return *g.Label, true } -// HasQuery returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasQuery() bool { - if g != nil && g.Query != nil { +// HasLabel returns a boolean if a field has been set. +func (g *GraphDefinitionMarker) HasLabel() bool { + if g != nil && g.Label != nil { return true } return false } -// SetQuery allocates a new g.Query and returns the pointer to it. -func (g *GraphDefinitionRequest) SetQuery(v string) { - g.Query = &v +// SetLabel allocates a new g.Label and returns the pointer to it. +func (g *GraphDefinitionMarker) SetLabel(v string) { + g.Label = &v } -// GetStacked returns the Stacked field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetStacked() bool { - if g == nil || g.Stacked == nil { - return false +// GetMax returns the Max field if non-nil, zero value otherwise. +func (g *GraphDefinitionMarker) GetMax() json.Number { + if g == nil || g.Max == nil { + return "" } - return *g.Stacked + return *g.Max } -// GetStackedOk returns a tuple with the Stacked field if it's non-nil, zero value otherwise +// GetMaxOk returns a tuple with the Max field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetStackedOk() (bool, bool) { - if g == nil || g.Stacked == nil { - return false, false +func (g *GraphDefinitionMarker) GetMaxOk() (json.Number, bool) { + if g == nil || g.Max == nil { + return "", false } - return *g.Stacked, true + return *g.Max, true } -// HasStacked returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasStacked() bool { - if g != nil && g.Stacked != nil { +// HasMax returns a boolean if a field has been set. +func (g *GraphDefinitionMarker) HasMax() bool { + if g != nil && g.Max != nil { return true } return false } -// SetStacked allocates a new g.Stacked and returns the pointer to it. -func (g *GraphDefinitionRequest) SetStacked(v bool) { - g.Stacked = &v +// SetMax allocates a new g.Max and returns the pointer to it. +func (g *GraphDefinitionMarker) SetMax(v json.Number) { + g.Max = &v } -// GetStyle returns the Style field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetStyle() GraphDefinitionRequestStyle { - if g == nil || g.Style == nil { - return GraphDefinitionRequestStyle{} +// GetMin returns the Min field if non-nil, zero value otherwise. +func (g *GraphDefinitionMarker) GetMin() json.Number { + if g == nil || g.Min == nil { + return "" } - return *g.Style + return *g.Min } -// GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise +// GetMinOk returns a tuple with the Min field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetStyleOk() (GraphDefinitionRequestStyle, bool) { - if g == nil || g.Style == nil { - return GraphDefinitionRequestStyle{}, false +func (g *GraphDefinitionMarker) GetMinOk() (json.Number, bool) { + if g == nil || g.Min == nil { + return "", false } - return *g.Style, true + return *g.Min, true } -// HasStyle returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasStyle() bool { - if g != nil && g.Style != nil { +// HasMin returns a boolean if a field has been set. +func (g *GraphDefinitionMarker) HasMin() bool { + if g != nil && g.Min != nil { return true } return false } -// SetStyle allocates a new g.Style and returns the pointer to it. -func (g *GraphDefinitionRequest) SetStyle(v GraphDefinitionRequestStyle) { - g.Style = &v +// SetMin allocates a new g.Min and returns the pointer to it. +func (g *GraphDefinitionMarker) SetMin(v json.Number) { + g.Min = &v } // GetType returns the Type field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequest) GetType() string { +func (g *GraphDefinitionMarker) GetType() string { if g == nil || g.Type == nil { return "" } @@ -6658,7 +6658,7 @@ func (g *GraphDefinitionRequest) GetType() string { // GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequest) GetTypeOk() (string, bool) { +func (g *GraphDefinitionMarker) GetTypeOk() (string, bool) { if g == nil || g.Type == nil { return "", false } @@ -6666,7 +6666,7 @@ func (g *GraphDefinitionRequest) GetTypeOk() (string, bool) { } // HasType returns a boolean if a field has been set. -func (g *GraphDefinitionRequest) HasType() bool { +func (g *GraphDefinitionMarker) HasType() bool { if g != nil && g.Type != nil { return true } @@ -6675,415 +6675,415 @@ func (g *GraphDefinitionRequest) HasType() bool { } // SetType allocates a new g.Type and returns the pointer to it. -func (g *GraphDefinitionRequest) SetType(v string) { +func (g *GraphDefinitionMarker) SetType(v string) { g.Type = &v } -// GetPalette returns the Palette field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequestStyle) GetPalette() string { - if g == nil || g.Palette == nil { +// GetVal returns the Val field if non-nil, zero value otherwise. +func (g *GraphDefinitionMarker) GetVal() json.Number { + if g == nil || g.Val == nil { return "" } - return *g.Palette + return *g.Val } -// GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise +// GetValOk returns a tuple with the Val field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequestStyle) GetPaletteOk() (string, bool) { - if g == nil || g.Palette == nil { +func (g *GraphDefinitionMarker) GetValOk() (json.Number, bool) { + if g == nil || g.Val == nil { return "", false } - return *g.Palette, true + return *g.Val, true } -// HasPalette returns a boolean if a field has been set. -func (g *GraphDefinitionRequestStyle) HasPalette() bool { - if g != nil && g.Palette != nil { +// HasVal returns a boolean if a field has been set. +func (g *GraphDefinitionMarker) HasVal() bool { + if g != nil && g.Val != nil { return true } return false } -// SetPalette allocates a new g.Palette and returns the pointer to it. -func (g *GraphDefinitionRequestStyle) SetPalette(v string) { - g.Palette = &v +// SetVal allocates a new g.Val and returns the pointer to it. +func (g *GraphDefinitionMarker) SetVal(v json.Number) { + g.Val = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequestStyle) GetType() string { - if g == nil || g.Type == nil { +// GetValue returns the Value field if non-nil, zero value otherwise. +func (g *GraphDefinitionMarker) GetValue() string { + if g == nil || g.Value == nil { return "" } - return *g.Type + return *g.Value } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequestStyle) GetTypeOk() (string, bool) { - if g == nil || g.Type == nil { +func (g *GraphDefinitionMarker) GetValueOk() (string, bool) { + if g == nil || g.Value == nil { return "", false } - return *g.Type, true + return *g.Value, true } -// HasType returns a boolean if a field has been set. -func (g *GraphDefinitionRequestStyle) HasType() bool { - if g != nil && g.Type != nil { +// HasValue returns a boolean if a field has been set. +func (g *GraphDefinitionMarker) HasValue() bool { + if g != nil && g.Value != nil { return true } return false } -// SetType allocates a new g.Type and returns the pointer to it. -func (g *GraphDefinitionRequestStyle) SetType(v string) { - g.Type = &v +// SetValue allocates a new g.Value and returns the pointer to it. +func (g *GraphDefinitionMarker) SetValue(v string) { + g.Value = &v } -// GetWidth returns the Width field if non-nil, zero value otherwise. -func (g *GraphDefinitionRequestStyle) GetWidth() string { - if g == nil || g.Width == nil { +// GetAggregator returns the Aggregator field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetAggregator() string { + if g == nil || g.Aggregator == nil { return "" } - return *g.Width + return *g.Aggregator } -// GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise +// GetAggregatorOk returns a tuple with the Aggregator field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphDefinitionRequestStyle) GetWidthOk() (string, bool) { - if g == nil || g.Width == nil { +func (g *GraphDefinitionRequest) GetAggregatorOk() (string, bool) { + if g == nil || g.Aggregator == nil { return "", false } - return *g.Width, true + return *g.Aggregator, true } -// HasWidth returns a boolean if a field has been set. -func (g *GraphDefinitionRequestStyle) HasWidth() bool { - if g != nil && g.Width != nil { +// HasAggregator returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasAggregator() bool { + if g != nil && g.Aggregator != nil { return true } return false } -// SetWidth allocates a new g.Width and returns the pointer to it. -func (g *GraphDefinitionRequestStyle) SetWidth(v string) { - g.Width = &v +// SetAggregator allocates a new g.Aggregator and returns the pointer to it. +func (g *GraphDefinitionRequest) SetAggregator(v string) { + g.Aggregator = &v } -// GetQuery returns the Query field if non-nil, zero value otherwise. -func (g *GraphEvent) GetQuery() string { - if g == nil || g.Query == nil { +// GetChangeType returns the ChangeType field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetChangeType() string { + if g == nil || g.ChangeType == nil { return "" } - return *g.Query + return *g.ChangeType } -// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise +// GetChangeTypeOk returns a tuple with the ChangeType field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GraphEvent) GetQueryOk() (string, bool) { - if g == nil || g.Query == nil { +func (g *GraphDefinitionRequest) GetChangeTypeOk() (string, bool) { + if g == nil || g.ChangeType == nil { return "", false } - return *g.Query, true + return *g.ChangeType, true } -// HasQuery returns a boolean if a field has been set. -func (g *GraphEvent) HasQuery() bool { - if g != nil && g.Query != nil { +// HasChangeType returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasChangeType() bool { + if g != nil && g.ChangeType != nil { return true } return false } -// SetQuery allocates a new g.Query and returns the pointer to it. -func (g *GraphEvent) SetQuery(v string) { - g.Query = &v +// SetChangeType allocates a new g.ChangeType and returns the pointer to it. +func (g *GraphDefinitionRequest) SetChangeType(v string) { + g.ChangeType = &v } -// GetLastNoDataTs returns the LastNoDataTs field if non-nil, zero value otherwise. -func (g *GroupData) GetLastNoDataTs() int { - if g == nil || g.LastNoDataTs == nil { - return 0 +// GetCompareTo returns the CompareTo field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetCompareTo() string { + if g == nil || g.CompareTo == nil { + return "" } - return *g.LastNoDataTs + return *g.CompareTo } -// GetLastNoDataTsOk returns a tuple with the LastNoDataTs field if it's non-nil, zero value otherwise +// GetCompareToOk returns a tuple with the CompareTo field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GroupData) GetLastNoDataTsOk() (int, bool) { - if g == nil || g.LastNoDataTs == nil { - return 0, false +func (g *GraphDefinitionRequest) GetCompareToOk() (string, bool) { + if g == nil || g.CompareTo == nil { + return "", false } - return *g.LastNoDataTs, true + return *g.CompareTo, true } -// HasLastNoDataTs returns a boolean if a field has been set. -func (g *GroupData) HasLastNoDataTs() bool { - if g != nil && g.LastNoDataTs != nil { +// HasCompareTo returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasCompareTo() bool { + if g != nil && g.CompareTo != nil { return true } return false } -// SetLastNoDataTs allocates a new g.LastNoDataTs and returns the pointer to it. -func (g *GroupData) SetLastNoDataTs(v int) { - g.LastNoDataTs = &v +// SetCompareTo allocates a new g.CompareTo and returns the pointer to it. +func (g *GraphDefinitionRequest) SetCompareTo(v string) { + g.CompareTo = &v } -// GetLastNotifiedTs returns the LastNotifiedTs field if non-nil, zero value otherwise. -func (g *GroupData) GetLastNotifiedTs() int { - if g == nil || g.LastNotifiedTs == nil { - return 0 +// GetExtraCol returns the ExtraCol field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetExtraCol() string { + if g == nil || g.ExtraCol == nil { + return "" } - return *g.LastNotifiedTs + return *g.ExtraCol } -// GetLastNotifiedTsOk returns a tuple with the LastNotifiedTs field if it's non-nil, zero value otherwise +// GetExtraColOk returns a tuple with the ExtraCol field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GroupData) GetLastNotifiedTsOk() (int, bool) { - if g == nil || g.LastNotifiedTs == nil { - return 0, false +func (g *GraphDefinitionRequest) GetExtraColOk() (string, bool) { + if g == nil || g.ExtraCol == nil { + return "", false } - return *g.LastNotifiedTs, true + return *g.ExtraCol, true } -// HasLastNotifiedTs returns a boolean if a field has been set. -func (g *GroupData) HasLastNotifiedTs() bool { - if g != nil && g.LastNotifiedTs != nil { +// HasExtraCol returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasExtraCol() bool { + if g != nil && g.ExtraCol != nil { return true } return false } -// SetLastNotifiedTs allocates a new g.LastNotifiedTs and returns the pointer to it. -func (g *GroupData) SetLastNotifiedTs(v int) { - g.LastNotifiedTs = &v +// SetExtraCol allocates a new g.ExtraCol and returns the pointer to it. +func (g *GraphDefinitionRequest) SetExtraCol(v string) { + g.ExtraCol = &v } -// GetLastResolvedTs returns the LastResolvedTs field if non-nil, zero value otherwise. -func (g *GroupData) GetLastResolvedTs() int { - if g == nil || g.LastResolvedTs == nil { - return 0 +// GetIncreaseGood returns the IncreaseGood field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetIncreaseGood() bool { + if g == nil || g.IncreaseGood == nil { + return false } - return *g.LastResolvedTs + return *g.IncreaseGood } -// GetLastResolvedTsOk returns a tuple with the LastResolvedTs field if it's non-nil, zero value otherwise +// GetIncreaseGoodOk returns a tuple with the IncreaseGood field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GroupData) GetLastResolvedTsOk() (int, bool) { - if g == nil || g.LastResolvedTs == nil { - return 0, false +func (g *GraphDefinitionRequest) GetIncreaseGoodOk() (bool, bool) { + if g == nil || g.IncreaseGood == nil { + return false, false } - return *g.LastResolvedTs, true + return *g.IncreaseGood, true } -// HasLastResolvedTs returns a boolean if a field has been set. -func (g *GroupData) HasLastResolvedTs() bool { - if g != nil && g.LastResolvedTs != nil { +// HasIncreaseGood returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasIncreaseGood() bool { + if g != nil && g.IncreaseGood != nil { return true } return false } -// SetLastResolvedTs allocates a new g.LastResolvedTs and returns the pointer to it. -func (g *GroupData) SetLastResolvedTs(v int) { - g.LastResolvedTs = &v +// SetIncreaseGood allocates a new g.IncreaseGood and returns the pointer to it. +func (g *GraphDefinitionRequest) SetIncreaseGood(v bool) { + g.IncreaseGood = &v } -// GetLastTriggeredTs returns the LastTriggeredTs field if non-nil, zero value otherwise. -func (g *GroupData) GetLastTriggeredTs() int { - if g == nil || g.LastTriggeredTs == nil { - return 0 +// GetLogQuery returns the LogQuery field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetLogQuery() GraphApmOrLogQuery { + if g == nil || g.LogQuery == nil { + return GraphApmOrLogQuery{} } - return *g.LastTriggeredTs + return *g.LogQuery } -// GetLastTriggeredTsOk returns a tuple with the LastTriggeredTs field if it's non-nil, zero value otherwise +// GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GroupData) GetLastTriggeredTsOk() (int, bool) { - if g == nil || g.LastTriggeredTs == nil { - return 0, false +func (g *GraphDefinitionRequest) GetLogQueryOk() (GraphApmOrLogQuery, bool) { + if g == nil || g.LogQuery == nil { + return GraphApmOrLogQuery{}, false } - return *g.LastTriggeredTs, true + return *g.LogQuery, true } -// HasLastTriggeredTs returns a boolean if a field has been set. -func (g *GroupData) HasLastTriggeredTs() bool { - if g != nil && g.LastTriggeredTs != nil { +// HasLogQuery returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasLogQuery() bool { + if g != nil && g.LogQuery != nil { return true } return false } -// SetLastTriggeredTs allocates a new g.LastTriggeredTs and returns the pointer to it. -func (g *GroupData) SetLastTriggeredTs(v int) { - g.LastTriggeredTs = &v +// SetLogQuery allocates a new g.LogQuery and returns the pointer to it. +func (g *GraphDefinitionRequest) SetLogQuery(v GraphApmOrLogQuery) { + g.LogQuery = &v } -// GetName returns the Name field if non-nil, zero value otherwise. -func (g *GroupData) GetName() string { - if g == nil || g.Name == nil { +// GetOrderBy returns the OrderBy field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetOrderBy() string { + if g == nil || g.OrderBy == nil { return "" } - return *g.Name + return *g.OrderBy } -// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +// GetOrderByOk returns a tuple with the OrderBy field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GroupData) GetNameOk() (string, bool) { - if g == nil || g.Name == nil { +func (g *GraphDefinitionRequest) GetOrderByOk() (string, bool) { + if g == nil || g.OrderBy == nil { return "", false } - return *g.Name, true + return *g.OrderBy, true } -// HasName returns a boolean if a field has been set. -func (g *GroupData) HasName() bool { - if g != nil && g.Name != nil { +// HasOrderBy returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasOrderBy() bool { + if g != nil && g.OrderBy != nil { return true } return false } -// SetName allocates a new g.Name and returns the pointer to it. -func (g *GroupData) SetName(v string) { - g.Name = &v +// SetOrderBy allocates a new g.OrderBy and returns the pointer to it. +func (g *GraphDefinitionRequest) SetOrderBy(v string) { + g.OrderBy = &v } -// GetStatus returns the Status field if non-nil, zero value otherwise. -func (g *GroupData) GetStatus() string { - if g == nil || g.Status == nil { +// GetOrderDirection returns the OrderDirection field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetOrderDirection() string { + if g == nil || g.OrderDirection == nil { return "" } - return *g.Status + return *g.OrderDirection } -// GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +// GetOrderDirectionOk returns a tuple with the OrderDirection field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GroupData) GetStatusOk() (string, bool) { - if g == nil || g.Status == nil { +func (g *GraphDefinitionRequest) GetOrderDirectionOk() (string, bool) { + if g == nil || g.OrderDirection == nil { return "", false } - return *g.Status, true + return *g.OrderDirection, true } -// HasStatus returns a boolean if a field has been set. -func (g *GroupData) HasStatus() bool { - if g != nil && g.Status != nil { +// HasOrderDirection returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasOrderDirection() bool { + if g != nil && g.OrderDirection != nil { return true } return false } -// SetStatus allocates a new g.Status and returns the pointer to it. -func (g *GroupData) SetStatus(v string) { - g.Status = &v +// SetOrderDirection allocates a new g.OrderDirection and returns the pointer to it. +func (g *GraphDefinitionRequest) SetOrderDirection(v string) { + g.OrderDirection = &v } -// GetTriggeringValue returns the TriggeringValue field if non-nil, zero value otherwise. -func (g *GroupData) GetTriggeringValue() TriggeringValue { - if g == nil || g.TriggeringValue == nil { - return TriggeringValue{} +// GetQuery returns the Query field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetQuery() string { + if g == nil || g.Query == nil { + return "" } - return *g.TriggeringValue + return *g.Query } -// GetTriggeringValueOk returns a tuple with the TriggeringValue field if it's non-nil, zero value otherwise +// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GroupData) GetTriggeringValueOk() (TriggeringValue, bool) { - if g == nil || g.TriggeringValue == nil { - return TriggeringValue{}, false +func (g *GraphDefinitionRequest) GetQueryOk() (string, bool) { + if g == nil || g.Query == nil { + return "", false } - return *g.TriggeringValue, true + return *g.Query, true } -// HasTriggeringValue returns a boolean if a field has been set. -func (g *GroupData) HasTriggeringValue() bool { - if g != nil && g.TriggeringValue != nil { +// HasQuery returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasQuery() bool { + if g != nil && g.Query != nil { return true } return false } -// SetTriggeringValue allocates a new g.TriggeringValue and returns the pointer to it. -func (g *GroupData) SetTriggeringValue(v TriggeringValue) { - g.TriggeringValue = &v +// SetQuery allocates a new g.Query and returns the pointer to it. +func (g *GraphDefinitionRequest) SetQuery(v string) { + g.Query = &v } -// GetLayoutType returns the LayoutType field if non-nil, zero value otherwise. -func (g *GroupDefinition) GetLayoutType() string { - if g == nil || g.LayoutType == nil { - return "" +// GetStacked returns the Stacked field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetStacked() bool { + if g == nil || g.Stacked == nil { + return false } - return *g.LayoutType + return *g.Stacked } -// GetLayoutTypeOk returns a tuple with the LayoutType field if it's non-nil, zero value otherwise +// GetStackedOk returns a tuple with the Stacked field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GroupDefinition) GetLayoutTypeOk() (string, bool) { - if g == nil || g.LayoutType == nil { - return "", false +func (g *GraphDefinitionRequest) GetStackedOk() (bool, bool) { + if g == nil || g.Stacked == nil { + return false, false } - return *g.LayoutType, true + return *g.Stacked, true } -// HasLayoutType returns a boolean if a field has been set. -func (g *GroupDefinition) HasLayoutType() bool { - if g != nil && g.LayoutType != nil { +// HasStacked returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasStacked() bool { + if g != nil && g.Stacked != nil { return true } return false } -// SetLayoutType allocates a new g.LayoutType and returns the pointer to it. -func (g *GroupDefinition) SetLayoutType(v string) { - g.LayoutType = &v +// SetStacked allocates a new g.Stacked and returns the pointer to it. +func (g *GraphDefinitionRequest) SetStacked(v bool) { + g.Stacked = &v } -// GetTitle returns the Title field if non-nil, zero value otherwise. -func (g *GroupDefinition) GetTitle() string { - if g == nil || g.Title == nil { - return "" +// GetStyle returns the Style field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequest) GetStyle() GraphDefinitionRequestStyle { + if g == nil || g.Style == nil { + return GraphDefinitionRequestStyle{} } - return *g.Title + return *g.Style } -// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +// GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GroupDefinition) GetTitleOk() (string, bool) { - if g == nil || g.Title == nil { - return "", false +func (g *GraphDefinitionRequest) GetStyleOk() (GraphDefinitionRequestStyle, bool) { + if g == nil || g.Style == nil { + return GraphDefinitionRequestStyle{}, false } - return *g.Title, true + return *g.Style, true } -// HasTitle returns a boolean if a field has been set. -func (g *GroupDefinition) HasTitle() bool { - if g != nil && g.Title != nil { +// HasStyle returns a boolean if a field has been set. +func (g *GraphDefinitionRequest) HasStyle() bool { + if g != nil && g.Style != nil { return true } return false } -// SetTitle allocates a new g.Title and returns the pointer to it. -func (g *GroupDefinition) SetTitle(v string) { - g.Title = &v +// SetStyle allocates a new g.Style and returns the pointer to it. +func (g *GraphDefinitionRequest) SetStyle(v GraphDefinitionRequestStyle) { + g.Style = &v } // GetType returns the Type field if non-nil, zero value otherwise. -func (g *GroupDefinition) GetType() string { +func (g *GraphDefinitionRequest) GetType() string { if g == nil || g.Type == nil { return "" } @@ -7092,7 +7092,7 @@ func (g *GroupDefinition) GetType() string { // GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (g *GroupDefinition) GetTypeOk() (string, bool) { +func (g *GraphDefinitionRequest) GetTypeOk() (string, bool) { if g == nil || g.Type == nil { return "", false } @@ -7100,7 +7100,7 @@ func (g *GroupDefinition) GetTypeOk() (string, bool) { } // HasType returns a boolean if a field has been set. -func (g *GroupDefinition) HasType() bool { +func (g *GraphDefinitionRequest) HasType() bool { if g != nil && g.Type != nil { return true } @@ -7109,663 +7109,539 @@ func (g *GroupDefinition) HasType() bool { } // SetType allocates a new g.Type and returns the pointer to it. -func (g *GroupDefinition) SetType(v string) { +func (g *GraphDefinitionRequest) SetType(v string) { g.Type = &v } -// GetTime returns the Time field if non-nil, zero value otherwise. -func (h *HeatmapDefinition) GetTime() WidgetTime { - if h == nil || h.Time == nil { - return WidgetTime{} +// GetPalette returns the Palette field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequestStyle) GetPalette() string { + if g == nil || g.Palette == nil { + return "" } - return *h.Time + return *g.Palette } -// GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise +// GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapDefinition) GetTimeOk() (WidgetTime, bool) { - if h == nil || h.Time == nil { - return WidgetTime{}, false +func (g *GraphDefinitionRequestStyle) GetPaletteOk() (string, bool) { + if g == nil || g.Palette == nil { + return "", false } - return *h.Time, true + return *g.Palette, true } -// HasTime returns a boolean if a field has been set. -func (h *HeatmapDefinition) HasTime() bool { - if h != nil && h.Time != nil { +// HasPalette returns a boolean if a field has been set. +func (g *GraphDefinitionRequestStyle) HasPalette() bool { + if g != nil && g.Palette != nil { return true } return false } -// SetTime allocates a new h.Time and returns the pointer to it. -func (h *HeatmapDefinition) SetTime(v WidgetTime) { - h.Time = &v +// SetPalette allocates a new g.Palette and returns the pointer to it. +func (g *GraphDefinitionRequestStyle) SetPalette(v string) { + g.Palette = &v } -// GetTitle returns the Title field if non-nil, zero value otherwise. -func (h *HeatmapDefinition) GetTitle() string { - if h == nil || h.Title == nil { +// GetType returns the Type field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequestStyle) GetType() string { + if g == nil || g.Type == nil { return "" } - return *h.Title + return *g.Type } -// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapDefinition) GetTitleOk() (string, bool) { - if h == nil || h.Title == nil { +func (g *GraphDefinitionRequestStyle) GetTypeOk() (string, bool) { + if g == nil || g.Type == nil { return "", false } - return *h.Title, true + return *g.Type, true } -// HasTitle returns a boolean if a field has been set. -func (h *HeatmapDefinition) HasTitle() bool { - if h != nil && h.Title != nil { +// HasType returns a boolean if a field has been set. +func (g *GraphDefinitionRequestStyle) HasType() bool { + if g != nil && g.Type != nil { return true } return false } -// SetTitle allocates a new h.Title and returns the pointer to it. -func (h *HeatmapDefinition) SetTitle(v string) { - h.Title = &v +// SetType allocates a new g.Type and returns the pointer to it. +func (g *GraphDefinitionRequestStyle) SetType(v string) { + g.Type = &v } -// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. -func (h *HeatmapDefinition) GetTitleAlign() string { - if h == nil || h.TitleAlign == nil { +// GetWidth returns the Width field if non-nil, zero value otherwise. +func (g *GraphDefinitionRequestStyle) GetWidth() string { + if g == nil || g.Width == nil { return "" } - return *h.TitleAlign + return *g.Width } -// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise +// GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapDefinition) GetTitleAlignOk() (string, bool) { - if h == nil || h.TitleAlign == nil { +func (g *GraphDefinitionRequestStyle) GetWidthOk() (string, bool) { + if g == nil || g.Width == nil { return "", false } - return *h.TitleAlign, true + return *g.Width, true } -// HasTitleAlign returns a boolean if a field has been set. -func (h *HeatmapDefinition) HasTitleAlign() bool { - if h != nil && h.TitleAlign != nil { +// HasWidth returns a boolean if a field has been set. +func (g *GraphDefinitionRequestStyle) HasWidth() bool { + if g != nil && g.Width != nil { return true } return false } -// SetTitleAlign allocates a new h.TitleAlign and returns the pointer to it. -func (h *HeatmapDefinition) SetTitleAlign(v string) { - h.TitleAlign = &v +// SetWidth allocates a new g.Width and returns the pointer to it. +func (g *GraphDefinitionRequestStyle) SetWidth(v string) { + g.Width = &v } -// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. -func (h *HeatmapDefinition) GetTitleSize() string { - if h == nil || h.TitleSize == nil { +// GetQuery returns the Query field if non-nil, zero value otherwise. +func (g *GraphEvent) GetQuery() string { + if g == nil || g.Query == nil { return "" } - return *h.TitleSize + return *g.Query } -// GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise +// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapDefinition) GetTitleSizeOk() (string, bool) { - if h == nil || h.TitleSize == nil { +func (g *GraphEvent) GetQueryOk() (string, bool) { + if g == nil || g.Query == nil { return "", false } - return *h.TitleSize, true + return *g.Query, true } -// HasTitleSize returns a boolean if a field has been set. -func (h *HeatmapDefinition) HasTitleSize() bool { - if h != nil && h.TitleSize != nil { +// HasQuery returns a boolean if a field has been set. +func (g *GraphEvent) HasQuery() bool { + if g != nil && g.Query != nil { return true } return false } -// SetTitleSize allocates a new h.TitleSize and returns the pointer to it. -func (h *HeatmapDefinition) SetTitleSize(v string) { - h.TitleSize = &v +// SetQuery allocates a new g.Query and returns the pointer to it. +func (g *GraphEvent) SetQuery(v string) { + g.Query = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (h *HeatmapDefinition) GetType() string { - if h == nil || h.Type == nil { - return "" +// GetLastNoDataTs returns the LastNoDataTs field if non-nil, zero value otherwise. +func (g *GroupData) GetLastNoDataTs() int { + if g == nil || g.LastNoDataTs == nil { + return 0 } - return *h.Type + return *g.LastNoDataTs } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetLastNoDataTsOk returns a tuple with the LastNoDataTs field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapDefinition) GetTypeOk() (string, bool) { - if h == nil || h.Type == nil { - return "", false +func (g *GroupData) GetLastNoDataTsOk() (int, bool) { + if g == nil || g.LastNoDataTs == nil { + return 0, false } - return *h.Type, true + return *g.LastNoDataTs, true } -// HasType returns a boolean if a field has been set. -func (h *HeatmapDefinition) HasType() bool { - if h != nil && h.Type != nil { +// HasLastNoDataTs returns a boolean if a field has been set. +func (g *GroupData) HasLastNoDataTs() bool { + if g != nil && g.LastNoDataTs != nil { return true } return false } -// SetType allocates a new h.Type and returns the pointer to it. -func (h *HeatmapDefinition) SetType(v string) { - h.Type = &v +// SetLastNoDataTs allocates a new g.LastNoDataTs and returns the pointer to it. +func (g *GroupData) SetLastNoDataTs(v int) { + g.LastNoDataTs = &v } -// GetYaxis returns the Yaxis field if non-nil, zero value otherwise. -func (h *HeatmapDefinition) GetYaxis() WidgetAxis { - if h == nil || h.Yaxis == nil { - return WidgetAxis{} +// GetLastNotifiedTs returns the LastNotifiedTs field if non-nil, zero value otherwise. +func (g *GroupData) GetLastNotifiedTs() int { + if g == nil || g.LastNotifiedTs == nil { + return 0 } - return *h.Yaxis + return *g.LastNotifiedTs } -// GetYaxisOk returns a tuple with the Yaxis field if it's non-nil, zero value otherwise +// GetLastNotifiedTsOk returns a tuple with the LastNotifiedTs field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapDefinition) GetYaxisOk() (WidgetAxis, bool) { - if h == nil || h.Yaxis == nil { - return WidgetAxis{}, false +func (g *GroupData) GetLastNotifiedTsOk() (int, bool) { + if g == nil || g.LastNotifiedTs == nil { + return 0, false } - return *h.Yaxis, true + return *g.LastNotifiedTs, true } -// HasYaxis returns a boolean if a field has been set. -func (h *HeatmapDefinition) HasYaxis() bool { - if h != nil && h.Yaxis != nil { +// HasLastNotifiedTs returns a boolean if a field has been set. +func (g *GroupData) HasLastNotifiedTs() bool { + if g != nil && g.LastNotifiedTs != nil { return true } return false } -// SetYaxis allocates a new h.Yaxis and returns the pointer to it. -func (h *HeatmapDefinition) SetYaxis(v WidgetAxis) { - h.Yaxis = &v +// SetLastNotifiedTs allocates a new g.LastNotifiedTs and returns the pointer to it. +func (g *GroupData) SetLastNotifiedTs(v int) { + g.LastNotifiedTs = &v } -// GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise. -func (h *HeatmapRequest) GetApmQuery() WidgetApmOrLogQuery { - if h == nil || h.ApmQuery == nil { - return WidgetApmOrLogQuery{} +// GetLastResolvedTs returns the LastResolvedTs field if non-nil, zero value otherwise. +func (g *GroupData) GetLastResolvedTs() int { + if g == nil || g.LastResolvedTs == nil { + return 0 } - return *h.ApmQuery + return *g.LastResolvedTs } -// GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise +// GetLastResolvedTsOk returns a tuple with the LastResolvedTs field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool) { - if h == nil || h.ApmQuery == nil { - return WidgetApmOrLogQuery{}, false +func (g *GroupData) GetLastResolvedTsOk() (int, bool) { + if g == nil || g.LastResolvedTs == nil { + return 0, false } - return *h.ApmQuery, true + return *g.LastResolvedTs, true } -// HasApmQuery returns a boolean if a field has been set. -func (h *HeatmapRequest) HasApmQuery() bool { - if h != nil && h.ApmQuery != nil { +// HasLastResolvedTs returns a boolean if a field has been set. +func (g *GroupData) HasLastResolvedTs() bool { + if g != nil && g.LastResolvedTs != nil { return true } return false } -// SetApmQuery allocates a new h.ApmQuery and returns the pointer to it. -func (h *HeatmapRequest) SetApmQuery(v WidgetApmOrLogQuery) { - h.ApmQuery = &v +// SetLastResolvedTs allocates a new g.LastResolvedTs and returns the pointer to it. +func (g *GroupData) SetLastResolvedTs(v int) { + g.LastResolvedTs = &v } -// GetLogQuery returns the LogQuery field if non-nil, zero value otherwise. -func (h *HeatmapRequest) GetLogQuery() WidgetApmOrLogQuery { - if h == nil || h.LogQuery == nil { - return WidgetApmOrLogQuery{} +// GetLastTriggeredTs returns the LastTriggeredTs field if non-nil, zero value otherwise. +func (g *GroupData) GetLastTriggeredTs() int { + if g == nil || g.LastTriggeredTs == nil { + return 0 } - return *h.LogQuery + return *g.LastTriggeredTs } -// GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise +// GetLastTriggeredTsOk returns a tuple with the LastTriggeredTs field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool) { - if h == nil || h.LogQuery == nil { - return WidgetApmOrLogQuery{}, false +func (g *GroupData) GetLastTriggeredTsOk() (int, bool) { + if g == nil || g.LastTriggeredTs == nil { + return 0, false } - return *h.LogQuery, true + return *g.LastTriggeredTs, true } -// HasLogQuery returns a boolean if a field has been set. -func (h *HeatmapRequest) HasLogQuery() bool { - if h != nil && h.LogQuery != nil { +// HasLastTriggeredTs returns a boolean if a field has been set. +func (g *GroupData) HasLastTriggeredTs() bool { + if g != nil && g.LastTriggeredTs != nil { return true } return false } -// SetLogQuery allocates a new h.LogQuery and returns the pointer to it. -func (h *HeatmapRequest) SetLogQuery(v WidgetApmOrLogQuery) { - h.LogQuery = &v +// SetLastTriggeredTs allocates a new g.LastTriggeredTs and returns the pointer to it. +func (g *GroupData) SetLastTriggeredTs(v int) { + g.LastTriggeredTs = &v } -// GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise. -func (h *HeatmapRequest) GetMetricQuery() string { - if h == nil || h.MetricQuery == nil { +// GetName returns the Name field if non-nil, zero value otherwise. +func (g *GroupData) GetName() string { + if g == nil || g.Name == nil { return "" } - return *h.MetricQuery + return *g.Name } -// GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise +// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapRequest) GetMetricQueryOk() (string, bool) { - if h == nil || h.MetricQuery == nil { +func (g *GroupData) GetNameOk() (string, bool) { + if g == nil || g.Name == nil { return "", false } - return *h.MetricQuery, true + return *g.Name, true } -// HasMetricQuery returns a boolean if a field has been set. -func (h *HeatmapRequest) HasMetricQuery() bool { - if h != nil && h.MetricQuery != nil { +// HasName returns a boolean if a field has been set. +func (g *GroupData) HasName() bool { + if g != nil && g.Name != nil { return true } return false } -// SetMetricQuery allocates a new h.MetricQuery and returns the pointer to it. -func (h *HeatmapRequest) SetMetricQuery(v string) { - h.MetricQuery = &v -} - -// GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise. -func (h *HeatmapRequest) GetProcessQuery() WidgetProcessQuery { - if h == nil || h.ProcessQuery == nil { - return WidgetProcessQuery{} +// SetName allocates a new g.Name and returns the pointer to it. +func (g *GroupData) SetName(v string) { + g.Name = &v +} + +// GetStatus returns the Status field if non-nil, zero value otherwise. +func (g *GroupData) GetStatus() string { + if g == nil || g.Status == nil { + return "" } - return *h.ProcessQuery + return *g.Status } -// GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise +// GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool) { - if h == nil || h.ProcessQuery == nil { - return WidgetProcessQuery{}, false +func (g *GroupData) GetStatusOk() (string, bool) { + if g == nil || g.Status == nil { + return "", false } - return *h.ProcessQuery, true + return *g.Status, true } -// HasProcessQuery returns a boolean if a field has been set. -func (h *HeatmapRequest) HasProcessQuery() bool { - if h != nil && h.ProcessQuery != nil { +// HasStatus returns a boolean if a field has been set. +func (g *GroupData) HasStatus() bool { + if g != nil && g.Status != nil { return true } return false } -// SetProcessQuery allocates a new h.ProcessQuery and returns the pointer to it. -func (h *HeatmapRequest) SetProcessQuery(v WidgetProcessQuery) { - h.ProcessQuery = &v +// SetStatus allocates a new g.Status and returns the pointer to it. +func (g *GroupData) SetStatus(v string) { + g.Status = &v } -// GetStyle returns the Style field if non-nil, zero value otherwise. -func (h *HeatmapRequest) GetStyle() WidgetRequestStyle { - if h == nil || h.Style == nil { - return WidgetRequestStyle{} +// GetTriggeringValue returns the TriggeringValue field if non-nil, zero value otherwise. +func (g *GroupData) GetTriggeringValue() TriggeringValue { + if g == nil || g.TriggeringValue == nil { + return TriggeringValue{} } - return *h.Style + return *g.TriggeringValue } -// GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise +// GetTriggeringValueOk returns a tuple with the TriggeringValue field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HeatmapRequest) GetStyleOk() (WidgetRequestStyle, bool) { - if h == nil || h.Style == nil { - return WidgetRequestStyle{}, false +func (g *GroupData) GetTriggeringValueOk() (TriggeringValue, bool) { + if g == nil || g.TriggeringValue == nil { + return TriggeringValue{}, false } - return *h.Style, true + return *g.TriggeringValue, true } -// HasStyle returns a boolean if a field has been set. -func (h *HeatmapRequest) HasStyle() bool { - if h != nil && h.Style != nil { +// HasTriggeringValue returns a boolean if a field has been set. +func (g *GroupData) HasTriggeringValue() bool { + if g != nil && g.TriggeringValue != nil { return true } return false } -// SetStyle allocates a new h.Style and returns the pointer to it. -func (h *HeatmapRequest) SetStyle(v WidgetRequestStyle) { - h.Style = &v +// SetTriggeringValue allocates a new g.TriggeringValue and returns the pointer to it. +func (g *GroupData) SetTriggeringValue(v TriggeringValue) { + g.TriggeringValue = &v } -// GetEndTime returns the EndTime field if non-nil, zero value otherwise. -func (h *HostActionMute) GetEndTime() string { - if h == nil || h.EndTime == nil { +// GetLayoutType returns the LayoutType field if non-nil, zero value otherwise. +func (g *GroupDefinition) GetLayoutType() string { + if g == nil || g.LayoutType == nil { return "" } - return *h.EndTime + return *g.LayoutType } -// GetEndTimeOk returns a tuple with the EndTime field if it's non-nil, zero value otherwise +// GetLayoutTypeOk returns a tuple with the LayoutType field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostActionMute) GetEndTimeOk() (string, bool) { - if h == nil || h.EndTime == nil { +func (g *GroupDefinition) GetLayoutTypeOk() (string, bool) { + if g == nil || g.LayoutType == nil { return "", false } - return *h.EndTime, true + return *g.LayoutType, true } -// HasEndTime returns a boolean if a field has been set. -func (h *HostActionMute) HasEndTime() bool { - if h != nil && h.EndTime != nil { +// HasLayoutType returns a boolean if a field has been set. +func (g *GroupDefinition) HasLayoutType() bool { + if g != nil && g.LayoutType != nil { return true } return false } -// SetEndTime allocates a new h.EndTime and returns the pointer to it. -func (h *HostActionMute) SetEndTime(v string) { - h.EndTime = &v +// SetLayoutType allocates a new g.LayoutType and returns the pointer to it. +func (g *GroupDefinition) SetLayoutType(v string) { + g.LayoutType = &v } -// GetMessage returns the Message field if non-nil, zero value otherwise. -func (h *HostActionMute) GetMessage() string { - if h == nil || h.Message == nil { +// GetTitle returns the Title field if non-nil, zero value otherwise. +func (g *GroupDefinition) GetTitle() string { + if g == nil || g.Title == nil { return "" } - return *h.Message + return *g.Title } -// GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostActionMute) GetMessageOk() (string, bool) { - if h == nil || h.Message == nil { +func (g *GroupDefinition) GetTitleOk() (string, bool) { + if g == nil || g.Title == nil { return "", false } - return *h.Message, true + return *g.Title, true } -// HasMessage returns a boolean if a field has been set. -func (h *HostActionMute) HasMessage() bool { - if h != nil && h.Message != nil { +// HasTitle returns a boolean if a field has been set. +func (g *GroupDefinition) HasTitle() bool { + if g != nil && g.Title != nil { return true } return false } -// SetMessage allocates a new h.Message and returns the pointer to it. -func (h *HostActionMute) SetMessage(v string) { - h.Message = &v +// SetTitle allocates a new g.Title and returns the pointer to it. +func (g *GroupDefinition) SetTitle(v string) { + g.Title = &v } -// GetOverride returns the Override field if non-nil, zero value otherwise. -func (h *HostActionMute) GetOverride() bool { - if h == nil || h.Override == nil { - return false +// GetType returns the Type field if non-nil, zero value otherwise. +func (g *GroupDefinition) GetType() string { + if g == nil || g.Type == nil { + return "" } - return *h.Override + return *g.Type } -// GetOverrideOk returns a tuple with the Override field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostActionMute) GetOverrideOk() (bool, bool) { - if h == nil || h.Override == nil { - return false, false +func (g *GroupDefinition) GetTypeOk() (string, bool) { + if g == nil || g.Type == nil { + return "", false } - return *h.Override, true + return *g.Type, true } -// HasOverride returns a boolean if a field has been set. -func (h *HostActionMute) HasOverride() bool { - if h != nil && h.Override != nil { +// HasType returns a boolean if a field has been set. +func (g *GroupDefinition) HasType() bool { + if g != nil && g.Type != nil { return true } return false } -// SetOverride allocates a new h.Override and returns the pointer to it. -func (h *HostActionMute) SetOverride(v bool) { - h.Override = &v +// SetType allocates a new g.Type and returns the pointer to it. +func (g *GroupDefinition) SetType(v string) { + g.Type = &v } -// GetNodeType returns the NodeType field if non-nil, zero value otherwise. -func (h *HostmapDefinition) GetNodeType() string { - if h == nil || h.NodeType == nil { - return "" +// GetTime returns the Time field if non-nil, zero value otherwise. +func (h *HeatmapDefinition) GetTime() WidgetTime { + if h == nil || h.Time == nil { + return WidgetTime{} } - return *h.NodeType + return *h.Time } -// GetNodeTypeOk returns a tuple with the NodeType field if it's non-nil, zero value otherwise +// GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapDefinition) GetNodeTypeOk() (string, bool) { - if h == nil || h.NodeType == nil { - return "", false +func (h *HeatmapDefinition) GetTimeOk() (WidgetTime, bool) { + if h == nil || h.Time == nil { + return WidgetTime{}, false } - return *h.NodeType, true + return *h.Time, true } -// HasNodeType returns a boolean if a field has been set. -func (h *HostmapDefinition) HasNodeType() bool { - if h != nil && h.NodeType != nil { +// HasTime returns a boolean if a field has been set. +func (h *HeatmapDefinition) HasTime() bool { + if h != nil && h.Time != nil { return true } return false } -// SetNodeType allocates a new h.NodeType and returns the pointer to it. -func (h *HostmapDefinition) SetNodeType(v string) { - h.NodeType = &v +// SetTime allocates a new h.Time and returns the pointer to it. +func (h *HeatmapDefinition) SetTime(v WidgetTime) { + h.Time = &v } -// GetNoGroupHosts returns the NoGroupHosts field if non-nil, zero value otherwise. -func (h *HostmapDefinition) GetNoGroupHosts() bool { - if h == nil || h.NoGroupHosts == nil { - return false +// GetTitle returns the Title field if non-nil, zero value otherwise. +func (h *HeatmapDefinition) GetTitle() string { + if h == nil || h.Title == nil { + return "" } - return *h.NoGroupHosts + return *h.Title } -// GetNoGroupHostsOk returns a tuple with the NoGroupHosts field if it's non-nil, zero value otherwise +// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapDefinition) GetNoGroupHostsOk() (bool, bool) { - if h == nil || h.NoGroupHosts == nil { - return false, false +func (h *HeatmapDefinition) GetTitleOk() (string, bool) { + if h == nil || h.Title == nil { + return "", false } - return *h.NoGroupHosts, true + return *h.Title, true } -// HasNoGroupHosts returns a boolean if a field has been set. -func (h *HostmapDefinition) HasNoGroupHosts() bool { - if h != nil && h.NoGroupHosts != nil { +// HasTitle returns a boolean if a field has been set. +func (h *HeatmapDefinition) HasTitle() bool { + if h != nil && h.Title != nil { return true } return false } -// SetNoGroupHosts allocates a new h.NoGroupHosts and returns the pointer to it. -func (h *HostmapDefinition) SetNoGroupHosts(v bool) { - h.NoGroupHosts = &v +// SetTitle allocates a new h.Title and returns the pointer to it. +func (h *HeatmapDefinition) SetTitle(v string) { + h.Title = &v } -// GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise. -func (h *HostmapDefinition) GetNoMetricHosts() bool { - if h == nil || h.NoMetricHosts == nil { - return false +// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. +func (h *HeatmapDefinition) GetTitleAlign() string { + if h == nil || h.TitleAlign == nil { + return "" } - return *h.NoMetricHosts + return *h.TitleAlign } -// GetNoMetricHostsOk returns a tuple with the NoMetricHosts field if it's non-nil, zero value otherwise +// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapDefinition) GetNoMetricHostsOk() (bool, bool) { - if h == nil || h.NoMetricHosts == nil { - return false, false +func (h *HeatmapDefinition) GetTitleAlignOk() (string, bool) { + if h == nil || h.TitleAlign == nil { + return "", false } - return *h.NoMetricHosts, true + return *h.TitleAlign, true } -// HasNoMetricHosts returns a boolean if a field has been set. -func (h *HostmapDefinition) HasNoMetricHosts() bool { - if h != nil && h.NoMetricHosts != nil { +// HasTitleAlign returns a boolean if a field has been set. +func (h *HeatmapDefinition) HasTitleAlign() bool { + if h != nil && h.TitleAlign != nil { return true } return false } -// SetNoMetricHosts allocates a new h.NoMetricHosts and returns the pointer to it. -func (h *HostmapDefinition) SetNoMetricHosts(v bool) { - h.NoMetricHosts = &v -} - -// GetRequests returns the Requests field if non-nil, zero value otherwise. -func (h *HostmapDefinition) GetRequests() HostmapRequests { - if h == nil || h.Requests == nil { - return HostmapRequests{} - } - return *h.Requests -} - -// GetRequestsOk returns a tuple with the Requests field if it's non-nil, zero value otherwise -// and a boolean to check if the value has been set. -func (h *HostmapDefinition) GetRequestsOk() (HostmapRequests, bool) { - if h == nil || h.Requests == nil { - return HostmapRequests{}, false - } - return *h.Requests, true -} - -// HasRequests returns a boolean if a field has been set. -func (h *HostmapDefinition) HasRequests() bool { - if h != nil && h.Requests != nil { - return true - } - - return false -} - -// SetRequests allocates a new h.Requests and returns the pointer to it. -func (h *HostmapDefinition) SetRequests(v HostmapRequests) { - h.Requests = &v -} - -// GetStyle returns the Style field if non-nil, zero value otherwise. -func (h *HostmapDefinition) GetStyle() HostmapStyle { - if h == nil || h.Style == nil { - return HostmapStyle{} - } - return *h.Style -} - -// GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise -// and a boolean to check if the value has been set. -func (h *HostmapDefinition) GetStyleOk() (HostmapStyle, bool) { - if h == nil || h.Style == nil { - return HostmapStyle{}, false - } - return *h.Style, true -} - -// HasStyle returns a boolean if a field has been set. -func (h *HostmapDefinition) HasStyle() bool { - if h != nil && h.Style != nil { - return true - } - - return false -} - -// SetStyle allocates a new h.Style and returns the pointer to it. -func (h *HostmapDefinition) SetStyle(v HostmapStyle) { - h.Style = &v -} - -// GetTitle returns the Title field if non-nil, zero value otherwise. -func (h *HostmapDefinition) GetTitle() string { - if h == nil || h.Title == nil { - return "" - } - return *h.Title -} - -// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise -// and a boolean to check if the value has been set. -func (h *HostmapDefinition) GetTitleOk() (string, bool) { - if h == nil || h.Title == nil { - return "", false - } - return *h.Title, true -} - -// HasTitle returns a boolean if a field has been set. -func (h *HostmapDefinition) HasTitle() bool { - if h != nil && h.Title != nil { - return true - } - - return false -} - -// SetTitle allocates a new h.Title and returns the pointer to it. -func (h *HostmapDefinition) SetTitle(v string) { - h.Title = &v -} - -// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. -func (h *HostmapDefinition) GetTitleAlign() string { - if h == nil || h.TitleAlign == nil { - return "" - } - return *h.TitleAlign -} - -// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise -// and a boolean to check if the value has been set. -func (h *HostmapDefinition) GetTitleAlignOk() (string, bool) { - if h == nil || h.TitleAlign == nil { - return "", false - } - return *h.TitleAlign, true -} - -// HasTitleAlign returns a boolean if a field has been set. -func (h *HostmapDefinition) HasTitleAlign() bool { - if h != nil && h.TitleAlign != nil { - return true - } - - return false -} - -// SetTitleAlign allocates a new h.TitleAlign and returns the pointer to it. -func (h *HostmapDefinition) SetTitleAlign(v string) { - h.TitleAlign = &v +// SetTitleAlign allocates a new h.TitleAlign and returns the pointer to it. +func (h *HeatmapDefinition) SetTitleAlign(v string) { + h.TitleAlign = &v } // GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. -func (h *HostmapDefinition) GetTitleSize() string { +func (h *HeatmapDefinition) GetTitleSize() string { if h == nil || h.TitleSize == nil { return "" } @@ -7774,7 +7650,7 @@ func (h *HostmapDefinition) GetTitleSize() string { // GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapDefinition) GetTitleSizeOk() (string, bool) { +func (h *HeatmapDefinition) GetTitleSizeOk() (string, bool) { if h == nil || h.TitleSize == nil { return "", false } @@ -7782,7 +7658,7 @@ func (h *HostmapDefinition) GetTitleSizeOk() (string, bool) { } // HasTitleSize returns a boolean if a field has been set. -func (h *HostmapDefinition) HasTitleSize() bool { +func (h *HeatmapDefinition) HasTitleSize() bool { if h != nil && h.TitleSize != nil { return true } @@ -7791,12 +7667,12 @@ func (h *HostmapDefinition) HasTitleSize() bool { } // SetTitleSize allocates a new h.TitleSize and returns the pointer to it. -func (h *HostmapDefinition) SetTitleSize(v string) { +func (h *HeatmapDefinition) SetTitleSize(v string) { h.TitleSize = &v } // GetType returns the Type field if non-nil, zero value otherwise. -func (h *HostmapDefinition) GetType() string { +func (h *HeatmapDefinition) GetType() string { if h == nil || h.Type == nil { return "" } @@ -7805,7 +7681,7 @@ func (h *HostmapDefinition) GetType() string { // GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapDefinition) GetTypeOk() (string, bool) { +func (h *HeatmapDefinition) GetTypeOk() (string, bool) { if h == nil || h.Type == nil { return "", false } @@ -7813,7 +7689,7 @@ func (h *HostmapDefinition) GetTypeOk() (string, bool) { } // HasType returns a boolean if a field has been set. -func (h *HostmapDefinition) HasType() bool { +func (h *HeatmapDefinition) HasType() bool { if h != nil && h.Type != nil { return true } @@ -7822,12 +7698,43 @@ func (h *HostmapDefinition) HasType() bool { } // SetType allocates a new h.Type and returns the pointer to it. -func (h *HostmapDefinition) SetType(v string) { +func (h *HeatmapDefinition) SetType(v string) { h.Type = &v } +// GetYaxis returns the Yaxis field if non-nil, zero value otherwise. +func (h *HeatmapDefinition) GetYaxis() WidgetAxis { + if h == nil || h.Yaxis == nil { + return WidgetAxis{} + } + return *h.Yaxis +} + +// GetYaxisOk returns a tuple with the Yaxis field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (h *HeatmapDefinition) GetYaxisOk() (WidgetAxis, bool) { + if h == nil || h.Yaxis == nil { + return WidgetAxis{}, false + } + return *h.Yaxis, true +} + +// HasYaxis returns a boolean if a field has been set. +func (h *HeatmapDefinition) HasYaxis() bool { + if h != nil && h.Yaxis != nil { + return true + } + + return false +} + +// SetYaxis allocates a new h.Yaxis and returns the pointer to it. +func (h *HeatmapDefinition) SetYaxis(v WidgetAxis) { + h.Yaxis = &v +} + // GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise. -func (h *HostmapRequest) GetApmQuery() WidgetApmOrLogQuery { +func (h *HeatmapRequest) GetApmQuery() WidgetApmOrLogQuery { if h == nil || h.ApmQuery == nil { return WidgetApmOrLogQuery{} } @@ -7836,7 +7743,7 @@ func (h *HostmapRequest) GetApmQuery() WidgetApmOrLogQuery { // GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool) { +func (h *HeatmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool) { if h == nil || h.ApmQuery == nil { return WidgetApmOrLogQuery{}, false } @@ -7844,7 +7751,7 @@ func (h *HostmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool) { } // HasApmQuery returns a boolean if a field has been set. -func (h *HostmapRequest) HasApmQuery() bool { +func (h *HeatmapRequest) HasApmQuery() bool { if h != nil && h.ApmQuery != nil { return true } @@ -7853,12 +7760,12 @@ func (h *HostmapRequest) HasApmQuery() bool { } // SetApmQuery allocates a new h.ApmQuery and returns the pointer to it. -func (h *HostmapRequest) SetApmQuery(v WidgetApmOrLogQuery) { +func (h *HeatmapRequest) SetApmQuery(v WidgetApmOrLogQuery) { h.ApmQuery = &v } // GetLogQuery returns the LogQuery field if non-nil, zero value otherwise. -func (h *HostmapRequest) GetLogQuery() WidgetApmOrLogQuery { +func (h *HeatmapRequest) GetLogQuery() WidgetApmOrLogQuery { if h == nil || h.LogQuery == nil { return WidgetApmOrLogQuery{} } @@ -7867,7 +7774,7 @@ func (h *HostmapRequest) GetLogQuery() WidgetApmOrLogQuery { // GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool) { +func (h *HeatmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool) { if h == nil || h.LogQuery == nil { return WidgetApmOrLogQuery{}, false } @@ -7875,7 +7782,7 @@ func (h *HostmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool) { } // HasLogQuery returns a boolean if a field has been set. -func (h *HostmapRequest) HasLogQuery() bool { +func (h *HeatmapRequest) HasLogQuery() bool { if h != nil && h.LogQuery != nil { return true } @@ -7884,12 +7791,12 @@ func (h *HostmapRequest) HasLogQuery() bool { } // SetLogQuery allocates a new h.LogQuery and returns the pointer to it. -func (h *HostmapRequest) SetLogQuery(v WidgetApmOrLogQuery) { +func (h *HeatmapRequest) SetLogQuery(v WidgetApmOrLogQuery) { h.LogQuery = &v } // GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise. -func (h *HostmapRequest) GetMetricQuery() string { +func (h *HeatmapRequest) GetMetricQuery() string { if h == nil || h.MetricQuery == nil { return "" } @@ -7898,7 +7805,7 @@ func (h *HostmapRequest) GetMetricQuery() string { // GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapRequest) GetMetricQueryOk() (string, bool) { +func (h *HeatmapRequest) GetMetricQueryOk() (string, bool) { if h == nil || h.MetricQuery == nil { return "", false } @@ -7906,7 +7813,7 @@ func (h *HostmapRequest) GetMetricQueryOk() (string, bool) { } // HasMetricQuery returns a boolean if a field has been set. -func (h *HostmapRequest) HasMetricQuery() bool { +func (h *HeatmapRequest) HasMetricQuery() bool { if h != nil && h.MetricQuery != nil { return true } @@ -7915,12 +7822,12 @@ func (h *HostmapRequest) HasMetricQuery() bool { } // SetMetricQuery allocates a new h.MetricQuery and returns the pointer to it. -func (h *HostmapRequest) SetMetricQuery(v string) { +func (h *HeatmapRequest) SetMetricQuery(v string) { h.MetricQuery = &v } // GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise. -func (h *HostmapRequest) GetProcessQuery() WidgetProcessQuery { +func (h *HeatmapRequest) GetProcessQuery() WidgetProcessQuery { if h == nil || h.ProcessQuery == nil { return WidgetProcessQuery{} } @@ -7929,7 +7836,7 @@ func (h *HostmapRequest) GetProcessQuery() WidgetProcessQuery { // GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool) { +func (h *HeatmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool) { if h == nil || h.ProcessQuery == nil { return WidgetProcessQuery{}, false } @@ -7937,7 +7844,7 @@ func (h *HostmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool) { } // HasProcessQuery returns a boolean if a field has been set. -func (h *HostmapRequest) HasProcessQuery() bool { +func (h *HeatmapRequest) HasProcessQuery() bool { if h != nil && h.ProcessQuery != nil { return true } @@ -7946,1004 +7853,1035 @@ func (h *HostmapRequest) HasProcessQuery() bool { } // SetProcessQuery allocates a new h.ProcessQuery and returns the pointer to it. -func (h *HostmapRequest) SetProcessQuery(v WidgetProcessQuery) { +func (h *HeatmapRequest) SetProcessQuery(v WidgetProcessQuery) { h.ProcessQuery = &v } -// GetFill returns the Fill field if non-nil, zero value otherwise. -func (h *HostmapRequests) GetFill() HostmapRequest { - if h == nil || h.Fill == nil { - return HostmapRequest{} +// GetStyle returns the Style field if non-nil, zero value otherwise. +func (h *HeatmapRequest) GetStyle() WidgetRequestStyle { + if h == nil || h.Style == nil { + return WidgetRequestStyle{} } - return *h.Fill + return *h.Style } -// GetFillOk returns a tuple with the Fill field if it's non-nil, zero value otherwise +// GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapRequests) GetFillOk() (HostmapRequest, bool) { - if h == nil || h.Fill == nil { - return HostmapRequest{}, false +func (h *HeatmapRequest) GetStyleOk() (WidgetRequestStyle, bool) { + if h == nil || h.Style == nil { + return WidgetRequestStyle{}, false } - return *h.Fill, true + return *h.Style, true } -// HasFill returns a boolean if a field has been set. -func (h *HostmapRequests) HasFill() bool { - if h != nil && h.Fill != nil { +// HasStyle returns a boolean if a field has been set. +func (h *HeatmapRequest) HasStyle() bool { + if h != nil && h.Style != nil { return true } return false } -// SetFill allocates a new h.Fill and returns the pointer to it. -func (h *HostmapRequests) SetFill(v HostmapRequest) { - h.Fill = &v +// SetStyle allocates a new h.Style and returns the pointer to it. +func (h *HeatmapRequest) SetStyle(v WidgetRequestStyle) { + h.Style = &v } -// GetSize returns the Size field if non-nil, zero value otherwise. -func (h *HostmapRequests) GetSize() HostmapRequest { - if h == nil || h.Size == nil { - return HostmapRequest{} +// GetEndTime returns the EndTime field if non-nil, zero value otherwise. +func (h *HostActionMute) GetEndTime() string { + if h == nil || h.EndTime == nil { + return "" } - return *h.Size + return *h.EndTime } -// GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +// GetEndTimeOk returns a tuple with the EndTime field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapRequests) GetSizeOk() (HostmapRequest, bool) { - if h == nil || h.Size == nil { - return HostmapRequest{}, false +func (h *HostActionMute) GetEndTimeOk() (string, bool) { + if h == nil || h.EndTime == nil { + return "", false } - return *h.Size, true + return *h.EndTime, true } -// HasSize returns a boolean if a field has been set. -func (h *HostmapRequests) HasSize() bool { - if h != nil && h.Size != nil { - return true +// HasEndTime returns a boolean if a field has been set. +func (h *HostActionMute) HasEndTime() bool { + if h != nil && h.EndTime != nil { + return true } return false } -// SetSize allocates a new h.Size and returns the pointer to it. -func (h *HostmapRequests) SetSize(v HostmapRequest) { - h.Size = &v +// SetEndTime allocates a new h.EndTime and returns the pointer to it. +func (h *HostActionMute) SetEndTime(v string) { + h.EndTime = &v } -// GetFillMax returns the FillMax field if non-nil, zero value otherwise. -func (h *HostmapStyle) GetFillMax() string { - if h == nil || h.FillMax == nil { +// GetMessage returns the Message field if non-nil, zero value otherwise. +func (h *HostActionMute) GetMessage() string { + if h == nil || h.Message == nil { return "" } - return *h.FillMax + return *h.Message } -// GetFillMaxOk returns a tuple with the FillMax field if it's non-nil, zero value otherwise +// GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapStyle) GetFillMaxOk() (string, bool) { - if h == nil || h.FillMax == nil { +func (h *HostActionMute) GetMessageOk() (string, bool) { + if h == nil || h.Message == nil { return "", false } - return *h.FillMax, true + return *h.Message, true } -// HasFillMax returns a boolean if a field has been set. -func (h *HostmapStyle) HasFillMax() bool { - if h != nil && h.FillMax != nil { +// HasMessage returns a boolean if a field has been set. +func (h *HostActionMute) HasMessage() bool { + if h != nil && h.Message != nil { return true } return false } -// SetFillMax allocates a new h.FillMax and returns the pointer to it. -func (h *HostmapStyle) SetFillMax(v string) { - h.FillMax = &v +// SetMessage allocates a new h.Message and returns the pointer to it. +func (h *HostActionMute) SetMessage(v string) { + h.Message = &v } -// GetFillMin returns the FillMin field if non-nil, zero value otherwise. -func (h *HostmapStyle) GetFillMin() string { - if h == nil || h.FillMin == nil { - return "" +// GetOverride returns the Override field if non-nil, zero value otherwise. +func (h *HostActionMute) GetOverride() bool { + if h == nil || h.Override == nil { + return false } - return *h.FillMin + return *h.Override } -// GetFillMinOk returns a tuple with the FillMin field if it's non-nil, zero value otherwise +// GetOverrideOk returns a tuple with the Override field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapStyle) GetFillMinOk() (string, bool) { - if h == nil || h.FillMin == nil { - return "", false +func (h *HostActionMute) GetOverrideOk() (bool, bool) { + if h == nil || h.Override == nil { + return false, false } - return *h.FillMin, true + return *h.Override, true } -// HasFillMin returns a boolean if a field has been set. -func (h *HostmapStyle) HasFillMin() bool { - if h != nil && h.FillMin != nil { +// HasOverride returns a boolean if a field has been set. +func (h *HostActionMute) HasOverride() bool { + if h != nil && h.Override != nil { return true } return false } -// SetFillMin allocates a new h.FillMin and returns the pointer to it. -func (h *HostmapStyle) SetFillMin(v string) { - h.FillMin = &v +// SetOverride allocates a new h.Override and returns the pointer to it. +func (h *HostActionMute) SetOverride(v bool) { + h.Override = &v } -// GetPalette returns the Palette field if non-nil, zero value otherwise. -func (h *HostmapStyle) GetPalette() string { - if h == nil || h.Palette == nil { +// GetNodeType returns the NodeType field if non-nil, zero value otherwise. +func (h *HostmapDefinition) GetNodeType() string { + if h == nil || h.NodeType == nil { return "" } - return *h.Palette + return *h.NodeType } -// GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise +// GetNodeTypeOk returns a tuple with the NodeType field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapStyle) GetPaletteOk() (string, bool) { - if h == nil || h.Palette == nil { +func (h *HostmapDefinition) GetNodeTypeOk() (string, bool) { + if h == nil || h.NodeType == nil { return "", false } - return *h.Palette, true + return *h.NodeType, true } -// HasPalette returns a boolean if a field has been set. -func (h *HostmapStyle) HasPalette() bool { - if h != nil && h.Palette != nil { +// HasNodeType returns a boolean if a field has been set. +func (h *HostmapDefinition) HasNodeType() bool { + if h != nil && h.NodeType != nil { return true } return false } -// SetPalette allocates a new h.Palette and returns the pointer to it. -func (h *HostmapStyle) SetPalette(v string) { - h.Palette = &v +// SetNodeType allocates a new h.NodeType and returns the pointer to it. +func (h *HostmapDefinition) SetNodeType(v string) { + h.NodeType = &v } -// GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise. -func (h *HostmapStyle) GetPaletteFlip() bool { - if h == nil || h.PaletteFlip == nil { +// GetNoGroupHosts returns the NoGroupHosts field if non-nil, zero value otherwise. +func (h *HostmapDefinition) GetNoGroupHosts() bool { + if h == nil || h.NoGroupHosts == nil { return false } - return *h.PaletteFlip + return *h.NoGroupHosts } -// GetPaletteFlipOk returns a tuple with the PaletteFlip field if it's non-nil, zero value otherwise +// GetNoGroupHostsOk returns a tuple with the NoGroupHosts field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (h *HostmapStyle) GetPaletteFlipOk() (bool, bool) { - if h == nil || h.PaletteFlip == nil { +func (h *HostmapDefinition) GetNoGroupHostsOk() (bool, bool) { + if h == nil || h.NoGroupHosts == nil { return false, false } - return *h.PaletteFlip, true + return *h.NoGroupHosts, true } -// HasPaletteFlip returns a boolean if a field has been set. -func (h *HostmapStyle) HasPaletteFlip() bool { - if h != nil && h.PaletteFlip != nil { +// HasNoGroupHosts returns a boolean if a field has been set. +func (h *HostmapDefinition) HasNoGroupHosts() bool { + if h != nil && h.NoGroupHosts != nil { return true } return false } -// SetPaletteFlip allocates a new h.PaletteFlip and returns the pointer to it. -func (h *HostmapStyle) SetPaletteFlip(v bool) { - h.PaletteFlip = &v +// SetNoGroupHosts allocates a new h.NoGroupHosts and returns the pointer to it. +func (h *HostmapDefinition) SetNoGroupHosts(v bool) { + h.NoGroupHosts = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (i *IframeDefinition) GetType() string { - if i == nil || i.Type == nil { - return "" +// GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise. +func (h *HostmapDefinition) GetNoMetricHosts() bool { + if h == nil || h.NoMetricHosts == nil { + return false } - return *i.Type + return *h.NoMetricHosts } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetNoMetricHostsOk returns a tuple with the NoMetricHosts field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IframeDefinition) GetTypeOk() (string, bool) { - if i == nil || i.Type == nil { - return "", false +func (h *HostmapDefinition) GetNoMetricHostsOk() (bool, bool) { + if h == nil || h.NoMetricHosts == nil { + return false, false } - return *i.Type, true + return *h.NoMetricHosts, true } -// HasType returns a boolean if a field has been set. -func (i *IframeDefinition) HasType() bool { - if i != nil && i.Type != nil { +// HasNoMetricHosts returns a boolean if a field has been set. +func (h *HostmapDefinition) HasNoMetricHosts() bool { + if h != nil && h.NoMetricHosts != nil { return true } return false } -// SetType allocates a new i.Type and returns the pointer to it. -func (i *IframeDefinition) SetType(v string) { - i.Type = &v +// SetNoMetricHosts allocates a new h.NoMetricHosts and returns the pointer to it. +func (h *HostmapDefinition) SetNoMetricHosts(v bool) { + h.NoMetricHosts = &v } -// GetUrl returns the Url field if non-nil, zero value otherwise. -func (i *IframeDefinition) GetUrl() string { - if i == nil || i.Url == nil { - return "" +// GetRequests returns the Requests field if non-nil, zero value otherwise. +func (h *HostmapDefinition) GetRequests() HostmapRequests { + if h == nil || h.Requests == nil { + return HostmapRequests{} } - return *i.Url + return *h.Requests } -// GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +// GetRequestsOk returns a tuple with the Requests field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IframeDefinition) GetUrlOk() (string, bool) { - if i == nil || i.Url == nil { - return "", false +func (h *HostmapDefinition) GetRequestsOk() (HostmapRequests, bool) { + if h == nil || h.Requests == nil { + return HostmapRequests{}, false } - return *i.Url, true + return *h.Requests, true } -// HasUrl returns a boolean if a field has been set. -func (i *IframeDefinition) HasUrl() bool { - if i != nil && i.Url != nil { +// HasRequests returns a boolean if a field has been set. +func (h *HostmapDefinition) HasRequests() bool { + if h != nil && h.Requests != nil { return true } return false } -// SetUrl allocates a new i.Url and returns the pointer to it. -func (i *IframeDefinition) SetUrl(v string) { - i.Url = &v +// SetRequests allocates a new h.Requests and returns the pointer to it. +func (h *HostmapDefinition) SetRequests(v HostmapRequests) { + h.Requests = &v } -// GetMargin returns the Margin field if non-nil, zero value otherwise. -func (i *ImageDefinition) GetMargin() string { - if i == nil || i.Margin == nil { - return "" +// GetStyle returns the Style field if non-nil, zero value otherwise. +func (h *HostmapDefinition) GetStyle() HostmapStyle { + if h == nil || h.Style == nil { + return HostmapStyle{} } - return *i.Margin + return *h.Style } -// GetMarginOk returns a tuple with the Margin field if it's non-nil, zero value otherwise +// GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *ImageDefinition) GetMarginOk() (string, bool) { - if i == nil || i.Margin == nil { - return "", false +func (h *HostmapDefinition) GetStyleOk() (HostmapStyle, bool) { + if h == nil || h.Style == nil { + return HostmapStyle{}, false } - return *i.Margin, true + return *h.Style, true } -// HasMargin returns a boolean if a field has been set. -func (i *ImageDefinition) HasMargin() bool { - if i != nil && i.Margin != nil { +// HasStyle returns a boolean if a field has been set. +func (h *HostmapDefinition) HasStyle() bool { + if h != nil && h.Style != nil { return true } return false } -// SetMargin allocates a new i.Margin and returns the pointer to it. -func (i *ImageDefinition) SetMargin(v string) { - i.Margin = &v +// SetStyle allocates a new h.Style and returns the pointer to it. +func (h *HostmapDefinition) SetStyle(v HostmapStyle) { + h.Style = &v } -// GetSizing returns the Sizing field if non-nil, zero value otherwise. -func (i *ImageDefinition) GetSizing() string { - if i == nil || i.Sizing == nil { +// GetTitle returns the Title field if non-nil, zero value otherwise. +func (h *HostmapDefinition) GetTitle() string { + if h == nil || h.Title == nil { return "" } - return *i.Sizing + return *h.Title } -// GetSizingOk returns a tuple with the Sizing field if it's non-nil, zero value otherwise +// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *ImageDefinition) GetSizingOk() (string, bool) { - if i == nil || i.Sizing == nil { +func (h *HostmapDefinition) GetTitleOk() (string, bool) { + if h == nil || h.Title == nil { return "", false } - return *i.Sizing, true + return *h.Title, true } -// HasSizing returns a boolean if a field has been set. -func (i *ImageDefinition) HasSizing() bool { - if i != nil && i.Sizing != nil { +// HasTitle returns a boolean if a field has been set. +func (h *HostmapDefinition) HasTitle() bool { + if h != nil && h.Title != nil { return true } return false } -// SetSizing allocates a new i.Sizing and returns the pointer to it. -func (i *ImageDefinition) SetSizing(v string) { - i.Sizing = &v +// SetTitle allocates a new h.Title and returns the pointer to it. +func (h *HostmapDefinition) SetTitle(v string) { + h.Title = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (i *ImageDefinition) GetType() string { - if i == nil || i.Type == nil { +// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. +func (h *HostmapDefinition) GetTitleAlign() string { + if h == nil || h.TitleAlign == nil { return "" } - return *i.Type + return *h.TitleAlign } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *ImageDefinition) GetTypeOk() (string, bool) { - if i == nil || i.Type == nil { +func (h *HostmapDefinition) GetTitleAlignOk() (string, bool) { + if h == nil || h.TitleAlign == nil { return "", false } - return *i.Type, true + return *h.TitleAlign, true } -// HasType returns a boolean if a field has been set. -func (i *ImageDefinition) HasType() bool { - if i != nil && i.Type != nil { +// HasTitleAlign returns a boolean if a field has been set. +func (h *HostmapDefinition) HasTitleAlign() bool { + if h != nil && h.TitleAlign != nil { return true } return false } -// SetType allocates a new i.Type and returns the pointer to it. -func (i *ImageDefinition) SetType(v string) { - i.Type = &v +// SetTitleAlign allocates a new h.TitleAlign and returns the pointer to it. +func (h *HostmapDefinition) SetTitleAlign(v string) { + h.TitleAlign = &v } -// GetUrl returns the Url field if non-nil, zero value otherwise. -func (i *ImageDefinition) GetUrl() string { - if i == nil || i.Url == nil { +// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. +func (h *HostmapDefinition) GetTitleSize() string { + if h == nil || h.TitleSize == nil { return "" } - return *i.Url + return *h.TitleSize } -// GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +// GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *ImageDefinition) GetUrlOk() (string, bool) { - if i == nil || i.Url == nil { +func (h *HostmapDefinition) GetTitleSizeOk() (string, bool) { + if h == nil || h.TitleSize == nil { return "", false } - return *i.Url, true + return *h.TitleSize, true } -// HasUrl returns a boolean if a field has been set. -func (i *ImageDefinition) HasUrl() bool { - if i != nil && i.Url != nil { +// HasTitleSize returns a boolean if a field has been set. +func (h *HostmapDefinition) HasTitleSize() bool { + if h != nil && h.TitleSize != nil { return true } return false } -// SetUrl allocates a new i.Url and returns the pointer to it. -func (i *ImageDefinition) SetUrl(v string) { - i.Url = &v +// SetTitleSize allocates a new h.TitleSize and returns the pointer to it. +func (h *HostmapDefinition) SetTitleSize(v string) { + h.TitleSize = &v } -// GetAccountID returns the AccountID field if non-nil, zero value otherwise. -func (i *IntegrationAWSAccount) GetAccountID() string { - if i == nil || i.AccountID == nil { +// GetType returns the Type field if non-nil, zero value otherwise. +func (h *HostmapDefinition) GetType() string { + if h == nil || h.Type == nil { return "" } - return *i.AccountID + return *h.Type } -// GetAccountIDOk returns a tuple with the AccountID field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationAWSAccount) GetAccountIDOk() (string, bool) { - if i == nil || i.AccountID == nil { +func (h *HostmapDefinition) GetTypeOk() (string, bool) { + if h == nil || h.Type == nil { return "", false } - return *i.AccountID, true + return *h.Type, true } -// HasAccountID returns a boolean if a field has been set. -func (i *IntegrationAWSAccount) HasAccountID() bool { - if i != nil && i.AccountID != nil { +// HasType returns a boolean if a field has been set. +func (h *HostmapDefinition) HasType() bool { + if h != nil && h.Type != nil { return true } return false } -// SetAccountID allocates a new i.AccountID and returns the pointer to it. -func (i *IntegrationAWSAccount) SetAccountID(v string) { - i.AccountID = &v +// SetType allocates a new h.Type and returns the pointer to it. +func (h *HostmapDefinition) SetType(v string) { + h.Type = &v } -// GetRoleName returns the RoleName field if non-nil, zero value otherwise. -func (i *IntegrationAWSAccount) GetRoleName() string { - if i == nil || i.RoleName == nil { - return "" +// GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise. +func (h *HostmapRequest) GetApmQuery() WidgetApmOrLogQuery { + if h == nil || h.ApmQuery == nil { + return WidgetApmOrLogQuery{} } - return *i.RoleName + return *h.ApmQuery } -// GetRoleNameOk returns a tuple with the RoleName field if it's non-nil, zero value otherwise +// GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationAWSAccount) GetRoleNameOk() (string, bool) { - if i == nil || i.RoleName == nil { - return "", false +func (h *HostmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool) { + if h == nil || h.ApmQuery == nil { + return WidgetApmOrLogQuery{}, false } - return *i.RoleName, true + return *h.ApmQuery, true } -// HasRoleName returns a boolean if a field has been set. -func (i *IntegrationAWSAccount) HasRoleName() bool { - if i != nil && i.RoleName != nil { +// HasApmQuery returns a boolean if a field has been set. +func (h *HostmapRequest) HasApmQuery() bool { + if h != nil && h.ApmQuery != nil { return true } return false } -// SetRoleName allocates a new i.RoleName and returns the pointer to it. -func (i *IntegrationAWSAccount) SetRoleName(v string) { - i.RoleName = &v +// SetApmQuery allocates a new h.ApmQuery and returns the pointer to it. +func (h *HostmapRequest) SetApmQuery(v WidgetApmOrLogQuery) { + h.ApmQuery = &v } -// GetAccountID returns the AccountID field if non-nil, zero value otherwise. -func (i *IntegrationAWSAccountDeleteRequest) GetAccountID() string { - if i == nil || i.AccountID == nil { - return "" +// GetLogQuery returns the LogQuery field if non-nil, zero value otherwise. +func (h *HostmapRequest) GetLogQuery() WidgetApmOrLogQuery { + if h == nil || h.LogQuery == nil { + return WidgetApmOrLogQuery{} } - return *i.AccountID + return *h.LogQuery } -// GetAccountIDOk returns a tuple with the AccountID field if it's non-nil, zero value otherwise +// GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationAWSAccountDeleteRequest) GetAccountIDOk() (string, bool) { - if i == nil || i.AccountID == nil { - return "", false +func (h *HostmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool) { + if h == nil || h.LogQuery == nil { + return WidgetApmOrLogQuery{}, false } - return *i.AccountID, true + return *h.LogQuery, true } -// HasAccountID returns a boolean if a field has been set. -func (i *IntegrationAWSAccountDeleteRequest) HasAccountID() bool { - if i != nil && i.AccountID != nil { +// HasLogQuery returns a boolean if a field has been set. +func (h *HostmapRequest) HasLogQuery() bool { + if h != nil && h.LogQuery != nil { return true } return false } -// SetAccountID allocates a new i.AccountID and returns the pointer to it. -func (i *IntegrationAWSAccountDeleteRequest) SetAccountID(v string) { - i.AccountID = &v +// SetLogQuery allocates a new h.LogQuery and returns the pointer to it. +func (h *HostmapRequest) SetLogQuery(v WidgetApmOrLogQuery) { + h.LogQuery = &v } -// GetRoleName returns the RoleName field if non-nil, zero value otherwise. -func (i *IntegrationAWSAccountDeleteRequest) GetRoleName() string { - if i == nil || i.RoleName == nil { +// GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise. +func (h *HostmapRequest) GetMetricQuery() string { + if h == nil || h.MetricQuery == nil { return "" } - return *i.RoleName + return *h.MetricQuery } -// GetRoleNameOk returns a tuple with the RoleName field if it's non-nil, zero value otherwise +// GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationAWSAccountDeleteRequest) GetRoleNameOk() (string, bool) { - if i == nil || i.RoleName == nil { +func (h *HostmapRequest) GetMetricQueryOk() (string, bool) { + if h == nil || h.MetricQuery == nil { return "", false } - return *i.RoleName, true + return *h.MetricQuery, true } -// HasRoleName returns a boolean if a field has been set. -func (i *IntegrationAWSAccountDeleteRequest) HasRoleName() bool { - if i != nil && i.RoleName != nil { +// HasMetricQuery returns a boolean if a field has been set. +func (h *HostmapRequest) HasMetricQuery() bool { + if h != nil && h.MetricQuery != nil { return true } return false } -// SetRoleName allocates a new i.RoleName and returns the pointer to it. -func (i *IntegrationAWSAccountDeleteRequest) SetRoleName(v string) { - i.RoleName = &v +// SetMetricQuery allocates a new h.MetricQuery and returns the pointer to it. +func (h *HostmapRequest) SetMetricQuery(v string) { + h.MetricQuery = &v } -// GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise. -func (i *IntegrationGCP) GetClientEmail() string { - if i == nil || i.ClientEmail == nil { - return "" +// GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise. +func (h *HostmapRequest) GetProcessQuery() WidgetProcessQuery { + if h == nil || h.ProcessQuery == nil { + return WidgetProcessQuery{} } - return *i.ClientEmail + return *h.ProcessQuery } -// GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise +// GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCP) GetClientEmailOk() (string, bool) { - if i == nil || i.ClientEmail == nil { - return "", false +func (h *HostmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool) { + if h == nil || h.ProcessQuery == nil { + return WidgetProcessQuery{}, false } - return *i.ClientEmail, true + return *h.ProcessQuery, true } -// HasClientEmail returns a boolean if a field has been set. -func (i *IntegrationGCP) HasClientEmail() bool { - if i != nil && i.ClientEmail != nil { +// HasProcessQuery returns a boolean if a field has been set. +func (h *HostmapRequest) HasProcessQuery() bool { + if h != nil && h.ProcessQuery != nil { return true } return false } -// SetClientEmail allocates a new i.ClientEmail and returns the pointer to it. -func (i *IntegrationGCP) SetClientEmail(v string) { - i.ClientEmail = &v +// SetProcessQuery allocates a new h.ProcessQuery and returns the pointer to it. +func (h *HostmapRequest) SetProcessQuery(v WidgetProcessQuery) { + h.ProcessQuery = &v } -// GetHostFilters returns the HostFilters field if non-nil, zero value otherwise. -func (i *IntegrationGCP) GetHostFilters() string { - if i == nil || i.HostFilters == nil { - return "" +// GetFill returns the Fill field if non-nil, zero value otherwise. +func (h *HostmapRequests) GetFill() HostmapRequest { + if h == nil || h.Fill == nil { + return HostmapRequest{} } - return *i.HostFilters + return *h.Fill } -// GetHostFiltersOk returns a tuple with the HostFilters field if it's non-nil, zero value otherwise +// GetFillOk returns a tuple with the Fill field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCP) GetHostFiltersOk() (string, bool) { - if i == nil || i.HostFilters == nil { - return "", false +func (h *HostmapRequests) GetFillOk() (HostmapRequest, bool) { + if h == nil || h.Fill == nil { + return HostmapRequest{}, false } - return *i.HostFilters, true + return *h.Fill, true } -// HasHostFilters returns a boolean if a field has been set. -func (i *IntegrationGCP) HasHostFilters() bool { - if i != nil && i.HostFilters != nil { +// HasFill returns a boolean if a field has been set. +func (h *HostmapRequests) HasFill() bool { + if h != nil && h.Fill != nil { return true } return false } -// SetHostFilters allocates a new i.HostFilters and returns the pointer to it. -func (i *IntegrationGCP) SetHostFilters(v string) { - i.HostFilters = &v +// SetFill allocates a new h.Fill and returns the pointer to it. +func (h *HostmapRequests) SetFill(v HostmapRequest) { + h.Fill = &v } -// GetProjectID returns the ProjectID field if non-nil, zero value otherwise. -func (i *IntegrationGCP) GetProjectID() string { - if i == nil || i.ProjectID == nil { - return "" +// GetSize returns the Size field if non-nil, zero value otherwise. +func (h *HostmapRequests) GetSize() HostmapRequest { + if h == nil || h.Size == nil { + return HostmapRequest{} } - return *i.ProjectID + return *h.Size } -// GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise +// GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCP) GetProjectIDOk() (string, bool) { - if i == nil || i.ProjectID == nil { - return "", false +func (h *HostmapRequests) GetSizeOk() (HostmapRequest, bool) { + if h == nil || h.Size == nil { + return HostmapRequest{}, false } - return *i.ProjectID, true + return *h.Size, true } -// HasProjectID returns a boolean if a field has been set. -func (i *IntegrationGCP) HasProjectID() bool { - if i != nil && i.ProjectID != nil { +// HasSize returns a boolean if a field has been set. +func (h *HostmapRequests) HasSize() bool { + if h != nil && h.Size != nil { return true } return false } -// SetProjectID allocates a new i.ProjectID and returns the pointer to it. -func (i *IntegrationGCP) SetProjectID(v string) { - i.ProjectID = &v +// SetSize allocates a new h.Size and returns the pointer to it. +func (h *HostmapRequests) SetSize(v HostmapRequest) { + h.Size = &v } -// GetAuthProviderX509CertURL returns the AuthProviderX509CertURL field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURL() string { - if i == nil || i.AuthProviderX509CertURL == nil { +// GetFillMax returns the FillMax field if non-nil, zero value otherwise. +func (h *HostmapStyle) GetFillMax() string { + if h == nil || h.FillMax == nil { return "" } - return *i.AuthProviderX509CertURL + return *h.FillMax } -// GetAuthProviderX509CertURLOk returns a tuple with the AuthProviderX509CertURL field if it's non-nil, zero value otherwise +// GetFillMaxOk returns a tuple with the FillMax field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURLOk() (string, bool) { - if i == nil || i.AuthProviderX509CertURL == nil { +func (h *HostmapStyle) GetFillMaxOk() (string, bool) { + if h == nil || h.FillMax == nil { return "", false } - return *i.AuthProviderX509CertURL, true + return *h.FillMax, true } -// HasAuthProviderX509CertURL returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasAuthProviderX509CertURL() bool { - if i != nil && i.AuthProviderX509CertURL != nil { +// HasFillMax returns a boolean if a field has been set. +func (h *HostmapStyle) HasFillMax() bool { + if h != nil && h.FillMax != nil { return true } return false } -// SetAuthProviderX509CertURL allocates a new i.AuthProviderX509CertURL and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetAuthProviderX509CertURL(v string) { - i.AuthProviderX509CertURL = &v +// SetFillMax allocates a new h.FillMax and returns the pointer to it. +func (h *HostmapStyle) SetFillMax(v string) { + h.FillMax = &v } -// GetAuthURI returns the AuthURI field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetAuthURI() string { - if i == nil || i.AuthURI == nil { +// GetFillMin returns the FillMin field if non-nil, zero value otherwise. +func (h *HostmapStyle) GetFillMin() string { + if h == nil || h.FillMin == nil { return "" } - return *i.AuthURI + return *h.FillMin } -// GetAuthURIOk returns a tuple with the AuthURI field if it's non-nil, zero value otherwise +// GetFillMinOk returns a tuple with the FillMin field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetAuthURIOk() (string, bool) { - if i == nil || i.AuthURI == nil { +func (h *HostmapStyle) GetFillMinOk() (string, bool) { + if h == nil || h.FillMin == nil { return "", false } - return *i.AuthURI, true + return *h.FillMin, true } -// HasAuthURI returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasAuthURI() bool { - if i != nil && i.AuthURI != nil { +// HasFillMin returns a boolean if a field has been set. +func (h *HostmapStyle) HasFillMin() bool { + if h != nil && h.FillMin != nil { return true } return false } -// SetAuthURI allocates a new i.AuthURI and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetAuthURI(v string) { - i.AuthURI = &v +// SetFillMin allocates a new h.FillMin and returns the pointer to it. +func (h *HostmapStyle) SetFillMin(v string) { + h.FillMin = &v } -// GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetClientEmail() string { - if i == nil || i.ClientEmail == nil { +// GetPalette returns the Palette field if non-nil, zero value otherwise. +func (h *HostmapStyle) GetPalette() string { + if h == nil || h.Palette == nil { return "" } - return *i.ClientEmail + return *h.Palette } -// GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise +// GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetClientEmailOk() (string, bool) { - if i == nil || i.ClientEmail == nil { +func (h *HostmapStyle) GetPaletteOk() (string, bool) { + if h == nil || h.Palette == nil { return "", false } - return *i.ClientEmail, true + return *h.Palette, true } -// HasClientEmail returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasClientEmail() bool { - if i != nil && i.ClientEmail != nil { +// HasPalette returns a boolean if a field has been set. +func (h *HostmapStyle) HasPalette() bool { + if h != nil && h.Palette != nil { return true } return false } -// SetClientEmail allocates a new i.ClientEmail and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetClientEmail(v string) { - i.ClientEmail = &v +// SetPalette allocates a new h.Palette and returns the pointer to it. +func (h *HostmapStyle) SetPalette(v string) { + h.Palette = &v } -// GetClientID returns the ClientID field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetClientID() string { - if i == nil || i.ClientID == nil { - return "" +// GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise. +func (h *HostmapStyle) GetPaletteFlip() bool { + if h == nil || h.PaletteFlip == nil { + return false } - return *i.ClientID + return *h.PaletteFlip } -// GetClientIDOk returns a tuple with the ClientID field if it's non-nil, zero value otherwise +// GetPaletteFlipOk returns a tuple with the PaletteFlip field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetClientIDOk() (string, bool) { - if i == nil || i.ClientID == nil { - return "", false +func (h *HostmapStyle) GetPaletteFlipOk() (bool, bool) { + if h == nil || h.PaletteFlip == nil { + return false, false } - return *i.ClientID, true + return *h.PaletteFlip, true } -// HasClientID returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasClientID() bool { - if i != nil && i.ClientID != nil { +// HasPaletteFlip returns a boolean if a field has been set. +func (h *HostmapStyle) HasPaletteFlip() bool { + if h != nil && h.PaletteFlip != nil { return true } return false } -// SetClientID allocates a new i.ClientID and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetClientID(v string) { - i.ClientID = &v +// SetPaletteFlip allocates a new h.PaletteFlip and returns the pointer to it. +func (h *HostmapStyle) SetPaletteFlip(v bool) { + h.PaletteFlip = &v } -// GetClientX509CertURL returns the ClientX509CertURL field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetClientX509CertURL() string { - if i == nil || i.ClientX509CertURL == nil { +// GetType returns the Type field if non-nil, zero value otherwise. +func (i *IframeDefinition) GetType() string { + if i == nil || i.Type == nil { return "" } - return *i.ClientX509CertURL + return *i.Type } -// GetClientX509CertURLOk returns a tuple with the ClientX509CertURL field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetClientX509CertURLOk() (string, bool) { - if i == nil || i.ClientX509CertURL == nil { +func (i *IframeDefinition) GetTypeOk() (string, bool) { + if i == nil || i.Type == nil { return "", false } - return *i.ClientX509CertURL, true + return *i.Type, true } -// HasClientX509CertURL returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasClientX509CertURL() bool { - if i != nil && i.ClientX509CertURL != nil { +// HasType returns a boolean if a field has been set. +func (i *IframeDefinition) HasType() bool { + if i != nil && i.Type != nil { return true } return false } -// SetClientX509CertURL allocates a new i.ClientX509CertURL and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetClientX509CertURL(v string) { - i.ClientX509CertURL = &v +// SetType allocates a new i.Type and returns the pointer to it. +func (i *IframeDefinition) SetType(v string) { + i.Type = &v } -// GetHostFilters returns the HostFilters field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetHostFilters() string { - if i == nil || i.HostFilters == nil { +// GetUrl returns the Url field if non-nil, zero value otherwise. +func (i *IframeDefinition) GetUrl() string { + if i == nil || i.Url == nil { return "" } - return *i.HostFilters + return *i.Url } -// GetHostFiltersOk returns a tuple with the HostFilters field if it's non-nil, zero value otherwise +// GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetHostFiltersOk() (string, bool) { - if i == nil || i.HostFilters == nil { +func (i *IframeDefinition) GetUrlOk() (string, bool) { + if i == nil || i.Url == nil { return "", false } - return *i.HostFilters, true + return *i.Url, true } -// HasHostFilters returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasHostFilters() bool { - if i != nil && i.HostFilters != nil { +// HasUrl returns a boolean if a field has been set. +func (i *IframeDefinition) HasUrl() bool { + if i != nil && i.Url != nil { return true } return false } -// SetHostFilters allocates a new i.HostFilters and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetHostFilters(v string) { - i.HostFilters = &v +// SetUrl allocates a new i.Url and returns the pointer to it. +func (i *IframeDefinition) SetUrl(v string) { + i.Url = &v } -// GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetPrivateKey() string { - if i == nil || i.PrivateKey == nil { +// GetMargin returns the Margin field if non-nil, zero value otherwise. +func (i *ImageDefinition) GetMargin() string { + if i == nil || i.Margin == nil { return "" } - return *i.PrivateKey + return *i.Margin } -// GetPrivateKeyOk returns a tuple with the PrivateKey field if it's non-nil, zero value otherwise +// GetMarginOk returns a tuple with the Margin field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetPrivateKeyOk() (string, bool) { - if i == nil || i.PrivateKey == nil { +func (i *ImageDefinition) GetMarginOk() (string, bool) { + if i == nil || i.Margin == nil { return "", false } - return *i.PrivateKey, true + return *i.Margin, true } -// HasPrivateKey returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasPrivateKey() bool { - if i != nil && i.PrivateKey != nil { +// HasMargin returns a boolean if a field has been set. +func (i *ImageDefinition) HasMargin() bool { + if i != nil && i.Margin != nil { return true } return false } -// SetPrivateKey allocates a new i.PrivateKey and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetPrivateKey(v string) { - i.PrivateKey = &v +// SetMargin allocates a new i.Margin and returns the pointer to it. +func (i *ImageDefinition) SetMargin(v string) { + i.Margin = &v } -// GetPrivateKeyID returns the PrivateKeyID field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetPrivateKeyID() string { - if i == nil || i.PrivateKeyID == nil { +// GetSizing returns the Sizing field if non-nil, zero value otherwise. +func (i *ImageDefinition) GetSizing() string { + if i == nil || i.Sizing == nil { return "" } - return *i.PrivateKeyID + return *i.Sizing } -// GetPrivateKeyIDOk returns a tuple with the PrivateKeyID field if it's non-nil, zero value otherwise +// GetSizingOk returns a tuple with the Sizing field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetPrivateKeyIDOk() (string, bool) { - if i == nil || i.PrivateKeyID == nil { +func (i *ImageDefinition) GetSizingOk() (string, bool) { + if i == nil || i.Sizing == nil { return "", false } - return *i.PrivateKeyID, true + return *i.Sizing, true } -// HasPrivateKeyID returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasPrivateKeyID() bool { - if i != nil && i.PrivateKeyID != nil { +// HasSizing returns a boolean if a field has been set. +func (i *ImageDefinition) HasSizing() bool { + if i != nil && i.Sizing != nil { return true } return false } -// SetPrivateKeyID allocates a new i.PrivateKeyID and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetPrivateKeyID(v string) { - i.PrivateKeyID = &v +// SetSizing allocates a new i.Sizing and returns the pointer to it. +func (i *ImageDefinition) SetSizing(v string) { + i.Sizing = &v } -// GetProjectID returns the ProjectID field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetProjectID() string { - if i == nil || i.ProjectID == nil { +// GetType returns the Type field if non-nil, zero value otherwise. +func (i *ImageDefinition) GetType() string { + if i == nil || i.Type == nil { return "" } - return *i.ProjectID + return *i.Type } -// GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetProjectIDOk() (string, bool) { - if i == nil || i.ProjectID == nil { +func (i *ImageDefinition) GetTypeOk() (string, bool) { + if i == nil || i.Type == nil { return "", false } - return *i.ProjectID, true + return *i.Type, true } -// HasProjectID returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasProjectID() bool { - if i != nil && i.ProjectID != nil { +// HasType returns a boolean if a field has been set. +func (i *ImageDefinition) HasType() bool { + if i != nil && i.Type != nil { return true } return false } -// SetProjectID allocates a new i.ProjectID and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetProjectID(v string) { - i.ProjectID = &v +// SetType allocates a new i.Type and returns the pointer to it. +func (i *ImageDefinition) SetType(v string) { + i.Type = &v } -// GetTokenURI returns the TokenURI field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetTokenURI() string { - if i == nil || i.TokenURI == nil { +// GetUrl returns the Url field if non-nil, zero value otherwise. +func (i *ImageDefinition) GetUrl() string { + if i == nil || i.Url == nil { return "" } - return *i.TokenURI + return *i.Url } -// GetTokenURIOk returns a tuple with the TokenURI field if it's non-nil, zero value otherwise +// GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetTokenURIOk() (string, bool) { - if i == nil || i.TokenURI == nil { +func (i *ImageDefinition) GetUrlOk() (string, bool) { + if i == nil || i.Url == nil { return "", false } - return *i.TokenURI, true + return *i.Url, true } -// HasTokenURI returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasTokenURI() bool { - if i != nil && i.TokenURI != nil { +// HasUrl returns a boolean if a field has been set. +func (i *ImageDefinition) HasUrl() bool { + if i != nil && i.Url != nil { return true } return false } -// SetTokenURI allocates a new i.TokenURI and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetTokenURI(v string) { - i.TokenURI = &v +// SetUrl allocates a new i.Url and returns the pointer to it. +func (i *ImageDefinition) SetUrl(v string) { + i.Url = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (i *IntegrationGCPCreateRequest) GetType() string { - if i == nil || i.Type == nil { +// GetAccountID returns the AccountID field if non-nil, zero value otherwise. +func (i *IntegrationAWSAccount) GetAccountID() string { + if i == nil || i.AccountID == nil { return "" } - return *i.Type + return *i.AccountID } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetAccountIDOk returns a tuple with the AccountID field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPCreateRequest) GetTypeOk() (string, bool) { - if i == nil || i.Type == nil { +func (i *IntegrationAWSAccount) GetAccountIDOk() (string, bool) { + if i == nil || i.AccountID == nil { return "", false } - return *i.Type, true + return *i.AccountID, true } -// HasType returns a boolean if a field has been set. -func (i *IntegrationGCPCreateRequest) HasType() bool { - if i != nil && i.Type != nil { +// HasAccountID returns a boolean if a field has been set. +func (i *IntegrationAWSAccount) HasAccountID() bool { + if i != nil && i.AccountID != nil { return true } return false } -// SetType allocates a new i.Type and returns the pointer to it. -func (i *IntegrationGCPCreateRequest) SetType(v string) { - i.Type = &v +// SetAccountID allocates a new i.AccountID and returns the pointer to it. +func (i *IntegrationAWSAccount) SetAccountID(v string) { + i.AccountID = &v } -// GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise. -func (i *IntegrationGCPDeleteRequest) GetClientEmail() string { - if i == nil || i.ClientEmail == nil { +// GetRoleName returns the RoleName field if non-nil, zero value otherwise. +func (i *IntegrationAWSAccount) GetRoleName() string { + if i == nil || i.RoleName == nil { return "" } - return *i.ClientEmail + return *i.RoleName } -// GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise +// GetRoleNameOk returns a tuple with the RoleName field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPDeleteRequest) GetClientEmailOk() (string, bool) { - if i == nil || i.ClientEmail == nil { +func (i *IntegrationAWSAccount) GetRoleNameOk() (string, bool) { + if i == nil || i.RoleName == nil { return "", false } - return *i.ClientEmail, true + return *i.RoleName, true } -// HasClientEmail returns a boolean if a field has been set. -func (i *IntegrationGCPDeleteRequest) HasClientEmail() bool { - if i != nil && i.ClientEmail != nil { +// HasRoleName returns a boolean if a field has been set. +func (i *IntegrationAWSAccount) HasRoleName() bool { + if i != nil && i.RoleName != nil { return true } return false } -// SetClientEmail allocates a new i.ClientEmail and returns the pointer to it. -func (i *IntegrationGCPDeleteRequest) SetClientEmail(v string) { - i.ClientEmail = &v +// SetRoleName allocates a new i.RoleName and returns the pointer to it. +func (i *IntegrationAWSAccount) SetRoleName(v string) { + i.RoleName = &v } -// GetProjectID returns the ProjectID field if non-nil, zero value otherwise. -func (i *IntegrationGCPDeleteRequest) GetProjectID() string { - if i == nil || i.ProjectID == nil { +// GetAccountID returns the AccountID field if non-nil, zero value otherwise. +func (i *IntegrationAWSAccountDeleteRequest) GetAccountID() string { + if i == nil || i.AccountID == nil { return "" } - return *i.ProjectID + return *i.AccountID } -// GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise +// GetAccountIDOk returns a tuple with the AccountID field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPDeleteRequest) GetProjectIDOk() (string, bool) { - if i == nil || i.ProjectID == nil { +func (i *IntegrationAWSAccountDeleteRequest) GetAccountIDOk() (string, bool) { + if i == nil || i.AccountID == nil { return "", false } - return *i.ProjectID, true + return *i.AccountID, true } -// HasProjectID returns a boolean if a field has been set. -func (i *IntegrationGCPDeleteRequest) HasProjectID() bool { - if i != nil && i.ProjectID != nil { +// HasAccountID returns a boolean if a field has been set. +func (i *IntegrationAWSAccountDeleteRequest) HasAccountID() bool { + if i != nil && i.AccountID != nil { return true } return false } -// SetProjectID allocates a new i.ProjectID and returns the pointer to it. -func (i *IntegrationGCPDeleteRequest) SetProjectID(v string) { - i.ProjectID = &v +// SetAccountID allocates a new i.AccountID and returns the pointer to it. +func (i *IntegrationAWSAccountDeleteRequest) SetAccountID(v string) { + i.AccountID = &v +} + +// GetRoleName returns the RoleName field if non-nil, zero value otherwise. +func (i *IntegrationAWSAccountDeleteRequest) GetRoleName() string { + if i == nil || i.RoleName == nil { + return "" + } + return *i.RoleName +} + +// GetRoleNameOk returns a tuple with the RoleName field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (i *IntegrationAWSAccountDeleteRequest) GetRoleNameOk() (string, bool) { + if i == nil || i.RoleName == nil { + return "", false + } + return *i.RoleName, true +} + +// HasRoleName returns a boolean if a field has been set. +func (i *IntegrationAWSAccountDeleteRequest) HasRoleName() bool { + if i != nil && i.RoleName != nil { + return true + } + + return false +} + +// SetRoleName allocates a new i.RoleName and returns the pointer to it. +func (i *IntegrationAWSAccountDeleteRequest) SetRoleName(v string) { + i.RoleName = &v } // GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise. -func (i *IntegrationGCPUpdateRequest) GetClientEmail() string { +func (i *IntegrationGCP) GetClientEmail() string { if i == nil || i.ClientEmail == nil { return "" } @@ -8952,7 +8890,7 @@ func (i *IntegrationGCPUpdateRequest) GetClientEmail() string { // GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPUpdateRequest) GetClientEmailOk() (string, bool) { +func (i *IntegrationGCP) GetClientEmailOk() (string, bool) { if i == nil || i.ClientEmail == nil { return "", false } @@ -8960,7 +8898,7 @@ func (i *IntegrationGCPUpdateRequest) GetClientEmailOk() (string, bool) { } // HasClientEmail returns a boolean if a field has been set. -func (i *IntegrationGCPUpdateRequest) HasClientEmail() bool { +func (i *IntegrationGCP) HasClientEmail() bool { if i != nil && i.ClientEmail != nil { return true } @@ -8969,12 +8907,12 @@ func (i *IntegrationGCPUpdateRequest) HasClientEmail() bool { } // SetClientEmail allocates a new i.ClientEmail and returns the pointer to it. -func (i *IntegrationGCPUpdateRequest) SetClientEmail(v string) { +func (i *IntegrationGCP) SetClientEmail(v string) { i.ClientEmail = &v } // GetHostFilters returns the HostFilters field if non-nil, zero value otherwise. -func (i *IntegrationGCPUpdateRequest) GetHostFilters() string { +func (i *IntegrationGCP) GetHostFilters() string { if i == nil || i.HostFilters == nil { return "" } @@ -8983,7 +8921,7 @@ func (i *IntegrationGCPUpdateRequest) GetHostFilters() string { // GetHostFiltersOk returns a tuple with the HostFilters field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPUpdateRequest) GetHostFiltersOk() (string, bool) { +func (i *IntegrationGCP) GetHostFiltersOk() (string, bool) { if i == nil || i.HostFilters == nil { return "", false } @@ -8991,7 +8929,7 @@ func (i *IntegrationGCPUpdateRequest) GetHostFiltersOk() (string, bool) { } // HasHostFilters returns a boolean if a field has been set. -func (i *IntegrationGCPUpdateRequest) HasHostFilters() bool { +func (i *IntegrationGCP) HasHostFilters() bool { if i != nil && i.HostFilters != nil { return true } @@ -9000,12 +8938,12 @@ func (i *IntegrationGCPUpdateRequest) HasHostFilters() bool { } // SetHostFilters allocates a new i.HostFilters and returns the pointer to it. -func (i *IntegrationGCPUpdateRequest) SetHostFilters(v string) { +func (i *IntegrationGCP) SetHostFilters(v string) { i.HostFilters = &v } // GetProjectID returns the ProjectID field if non-nil, zero value otherwise. -func (i *IntegrationGCPUpdateRequest) GetProjectID() string { +func (i *IntegrationGCP) GetProjectID() string { if i == nil || i.ProjectID == nil { return "" } @@ -9014,7 +8952,7 @@ func (i *IntegrationGCPUpdateRequest) GetProjectID() string { // GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationGCPUpdateRequest) GetProjectIDOk() (string, bool) { +func (i *IntegrationGCP) GetProjectIDOk() (string, bool) { if i == nil || i.ProjectID == nil { return "", false } @@ -9022,7 +8960,7 @@ func (i *IntegrationGCPUpdateRequest) GetProjectIDOk() (string, bool) { } // HasProjectID returns a boolean if a field has been set. -func (i *IntegrationGCPUpdateRequest) HasProjectID() bool { +func (i *IntegrationGCP) HasProjectID() bool { if i != nil && i.ProjectID != nil { return true } @@ -9031,1376 +8969,1376 @@ func (i *IntegrationGCPUpdateRequest) HasProjectID() bool { } // SetProjectID allocates a new i.ProjectID and returns the pointer to it. -func (i *IntegrationGCPUpdateRequest) SetProjectID(v string) { +func (i *IntegrationGCP) SetProjectID(v string) { i.ProjectID = &v } -// GetAPIToken returns the APIToken field if non-nil, zero value otherwise. -func (i *integrationPD) GetAPIToken() string { - if i == nil || i.APIToken == nil { +// GetAuthProviderX509CertURL returns the AuthProviderX509CertURL field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURL() string { + if i == nil || i.AuthProviderX509CertURL == nil { return "" } - return *i.APIToken + return *i.AuthProviderX509CertURL } -// GetAPITokenOk returns a tuple with the APIToken field if it's non-nil, zero value otherwise +// GetAuthProviderX509CertURLOk returns a tuple with the AuthProviderX509CertURL field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *integrationPD) GetAPITokenOk() (string, bool) { - if i == nil || i.APIToken == nil { +func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURLOk() (string, bool) { + if i == nil || i.AuthProviderX509CertURL == nil { return "", false } - return *i.APIToken, true + return *i.AuthProviderX509CertURL, true } -// HasAPIToken returns a boolean if a field has been set. -func (i *integrationPD) HasAPIToken() bool { - if i != nil && i.APIToken != nil { +// HasAuthProviderX509CertURL returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasAuthProviderX509CertURL() bool { + if i != nil && i.AuthProviderX509CertURL != nil { return true } return false } -// SetAPIToken allocates a new i.APIToken and returns the pointer to it. -func (i *integrationPD) SetAPIToken(v string) { - i.APIToken = &v +// SetAuthProviderX509CertURL allocates a new i.AuthProviderX509CertURL and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetAuthProviderX509CertURL(v string) { + i.AuthProviderX509CertURL = &v } -// GetSubdomain returns the Subdomain field if non-nil, zero value otherwise. -func (i *integrationPD) GetSubdomain() string { - if i == nil || i.Subdomain == nil { +// GetAuthURI returns the AuthURI field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetAuthURI() string { + if i == nil || i.AuthURI == nil { return "" } - return *i.Subdomain + return *i.AuthURI } -// GetSubdomainOk returns a tuple with the Subdomain field if it's non-nil, zero value otherwise +// GetAuthURIOk returns a tuple with the AuthURI field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *integrationPD) GetSubdomainOk() (string, bool) { - if i == nil || i.Subdomain == nil { +func (i *IntegrationGCPCreateRequest) GetAuthURIOk() (string, bool) { + if i == nil || i.AuthURI == nil { return "", false } - return *i.Subdomain, true + return *i.AuthURI, true } -// HasSubdomain returns a boolean if a field has been set. -func (i *integrationPD) HasSubdomain() bool { - if i != nil && i.Subdomain != nil { +// HasAuthURI returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasAuthURI() bool { + if i != nil && i.AuthURI != nil { return true } return false } -// SetSubdomain allocates a new i.Subdomain and returns the pointer to it. -func (i *integrationPD) SetSubdomain(v string) { - i.Subdomain = &v +// SetAuthURI allocates a new i.AuthURI and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetAuthURI(v string) { + i.AuthURI = &v } -// GetAPIToken returns the APIToken field if non-nil, zero value otherwise. -func (i *IntegrationPDRequest) GetAPIToken() string { - if i == nil || i.APIToken == nil { +// GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetClientEmail() string { + if i == nil || i.ClientEmail == nil { return "" } - return *i.APIToken + return *i.ClientEmail } -// GetAPITokenOk returns a tuple with the APIToken field if it's non-nil, zero value otherwise +// GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationPDRequest) GetAPITokenOk() (string, bool) { - if i == nil || i.APIToken == nil { +func (i *IntegrationGCPCreateRequest) GetClientEmailOk() (string, bool) { + if i == nil || i.ClientEmail == nil { return "", false } - return *i.APIToken, true + return *i.ClientEmail, true } -// HasAPIToken returns a boolean if a field has been set. -func (i *IntegrationPDRequest) HasAPIToken() bool { - if i != nil && i.APIToken != nil { +// HasClientEmail returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasClientEmail() bool { + if i != nil && i.ClientEmail != nil { return true } return false } -// SetAPIToken allocates a new i.APIToken and returns the pointer to it. -func (i *IntegrationPDRequest) SetAPIToken(v string) { - i.APIToken = &v +// SetClientEmail allocates a new i.ClientEmail and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetClientEmail(v string) { + i.ClientEmail = &v } -// GetRunCheck returns the RunCheck field if non-nil, zero value otherwise. -func (i *IntegrationPDRequest) GetRunCheck() bool { - if i == nil || i.RunCheck == nil { - return false +// GetClientID returns the ClientID field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetClientID() string { + if i == nil || i.ClientID == nil { + return "" } - return *i.RunCheck + return *i.ClientID } -// GetRunCheckOk returns a tuple with the RunCheck field if it's non-nil, zero value otherwise +// GetClientIDOk returns a tuple with the ClientID field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationPDRequest) GetRunCheckOk() (bool, bool) { - if i == nil || i.RunCheck == nil { - return false, false +func (i *IntegrationGCPCreateRequest) GetClientIDOk() (string, bool) { + if i == nil || i.ClientID == nil { + return "", false } - return *i.RunCheck, true + return *i.ClientID, true } -// HasRunCheck returns a boolean if a field has been set. -func (i *IntegrationPDRequest) HasRunCheck() bool { - if i != nil && i.RunCheck != nil { +// HasClientID returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasClientID() bool { + if i != nil && i.ClientID != nil { return true } return false } -// SetRunCheck allocates a new i.RunCheck and returns the pointer to it. -func (i *IntegrationPDRequest) SetRunCheck(v bool) { - i.RunCheck = &v +// SetClientID allocates a new i.ClientID and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetClientID(v string) { + i.ClientID = &v } -// GetSubdomain returns the Subdomain field if non-nil, zero value otherwise. -func (i *IntegrationPDRequest) GetSubdomain() string { - if i == nil || i.Subdomain == nil { +// GetClientX509CertURL returns the ClientX509CertURL field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetClientX509CertURL() string { + if i == nil || i.ClientX509CertURL == nil { return "" } - return *i.Subdomain + return *i.ClientX509CertURL } -// GetSubdomainOk returns a tuple with the Subdomain field if it's non-nil, zero value otherwise +// GetClientX509CertURLOk returns a tuple with the ClientX509CertURL field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationPDRequest) GetSubdomainOk() (string, bool) { - if i == nil || i.Subdomain == nil { +func (i *IntegrationGCPCreateRequest) GetClientX509CertURLOk() (string, bool) { + if i == nil || i.ClientX509CertURL == nil { return "", false } - return *i.Subdomain, true + return *i.ClientX509CertURL, true } -// HasSubdomain returns a boolean if a field has been set. -func (i *IntegrationPDRequest) HasSubdomain() bool { - if i != nil && i.Subdomain != nil { +// HasClientX509CertURL returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasClientX509CertURL() bool { + if i != nil && i.ClientX509CertURL != nil { return true } return false } -// SetSubdomain allocates a new i.Subdomain and returns the pointer to it. -func (i *IntegrationPDRequest) SetSubdomain(v string) { - i.Subdomain = &v +// SetClientX509CertURL allocates a new i.ClientX509CertURL and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetClientX509CertURL(v string) { + i.ClientX509CertURL = &v } -// GetRunCheck returns the RunCheck field if non-nil, zero value otherwise. -func (i *IntegrationSlackRequest) GetRunCheck() bool { - if i == nil || i.RunCheck == nil { - return false +// GetHostFilters returns the HostFilters field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetHostFilters() string { + if i == nil || i.HostFilters == nil { + return "" } - return *i.RunCheck + return *i.HostFilters } -// GetRunCheckOk returns a tuple with the RunCheck field if it's non-nil, zero value otherwise +// GetHostFiltersOk returns a tuple with the HostFilters field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (i *IntegrationSlackRequest) GetRunCheckOk() (bool, bool) { - if i == nil || i.RunCheck == nil { - return false, false +func (i *IntegrationGCPCreateRequest) GetHostFiltersOk() (string, bool) { + if i == nil || i.HostFilters == nil { + return "", false } - return *i.RunCheck, true + return *i.HostFilters, true } -// HasRunCheck returns a boolean if a field has been set. -func (i *IntegrationSlackRequest) HasRunCheck() bool { - if i != nil && i.RunCheck != nil { +// HasHostFilters returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasHostFilters() bool { + if i != nil && i.HostFilters != nil { return true } return false } -// SetRunCheck allocates a new i.RunCheck and returns the pointer to it. -func (i *IntegrationSlackRequest) SetRunCheck(v bool) { - i.RunCheck = &v +// SetHostFilters allocates a new i.HostFilters and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetHostFilters(v string) { + i.HostFilters = &v } -// GetID returns the ID field if non-nil, zero value otherwise. -func (l *LogSet) GetID() json.Number { - if l == nil || l.ID == nil { +// GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetPrivateKey() string { + if i == nil || i.PrivateKey == nil { return "" } - return *l.ID + return *i.PrivateKey } -// GetIDOk returns a tuple with the ID field if it's non-nil, zero value otherwise +// GetPrivateKeyOk returns a tuple with the PrivateKey field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (l *LogSet) GetIDOk() (json.Number, bool) { - if l == nil || l.ID == nil { +func (i *IntegrationGCPCreateRequest) GetPrivateKeyOk() (string, bool) { + if i == nil || i.PrivateKey == nil { return "", false } - return *l.ID, true + return *i.PrivateKey, true } -// HasID returns a boolean if a field has been set. -func (l *LogSet) HasID() bool { - if l != nil && l.ID != nil { +// HasPrivateKey returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasPrivateKey() bool { + if i != nil && i.PrivateKey != nil { return true } return false } -// SetID allocates a new l.ID and returns the pointer to it. -func (l *LogSet) SetID(v json.Number) { - l.ID = &v +// SetPrivateKey allocates a new i.PrivateKey and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetPrivateKey(v string) { + i.PrivateKey = &v } -// GetName returns the Name field if non-nil, zero value otherwise. -func (l *LogSet) GetName() string { - if l == nil || l.Name == nil { +// GetPrivateKeyID returns the PrivateKeyID field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetPrivateKeyID() string { + if i == nil || i.PrivateKeyID == nil { return "" } - return *l.Name + return *i.PrivateKeyID } -// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +// GetPrivateKeyIDOk returns a tuple with the PrivateKeyID field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (l *LogSet) GetNameOk() (string, bool) { - if l == nil || l.Name == nil { +func (i *IntegrationGCPCreateRequest) GetPrivateKeyIDOk() (string, bool) { + if i == nil || i.PrivateKeyID == nil { return "", false } - return *l.Name, true + return *i.PrivateKeyID, true } -// HasName returns a boolean if a field has been set. -func (l *LogSet) HasName() bool { - if l != nil && l.Name != nil { +// HasPrivateKeyID returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasPrivateKeyID() bool { + if i != nil && i.PrivateKeyID != nil { return true } return false } -// SetName allocates a new l.Name and returns the pointer to it. -func (l *LogSet) SetName(v string) { - l.Name = &v +// SetPrivateKeyID allocates a new i.PrivateKeyID and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetPrivateKeyID(v string) { + i.PrivateKeyID = &v } -// GetLogset returns the Logset field if non-nil, zero value otherwise. -func (l *LogStreamDefinition) GetLogset() string { - if l == nil || l.Logset == nil { +// GetProjectID returns the ProjectID field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetProjectID() string { + if i == nil || i.ProjectID == nil { return "" } - return *l.Logset + return *i.ProjectID } -// GetLogsetOk returns a tuple with the Logset field if it's non-nil, zero value otherwise +// GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (l *LogStreamDefinition) GetLogsetOk() (string, bool) { - if l == nil || l.Logset == nil { +func (i *IntegrationGCPCreateRequest) GetProjectIDOk() (string, bool) { + if i == nil || i.ProjectID == nil { return "", false } - return *l.Logset, true + return *i.ProjectID, true } -// HasLogset returns a boolean if a field has been set. -func (l *LogStreamDefinition) HasLogset() bool { - if l != nil && l.Logset != nil { +// HasProjectID returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasProjectID() bool { + if i != nil && i.ProjectID != nil { return true } return false } -// SetLogset allocates a new l.Logset and returns the pointer to it. -func (l *LogStreamDefinition) SetLogset(v string) { - l.Logset = &v +// SetProjectID allocates a new i.ProjectID and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetProjectID(v string) { + i.ProjectID = &v } -// GetQuery returns the Query field if non-nil, zero value otherwise. -func (l *LogStreamDefinition) GetQuery() string { - if l == nil || l.Query == nil { +// GetTokenURI returns the TokenURI field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetTokenURI() string { + if i == nil || i.TokenURI == nil { return "" } - return *l.Query + return *i.TokenURI } -// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise +// GetTokenURIOk returns a tuple with the TokenURI field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (l *LogStreamDefinition) GetQueryOk() (string, bool) { - if l == nil || l.Query == nil { +func (i *IntegrationGCPCreateRequest) GetTokenURIOk() (string, bool) { + if i == nil || i.TokenURI == nil { return "", false } - return *l.Query, true + return *i.TokenURI, true } -// HasQuery returns a boolean if a field has been set. -func (l *LogStreamDefinition) HasQuery() bool { - if l != nil && l.Query != nil { +// HasTokenURI returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasTokenURI() bool { + if i != nil && i.TokenURI != nil { return true } return false } -// SetQuery allocates a new l.Query and returns the pointer to it. -func (l *LogStreamDefinition) SetQuery(v string) { - l.Query = &v +// SetTokenURI allocates a new i.TokenURI and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetTokenURI(v string) { + i.TokenURI = &v } -// GetTime returns the Time field if non-nil, zero value otherwise. -func (l *LogStreamDefinition) GetTime() WidgetTime { - if l == nil || l.Time == nil { - return WidgetTime{} +// GetType returns the Type field if non-nil, zero value otherwise. +func (i *IntegrationGCPCreateRequest) GetType() string { + if i == nil || i.Type == nil { + return "" } - return *l.Time + return *i.Type } -// GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (l *LogStreamDefinition) GetTimeOk() (WidgetTime, bool) { - if l == nil || l.Time == nil { - return WidgetTime{}, false +func (i *IntegrationGCPCreateRequest) GetTypeOk() (string, bool) { + if i == nil || i.Type == nil { + return "", false } - return *l.Time, true + return *i.Type, true } -// HasTime returns a boolean if a field has been set. -func (l *LogStreamDefinition) HasTime() bool { - if l != nil && l.Time != nil { +// HasType returns a boolean if a field has been set. +func (i *IntegrationGCPCreateRequest) HasType() bool { + if i != nil && i.Type != nil { return true } return false } -// SetTime allocates a new l.Time and returns the pointer to it. -func (l *LogStreamDefinition) SetTime(v WidgetTime) { - l.Time = &v +// SetType allocates a new i.Type and returns the pointer to it. +func (i *IntegrationGCPCreateRequest) SetType(v string) { + i.Type = &v } -// GetTitle returns the Title field if non-nil, zero value otherwise. -func (l *LogStreamDefinition) GetTitle() string { - if l == nil || l.Title == nil { +// GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise. +func (i *IntegrationGCPDeleteRequest) GetClientEmail() string { + if i == nil || i.ClientEmail == nil { return "" } - return *l.Title + return *i.ClientEmail } -// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +// GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (l *LogStreamDefinition) GetTitleOk() (string, bool) { - if l == nil || l.Title == nil { +func (i *IntegrationGCPDeleteRequest) GetClientEmailOk() (string, bool) { + if i == nil || i.ClientEmail == nil { return "", false } - return *l.Title, true + return *i.ClientEmail, true } -// HasTitle returns a boolean if a field has been set. -func (l *LogStreamDefinition) HasTitle() bool { - if l != nil && l.Title != nil { +// HasClientEmail returns a boolean if a field has been set. +func (i *IntegrationGCPDeleteRequest) HasClientEmail() bool { + if i != nil && i.ClientEmail != nil { return true } return false } -// SetTitle allocates a new l.Title and returns the pointer to it. -func (l *LogStreamDefinition) SetTitle(v string) { - l.Title = &v +// SetClientEmail allocates a new i.ClientEmail and returns the pointer to it. +func (i *IntegrationGCPDeleteRequest) SetClientEmail(v string) { + i.ClientEmail = &v } -// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. -func (l *LogStreamDefinition) GetTitleAlign() string { - if l == nil || l.TitleAlign == nil { +// GetProjectID returns the ProjectID field if non-nil, zero value otherwise. +func (i *IntegrationGCPDeleteRequest) GetProjectID() string { + if i == nil || i.ProjectID == nil { return "" } - return *l.TitleAlign + return *i.ProjectID } -// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise +// GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (l *LogStreamDefinition) GetTitleAlignOk() (string, bool) { - if l == nil || l.TitleAlign == nil { +func (i *IntegrationGCPDeleteRequest) GetProjectIDOk() (string, bool) { + if i == nil || i.ProjectID == nil { return "", false } - return *l.TitleAlign, true + return *i.ProjectID, true } -// HasTitleAlign returns a boolean if a field has been set. -func (l *LogStreamDefinition) HasTitleAlign() bool { - if l != nil && l.TitleAlign != nil { +// HasProjectID returns a boolean if a field has been set. +func (i *IntegrationGCPDeleteRequest) HasProjectID() bool { + if i != nil && i.ProjectID != nil { return true } return false } -// SetTitleAlign allocates a new l.TitleAlign and returns the pointer to it. -func (l *LogStreamDefinition) SetTitleAlign(v string) { - l.TitleAlign = &v +// SetProjectID allocates a new i.ProjectID and returns the pointer to it. +func (i *IntegrationGCPDeleteRequest) SetProjectID(v string) { + i.ProjectID = &v } -// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. -func (l *LogStreamDefinition) GetTitleSize() string { - if l == nil || l.TitleSize == nil { +// GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise. +func (i *IntegrationGCPUpdateRequest) GetClientEmail() string { + if i == nil || i.ClientEmail == nil { return "" } - return *l.TitleSize + return *i.ClientEmail } -// GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise +// GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (l *LogStreamDefinition) GetTitleSizeOk() (string, bool) { - if l == nil || l.TitleSize == nil { +func (i *IntegrationGCPUpdateRequest) GetClientEmailOk() (string, bool) { + if i == nil || i.ClientEmail == nil { return "", false } - return *l.TitleSize, true + return *i.ClientEmail, true } -// HasTitleSize returns a boolean if a field has been set. -func (l *LogStreamDefinition) HasTitleSize() bool { - if l != nil && l.TitleSize != nil { +// HasClientEmail returns a boolean if a field has been set. +func (i *IntegrationGCPUpdateRequest) HasClientEmail() bool { + if i != nil && i.ClientEmail != nil { return true } return false } -// SetTitleSize allocates a new l.TitleSize and returns the pointer to it. -func (l *LogStreamDefinition) SetTitleSize(v string) { - l.TitleSize = &v +// SetClientEmail allocates a new i.ClientEmail and returns the pointer to it. +func (i *IntegrationGCPUpdateRequest) SetClientEmail(v string) { + i.ClientEmail = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (l *LogStreamDefinition) GetType() string { - if l == nil || l.Type == nil { +// GetHostFilters returns the HostFilters field if non-nil, zero value otherwise. +func (i *IntegrationGCPUpdateRequest) GetHostFilters() string { + if i == nil || i.HostFilters == nil { return "" } - return *l.Type + return *i.HostFilters } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetHostFiltersOk returns a tuple with the HostFilters field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (l *LogStreamDefinition) GetTypeOk() (string, bool) { - if l == nil || l.Type == nil { +func (i *IntegrationGCPUpdateRequest) GetHostFiltersOk() (string, bool) { + if i == nil || i.HostFilters == nil { return "", false } - return *l.Type, true + return *i.HostFilters, true } -// HasType returns a boolean if a field has been set. -func (l *LogStreamDefinition) HasType() bool { - if l != nil && l.Type != nil { +// HasHostFilters returns a boolean if a field has been set. +func (i *IntegrationGCPUpdateRequest) HasHostFilters() bool { + if i != nil && i.HostFilters != nil { return true } return false } -// SetType allocates a new l.Type and returns the pointer to it. -func (l *LogStreamDefinition) SetType(v string) { - l.Type = &v +// SetHostFilters allocates a new i.HostFilters and returns the pointer to it. +func (i *IntegrationGCPUpdateRequest) SetHostFilters(v string) { + i.HostFilters = &v } -// GetColorPreference returns the ColorPreference field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetColorPreference() string { - if m == nil || m.ColorPreference == nil { +// GetProjectID returns the ProjectID field if non-nil, zero value otherwise. +func (i *IntegrationGCPUpdateRequest) GetProjectID() string { + if i == nil || i.ProjectID == nil { return "" } - return *m.ColorPreference + return *i.ProjectID } -// GetColorPreferenceOk returns a tuple with the ColorPreference field if it's non-nil, zero value otherwise +// GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetColorPreferenceOk() (string, bool) { - if m == nil || m.ColorPreference == nil { +func (i *IntegrationGCPUpdateRequest) GetProjectIDOk() (string, bool) { + if i == nil || i.ProjectID == nil { return "", false } - return *m.ColorPreference, true + return *i.ProjectID, true } -// HasColorPreference returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasColorPreference() bool { - if m != nil && m.ColorPreference != nil { +// HasProjectID returns a boolean if a field has been set. +func (i *IntegrationGCPUpdateRequest) HasProjectID() bool { + if i != nil && i.ProjectID != nil { return true } return false } -// SetColorPreference allocates a new m.ColorPreference and returns the pointer to it. -func (m *ManageStatusDefinition) SetColorPreference(v string) { - m.ColorPreference = &v +// SetProjectID allocates a new i.ProjectID and returns the pointer to it. +func (i *IntegrationGCPUpdateRequest) SetProjectID(v string) { + i.ProjectID = &v } -// GetCount returns the Count field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetCount() int { - if m == nil || m.Count == nil { - return 0 +// GetAPIToken returns the APIToken field if non-nil, zero value otherwise. +func (i *integrationPD) GetAPIToken() string { + if i == nil || i.APIToken == nil { + return "" } - return *m.Count + return *i.APIToken } -// GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise +// GetAPITokenOk returns a tuple with the APIToken field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetCountOk() (int, bool) { - if m == nil || m.Count == nil { - return 0, false +func (i *integrationPD) GetAPITokenOk() (string, bool) { + if i == nil || i.APIToken == nil { + return "", false } - return *m.Count, true + return *i.APIToken, true } -// HasCount returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasCount() bool { - if m != nil && m.Count != nil { +// HasAPIToken returns a boolean if a field has been set. +func (i *integrationPD) HasAPIToken() bool { + if i != nil && i.APIToken != nil { return true } return false } -// SetCount allocates a new m.Count and returns the pointer to it. -func (m *ManageStatusDefinition) SetCount(v int) { - m.Count = &v +// SetAPIToken allocates a new i.APIToken and returns the pointer to it. +func (i *integrationPD) SetAPIToken(v string) { + i.APIToken = &v } -// GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetDisplayFormat() string { - if m == nil || m.DisplayFormat == nil { +// GetSubdomain returns the Subdomain field if non-nil, zero value otherwise. +func (i *integrationPD) GetSubdomain() string { + if i == nil || i.Subdomain == nil { return "" } - return *m.DisplayFormat + return *i.Subdomain } -// GetDisplayFormatOk returns a tuple with the DisplayFormat field if it's non-nil, zero value otherwise +// GetSubdomainOk returns a tuple with the Subdomain field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetDisplayFormatOk() (string, bool) { - if m == nil || m.DisplayFormat == nil { +func (i *integrationPD) GetSubdomainOk() (string, bool) { + if i == nil || i.Subdomain == nil { return "", false } - return *m.DisplayFormat, true + return *i.Subdomain, true } -// HasDisplayFormat returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasDisplayFormat() bool { - if m != nil && m.DisplayFormat != nil { +// HasSubdomain returns a boolean if a field has been set. +func (i *integrationPD) HasSubdomain() bool { + if i != nil && i.Subdomain != nil { return true } return false } -// SetDisplayFormat allocates a new m.DisplayFormat and returns the pointer to it. -func (m *ManageStatusDefinition) SetDisplayFormat(v string) { - m.DisplayFormat = &v +// SetSubdomain allocates a new i.Subdomain and returns the pointer to it. +func (i *integrationPD) SetSubdomain(v string) { + i.Subdomain = &v } -// GetHideZeroCounts returns the HideZeroCounts field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetHideZeroCounts() bool { - if m == nil || m.HideZeroCounts == nil { - return false +// GetAPIToken returns the APIToken field if non-nil, zero value otherwise. +func (i *IntegrationPDRequest) GetAPIToken() string { + if i == nil || i.APIToken == nil { + return "" } - return *m.HideZeroCounts + return *i.APIToken } -// GetHideZeroCountsOk returns a tuple with the HideZeroCounts field if it's non-nil, zero value otherwise +// GetAPITokenOk returns a tuple with the APIToken field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetHideZeroCountsOk() (bool, bool) { - if m == nil || m.HideZeroCounts == nil { - return false, false +func (i *IntegrationPDRequest) GetAPITokenOk() (string, bool) { + if i == nil || i.APIToken == nil { + return "", false } - return *m.HideZeroCounts, true + return *i.APIToken, true } -// HasHideZeroCounts returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasHideZeroCounts() bool { - if m != nil && m.HideZeroCounts != nil { +// HasAPIToken returns a boolean if a field has been set. +func (i *IntegrationPDRequest) HasAPIToken() bool { + if i != nil && i.APIToken != nil { return true } return false } -// SetHideZeroCounts allocates a new m.HideZeroCounts and returns the pointer to it. -func (m *ManageStatusDefinition) SetHideZeroCounts(v bool) { - m.HideZeroCounts = &v +// SetAPIToken allocates a new i.APIToken and returns the pointer to it. +func (i *IntegrationPDRequest) SetAPIToken(v string) { + i.APIToken = &v } -// GetQuery returns the Query field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetQuery() string { - if m == nil || m.Query == nil { - return "" +// GetRunCheck returns the RunCheck field if non-nil, zero value otherwise. +func (i *IntegrationPDRequest) GetRunCheck() bool { + if i == nil || i.RunCheck == nil { + return false } - return *m.Query + return *i.RunCheck } -// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise +// GetRunCheckOk returns a tuple with the RunCheck field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetQueryOk() (string, bool) { - if m == nil || m.Query == nil { - return "", false +func (i *IntegrationPDRequest) GetRunCheckOk() (bool, bool) { + if i == nil || i.RunCheck == nil { + return false, false } - return *m.Query, true + return *i.RunCheck, true } -// HasQuery returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasQuery() bool { - if m != nil && m.Query != nil { +// HasRunCheck returns a boolean if a field has been set. +func (i *IntegrationPDRequest) HasRunCheck() bool { + if i != nil && i.RunCheck != nil { return true } return false } -// SetQuery allocates a new m.Query and returns the pointer to it. -func (m *ManageStatusDefinition) SetQuery(v string) { - m.Query = &v +// SetRunCheck allocates a new i.RunCheck and returns the pointer to it. +func (i *IntegrationPDRequest) SetRunCheck(v bool) { + i.RunCheck = &v } -// GetSort returns the Sort field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetSort() string { - if m == nil || m.Sort == nil { +// GetSubdomain returns the Subdomain field if non-nil, zero value otherwise. +func (i *IntegrationPDRequest) GetSubdomain() string { + if i == nil || i.Subdomain == nil { return "" } - return *m.Sort + return *i.Subdomain } -// GetSortOk returns a tuple with the Sort field if it's non-nil, zero value otherwise +// GetSubdomainOk returns a tuple with the Subdomain field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetSortOk() (string, bool) { - if m == nil || m.Sort == nil { +func (i *IntegrationPDRequest) GetSubdomainOk() (string, bool) { + if i == nil || i.Subdomain == nil { return "", false } - return *m.Sort, true + return *i.Subdomain, true } -// HasSort returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasSort() bool { - if m != nil && m.Sort != nil { +// HasSubdomain returns a boolean if a field has been set. +func (i *IntegrationPDRequest) HasSubdomain() bool { + if i != nil && i.Subdomain != nil { return true } return false } -// SetSort allocates a new m.Sort and returns the pointer to it. -func (m *ManageStatusDefinition) SetSort(v string) { - m.Sort = &v +// SetSubdomain allocates a new i.Subdomain and returns the pointer to it. +func (i *IntegrationPDRequest) SetSubdomain(v string) { + i.Subdomain = &v } -// GetStart returns the Start field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetStart() int { - if m == nil || m.Start == nil { - return 0 +// GetRunCheck returns the RunCheck field if non-nil, zero value otherwise. +func (i *IntegrationSlackRequest) GetRunCheck() bool { + if i == nil || i.RunCheck == nil { + return false } - return *m.Start + return *i.RunCheck } -// GetStartOk returns a tuple with the Start field if it's non-nil, zero value otherwise +// GetRunCheckOk returns a tuple with the RunCheck field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetStartOk() (int, bool) { - if m == nil || m.Start == nil { - return 0, false +func (i *IntegrationSlackRequest) GetRunCheckOk() (bool, bool) { + if i == nil || i.RunCheck == nil { + return false, false } - return *m.Start, true + return *i.RunCheck, true } -// HasStart returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasStart() bool { - if m != nil && m.Start != nil { +// HasRunCheck returns a boolean if a field has been set. +func (i *IntegrationSlackRequest) HasRunCheck() bool { + if i != nil && i.RunCheck != nil { return true } return false } -// SetStart allocates a new m.Start and returns the pointer to it. -func (m *ManageStatusDefinition) SetStart(v int) { - m.Start = &v +// SetRunCheck allocates a new i.RunCheck and returns the pointer to it. +func (i *IntegrationSlackRequest) SetRunCheck(v bool) { + i.RunCheck = &v } -// GetTitle returns the Title field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetTitle() string { - if m == nil || m.Title == nil { +// GetID returns the ID field if non-nil, zero value otherwise. +func (l *LogSet) GetID() json.Number { + if l == nil || l.ID == nil { return "" } - return *m.Title + return *l.ID } -// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +// GetIDOk returns a tuple with the ID field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetTitleOk() (string, bool) { - if m == nil || m.Title == nil { +func (l *LogSet) GetIDOk() (json.Number, bool) { + if l == nil || l.ID == nil { return "", false } - return *m.Title, true + return *l.ID, true } -// HasTitle returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasTitle() bool { - if m != nil && m.Title != nil { +// HasID returns a boolean if a field has been set. +func (l *LogSet) HasID() bool { + if l != nil && l.ID != nil { return true } return false } -// SetTitle allocates a new m.Title and returns the pointer to it. -func (m *ManageStatusDefinition) SetTitle(v string) { - m.Title = &v +// SetID allocates a new l.ID and returns the pointer to it. +func (l *LogSet) SetID(v json.Number) { + l.ID = &v } -// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetTitleAlign() string { - if m == nil || m.TitleAlign == nil { +// GetName returns the Name field if non-nil, zero value otherwise. +func (l *LogSet) GetName() string { + if l == nil || l.Name == nil { return "" } - return *m.TitleAlign + return *l.Name } -// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise +// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetTitleAlignOk() (string, bool) { - if m == nil || m.TitleAlign == nil { +func (l *LogSet) GetNameOk() (string, bool) { + if l == nil || l.Name == nil { return "", false } - return *m.TitleAlign, true + return *l.Name, true } -// HasTitleAlign returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasTitleAlign() bool { - if m != nil && m.TitleAlign != nil { +// HasName returns a boolean if a field has been set. +func (l *LogSet) HasName() bool { + if l != nil && l.Name != nil { return true } return false } -// SetTitleAlign allocates a new m.TitleAlign and returns the pointer to it. -func (m *ManageStatusDefinition) SetTitleAlign(v string) { - m.TitleAlign = &v +// SetName allocates a new l.Name and returns the pointer to it. +func (l *LogSet) SetName(v string) { + l.Name = &v } -// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetTitleSize() string { - if m == nil || m.TitleSize == nil { +// GetLogset returns the Logset field if non-nil, zero value otherwise. +func (l *LogStreamDefinition) GetLogset() string { + if l == nil || l.Logset == nil { return "" } - return *m.TitleSize + return *l.Logset } -// GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise +// GetLogsetOk returns a tuple with the Logset field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetTitleSizeOk() (string, bool) { - if m == nil || m.TitleSize == nil { +func (l *LogStreamDefinition) GetLogsetOk() (string, bool) { + if l == nil || l.Logset == nil { return "", false } - return *m.TitleSize, true + return *l.Logset, true } -// HasTitleSize returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasTitleSize() bool { - if m != nil && m.TitleSize != nil { +// HasLogset returns a boolean if a field has been set. +func (l *LogStreamDefinition) HasLogset() bool { + if l != nil && l.Logset != nil { return true } return false } -// SetTitleSize allocates a new m.TitleSize and returns the pointer to it. -func (m *ManageStatusDefinition) SetTitleSize(v string) { - m.TitleSize = &v +// SetLogset allocates a new l.Logset and returns the pointer to it. +func (l *LogStreamDefinition) SetLogset(v string) { + l.Logset = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (m *ManageStatusDefinition) GetType() string { - if m == nil || m.Type == nil { +// GetQuery returns the Query field if non-nil, zero value otherwise. +func (l *LogStreamDefinition) GetQuery() string { + if l == nil || l.Query == nil { return "" } - return *m.Type + return *l.Query } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *ManageStatusDefinition) GetTypeOk() (string, bool) { - if m == nil || m.Type == nil { +func (l *LogStreamDefinition) GetQueryOk() (string, bool) { + if l == nil || l.Query == nil { return "", false } - return *m.Type, true + return *l.Query, true } -// HasType returns a boolean if a field has been set. -func (m *ManageStatusDefinition) HasType() bool { - if m != nil && m.Type != nil { +// HasQuery returns a boolean if a field has been set. +func (l *LogStreamDefinition) HasQuery() bool { + if l != nil && l.Query != nil { return true } return false } -// SetType allocates a new m.Type and returns the pointer to it. -func (m *ManageStatusDefinition) SetType(v string) { - m.Type = &v +// SetQuery allocates a new l.Query and returns the pointer to it. +func (l *LogStreamDefinition) SetQuery(v string) { + l.Query = &v } -// GetHost returns the Host field if non-nil, zero value otherwise. -func (m *Metric) GetHost() string { - if m == nil || m.Host == nil { - return "" +// GetTime returns the Time field if non-nil, zero value otherwise. +func (l *LogStreamDefinition) GetTime() WidgetTime { + if l == nil || l.Time == nil { + return WidgetTime{} } - return *m.Host + return *l.Time } -// GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise +// GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Metric) GetHostOk() (string, bool) { - if m == nil || m.Host == nil { - return "", false +func (l *LogStreamDefinition) GetTimeOk() (WidgetTime, bool) { + if l == nil || l.Time == nil { + return WidgetTime{}, false } - return *m.Host, true + return *l.Time, true } -// HasHost returns a boolean if a field has been set. -func (m *Metric) HasHost() bool { - if m != nil && m.Host != nil { +// HasTime returns a boolean if a field has been set. +func (l *LogStreamDefinition) HasTime() bool { + if l != nil && l.Time != nil { return true } return false } -// SetHost allocates a new m.Host and returns the pointer to it. -func (m *Metric) SetHost(v string) { - m.Host = &v +// SetTime allocates a new l.Time and returns the pointer to it. +func (l *LogStreamDefinition) SetTime(v WidgetTime) { + l.Time = &v } -// GetMetric returns the Metric field if non-nil, zero value otherwise. -func (m *Metric) GetMetric() string { - if m == nil || m.Metric == nil { +// GetTitle returns the Title field if non-nil, zero value otherwise. +func (l *LogStreamDefinition) GetTitle() string { + if l == nil || l.Title == nil { return "" } - return *m.Metric + return *l.Title } -// GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise +// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Metric) GetMetricOk() (string, bool) { - if m == nil || m.Metric == nil { +func (l *LogStreamDefinition) GetTitleOk() (string, bool) { + if l == nil || l.Title == nil { return "", false } - return *m.Metric, true + return *l.Title, true } -// HasMetric returns a boolean if a field has been set. -func (m *Metric) HasMetric() bool { - if m != nil && m.Metric != nil { +// HasTitle returns a boolean if a field has been set. +func (l *LogStreamDefinition) HasTitle() bool { + if l != nil && l.Title != nil { return true } return false } -// SetMetric allocates a new m.Metric and returns the pointer to it. -func (m *Metric) SetMetric(v string) { - m.Metric = &v +// SetTitle allocates a new l.Title and returns the pointer to it. +func (l *LogStreamDefinition) SetTitle(v string) { + l.Title = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (m *Metric) GetType() string { - if m == nil || m.Type == nil { +// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. +func (l *LogStreamDefinition) GetTitleAlign() string { + if l == nil || l.TitleAlign == nil { return "" } - return *m.Type + return *l.TitleAlign } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Metric) GetTypeOk() (string, bool) { - if m == nil || m.Type == nil { +func (l *LogStreamDefinition) GetTitleAlignOk() (string, bool) { + if l == nil || l.TitleAlign == nil { return "", false } - return *m.Type, true + return *l.TitleAlign, true } -// HasType returns a boolean if a field has been set. -func (m *Metric) HasType() bool { - if m != nil && m.Type != nil { +// HasTitleAlign returns a boolean if a field has been set. +func (l *LogStreamDefinition) HasTitleAlign() bool { + if l != nil && l.TitleAlign != nil { return true } return false } -// SetType allocates a new m.Type and returns the pointer to it. -func (m *Metric) SetType(v string) { - m.Type = &v +// SetTitleAlign allocates a new l.TitleAlign and returns the pointer to it. +func (l *LogStreamDefinition) SetTitleAlign(v string) { + l.TitleAlign = &v } -// GetUnit returns the Unit field if non-nil, zero value otherwise. -func (m *Metric) GetUnit() string { - if m == nil || m.Unit == nil { +// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. +func (l *LogStreamDefinition) GetTitleSize() string { + if l == nil || l.TitleSize == nil { return "" } - return *m.Unit + return *l.TitleSize } -// GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise +// GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Metric) GetUnitOk() (string, bool) { - if m == nil || m.Unit == nil { +func (l *LogStreamDefinition) GetTitleSizeOk() (string, bool) { + if l == nil || l.TitleSize == nil { return "", false } - return *m.Unit, true + return *l.TitleSize, true } -// HasUnit returns a boolean if a field has been set. -func (m *Metric) HasUnit() bool { - if m != nil && m.Unit != nil { +// HasTitleSize returns a boolean if a field has been set. +func (l *LogStreamDefinition) HasTitleSize() bool { + if l != nil && l.TitleSize != nil { return true } return false } -// SetUnit allocates a new m.Unit and returns the pointer to it. -func (m *Metric) SetUnit(v string) { - m.Unit = &v +// SetTitleSize allocates a new l.TitleSize and returns the pointer to it. +func (l *LogStreamDefinition) SetTitleSize(v string) { + l.TitleSize = &v } -// GetDescription returns the Description field if non-nil, zero value otherwise. -func (m *MetricMetadata) GetDescription() string { - if m == nil || m.Description == nil { +// GetType returns the Type field if non-nil, zero value otherwise. +func (l *LogStreamDefinition) GetType() string { + if l == nil || l.Type == nil { return "" } - return *m.Description + return *l.Type } -// GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *MetricMetadata) GetDescriptionOk() (string, bool) { - if m == nil || m.Description == nil { +func (l *LogStreamDefinition) GetTypeOk() (string, bool) { + if l == nil || l.Type == nil { return "", false } - return *m.Description, true + return *l.Type, true } -// HasDescription returns a boolean if a field has been set. -func (m *MetricMetadata) HasDescription() bool { - if m != nil && m.Description != nil { +// HasType returns a boolean if a field has been set. +func (l *LogStreamDefinition) HasType() bool { + if l != nil && l.Type != nil { return true } return false } -// SetDescription allocates a new m.Description and returns the pointer to it. -func (m *MetricMetadata) SetDescription(v string) { - m.Description = &v +// SetType allocates a new l.Type and returns the pointer to it. +func (l *LogStreamDefinition) SetType(v string) { + l.Type = &v } -// GetPerUnit returns the PerUnit field if non-nil, zero value otherwise. -func (m *MetricMetadata) GetPerUnit() string { - if m == nil || m.PerUnit == nil { +// GetColorPreference returns the ColorPreference field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetColorPreference() string { + if m == nil || m.ColorPreference == nil { return "" } - return *m.PerUnit + return *m.ColorPreference } -// GetPerUnitOk returns a tuple with the PerUnit field if it's non-nil, zero value otherwise +// GetColorPreferenceOk returns a tuple with the ColorPreference field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *MetricMetadata) GetPerUnitOk() (string, bool) { - if m == nil || m.PerUnit == nil { +func (m *ManageStatusDefinition) GetColorPreferenceOk() (string, bool) { + if m == nil || m.ColorPreference == nil { return "", false } - return *m.PerUnit, true + return *m.ColorPreference, true } -// HasPerUnit returns a boolean if a field has been set. -func (m *MetricMetadata) HasPerUnit() bool { - if m != nil && m.PerUnit != nil { +// HasColorPreference returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasColorPreference() bool { + if m != nil && m.ColorPreference != nil { return true } return false } -// SetPerUnit allocates a new m.PerUnit and returns the pointer to it. -func (m *MetricMetadata) SetPerUnit(v string) { - m.PerUnit = &v +// SetColorPreference allocates a new m.ColorPreference and returns the pointer to it. +func (m *ManageStatusDefinition) SetColorPreference(v string) { + m.ColorPreference = &v } -// GetShortName returns the ShortName field if non-nil, zero value otherwise. -func (m *MetricMetadata) GetShortName() string { - if m == nil || m.ShortName == nil { - return "" +// GetCount returns the Count field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetCount() int { + if m == nil || m.Count == nil { + return 0 } - return *m.ShortName + return *m.Count } -// GetShortNameOk returns a tuple with the ShortName field if it's non-nil, zero value otherwise +// GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *MetricMetadata) GetShortNameOk() (string, bool) { - if m == nil || m.ShortName == nil { - return "", false +func (m *ManageStatusDefinition) GetCountOk() (int, bool) { + if m == nil || m.Count == nil { + return 0, false } - return *m.ShortName, true + return *m.Count, true } -// HasShortName returns a boolean if a field has been set. -func (m *MetricMetadata) HasShortName() bool { - if m != nil && m.ShortName != nil { +// HasCount returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasCount() bool { + if m != nil && m.Count != nil { return true } return false } -// SetShortName allocates a new m.ShortName and returns the pointer to it. -func (m *MetricMetadata) SetShortName(v string) { - m.ShortName = &v +// SetCount allocates a new m.Count and returns the pointer to it. +func (m *ManageStatusDefinition) SetCount(v int) { + m.Count = &v } -// GetStatsdInterval returns the StatsdInterval field if non-nil, zero value otherwise. -func (m *MetricMetadata) GetStatsdInterval() int { - if m == nil || m.StatsdInterval == nil { - return 0 +// GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetDisplayFormat() string { + if m == nil || m.DisplayFormat == nil { + return "" } - return *m.StatsdInterval + return *m.DisplayFormat } -// GetStatsdIntervalOk returns a tuple with the StatsdInterval field if it's non-nil, zero value otherwise +// GetDisplayFormatOk returns a tuple with the DisplayFormat field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *MetricMetadata) GetStatsdIntervalOk() (int, bool) { - if m == nil || m.StatsdInterval == nil { - return 0, false +func (m *ManageStatusDefinition) GetDisplayFormatOk() (string, bool) { + if m == nil || m.DisplayFormat == nil { + return "", false } - return *m.StatsdInterval, true + return *m.DisplayFormat, true } -// HasStatsdInterval returns a boolean if a field has been set. -func (m *MetricMetadata) HasStatsdInterval() bool { - if m != nil && m.StatsdInterval != nil { +// HasDisplayFormat returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasDisplayFormat() bool { + if m != nil && m.DisplayFormat != nil { return true } return false } -// SetStatsdInterval allocates a new m.StatsdInterval and returns the pointer to it. -func (m *MetricMetadata) SetStatsdInterval(v int) { - m.StatsdInterval = &v +// SetDisplayFormat allocates a new m.DisplayFormat and returns the pointer to it. +func (m *ManageStatusDefinition) SetDisplayFormat(v string) { + m.DisplayFormat = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (m *MetricMetadata) GetType() string { - if m == nil || m.Type == nil { - return "" +// GetHideZeroCounts returns the HideZeroCounts field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetHideZeroCounts() bool { + if m == nil || m.HideZeroCounts == nil { + return false } - return *m.Type + return *m.HideZeroCounts } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetHideZeroCountsOk returns a tuple with the HideZeroCounts field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *MetricMetadata) GetTypeOk() (string, bool) { - if m == nil || m.Type == nil { - return "", false +func (m *ManageStatusDefinition) GetHideZeroCountsOk() (bool, bool) { + if m == nil || m.HideZeroCounts == nil { + return false, false } - return *m.Type, true + return *m.HideZeroCounts, true } -// HasType returns a boolean if a field has been set. -func (m *MetricMetadata) HasType() bool { - if m != nil && m.Type != nil { +// HasHideZeroCounts returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasHideZeroCounts() bool { + if m != nil && m.HideZeroCounts != nil { return true } return false } -// SetType allocates a new m.Type and returns the pointer to it. -func (m *MetricMetadata) SetType(v string) { - m.Type = &v +// SetHideZeroCounts allocates a new m.HideZeroCounts and returns the pointer to it. +func (m *ManageStatusDefinition) SetHideZeroCounts(v bool) { + m.HideZeroCounts = &v } -// GetUnit returns the Unit field if non-nil, zero value otherwise. -func (m *MetricMetadata) GetUnit() string { - if m == nil || m.Unit == nil { +// GetQuery returns the Query field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetQuery() string { + if m == nil || m.Query == nil { return "" } - return *m.Unit + return *m.Query } -// GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise +// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *MetricMetadata) GetUnitOk() (string, bool) { - if m == nil || m.Unit == nil { +func (m *ManageStatusDefinition) GetQueryOk() (string, bool) { + if m == nil || m.Query == nil { return "", false } - return *m.Unit, true + return *m.Query, true } -// HasUnit returns a boolean if a field has been set. -func (m *MetricMetadata) HasUnit() bool { - if m != nil && m.Unit != nil { +// HasQuery returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasQuery() bool { + if m != nil && m.Query != nil { return true } return false } -// SetUnit allocates a new m.Unit and returns the pointer to it. -func (m *MetricMetadata) SetUnit(v string) { - m.Unit = &v +// SetQuery allocates a new m.Query and returns the pointer to it. +func (m *ManageStatusDefinition) SetQuery(v string) { + m.Query = &v } -// GetCreator returns the Creator field if non-nil, zero value otherwise. -func (m *Monitor) GetCreator() Creator { - if m == nil || m.Creator == nil { - return Creator{} +// GetSort returns the Sort field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetSort() string { + if m == nil || m.Sort == nil { + return "" } - return *m.Creator + return *m.Sort } -// GetCreatorOk returns a tuple with the Creator field if it's non-nil, zero value otherwise +// GetSortOk returns a tuple with the Sort field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Monitor) GetCreatorOk() (Creator, bool) { - if m == nil || m.Creator == nil { - return Creator{}, false +func (m *ManageStatusDefinition) GetSortOk() (string, bool) { + if m == nil || m.Sort == nil { + return "", false } - return *m.Creator, true + return *m.Sort, true } -// HasCreator returns a boolean if a field has been set. -func (m *Monitor) HasCreator() bool { - if m != nil && m.Creator != nil { +// HasSort returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasSort() bool { + if m != nil && m.Sort != nil { return true } return false } -// SetCreator allocates a new m.Creator and returns the pointer to it. -func (m *Monitor) SetCreator(v Creator) { - m.Creator = &v +// SetSort allocates a new m.Sort and returns the pointer to it. +func (m *ManageStatusDefinition) SetSort(v string) { + m.Sort = &v } -// GetId returns the Id field if non-nil, zero value otherwise. -func (m *Monitor) GetId() int { - if m == nil || m.Id == nil { +// GetStart returns the Start field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetStart() int { + if m == nil || m.Start == nil { return 0 } - return *m.Id + return *m.Start } -// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +// GetStartOk returns a tuple with the Start field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Monitor) GetIdOk() (int, bool) { - if m == nil || m.Id == nil { +func (m *ManageStatusDefinition) GetStartOk() (int, bool) { + if m == nil || m.Start == nil { return 0, false } - return *m.Id, true + return *m.Start, true } -// HasId returns a boolean if a field has been set. -func (m *Monitor) HasId() bool { - if m != nil && m.Id != nil { +// HasStart returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasStart() bool { + if m != nil && m.Start != nil { return true } return false } -// SetId allocates a new m.Id and returns the pointer to it. -func (m *Monitor) SetId(v int) { - m.Id = &v +// SetStart allocates a new m.Start and returns the pointer to it. +func (m *ManageStatusDefinition) SetStart(v int) { + m.Start = &v } -// GetMessage returns the Message field if non-nil, zero value otherwise. -func (m *Monitor) GetMessage() string { - if m == nil || m.Message == nil { +// GetTitle returns the Title field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetTitle() string { + if m == nil || m.Title == nil { return "" } - return *m.Message + return *m.Title } -// GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Monitor) GetMessageOk() (string, bool) { - if m == nil || m.Message == nil { +func (m *ManageStatusDefinition) GetTitleOk() (string, bool) { + if m == nil || m.Title == nil { return "", false } - return *m.Message, true + return *m.Title, true } -// HasMessage returns a boolean if a field has been set. -func (m *Monitor) HasMessage() bool { - if m != nil && m.Message != nil { +// HasTitle returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasTitle() bool { + if m != nil && m.Title != nil { return true } return false } -// SetMessage allocates a new m.Message and returns the pointer to it. -func (m *Monitor) SetMessage(v string) { - m.Message = &v +// SetTitle allocates a new m.Title and returns the pointer to it. +func (m *ManageStatusDefinition) SetTitle(v string) { + m.Title = &v } -// GetName returns the Name field if non-nil, zero value otherwise. -func (m *Monitor) GetName() string { - if m == nil || m.Name == nil { +// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetTitleAlign() string { + if m == nil || m.TitleAlign == nil { return "" } - return *m.Name + return *m.TitleAlign } -// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Monitor) GetNameOk() (string, bool) { - if m == nil || m.Name == nil { +func (m *ManageStatusDefinition) GetTitleAlignOk() (string, bool) { + if m == nil || m.TitleAlign == nil { return "", false } - return *m.Name, true + return *m.TitleAlign, true } -// HasName returns a boolean if a field has been set. -func (m *Monitor) HasName() bool { - if m != nil && m.Name != nil { +// HasTitleAlign returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasTitleAlign() bool { + if m != nil && m.TitleAlign != nil { return true } return false } -// SetName allocates a new m.Name and returns the pointer to it. -func (m *Monitor) SetName(v string) { - m.Name = &v +// SetTitleAlign allocates a new m.TitleAlign and returns the pointer to it. +func (m *ManageStatusDefinition) SetTitleAlign(v string) { + m.TitleAlign = &v } -// GetOptions returns the Options field if non-nil, zero value otherwise. -func (m *Monitor) GetOptions() Options { - if m == nil || m.Options == nil { - return Options{} +// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetTitleSize() string { + if m == nil || m.TitleSize == nil { + return "" } - return *m.Options + return *m.TitleSize } -// GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise +// GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Monitor) GetOptionsOk() (Options, bool) { - if m == nil || m.Options == nil { - return Options{}, false +func (m *ManageStatusDefinition) GetTitleSizeOk() (string, bool) { + if m == nil || m.TitleSize == nil { + return "", false } - return *m.Options, true + return *m.TitleSize, true } -// HasOptions returns a boolean if a field has been set. -func (m *Monitor) HasOptions() bool { - if m != nil && m.Options != nil { +// HasTitleSize returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasTitleSize() bool { + if m != nil && m.TitleSize != nil { return true } return false } -// SetOptions allocates a new m.Options and returns the pointer to it. -func (m *Monitor) SetOptions(v Options) { - m.Options = &v +// SetTitleSize allocates a new m.TitleSize and returns the pointer to it. +func (m *ManageStatusDefinition) SetTitleSize(v string) { + m.TitleSize = &v } -// GetOverallState returns the OverallState field if non-nil, zero value otherwise. -func (m *Monitor) GetOverallState() string { - if m == nil || m.OverallState == nil { +// GetType returns the Type field if non-nil, zero value otherwise. +func (m *ManageStatusDefinition) GetType() string { + if m == nil || m.Type == nil { return "" } - return *m.OverallState + return *m.Type } -// GetOverallStateOk returns a tuple with the OverallState field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Monitor) GetOverallStateOk() (string, bool) { - if m == nil || m.OverallState == nil { +func (m *ManageStatusDefinition) GetTypeOk() (string, bool) { + if m == nil || m.Type == nil { return "", false } - return *m.OverallState, true + return *m.Type, true } -// HasOverallState returns a boolean if a field has been set. -func (m *Monitor) HasOverallState() bool { - if m != nil && m.OverallState != nil { +// HasType returns a boolean if a field has been set. +func (m *ManageStatusDefinition) HasType() bool { + if m != nil && m.Type != nil { return true } return false } -// SetOverallState allocates a new m.OverallState and returns the pointer to it. -func (m *Monitor) SetOverallState(v string) { - m.OverallState = &v +// SetType allocates a new m.Type and returns the pointer to it. +func (m *ManageStatusDefinition) SetType(v string) { + m.Type = &v } -// GetOverallStateModified returns the OverallStateModified field if non-nil, zero value otherwise. -func (m *Monitor) GetOverallStateModified() string { - if m == nil || m.OverallStateModified == nil { +// GetHost returns the Host field if non-nil, zero value otherwise. +func (m *Metric) GetHost() string { + if m == nil || m.Host == nil { return "" } - return *m.OverallStateModified + return *m.Host } -// GetOverallStateModifiedOk returns a tuple with the OverallStateModified field if it's non-nil, zero value otherwise +// GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Monitor) GetOverallStateModifiedOk() (string, bool) { - if m == nil || m.OverallStateModified == nil { +func (m *Metric) GetHostOk() (string, bool) { + if m == nil || m.Host == nil { return "", false } - return *m.OverallStateModified, true + return *m.Host, true } -// HasOverallStateModified returns a boolean if a field has been set. -func (m *Monitor) HasOverallStateModified() bool { - if m != nil && m.OverallStateModified != nil { +// HasHost returns a boolean if a field has been set. +func (m *Metric) HasHost() bool { + if m != nil && m.Host != nil { return true } return false } -// SetOverallStateModified allocates a new m.OverallStateModified and returns the pointer to it. -func (m *Monitor) SetOverallStateModified(v string) { - m.OverallStateModified = &v +// SetHost allocates a new m.Host and returns the pointer to it. +func (m *Metric) SetHost(v string) { + m.Host = &v } -// GetQuery returns the Query field if non-nil, zero value otherwise. -func (m *Monitor) GetQuery() string { - if m == nil || m.Query == nil { +// GetMetric returns the Metric field if non-nil, zero value otherwise. +func (m *Metric) GetMetric() string { + if m == nil || m.Metric == nil { return "" } - return *m.Query + return *m.Metric } -// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise +// GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Monitor) GetQueryOk() (string, bool) { - if m == nil || m.Query == nil { +func (m *Metric) GetMetricOk() (string, bool) { + if m == nil || m.Metric == nil { return "", false } - return *m.Query, true + return *m.Metric, true } -// HasQuery returns a boolean if a field has been set. -func (m *Monitor) HasQuery() bool { - if m != nil && m.Query != nil { +// HasMetric returns a boolean if a field has been set. +func (m *Metric) HasMetric() bool { + if m != nil && m.Metric != nil { return true } return false } -// SetQuery allocates a new m.Query and returns the pointer to it. -func (m *Monitor) SetQuery(v string) { - m.Query = &v +// SetMetric allocates a new m.Metric and returns the pointer to it. +func (m *Metric) SetMetric(v string) { + m.Metric = &v } // GetType returns the Type field if non-nil, zero value otherwise. -func (m *Monitor) GetType() string { +func (m *Metric) GetType() string { if m == nil || m.Type == nil { return "" } @@ -10409,7 +10347,7 @@ func (m *Monitor) GetType() string { // GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *Monitor) GetTypeOk() (string, bool) { +func (m *Metric) GetTypeOk() (string, bool) { if m == nil || m.Type == nil { return "", false } @@ -10417,7 +10355,7 @@ func (m *Monitor) GetTypeOk() (string, bool) { } // HasType returns a boolean if a field has been set. -func (m *Monitor) HasType() bool { +func (m *Metric) HasType() bool { if m != nil && m.Type != nil { return true } @@ -10426,5464 +10364,6363 @@ func (m *Monitor) HasType() bool { } // SetType allocates a new m.Type and returns the pointer to it. -func (m *Monitor) SetType(v string) { +func (m *Metric) SetType(v string) { m.Type = &v } -// GetEnd returns the End field if non-nil, zero value otherwise. -func (m *MuteMonitorScope) GetEnd() int { - if m == nil || m.End == nil { - return 0 +// GetUnit returns the Unit field if non-nil, zero value otherwise. +func (m *Metric) GetUnit() string { + if m == nil || m.Unit == nil { + return "" } - return *m.End + return *m.Unit } -// GetEndOk returns a tuple with the End field if it's non-nil, zero value otherwise +// GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *MuteMonitorScope) GetEndOk() (int, bool) { - if m == nil || m.End == nil { - return 0, false +func (m *Metric) GetUnitOk() (string, bool) { + if m == nil || m.Unit == nil { + return "", false } - return *m.End, true + return *m.Unit, true } -// HasEnd returns a boolean if a field has been set. -func (m *MuteMonitorScope) HasEnd() bool { - if m != nil && m.End != nil { +// HasUnit returns a boolean if a field has been set. +func (m *Metric) HasUnit() bool { + if m != nil && m.Unit != nil { return true } return false } -// SetEnd allocates a new m.End and returns the pointer to it. -func (m *MuteMonitorScope) SetEnd(v int) { - m.End = &v +// SetUnit allocates a new m.Unit and returns the pointer to it. +func (m *Metric) SetUnit(v string) { + m.Unit = &v } -// GetScope returns the Scope field if non-nil, zero value otherwise. -func (m *MuteMonitorScope) GetScope() string { - if m == nil || m.Scope == nil { +// GetDescription returns the Description field if non-nil, zero value otherwise. +func (m *MetricMetadata) GetDescription() string { + if m == nil || m.Description == nil { return "" } - return *m.Scope + return *m.Description } -// GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise +// GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (m *MuteMonitorScope) GetScopeOk() (string, bool) { - if m == nil || m.Scope == nil { +func (m *MetricMetadata) GetDescriptionOk() (string, bool) { + if m == nil || m.Description == nil { return "", false } - return *m.Scope, true + return *m.Description, true } -// HasScope returns a boolean if a field has been set. -func (m *MuteMonitorScope) HasScope() bool { - if m != nil && m.Scope != nil { +// HasDescription returns a boolean if a field has been set. +func (m *MetricMetadata) HasDescription() bool { + if m != nil && m.Description != nil { return true } return false } -// SetScope allocates a new m.Scope and returns the pointer to it. -func (m *MuteMonitorScope) SetScope(v string) { - m.Scope = &v +// SetDescription allocates a new m.Description and returns the pointer to it. +func (m *MetricMetadata) SetDescription(v string) { + m.Description = &v } -// GetBackgroundColor returns the BackgroundColor field if non-nil, zero value otherwise. -func (n *NoteDefinition) GetBackgroundColor() string { - if n == nil || n.BackgroundColor == nil { +// GetPerUnit returns the PerUnit field if non-nil, zero value otherwise. +func (m *MetricMetadata) GetPerUnit() string { + if m == nil || m.PerUnit == nil { return "" } - return *n.BackgroundColor + return *m.PerUnit } -// GetBackgroundColorOk returns a tuple with the BackgroundColor field if it's non-nil, zero value otherwise +// GetPerUnitOk returns a tuple with the PerUnit field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (n *NoteDefinition) GetBackgroundColorOk() (string, bool) { - if n == nil || n.BackgroundColor == nil { +func (m *MetricMetadata) GetPerUnitOk() (string, bool) { + if m == nil || m.PerUnit == nil { return "", false } - return *n.BackgroundColor, true + return *m.PerUnit, true } -// HasBackgroundColor returns a boolean if a field has been set. -func (n *NoteDefinition) HasBackgroundColor() bool { - if n != nil && n.BackgroundColor != nil { +// HasPerUnit returns a boolean if a field has been set. +func (m *MetricMetadata) HasPerUnit() bool { + if m != nil && m.PerUnit != nil { return true } return false } -// SetBackgroundColor allocates a new n.BackgroundColor and returns the pointer to it. -func (n *NoteDefinition) SetBackgroundColor(v string) { - n.BackgroundColor = &v +// SetPerUnit allocates a new m.PerUnit and returns the pointer to it. +func (m *MetricMetadata) SetPerUnit(v string) { + m.PerUnit = &v } -// GetContent returns the Content field if non-nil, zero value otherwise. -func (n *NoteDefinition) GetContent() string { - if n == nil || n.Content == nil { +// GetShortName returns the ShortName field if non-nil, zero value otherwise. +func (m *MetricMetadata) GetShortName() string { + if m == nil || m.ShortName == nil { return "" } - return *n.Content + return *m.ShortName } -// GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise +// GetShortNameOk returns a tuple with the ShortName field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (n *NoteDefinition) GetContentOk() (string, bool) { - if n == nil || n.Content == nil { +func (m *MetricMetadata) GetShortNameOk() (string, bool) { + if m == nil || m.ShortName == nil { return "", false } - return *n.Content, true + return *m.ShortName, true } -// HasContent returns a boolean if a field has been set. -func (n *NoteDefinition) HasContent() bool { - if n != nil && n.Content != nil { +// HasShortName returns a boolean if a field has been set. +func (m *MetricMetadata) HasShortName() bool { + if m != nil && m.ShortName != nil { return true } return false } -// SetContent allocates a new n.Content and returns the pointer to it. -func (n *NoteDefinition) SetContent(v string) { - n.Content = &v +// SetShortName allocates a new m.ShortName and returns the pointer to it. +func (m *MetricMetadata) SetShortName(v string) { + m.ShortName = &v } -// GetFontSize returns the FontSize field if non-nil, zero value otherwise. -func (n *NoteDefinition) GetFontSize() string { - if n == nil || n.FontSize == nil { - return "" +// GetStatsdInterval returns the StatsdInterval field if non-nil, zero value otherwise. +func (m *MetricMetadata) GetStatsdInterval() int { + if m == nil || m.StatsdInterval == nil { + return 0 } - return *n.FontSize + return *m.StatsdInterval } -// GetFontSizeOk returns a tuple with the FontSize field if it's non-nil, zero value otherwise +// GetStatsdIntervalOk returns a tuple with the StatsdInterval field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (n *NoteDefinition) GetFontSizeOk() (string, bool) { - if n == nil || n.FontSize == nil { - return "", false +func (m *MetricMetadata) GetStatsdIntervalOk() (int, bool) { + if m == nil || m.StatsdInterval == nil { + return 0, false } - return *n.FontSize, true + return *m.StatsdInterval, true } -// HasFontSize returns a boolean if a field has been set. -func (n *NoteDefinition) HasFontSize() bool { - if n != nil && n.FontSize != nil { +// HasStatsdInterval returns a boolean if a field has been set. +func (m *MetricMetadata) HasStatsdInterval() bool { + if m != nil && m.StatsdInterval != nil { return true } return false } -// SetFontSize allocates a new n.FontSize and returns the pointer to it. -func (n *NoteDefinition) SetFontSize(v string) { - n.FontSize = &v +// SetStatsdInterval allocates a new m.StatsdInterval and returns the pointer to it. +func (m *MetricMetadata) SetStatsdInterval(v int) { + m.StatsdInterval = &v } -// GetShowTick returns the ShowTick field if non-nil, zero value otherwise. -func (n *NoteDefinition) GetShowTick() bool { - if n == nil || n.ShowTick == nil { - return false +// GetType returns the Type field if non-nil, zero value otherwise. +func (m *MetricMetadata) GetType() string { + if m == nil || m.Type == nil { + return "" } - return *n.ShowTick + return *m.Type } -// GetShowTickOk returns a tuple with the ShowTick field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (n *NoteDefinition) GetShowTickOk() (bool, bool) { - if n == nil || n.ShowTick == nil { - return false, false +func (m *MetricMetadata) GetTypeOk() (string, bool) { + if m == nil || m.Type == nil { + return "", false } - return *n.ShowTick, true + return *m.Type, true } -// HasShowTick returns a boolean if a field has been set. -func (n *NoteDefinition) HasShowTick() bool { - if n != nil && n.ShowTick != nil { +// HasType returns a boolean if a field has been set. +func (m *MetricMetadata) HasType() bool { + if m != nil && m.Type != nil { return true } return false } -// SetShowTick allocates a new n.ShowTick and returns the pointer to it. -func (n *NoteDefinition) SetShowTick(v bool) { - n.ShowTick = &v +// SetType allocates a new m.Type and returns the pointer to it. +func (m *MetricMetadata) SetType(v string) { + m.Type = &v } -// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise. -func (n *NoteDefinition) GetTextAlign() string { - if n == nil || n.TextAlign == nil { +// GetUnit returns the Unit field if non-nil, zero value otherwise. +func (m *MetricMetadata) GetUnit() string { + if m == nil || m.Unit == nil { return "" } - return *n.TextAlign + return *m.Unit } -// GetTextAlignOk returns a tuple with the TextAlign field if it's non-nil, zero value otherwise +// GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (n *NoteDefinition) GetTextAlignOk() (string, bool) { - if n == nil || n.TextAlign == nil { +func (m *MetricMetadata) GetUnitOk() (string, bool) { + if m == nil || m.Unit == nil { return "", false } - return *n.TextAlign, true + return *m.Unit, true } -// HasTextAlign returns a boolean if a field has been set. -func (n *NoteDefinition) HasTextAlign() bool { - if n != nil && n.TextAlign != nil { +// HasUnit returns a boolean if a field has been set. +func (m *MetricMetadata) HasUnit() bool { + if m != nil && m.Unit != nil { return true } return false } -// SetTextAlign allocates a new n.TextAlign and returns the pointer to it. -func (n *NoteDefinition) SetTextAlign(v string) { - n.TextAlign = &v +// SetUnit allocates a new m.Unit and returns the pointer to it. +func (m *MetricMetadata) SetUnit(v string) { + m.Unit = &v } -// GetTickEdge returns the TickEdge field if non-nil, zero value otherwise. -func (n *NoteDefinition) GetTickEdge() string { - if n == nil || n.TickEdge == nil { - return "" +// GetCreator returns the Creator field if non-nil, zero value otherwise. +func (m *Monitor) GetCreator() Creator { + if m == nil || m.Creator == nil { + return Creator{} } - return *n.TickEdge + return *m.Creator } -// GetTickEdgeOk returns a tuple with the TickEdge field if it's non-nil, zero value otherwise +// GetCreatorOk returns a tuple with the Creator field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (n *NoteDefinition) GetTickEdgeOk() (string, bool) { - if n == nil || n.TickEdge == nil { - return "", false +func (m *Monitor) GetCreatorOk() (Creator, bool) { + if m == nil || m.Creator == nil { + return Creator{}, false } - return *n.TickEdge, true + return *m.Creator, true } -// HasTickEdge returns a boolean if a field has been set. -func (n *NoteDefinition) HasTickEdge() bool { - if n != nil && n.TickEdge != nil { +// HasCreator returns a boolean if a field has been set. +func (m *Monitor) HasCreator() bool { + if m != nil && m.Creator != nil { return true } return false } -// SetTickEdge allocates a new n.TickEdge and returns the pointer to it. -func (n *NoteDefinition) SetTickEdge(v string) { - n.TickEdge = &v +// SetCreator allocates a new m.Creator and returns the pointer to it. +func (m *Monitor) SetCreator(v Creator) { + m.Creator = &v } -// GetTickPos returns the TickPos field if non-nil, zero value otherwise. -func (n *NoteDefinition) GetTickPos() string { - if n == nil || n.TickPos == nil { - return "" +// GetId returns the Id field if non-nil, zero value otherwise. +func (m *Monitor) GetId() int { + if m == nil || m.Id == nil { + return 0 } - return *n.TickPos + return *m.Id } -// GetTickPosOk returns a tuple with the TickPos field if it's non-nil, zero value otherwise +// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (n *NoteDefinition) GetTickPosOk() (string, bool) { - if n == nil || n.TickPos == nil { - return "", false +func (m *Monitor) GetIdOk() (int, bool) { + if m == nil || m.Id == nil { + return 0, false } - return *n.TickPos, true + return *m.Id, true } -// HasTickPos returns a boolean if a field has been set. -func (n *NoteDefinition) HasTickPos() bool { - if n != nil && n.TickPos != nil { +// HasId returns a boolean if a field has been set. +func (m *Monitor) HasId() bool { + if m != nil && m.Id != nil { return true } return false } -// SetTickPos allocates a new n.TickPos and returns the pointer to it. -func (n *NoteDefinition) SetTickPos(v string) { - n.TickPos = &v +// SetId allocates a new m.Id and returns the pointer to it. +func (m *Monitor) SetId(v int) { + m.Id = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (n *NoteDefinition) GetType() string { - if n == nil || n.Type == nil { +// GetMessage returns the Message field if non-nil, zero value otherwise. +func (m *Monitor) GetMessage() string { + if m == nil || m.Message == nil { return "" } - return *n.Type + return *m.Message } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (n *NoteDefinition) GetTypeOk() (string, bool) { - if n == nil || n.Type == nil { +func (m *Monitor) GetMessageOk() (string, bool) { + if m == nil || m.Message == nil { return "", false } - return *n.Type, true + return *m.Message, true } -// HasType returns a boolean if a field has been set. -func (n *NoteDefinition) HasType() bool { - if n != nil && n.Type != nil { +// HasMessage returns a boolean if a field has been set. +func (m *Monitor) HasMessage() bool { + if m != nil && m.Message != nil { return true } return false } -// SetType allocates a new n.Type and returns the pointer to it. -func (n *NoteDefinition) SetType(v string) { - n.Type = &v +// SetMessage allocates a new m.Message and returns the pointer to it. +func (m *Monitor) SetMessage(v string) { + m.Message = &v } -// GetEnableLogsSample returns the EnableLogsSample field if non-nil, zero value otherwise. -func (o *Options) GetEnableLogsSample() bool { - if o == nil || o.EnableLogsSample == nil { - return false +// GetName returns the Name field if non-nil, zero value otherwise. +func (m *Monitor) GetName() string { + if m == nil || m.Name == nil { + return "" } - return *o.EnableLogsSample + return *m.Name } -// GetEnableLogsSampleOk returns a tuple with the EnableLogsSample field if it's non-nil, zero value otherwise +// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetEnableLogsSampleOk() (bool, bool) { - if o == nil || o.EnableLogsSample == nil { - return false, false +func (m *Monitor) GetNameOk() (string, bool) { + if m == nil || m.Name == nil { + return "", false } - return *o.EnableLogsSample, true + return *m.Name, true } -// HasEnableLogsSample returns a boolean if a field has been set. -func (o *Options) HasEnableLogsSample() bool { - if o != nil && o.EnableLogsSample != nil { +// HasName returns a boolean if a field has been set. +func (m *Monitor) HasName() bool { + if m != nil && m.Name != nil { return true } return false } -// SetEnableLogsSample allocates a new o.EnableLogsSample and returns the pointer to it. -func (o *Options) SetEnableLogsSample(v bool) { - o.EnableLogsSample = &v +// SetName allocates a new m.Name and returns the pointer to it. +func (m *Monitor) SetName(v string) { + m.Name = &v } -// GetEscalationMessage returns the EscalationMessage field if non-nil, zero value otherwise. -func (o *Options) GetEscalationMessage() string { - if o == nil || o.EscalationMessage == nil { - return "" +// GetOptions returns the Options field if non-nil, zero value otherwise. +func (m *Monitor) GetOptions() Options { + if m == nil || m.Options == nil { + return Options{} } - return *o.EscalationMessage + return *m.Options } -// GetEscalationMessageOk returns a tuple with the EscalationMessage field if it's non-nil, zero value otherwise +// GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetEscalationMessageOk() (string, bool) { - if o == nil || o.EscalationMessage == nil { - return "", false +func (m *Monitor) GetOptionsOk() (Options, bool) { + if m == nil || m.Options == nil { + return Options{}, false } - return *o.EscalationMessage, true + return *m.Options, true } -// HasEscalationMessage returns a boolean if a field has been set. -func (o *Options) HasEscalationMessage() bool { - if o != nil && o.EscalationMessage != nil { +// HasOptions returns a boolean if a field has been set. +func (m *Monitor) HasOptions() bool { + if m != nil && m.Options != nil { return true } return false } -// SetEscalationMessage allocates a new o.EscalationMessage and returns the pointer to it. -func (o *Options) SetEscalationMessage(v string) { - o.EscalationMessage = &v +// SetOptions allocates a new m.Options and returns the pointer to it. +func (m *Monitor) SetOptions(v Options) { + m.Options = &v } -// GetEvaluationDelay returns the EvaluationDelay field if non-nil, zero value otherwise. -func (o *Options) GetEvaluationDelay() int { - if o == nil || o.EvaluationDelay == nil { - return 0 +// GetOverallState returns the OverallState field if non-nil, zero value otherwise. +func (m *Monitor) GetOverallState() string { + if m == nil || m.OverallState == nil { + return "" } - return *o.EvaluationDelay + return *m.OverallState } -// GetEvaluationDelayOk returns a tuple with the EvaluationDelay field if it's non-nil, zero value otherwise +// GetOverallStateOk returns a tuple with the OverallState field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetEvaluationDelayOk() (int, bool) { - if o == nil || o.EvaluationDelay == nil { - return 0, false +func (m *Monitor) GetOverallStateOk() (string, bool) { + if m == nil || m.OverallState == nil { + return "", false } - return *o.EvaluationDelay, true + return *m.OverallState, true } -// HasEvaluationDelay returns a boolean if a field has been set. -func (o *Options) HasEvaluationDelay() bool { - if o != nil && o.EvaluationDelay != nil { +// HasOverallState returns a boolean if a field has been set. +func (m *Monitor) HasOverallState() bool { + if m != nil && m.OverallState != nil { return true } return false } -// SetEvaluationDelay allocates a new o.EvaluationDelay and returns the pointer to it. -func (o *Options) SetEvaluationDelay(v int) { - o.EvaluationDelay = &v +// SetOverallState allocates a new m.OverallState and returns the pointer to it. +func (m *Monitor) SetOverallState(v string) { + m.OverallState = &v } -// GetIncludeTags returns the IncludeTags field if non-nil, zero value otherwise. -func (o *Options) GetIncludeTags() bool { - if o == nil || o.IncludeTags == nil { - return false +// GetOverallStateModified returns the OverallStateModified field if non-nil, zero value otherwise. +func (m *Monitor) GetOverallStateModified() string { + if m == nil || m.OverallStateModified == nil { + return "" } - return *o.IncludeTags + return *m.OverallStateModified } -// GetIncludeTagsOk returns a tuple with the IncludeTags field if it's non-nil, zero value otherwise +// GetOverallStateModifiedOk returns a tuple with the OverallStateModified field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetIncludeTagsOk() (bool, bool) { - if o == nil || o.IncludeTags == nil { - return false, false +func (m *Monitor) GetOverallStateModifiedOk() (string, bool) { + if m == nil || m.OverallStateModified == nil { + return "", false } - return *o.IncludeTags, true + return *m.OverallStateModified, true } -// HasIncludeTags returns a boolean if a field has been set. -func (o *Options) HasIncludeTags() bool { - if o != nil && o.IncludeTags != nil { +// HasOverallStateModified returns a boolean if a field has been set. +func (m *Monitor) HasOverallStateModified() bool { + if m != nil && m.OverallStateModified != nil { return true } return false } -// SetIncludeTags allocates a new o.IncludeTags and returns the pointer to it. -func (o *Options) SetIncludeTags(v bool) { - o.IncludeTags = &v +// SetOverallStateModified allocates a new m.OverallStateModified and returns the pointer to it. +func (m *Monitor) SetOverallStateModified(v string) { + m.OverallStateModified = &v } -// GetLocked returns the Locked field if non-nil, zero value otherwise. -func (o *Options) GetLocked() bool { - if o == nil || o.Locked == nil { - return false +// GetQuery returns the Query field if non-nil, zero value otherwise. +func (m *Monitor) GetQuery() string { + if m == nil || m.Query == nil { + return "" } - return *o.Locked + return *m.Query } -// GetLockedOk returns a tuple with the Locked field if it's non-nil, zero value otherwise +// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetLockedOk() (bool, bool) { - if o == nil || o.Locked == nil { - return false, false +func (m *Monitor) GetQueryOk() (string, bool) { + if m == nil || m.Query == nil { + return "", false } - return *o.Locked, true + return *m.Query, true } -// HasLocked returns a boolean if a field has been set. -func (o *Options) HasLocked() bool { - if o != nil && o.Locked != nil { +// HasQuery returns a boolean if a field has been set. +func (m *Monitor) HasQuery() bool { + if m != nil && m.Query != nil { return true } return false } -// SetLocked allocates a new o.Locked and returns the pointer to it. -func (o *Options) SetLocked(v bool) { - o.Locked = &v +// SetQuery allocates a new m.Query and returns the pointer to it. +func (m *Monitor) SetQuery(v string) { + m.Query = &v } -// GetNewHostDelay returns the NewHostDelay field if non-nil, zero value otherwise. -func (o *Options) GetNewHostDelay() int { - if o == nil || o.NewHostDelay == nil { - return 0 +// GetType returns the Type field if non-nil, zero value otherwise. +func (m *Monitor) GetType() string { + if m == nil || m.Type == nil { + return "" } - return *o.NewHostDelay + return *m.Type } -// GetNewHostDelayOk returns a tuple with the NewHostDelay field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetNewHostDelayOk() (int, bool) { - if o == nil || o.NewHostDelay == nil { - return 0, false +func (m *Monitor) GetTypeOk() (string, bool) { + if m == nil || m.Type == nil { + return "", false } - return *o.NewHostDelay, true + return *m.Type, true } -// HasNewHostDelay returns a boolean if a field has been set. -func (o *Options) HasNewHostDelay() bool { - if o != nil && o.NewHostDelay != nil { +// HasType returns a boolean if a field has been set. +func (m *Monitor) HasType() bool { + if m != nil && m.Type != nil { return true } return false } -// SetNewHostDelay allocates a new o.NewHostDelay and returns the pointer to it. -func (o *Options) SetNewHostDelay(v int) { - o.NewHostDelay = &v +// SetType allocates a new m.Type and returns the pointer to it. +func (m *Monitor) SetType(v string) { + m.Type = &v } -// GetNotifyAudit returns the NotifyAudit field if non-nil, zero value otherwise. -func (o *Options) GetNotifyAudit() bool { - if o == nil || o.NotifyAudit == nil { - return false +// GetEnd returns the End field if non-nil, zero value otherwise. +func (m *MuteMonitorScope) GetEnd() int { + if m == nil || m.End == nil { + return 0 } - return *o.NotifyAudit + return *m.End } -// GetNotifyAuditOk returns a tuple with the NotifyAudit field if it's non-nil, zero value otherwise +// GetEndOk returns a tuple with the End field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetNotifyAuditOk() (bool, bool) { - if o == nil || o.NotifyAudit == nil { - return false, false +func (m *MuteMonitorScope) GetEndOk() (int, bool) { + if m == nil || m.End == nil { + return 0, false } - return *o.NotifyAudit, true + return *m.End, true } -// HasNotifyAudit returns a boolean if a field has been set. -func (o *Options) HasNotifyAudit() bool { - if o != nil && o.NotifyAudit != nil { +// HasEnd returns a boolean if a field has been set. +func (m *MuteMonitorScope) HasEnd() bool { + if m != nil && m.End != nil { return true } return false } -// SetNotifyAudit allocates a new o.NotifyAudit and returns the pointer to it. -func (o *Options) SetNotifyAudit(v bool) { - o.NotifyAudit = &v +// SetEnd allocates a new m.End and returns the pointer to it. +func (m *MuteMonitorScope) SetEnd(v int) { + m.End = &v } -// GetNotifyNoData returns the NotifyNoData field if non-nil, zero value otherwise. -func (o *Options) GetNotifyNoData() bool { - if o == nil || o.NotifyNoData == nil { - return false +// GetScope returns the Scope field if non-nil, zero value otherwise. +func (m *MuteMonitorScope) GetScope() string { + if m == nil || m.Scope == nil { + return "" } - return *o.NotifyNoData + return *m.Scope } -// GetNotifyNoDataOk returns a tuple with the NotifyNoData field if it's non-nil, zero value otherwise +// GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetNotifyNoDataOk() (bool, bool) { - if o == nil || o.NotifyNoData == nil { - return false, false +func (m *MuteMonitorScope) GetScopeOk() (string, bool) { + if m == nil || m.Scope == nil { + return "", false } - return *o.NotifyNoData, true + return *m.Scope, true } -// HasNotifyNoData returns a boolean if a field has been set. -func (o *Options) HasNotifyNoData() bool { - if o != nil && o.NotifyNoData != nil { +// HasScope returns a boolean if a field has been set. +func (m *MuteMonitorScope) HasScope() bool { + if m != nil && m.Scope != nil { return true } return false } -// SetNotifyNoData allocates a new o.NotifyNoData and returns the pointer to it. -func (o *Options) SetNotifyNoData(v bool) { - o.NotifyNoData = &v +// SetScope allocates a new m.Scope and returns the pointer to it. +func (m *MuteMonitorScope) SetScope(v string) { + m.Scope = &v } -// GetQueryConfig returns the QueryConfig field if non-nil, zero value otherwise. -func (o *Options) GetQueryConfig() QueryConfig { - if o == nil || o.QueryConfig == nil { - return QueryConfig{} +// GetBackgroundColor returns the BackgroundColor field if non-nil, zero value otherwise. +func (n *NoteDefinition) GetBackgroundColor() string { + if n == nil || n.BackgroundColor == nil { + return "" } - return *o.QueryConfig + return *n.BackgroundColor } -// GetQueryConfigOk returns a tuple with the QueryConfig field if it's non-nil, zero value otherwise +// GetBackgroundColorOk returns a tuple with the BackgroundColor field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetQueryConfigOk() (QueryConfig, bool) { - if o == nil || o.QueryConfig == nil { - return QueryConfig{}, false +func (n *NoteDefinition) GetBackgroundColorOk() (string, bool) { + if n == nil || n.BackgroundColor == nil { + return "", false } - return *o.QueryConfig, true + return *n.BackgroundColor, true } -// HasQueryConfig returns a boolean if a field has been set. -func (o *Options) HasQueryConfig() bool { - if o != nil && o.QueryConfig != nil { +// HasBackgroundColor returns a boolean if a field has been set. +func (n *NoteDefinition) HasBackgroundColor() bool { + if n != nil && n.BackgroundColor != nil { return true } return false } -// SetQueryConfig allocates a new o.QueryConfig and returns the pointer to it. -func (o *Options) SetQueryConfig(v QueryConfig) { - o.QueryConfig = &v +// SetBackgroundColor allocates a new n.BackgroundColor and returns the pointer to it. +func (n *NoteDefinition) SetBackgroundColor(v string) { + n.BackgroundColor = &v } -// GetRenotifyInterval returns the RenotifyInterval field if non-nil, zero value otherwise. -func (o *Options) GetRenotifyInterval() int { - if o == nil || o.RenotifyInterval == nil { - return 0 +// GetContent returns the Content field if non-nil, zero value otherwise. +func (n *NoteDefinition) GetContent() string { + if n == nil || n.Content == nil { + return "" } - return *o.RenotifyInterval + return *n.Content } -// GetRenotifyIntervalOk returns a tuple with the RenotifyInterval field if it's non-nil, zero value otherwise +// GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetRenotifyIntervalOk() (int, bool) { - if o == nil || o.RenotifyInterval == nil { - return 0, false +func (n *NoteDefinition) GetContentOk() (string, bool) { + if n == nil || n.Content == nil { + return "", false } - return *o.RenotifyInterval, true + return *n.Content, true } -// HasRenotifyInterval returns a boolean if a field has been set. -func (o *Options) HasRenotifyInterval() bool { - if o != nil && o.RenotifyInterval != nil { +// HasContent returns a boolean if a field has been set. +func (n *NoteDefinition) HasContent() bool { + if n != nil && n.Content != nil { return true } return false } -// SetRenotifyInterval allocates a new o.RenotifyInterval and returns the pointer to it. -func (o *Options) SetRenotifyInterval(v int) { - o.RenotifyInterval = &v +// SetContent allocates a new n.Content and returns the pointer to it. +func (n *NoteDefinition) SetContent(v string) { + n.Content = &v } -// GetRequireFullWindow returns the RequireFullWindow field if non-nil, zero value otherwise. -func (o *Options) GetRequireFullWindow() bool { - if o == nil || o.RequireFullWindow == nil { +// GetFontSize returns the FontSize field if non-nil, zero value otherwise. +func (n *NoteDefinition) GetFontSize() string { + if n == nil || n.FontSize == nil { + return "" + } + return *n.FontSize +} + +// GetFontSizeOk returns a tuple with the FontSize field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (n *NoteDefinition) GetFontSizeOk() (string, bool) { + if n == nil || n.FontSize == nil { + return "", false + } + return *n.FontSize, true +} + +// HasFontSize returns a boolean if a field has been set. +func (n *NoteDefinition) HasFontSize() bool { + if n != nil && n.FontSize != nil { + return true + } + + return false +} + +// SetFontSize allocates a new n.FontSize and returns the pointer to it. +func (n *NoteDefinition) SetFontSize(v string) { + n.FontSize = &v +} + +// GetShowTick returns the ShowTick field if non-nil, zero value otherwise. +func (n *NoteDefinition) GetShowTick() bool { + if n == nil || n.ShowTick == nil { return false } - return *o.RequireFullWindow + return *n.ShowTick } -// GetRequireFullWindowOk returns a tuple with the RequireFullWindow field if it's non-nil, zero value otherwise +// GetShowTickOk returns a tuple with the ShowTick field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetRequireFullWindowOk() (bool, bool) { - if o == nil || o.RequireFullWindow == nil { +func (n *NoteDefinition) GetShowTickOk() (bool, bool) { + if n == nil || n.ShowTick == nil { return false, false } - return *o.RequireFullWindow, true + return *n.ShowTick, true } -// HasRequireFullWindow returns a boolean if a field has been set. -func (o *Options) HasRequireFullWindow() bool { - if o != nil && o.RequireFullWindow != nil { +// HasShowTick returns a boolean if a field has been set. +func (n *NoteDefinition) HasShowTick() bool { + if n != nil && n.ShowTick != nil { return true } return false } -// SetRequireFullWindow allocates a new o.RequireFullWindow and returns the pointer to it. -func (o *Options) SetRequireFullWindow(v bool) { - o.RequireFullWindow = &v +// SetShowTick allocates a new n.ShowTick and returns the pointer to it. +func (n *NoteDefinition) SetShowTick(v bool) { + n.ShowTick = &v } -// GetThresholds returns the Thresholds field if non-nil, zero value otherwise. -func (o *Options) GetThresholds() ThresholdCount { - if o == nil || o.Thresholds == nil { - return ThresholdCount{} +// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise. +func (n *NoteDefinition) GetTextAlign() string { + if n == nil || n.TextAlign == nil { + return "" } - return *o.Thresholds + return *n.TextAlign } -// GetThresholdsOk returns a tuple with the Thresholds field if it's non-nil, zero value otherwise +// GetTextAlignOk returns a tuple with the TextAlign field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetThresholdsOk() (ThresholdCount, bool) { - if o == nil || o.Thresholds == nil { - return ThresholdCount{}, false +func (n *NoteDefinition) GetTextAlignOk() (string, bool) { + if n == nil || n.TextAlign == nil { + return "", false } - return *o.Thresholds, true + return *n.TextAlign, true } -// HasThresholds returns a boolean if a field has been set. -func (o *Options) HasThresholds() bool { - if o != nil && o.Thresholds != nil { +// HasTextAlign returns a boolean if a field has been set. +func (n *NoteDefinition) HasTextAlign() bool { + if n != nil && n.TextAlign != nil { return true } return false } -// SetThresholds allocates a new o.Thresholds and returns the pointer to it. -func (o *Options) SetThresholds(v ThresholdCount) { - o.Thresholds = &v +// SetTextAlign allocates a new n.TextAlign and returns the pointer to it. +func (n *NoteDefinition) SetTextAlign(v string) { + n.TextAlign = &v } -// GetThresholdWindows returns the ThresholdWindows field if non-nil, zero value otherwise. -func (o *Options) GetThresholdWindows() ThresholdWindows { - if o == nil || o.ThresholdWindows == nil { - return ThresholdWindows{} +// GetTickEdge returns the TickEdge field if non-nil, zero value otherwise. +func (n *NoteDefinition) GetTickEdge() string { + if n == nil || n.TickEdge == nil { + return "" + } + return *n.TickEdge +} + +// GetTickEdgeOk returns a tuple with the TickEdge field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (n *NoteDefinition) GetTickEdgeOk() (string, bool) { + if n == nil || n.TickEdge == nil { + return "", false + } + return *n.TickEdge, true +} + +// HasTickEdge returns a boolean if a field has been set. +func (n *NoteDefinition) HasTickEdge() bool { + if n != nil && n.TickEdge != nil { + return true + } + + return false +} + +// SetTickEdge allocates a new n.TickEdge and returns the pointer to it. +func (n *NoteDefinition) SetTickEdge(v string) { + n.TickEdge = &v +} + +// GetTickPos returns the TickPos field if non-nil, zero value otherwise. +func (n *NoteDefinition) GetTickPos() string { + if n == nil || n.TickPos == nil { + return "" + } + return *n.TickPos +} + +// GetTickPosOk returns a tuple with the TickPos field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (n *NoteDefinition) GetTickPosOk() (string, bool) { + if n == nil || n.TickPos == nil { + return "", false + } + return *n.TickPos, true +} + +// HasTickPos returns a boolean if a field has been set. +func (n *NoteDefinition) HasTickPos() bool { + if n != nil && n.TickPos != nil { + return true + } + + return false +} + +// SetTickPos allocates a new n.TickPos and returns the pointer to it. +func (n *NoteDefinition) SetTickPos(v string) { + n.TickPos = &v +} + +// GetType returns the Type field if non-nil, zero value otherwise. +func (n *NoteDefinition) GetType() string { + if n == nil || n.Type == nil { + return "" + } + return *n.Type +} + +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (n *NoteDefinition) GetTypeOk() (string, bool) { + if n == nil || n.Type == nil { + return "", false + } + return *n.Type, true +} + +// HasType returns a boolean if a field has been set. +func (n *NoteDefinition) HasType() bool { + if n != nil && n.Type != nil { + return true + } + + return false +} + +// SetType allocates a new n.Type and returns the pointer to it. +func (n *NoteDefinition) SetType(v string) { + n.Type = &v +} + +// GetEnableLogsSample returns the EnableLogsSample field if non-nil, zero value otherwise. +func (o *Options) GetEnableLogsSample() bool { + if o == nil || o.EnableLogsSample == nil { + return false + } + return *o.EnableLogsSample +} + +// GetEnableLogsSampleOk returns a tuple with the EnableLogsSample field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetEnableLogsSampleOk() (bool, bool) { + if o == nil || o.EnableLogsSample == nil { + return false, false + } + return *o.EnableLogsSample, true +} + +// HasEnableLogsSample returns a boolean if a field has been set. +func (o *Options) HasEnableLogsSample() bool { + if o != nil && o.EnableLogsSample != nil { + return true + } + + return false +} + +// SetEnableLogsSample allocates a new o.EnableLogsSample and returns the pointer to it. +func (o *Options) SetEnableLogsSample(v bool) { + o.EnableLogsSample = &v +} + +// GetEscalationMessage returns the EscalationMessage field if non-nil, zero value otherwise. +func (o *Options) GetEscalationMessage() string { + if o == nil || o.EscalationMessage == nil { + return "" + } + return *o.EscalationMessage +} + +// GetEscalationMessageOk returns a tuple with the EscalationMessage field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetEscalationMessageOk() (string, bool) { + if o == nil || o.EscalationMessage == nil { + return "", false + } + return *o.EscalationMessage, true +} + +// HasEscalationMessage returns a boolean if a field has been set. +func (o *Options) HasEscalationMessage() bool { + if o != nil && o.EscalationMessage != nil { + return true + } + + return false +} + +// SetEscalationMessage allocates a new o.EscalationMessage and returns the pointer to it. +func (o *Options) SetEscalationMessage(v string) { + o.EscalationMessage = &v +} + +// GetEvaluationDelay returns the EvaluationDelay field if non-nil, zero value otherwise. +func (o *Options) GetEvaluationDelay() int { + if o == nil || o.EvaluationDelay == nil { + return 0 + } + return *o.EvaluationDelay +} + +// GetEvaluationDelayOk returns a tuple with the EvaluationDelay field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetEvaluationDelayOk() (int, bool) { + if o == nil || o.EvaluationDelay == nil { + return 0, false + } + return *o.EvaluationDelay, true +} + +// HasEvaluationDelay returns a boolean if a field has been set. +func (o *Options) HasEvaluationDelay() bool { + if o != nil && o.EvaluationDelay != nil { + return true + } + + return false +} + +// SetEvaluationDelay allocates a new o.EvaluationDelay and returns the pointer to it. +func (o *Options) SetEvaluationDelay(v int) { + o.EvaluationDelay = &v +} + +// GetIncludeTags returns the IncludeTags field if non-nil, zero value otherwise. +func (o *Options) GetIncludeTags() bool { + if o == nil || o.IncludeTags == nil { + return false + } + return *o.IncludeTags +} + +// GetIncludeTagsOk returns a tuple with the IncludeTags field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetIncludeTagsOk() (bool, bool) { + if o == nil || o.IncludeTags == nil { + return false, false + } + return *o.IncludeTags, true +} + +// HasIncludeTags returns a boolean if a field has been set. +func (o *Options) HasIncludeTags() bool { + if o != nil && o.IncludeTags != nil { + return true + } + + return false +} + +// SetIncludeTags allocates a new o.IncludeTags and returns the pointer to it. +func (o *Options) SetIncludeTags(v bool) { + o.IncludeTags = &v +} + +// GetLocked returns the Locked field if non-nil, zero value otherwise. +func (o *Options) GetLocked() bool { + if o == nil || o.Locked == nil { + return false + } + return *o.Locked +} + +// GetLockedOk returns a tuple with the Locked field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetLockedOk() (bool, bool) { + if o == nil || o.Locked == nil { + return false, false + } + return *o.Locked, true +} + +// HasLocked returns a boolean if a field has been set. +func (o *Options) HasLocked() bool { + if o != nil && o.Locked != nil { + return true + } + + return false +} + +// SetLocked allocates a new o.Locked and returns the pointer to it. +func (o *Options) SetLocked(v bool) { + o.Locked = &v +} + +// GetNewHostDelay returns the NewHostDelay field if non-nil, zero value otherwise. +func (o *Options) GetNewHostDelay() int { + if o == nil || o.NewHostDelay == nil { + return 0 + } + return *o.NewHostDelay +} + +// GetNewHostDelayOk returns a tuple with the NewHostDelay field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetNewHostDelayOk() (int, bool) { + if o == nil || o.NewHostDelay == nil { + return 0, false + } + return *o.NewHostDelay, true +} + +// HasNewHostDelay returns a boolean if a field has been set. +func (o *Options) HasNewHostDelay() bool { + if o != nil && o.NewHostDelay != nil { + return true + } + + return false +} + +// SetNewHostDelay allocates a new o.NewHostDelay and returns the pointer to it. +func (o *Options) SetNewHostDelay(v int) { + o.NewHostDelay = &v +} + +// GetNotifyAudit returns the NotifyAudit field if non-nil, zero value otherwise. +func (o *Options) GetNotifyAudit() bool { + if o == nil || o.NotifyAudit == nil { + return false + } + return *o.NotifyAudit +} + +// GetNotifyAuditOk returns a tuple with the NotifyAudit field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetNotifyAuditOk() (bool, bool) { + if o == nil || o.NotifyAudit == nil { + return false, false + } + return *o.NotifyAudit, true +} + +// HasNotifyAudit returns a boolean if a field has been set. +func (o *Options) HasNotifyAudit() bool { + if o != nil && o.NotifyAudit != nil { + return true + } + + return false +} + +// SetNotifyAudit allocates a new o.NotifyAudit and returns the pointer to it. +func (o *Options) SetNotifyAudit(v bool) { + o.NotifyAudit = &v +} + +// GetNotifyNoData returns the NotifyNoData field if non-nil, zero value otherwise. +func (o *Options) GetNotifyNoData() bool { + if o == nil || o.NotifyNoData == nil { + return false + } + return *o.NotifyNoData +} + +// GetNotifyNoDataOk returns a tuple with the NotifyNoData field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetNotifyNoDataOk() (bool, bool) { + if o == nil || o.NotifyNoData == nil { + return false, false + } + return *o.NotifyNoData, true +} + +// HasNotifyNoData returns a boolean if a field has been set. +func (o *Options) HasNotifyNoData() bool { + if o != nil && o.NotifyNoData != nil { + return true + } + + return false +} + +// SetNotifyNoData allocates a new o.NotifyNoData and returns the pointer to it. +func (o *Options) SetNotifyNoData(v bool) { + o.NotifyNoData = &v +} + +// GetQueryConfig returns the QueryConfig field if non-nil, zero value otherwise. +func (o *Options) GetQueryConfig() QueryConfig { + if o == nil || o.QueryConfig == nil { + return QueryConfig{} + } + return *o.QueryConfig +} + +// GetQueryConfigOk returns a tuple with the QueryConfig field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetQueryConfigOk() (QueryConfig, bool) { + if o == nil || o.QueryConfig == nil { + return QueryConfig{}, false + } + return *o.QueryConfig, true +} + +// HasQueryConfig returns a boolean if a field has been set. +func (o *Options) HasQueryConfig() bool { + if o != nil && o.QueryConfig != nil { + return true + } + + return false +} + +// SetQueryConfig allocates a new o.QueryConfig and returns the pointer to it. +func (o *Options) SetQueryConfig(v QueryConfig) { + o.QueryConfig = &v +} + +// GetRenotifyInterval returns the RenotifyInterval field if non-nil, zero value otherwise. +func (o *Options) GetRenotifyInterval() int { + if o == nil || o.RenotifyInterval == nil { + return 0 + } + return *o.RenotifyInterval +} + +// GetRenotifyIntervalOk returns a tuple with the RenotifyInterval field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetRenotifyIntervalOk() (int, bool) { + if o == nil || o.RenotifyInterval == nil { + return 0, false + } + return *o.RenotifyInterval, true +} + +// HasRenotifyInterval returns a boolean if a field has been set. +func (o *Options) HasRenotifyInterval() bool { + if o != nil && o.RenotifyInterval != nil { + return true + } + + return false +} + +// SetRenotifyInterval allocates a new o.RenotifyInterval and returns the pointer to it. +func (o *Options) SetRenotifyInterval(v int) { + o.RenotifyInterval = &v +} + +// GetRequireFullWindow returns the RequireFullWindow field if non-nil, zero value otherwise. +func (o *Options) GetRequireFullWindow() bool { + if o == nil || o.RequireFullWindow == nil { + return false + } + return *o.RequireFullWindow +} + +// GetRequireFullWindowOk returns a tuple with the RequireFullWindow field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetRequireFullWindowOk() (bool, bool) { + if o == nil || o.RequireFullWindow == nil { + return false, false + } + return *o.RequireFullWindow, true +} + +// HasRequireFullWindow returns a boolean if a field has been set. +func (o *Options) HasRequireFullWindow() bool { + if o != nil && o.RequireFullWindow != nil { + return true + } + + return false +} + +// SetRequireFullWindow allocates a new o.RequireFullWindow and returns the pointer to it. +func (o *Options) SetRequireFullWindow(v bool) { + o.RequireFullWindow = &v +} + +// GetThresholds returns the Thresholds field if non-nil, zero value otherwise. +func (o *Options) GetThresholds() ThresholdCount { + if o == nil || o.Thresholds == nil { + return ThresholdCount{} + } + return *o.Thresholds +} + +// GetThresholdsOk returns a tuple with the Thresholds field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetThresholdsOk() (ThresholdCount, bool) { + if o == nil || o.Thresholds == nil { + return ThresholdCount{}, false + } + return *o.Thresholds, true +} + +// HasThresholds returns a boolean if a field has been set. +func (o *Options) HasThresholds() bool { + if o != nil && o.Thresholds != nil { + return true + } + + return false +} + +// SetThresholds allocates a new o.Thresholds and returns the pointer to it. +func (o *Options) SetThresholds(v ThresholdCount) { + o.Thresholds = &v +} + +// GetThresholdWindows returns the ThresholdWindows field if non-nil, zero value otherwise. +func (o *Options) GetThresholdWindows() ThresholdWindows { + if o == nil || o.ThresholdWindows == nil { + return ThresholdWindows{} + } + return *o.ThresholdWindows +} + +// GetThresholdWindowsOk returns a tuple with the ThresholdWindows field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetThresholdWindowsOk() (ThresholdWindows, bool) { + if o == nil || o.ThresholdWindows == nil { + return ThresholdWindows{}, false + } + return *o.ThresholdWindows, true +} + +// HasThresholdWindows returns a boolean if a field has been set. +func (o *Options) HasThresholdWindows() bool { + if o != nil && o.ThresholdWindows != nil { + return true + } + + return false +} + +// SetThresholdWindows allocates a new o.ThresholdWindows and returns the pointer to it. +func (o *Options) SetThresholdWindows(v ThresholdWindows) { + o.ThresholdWindows = &v +} + +// GetTimeoutH returns the TimeoutH field if non-nil, zero value otherwise. +func (o *Options) GetTimeoutH() int { + if o == nil || o.TimeoutH == nil { + return 0 + } + return *o.TimeoutH +} + +// GetTimeoutHOk returns a tuple with the TimeoutH field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (o *Options) GetTimeoutHOk() (int, bool) { + if o == nil || o.TimeoutH == nil { + return 0, false + } + return *o.TimeoutH, true +} + +// HasTimeoutH returns a boolean if a field has been set. +func (o *Options) HasTimeoutH() bool { + if o != nil && o.TimeoutH != nil { + return true + } + + return false +} + +// SetTimeoutH allocates a new o.TimeoutH and returns the pointer to it. +func (o *Options) SetTimeoutH(v int) { + o.TimeoutH = &v +} + +// GetCount returns the Count field if non-nil, zero value otherwise. +func (p *Params) GetCount() string { + if p == nil || p.Count == nil { + return "" + } + return *p.Count +} + +// GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (p *Params) GetCountOk() (string, bool) { + if p == nil || p.Count == nil { + return "", false + } + return *p.Count, true +} + +// HasCount returns a boolean if a field has been set. +func (p *Params) HasCount() bool { + if p != nil && p.Count != nil { + return true + } + + return false +} + +// SetCount allocates a new p.Count and returns the pointer to it. +func (p *Params) SetCount(v string) { + p.Count = &v +} + +// GetSort returns the Sort field if non-nil, zero value otherwise. +func (p *Params) GetSort() string { + if p == nil || p.Sort == nil { + return "" + } + return *p.Sort +} + +// GetSortOk returns a tuple with the Sort field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (p *Params) GetSortOk() (string, bool) { + if p == nil || p.Sort == nil { + return "", false + } + return *p.Sort, true +} + +// HasSort returns a boolean if a field has been set. +func (p *Params) HasSort() bool { + if p != nil && p.Sort != nil { + return true + } + + return false +} + +// SetSort allocates a new p.Sort and returns the pointer to it. +func (p *Params) SetSort(v string) { + p.Sort = &v +} + +// GetStart returns the Start field if non-nil, zero value otherwise. +func (p *Params) GetStart() string { + if p == nil || p.Start == nil { + return "" + } + return *p.Start +} + +// GetStartOk returns a tuple with the Start field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (p *Params) GetStartOk() (string, bool) { + if p == nil || p.Start == nil { + return "", false + } + return *p.Start, true +} + +// HasStart returns a boolean if a field has been set. +func (p *Params) HasStart() bool { + if p != nil && p.Start != nil { + return true + } + + return false +} + +// SetStart allocates a new p.Start and returns the pointer to it. +func (p *Params) SetStart(v string) { + p.Start = &v +} + +// GetText returns the Text field if non-nil, zero value otherwise. +func (p *Params) GetText() string { + if p == nil || p.Text == nil { + return "" + } + return *p.Text +} + +// GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (p *Params) GetTextOk() (string, bool) { + if p == nil || p.Text == nil { + return "", false + } + return *p.Text, true +} + +// HasText returns a boolean if a field has been set. +func (p *Params) HasText() bool { + if p != nil && p.Text != nil { + return true + } + + return false +} + +// SetText allocates a new p.Text and returns the pointer to it. +func (p *Params) SetText(v string) { + p.Text = &v +} + +// GetName returns the Name field if non-nil, zero value otherwise. +func (p *Period) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (p *Period) GetNameOk() (string, bool) { + if p == nil || p.Name == nil { + return "", false + } + return *p.Name, true +} + +// HasName returns a boolean if a field has been set. +func (p *Period) HasName() bool { + if p != nil && p.Name != nil { + return true + } + + return false +} + +// SetName allocates a new p.Name and returns the pointer to it. +func (p *Period) SetName(v string) { + p.Name = &v +} + +// GetSeconds returns the Seconds field if non-nil, zero value otherwise. +func (p *Period) GetSeconds() json.Number { + if p == nil || p.Seconds == nil { + return "" + } + return *p.Seconds +} + +// GetSecondsOk returns a tuple with the Seconds field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (p *Period) GetSecondsOk() (json.Number, bool) { + if p == nil || p.Seconds == nil { + return "", false + } + return *p.Seconds, true +} + +// HasSeconds returns a boolean if a field has been set. +func (p *Period) HasSeconds() bool { + if p != nil && p.Seconds != nil { + return true + } + + return false +} + +// SetSeconds allocates a new p.Seconds and returns the pointer to it. +func (p *Period) SetSeconds(v json.Number) { + p.Seconds = &v +} + +// GetText returns the Text field if non-nil, zero value otherwise. +func (p *Period) GetText() string { + if p == nil || p.Text == nil { + return "" + } + return *p.Text +} + +// GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (p *Period) GetTextOk() (string, bool) { + if p == nil || p.Text == nil { + return "", false + } + return *p.Text, true +} + +// HasText returns a boolean if a field has been set. +func (p *Period) HasText() bool { + if p != nil && p.Text != nil { + return true + } + + return false +} + +// SetText allocates a new p.Text and returns the pointer to it. +func (p *Period) SetText(v string) { + p.Text = &v +} + +// GetUnit returns the Unit field if non-nil, zero value otherwise. +func (p *Period) GetUnit() string { + if p == nil || p.Unit == nil { + return "" + } + return *p.Unit +} + +// GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (p *Period) GetUnitOk() (string, bool) { + if p == nil || p.Unit == nil { + return "", false + } + return *p.Unit, true +} + +// HasUnit returns a boolean if a field has been set. +func (p *Period) HasUnit() bool { + if p != nil && p.Unit != nil { + return true + } + + return false +} + +// SetUnit allocates a new p.Unit and returns the pointer to it. +func (p *Period) SetUnit(v string) { + p.Unit = &v +} + +// GetValue returns the Value field if non-nil, zero value otherwise. +func (p *Period) GetValue() string { + if p == nil || p.Value == nil { + return "" + } + return *p.Value +} + +// GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (p *Period) GetValueOk() (string, bool) { + if p == nil || p.Value == nil { + return "", false + } + return *p.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (p *Period) HasValue() bool { + if p != nil && p.Value != nil { + return true + } + + return false +} + +// SetValue allocates a new p.Value and returns the pointer to it. +func (p *Period) SetValue(v string) { + p.Value = &v +} + +// GetLogSet returns the LogSet field if non-nil, zero value otherwise. +func (q *QueryConfig) GetLogSet() LogSet { + if q == nil || q.LogSet == nil { + return LogSet{} + } + return *q.LogSet +} + +// GetLogSetOk returns a tuple with the LogSet field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (q *QueryConfig) GetLogSetOk() (LogSet, bool) { + if q == nil || q.LogSet == nil { + return LogSet{}, false + } + return *q.LogSet, true +} + +// HasLogSet returns a boolean if a field has been set. +func (q *QueryConfig) HasLogSet() bool { + if q != nil && q.LogSet != nil { + return true + } + + return false +} + +// SetLogSet allocates a new q.LogSet and returns the pointer to it. +func (q *QueryConfig) SetLogSet(v LogSet) { + q.LogSet = &v +} + +// GetQueryIsFailed returns the QueryIsFailed field if non-nil, zero value otherwise. +func (q *QueryConfig) GetQueryIsFailed() bool { + if q == nil || q.QueryIsFailed == nil { + return false + } + return *q.QueryIsFailed +} + +// GetQueryIsFailedOk returns a tuple with the QueryIsFailed field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (q *QueryConfig) GetQueryIsFailedOk() (bool, bool) { + if q == nil || q.QueryIsFailed == nil { + return false, false + } + return *q.QueryIsFailed, true +} + +// HasQueryIsFailed returns a boolean if a field has been set. +func (q *QueryConfig) HasQueryIsFailed() bool { + if q != nil && q.QueryIsFailed != nil { + return true + } + + return false +} + +// SetQueryIsFailed allocates a new q.QueryIsFailed and returns the pointer to it. +func (q *QueryConfig) SetQueryIsFailed(v bool) { + q.QueryIsFailed = &v +} + +// GetQueryString returns the QueryString field if non-nil, zero value otherwise. +func (q *QueryConfig) GetQueryString() string { + if q == nil || q.QueryString == nil { + return "" } - return *o.ThresholdWindows + return *q.QueryString } -// GetThresholdWindowsOk returns a tuple with the ThresholdWindows field if it's non-nil, zero value otherwise +// GetQueryStringOk returns a tuple with the QueryString field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetThresholdWindowsOk() (ThresholdWindows, bool) { - if o == nil || o.ThresholdWindows == nil { - return ThresholdWindows{}, false +func (q *QueryConfig) GetQueryStringOk() (string, bool) { + if q == nil || q.QueryString == nil { + return "", false } - return *o.ThresholdWindows, true + return *q.QueryString, true } -// HasThresholdWindows returns a boolean if a field has been set. -func (o *Options) HasThresholdWindows() bool { - if o != nil && o.ThresholdWindows != nil { +// HasQueryString returns a boolean if a field has been set. +func (q *QueryConfig) HasQueryString() bool { + if q != nil && q.QueryString != nil { return true } return false } -// SetThresholdWindows allocates a new o.ThresholdWindows and returns the pointer to it. -func (o *Options) SetThresholdWindows(v ThresholdWindows) { - o.ThresholdWindows = &v +// SetQueryString allocates a new q.QueryString and returns the pointer to it. +func (q *QueryConfig) SetQueryString(v string) { + q.QueryString = &v } -// GetTimeoutH returns the TimeoutH field if non-nil, zero value otherwise. -func (o *Options) GetTimeoutH() int { - if o == nil || o.TimeoutH == nil { - return 0 +// GetTimeRange returns the TimeRange field if non-nil, zero value otherwise. +func (q *QueryConfig) GetTimeRange() TimeRange { + if q == nil || q.TimeRange == nil { + return TimeRange{} } - return *o.TimeoutH + return *q.TimeRange } -// GetTimeoutHOk returns a tuple with the TimeoutH field if it's non-nil, zero value otherwise +// GetTimeRangeOk returns a tuple with the TimeRange field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (o *Options) GetTimeoutHOk() (int, bool) { - if o == nil || o.TimeoutH == nil { - return 0, false +func (q *QueryConfig) GetTimeRangeOk() (TimeRange, bool) { + if q == nil || q.TimeRange == nil { + return TimeRange{}, false } - return *o.TimeoutH, true + return *q.TimeRange, true } -// HasTimeoutH returns a boolean if a field has been set. -func (o *Options) HasTimeoutH() bool { - if o != nil && o.TimeoutH != nil { +// HasTimeRange returns a boolean if a field has been set. +func (q *QueryConfig) HasTimeRange() bool { + if q != nil && q.TimeRange != nil { return true } return false } -// SetTimeoutH allocates a new o.TimeoutH and returns the pointer to it. -func (o *Options) SetTimeoutH(v int) { - o.TimeoutH = &v +// SetTimeRange allocates a new q.TimeRange and returns the pointer to it. +func (q *QueryConfig) SetTimeRange(v TimeRange) { + q.TimeRange = &v } -// GetCount returns the Count field if non-nil, zero value otherwise. -func (p *Params) GetCount() string { - if p == nil || p.Count == nil { - return "" +// GetAutoscale returns the Autoscale field if non-nil, zero value otherwise. +func (q *QueryValueDefinition) GetAutoscale() bool { + if q == nil || q.Autoscale == nil { + return false } - return *p.Count + return *q.Autoscale } -// GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise +// GetAutoscaleOk returns a tuple with the Autoscale field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (p *Params) GetCountOk() (string, bool) { - if p == nil || p.Count == nil { - return "", false +func (q *QueryValueDefinition) GetAutoscaleOk() (bool, bool) { + if q == nil || q.Autoscale == nil { + return false, false } - return *p.Count, true + return *q.Autoscale, true } -// HasCount returns a boolean if a field has been set. -func (p *Params) HasCount() bool { - if p != nil && p.Count != nil { +// HasAutoscale returns a boolean if a field has been set. +func (q *QueryValueDefinition) HasAutoscale() bool { + if q != nil && q.Autoscale != nil { return true } return false } -// SetCount allocates a new p.Count and returns the pointer to it. -func (p *Params) SetCount(v string) { - p.Count = &v +// SetAutoscale allocates a new q.Autoscale and returns the pointer to it. +func (q *QueryValueDefinition) SetAutoscale(v bool) { + q.Autoscale = &v } -// GetSort returns the Sort field if non-nil, zero value otherwise. -func (p *Params) GetSort() string { - if p == nil || p.Sort == nil { +// GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise. +func (q *QueryValueDefinition) GetCustomUnit() string { + if q == nil || q.CustomUnit == nil { return "" } - return *p.Sort + return *q.CustomUnit } -// GetSortOk returns a tuple with the Sort field if it's non-nil, zero value otherwise +// GetCustomUnitOk returns a tuple with the CustomUnit field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (p *Params) GetSortOk() (string, bool) { - if p == nil || p.Sort == nil { +func (q *QueryValueDefinition) GetCustomUnitOk() (string, bool) { + if q == nil || q.CustomUnit == nil { return "", false } - return *p.Sort, true + return *q.CustomUnit, true } -// HasSort returns a boolean if a field has been set. -func (p *Params) HasSort() bool { - if p != nil && p.Sort != nil { +// HasCustomUnit returns a boolean if a field has been set. +func (q *QueryValueDefinition) HasCustomUnit() bool { + if q != nil && q.CustomUnit != nil { return true } return false } -// SetSort allocates a new p.Sort and returns the pointer to it. -func (p *Params) SetSort(v string) { - p.Sort = &v +// SetCustomUnit allocates a new q.CustomUnit and returns the pointer to it. +func (q *QueryValueDefinition) SetCustomUnit(v string) { + q.CustomUnit = &v } -// GetStart returns the Start field if non-nil, zero value otherwise. -func (p *Params) GetStart() string { - if p == nil || p.Start == nil { - return "" +// GetPrecision returns the Precision field if non-nil, zero value otherwise. +func (q *QueryValueDefinition) GetPrecision() int { + if q == nil || q.Precision == nil { + return 0 } - return *p.Start + return *q.Precision } -// GetStartOk returns a tuple with the Start field if it's non-nil, zero value otherwise +// GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (p *Params) GetStartOk() (string, bool) { - if p == nil || p.Start == nil { - return "", false +func (q *QueryValueDefinition) GetPrecisionOk() (int, bool) { + if q == nil || q.Precision == nil { + return 0, false } - return *p.Start, true + return *q.Precision, true } -// HasStart returns a boolean if a field has been set. -func (p *Params) HasStart() bool { - if p != nil && p.Start != nil { +// HasPrecision returns a boolean if a field has been set. +func (q *QueryValueDefinition) HasPrecision() bool { + if q != nil && q.Precision != nil { return true } return false } -// SetStart allocates a new p.Start and returns the pointer to it. -func (p *Params) SetStart(v string) { - p.Start = &v +// SetPrecision allocates a new q.Precision and returns the pointer to it. +func (q *QueryValueDefinition) SetPrecision(v int) { + q.Precision = &v } -// GetText returns the Text field if non-nil, zero value otherwise. -func (p *Params) GetText() string { - if p == nil || p.Text == nil { +// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise. +func (q *QueryValueDefinition) GetTextAlign() string { + if q == nil || q.TextAlign == nil { return "" } - return *p.Text + return *q.TextAlign } -// GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise +// GetTextAlignOk returns a tuple with the TextAlign field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (p *Params) GetTextOk() (string, bool) { - if p == nil || p.Text == nil { +func (q *QueryValueDefinition) GetTextAlignOk() (string, bool) { + if q == nil || q.TextAlign == nil { return "", false } - return *p.Text, true + return *q.TextAlign, true } -// HasText returns a boolean if a field has been set. -func (p *Params) HasText() bool { - if p != nil && p.Text != nil { +// HasTextAlign returns a boolean if a field has been set. +func (q *QueryValueDefinition) HasTextAlign() bool { + if q != nil && q.TextAlign != nil { return true } return false } -// SetText allocates a new p.Text and returns the pointer to it. -func (p *Params) SetText(v string) { - p.Text = &v +// SetTextAlign allocates a new q.TextAlign and returns the pointer to it. +func (q *QueryValueDefinition) SetTextAlign(v string) { + q.TextAlign = &v } -// GetName returns the Name field if non-nil, zero value otherwise. -func (p *Period) GetName() string { - if p == nil || p.Name == nil { - return "" +// GetTime returns the Time field if non-nil, zero value otherwise. +func (q *QueryValueDefinition) GetTime() WidgetTime { + if q == nil || q.Time == nil { + return WidgetTime{} } - return *p.Name + return *q.Time } -// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +// GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (p *Period) GetNameOk() (string, bool) { - if p == nil || p.Name == nil { - return "", false +func (q *QueryValueDefinition) GetTimeOk() (WidgetTime, bool) { + if q == nil || q.Time == nil { + return WidgetTime{}, false } - return *p.Name, true + return *q.Time, true } -// HasName returns a boolean if a field has been set. -func (p *Period) HasName() bool { - if p != nil && p.Name != nil { +// HasTime returns a boolean if a field has been set. +func (q *QueryValueDefinition) HasTime() bool { + if q != nil && q.Time != nil { return true } return false } -// SetName allocates a new p.Name and returns the pointer to it. -func (p *Period) SetName(v string) { - p.Name = &v +// SetTime allocates a new q.Time and returns the pointer to it. +func (q *QueryValueDefinition) SetTime(v WidgetTime) { + q.Time = &v } -// GetSeconds returns the Seconds field if non-nil, zero value otherwise. -func (p *Period) GetSeconds() json.Number { - if p == nil || p.Seconds == nil { +// GetTitle returns the Title field if non-nil, zero value otherwise. +func (q *QueryValueDefinition) GetTitle() string { + if q == nil || q.Title == nil { return "" } - return *p.Seconds + return *q.Title } -// GetSecondsOk returns a tuple with the Seconds field if it's non-nil, zero value otherwise +// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (p *Period) GetSecondsOk() (json.Number, bool) { - if p == nil || p.Seconds == nil { +func (q *QueryValueDefinition) GetTitleOk() (string, bool) { + if q == nil || q.Title == nil { return "", false } - return *p.Seconds, true + return *q.Title, true } -// HasSeconds returns a boolean if a field has been set. -func (p *Period) HasSeconds() bool { - if p != nil && p.Seconds != nil { +// HasTitle returns a boolean if a field has been set. +func (q *QueryValueDefinition) HasTitle() bool { + if q != nil && q.Title != nil { return true } return false } -// SetSeconds allocates a new p.Seconds and returns the pointer to it. -func (p *Period) SetSeconds(v json.Number) { - p.Seconds = &v +// SetTitle allocates a new q.Title and returns the pointer to it. +func (q *QueryValueDefinition) SetTitle(v string) { + q.Title = &v } -// GetText returns the Text field if non-nil, zero value otherwise. -func (p *Period) GetText() string { - if p == nil || p.Text == nil { +// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. +func (q *QueryValueDefinition) GetTitleAlign() string { + if q == nil || q.TitleAlign == nil { return "" } - return *p.Text + return *q.TitleAlign } -// GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise +// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (p *Period) GetTextOk() (string, bool) { - if p == nil || p.Text == nil { +func (q *QueryValueDefinition) GetTitleAlignOk() (string, bool) { + if q == nil || q.TitleAlign == nil { return "", false } - return *p.Text, true + return *q.TitleAlign, true } -// HasText returns a boolean if a field has been set. -func (p *Period) HasText() bool { - if p != nil && p.Text != nil { +// HasTitleAlign returns a boolean if a field has been set. +func (q *QueryValueDefinition) HasTitleAlign() bool { + if q != nil && q.TitleAlign != nil { return true } return false } -// SetText allocates a new p.Text and returns the pointer to it. -func (p *Period) SetText(v string) { - p.Text = &v +// SetTitleAlign allocates a new q.TitleAlign and returns the pointer to it. +func (q *QueryValueDefinition) SetTitleAlign(v string) { + q.TitleAlign = &v } -// GetUnit returns the Unit field if non-nil, zero value otherwise. -func (p *Period) GetUnit() string { - if p == nil || p.Unit == nil { +// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. +func (q *QueryValueDefinition) GetTitleSize() string { + if q == nil || q.TitleSize == nil { return "" } - return *p.Unit + return *q.TitleSize } -// GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise +// GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (p *Period) GetUnitOk() (string, bool) { - if p == nil || p.Unit == nil { +func (q *QueryValueDefinition) GetTitleSizeOk() (string, bool) { + if q == nil || q.TitleSize == nil { return "", false } - return *p.Unit, true + return *q.TitleSize, true } -// HasUnit returns a boolean if a field has been set. -func (p *Period) HasUnit() bool { - if p != nil && p.Unit != nil { +// HasTitleSize returns a boolean if a field has been set. +func (q *QueryValueDefinition) HasTitleSize() bool { + if q != nil && q.TitleSize != nil { return true } return false } -// SetUnit allocates a new p.Unit and returns the pointer to it. -func (p *Period) SetUnit(v string) { - p.Unit = &v +// SetTitleSize allocates a new q.TitleSize and returns the pointer to it. +func (q *QueryValueDefinition) SetTitleSize(v string) { + q.TitleSize = &v } -// GetValue returns the Value field if non-nil, zero value otherwise. -func (p *Period) GetValue() string { - if p == nil || p.Value == nil { +// GetType returns the Type field if non-nil, zero value otherwise. +func (q *QueryValueDefinition) GetType() string { + if q == nil || q.Type == nil { return "" } - return *p.Value + return *q.Type } -// GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (p *Period) GetValueOk() (string, bool) { - if p == nil || p.Value == nil { +func (q *QueryValueDefinition) GetTypeOk() (string, bool) { + if q == nil || q.Type == nil { return "", false } - return *p.Value, true + return *q.Type, true } -// HasValue returns a boolean if a field has been set. -func (p *Period) HasValue() bool { - if p != nil && p.Value != nil { +// HasType returns a boolean if a field has been set. +func (q *QueryValueDefinition) HasType() bool { + if q != nil && q.Type != nil { return true } return false } -// SetValue allocates a new p.Value and returns the pointer to it. -func (p *Period) SetValue(v string) { - p.Value = &v +// SetType allocates a new q.Type and returns the pointer to it. +func (q *QueryValueDefinition) SetType(v string) { + q.Type = &v } -// GetLogSet returns the LogSet field if non-nil, zero value otherwise. -func (q *QueryConfig) GetLogSet() LogSet { - if q == nil || q.LogSet == nil { - return LogSet{} +// GetAggregator returns the Aggregator field if non-nil, zero value otherwise. +func (q *QueryValueRequest) GetAggregator() string { + if q == nil || q.Aggregator == nil { + return "" } - return *q.LogSet + return *q.Aggregator } -// GetLogSetOk returns a tuple with the LogSet field if it's non-nil, zero value otherwise +// GetAggregatorOk returns a tuple with the Aggregator field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryConfig) GetLogSetOk() (LogSet, bool) { - if q == nil || q.LogSet == nil { - return LogSet{}, false +func (q *QueryValueRequest) GetAggregatorOk() (string, bool) { + if q == nil || q.Aggregator == nil { + return "", false } - return *q.LogSet, true + return *q.Aggregator, true } -// HasLogSet returns a boolean if a field has been set. -func (q *QueryConfig) HasLogSet() bool { - if q != nil && q.LogSet != nil { +// HasAggregator returns a boolean if a field has been set. +func (q *QueryValueRequest) HasAggregator() bool { + if q != nil && q.Aggregator != nil { return true } return false } -// SetLogSet allocates a new q.LogSet and returns the pointer to it. -func (q *QueryConfig) SetLogSet(v LogSet) { - q.LogSet = &v +// SetAggregator allocates a new q.Aggregator and returns the pointer to it. +func (q *QueryValueRequest) SetAggregator(v string) { + q.Aggregator = &v } -// GetQueryIsFailed returns the QueryIsFailed field if non-nil, zero value otherwise. -func (q *QueryConfig) GetQueryIsFailed() bool { - if q == nil || q.QueryIsFailed == nil { - return false +// GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise. +func (q *QueryValueRequest) GetApmQuery() WidgetApmOrLogQuery { + if q == nil || q.ApmQuery == nil { + return WidgetApmOrLogQuery{} } - return *q.QueryIsFailed + return *q.ApmQuery } -// GetQueryIsFailedOk returns a tuple with the QueryIsFailed field if it's non-nil, zero value otherwise +// GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryConfig) GetQueryIsFailedOk() (bool, bool) { - if q == nil || q.QueryIsFailed == nil { - return false, false +func (q *QueryValueRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool) { + if q == nil || q.ApmQuery == nil { + return WidgetApmOrLogQuery{}, false } - return *q.QueryIsFailed, true + return *q.ApmQuery, true } -// HasQueryIsFailed returns a boolean if a field has been set. -func (q *QueryConfig) HasQueryIsFailed() bool { - if q != nil && q.QueryIsFailed != nil { +// HasApmQuery returns a boolean if a field has been set. +func (q *QueryValueRequest) HasApmQuery() bool { + if q != nil && q.ApmQuery != nil { return true } return false } -// SetQueryIsFailed allocates a new q.QueryIsFailed and returns the pointer to it. -func (q *QueryConfig) SetQueryIsFailed(v bool) { - q.QueryIsFailed = &v +// SetApmQuery allocates a new q.ApmQuery and returns the pointer to it. +func (q *QueryValueRequest) SetApmQuery(v WidgetApmOrLogQuery) { + q.ApmQuery = &v } -// GetQueryString returns the QueryString field if non-nil, zero value otherwise. -func (q *QueryConfig) GetQueryString() string { - if q == nil || q.QueryString == nil { - return "" +// GetLogQuery returns the LogQuery field if non-nil, zero value otherwise. +func (q *QueryValueRequest) GetLogQuery() WidgetApmOrLogQuery { + if q == nil || q.LogQuery == nil { + return WidgetApmOrLogQuery{} } - return *q.QueryString + return *q.LogQuery } -// GetQueryStringOk returns a tuple with the QueryString field if it's non-nil, zero value otherwise +// GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryConfig) GetQueryStringOk() (string, bool) { - if q == nil || q.QueryString == nil { - return "", false +func (q *QueryValueRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool) { + if q == nil || q.LogQuery == nil { + return WidgetApmOrLogQuery{}, false } - return *q.QueryString, true + return *q.LogQuery, true } -// HasQueryString returns a boolean if a field has been set. -func (q *QueryConfig) HasQueryString() bool { - if q != nil && q.QueryString != nil { +// HasLogQuery returns a boolean if a field has been set. +func (q *QueryValueRequest) HasLogQuery() bool { + if q != nil && q.LogQuery != nil { return true } return false } -// SetQueryString allocates a new q.QueryString and returns the pointer to it. -func (q *QueryConfig) SetQueryString(v string) { - q.QueryString = &v +// SetLogQuery allocates a new q.LogQuery and returns the pointer to it. +func (q *QueryValueRequest) SetLogQuery(v WidgetApmOrLogQuery) { + q.LogQuery = &v } -// GetTimeRange returns the TimeRange field if non-nil, zero value otherwise. -func (q *QueryConfig) GetTimeRange() TimeRange { - if q == nil || q.TimeRange == nil { - return TimeRange{} +// GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise. +func (q *QueryValueRequest) GetMetricQuery() string { + if q == nil || q.MetricQuery == nil { + return "" } - return *q.TimeRange + return *q.MetricQuery } -// GetTimeRangeOk returns a tuple with the TimeRange field if it's non-nil, zero value otherwise +// GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryConfig) GetTimeRangeOk() (TimeRange, bool) { - if q == nil || q.TimeRange == nil { - return TimeRange{}, false +func (q *QueryValueRequest) GetMetricQueryOk() (string, bool) { + if q == nil || q.MetricQuery == nil { + return "", false } - return *q.TimeRange, true + return *q.MetricQuery, true } -// HasTimeRange returns a boolean if a field has been set. -func (q *QueryConfig) HasTimeRange() bool { - if q != nil && q.TimeRange != nil { +// HasMetricQuery returns a boolean if a field has been set. +func (q *QueryValueRequest) HasMetricQuery() bool { + if q != nil && q.MetricQuery != nil { return true } return false } -// SetTimeRange allocates a new q.TimeRange and returns the pointer to it. -func (q *QueryConfig) SetTimeRange(v TimeRange) { - q.TimeRange = &v +// SetMetricQuery allocates a new q.MetricQuery and returns the pointer to it. +func (q *QueryValueRequest) SetMetricQuery(v string) { + q.MetricQuery = &v } -// GetAutoscale returns the Autoscale field if non-nil, zero value otherwise. -func (q *QueryValueDefinition) GetAutoscale() bool { - if q == nil || q.Autoscale == nil { - return false +// GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise. +func (q *QueryValueRequest) GetProcessQuery() WidgetProcessQuery { + if q == nil || q.ProcessQuery == nil { + return WidgetProcessQuery{} } - return *q.Autoscale + return *q.ProcessQuery } -// GetAutoscaleOk returns a tuple with the Autoscale field if it's non-nil, zero value otherwise +// GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueDefinition) GetAutoscaleOk() (bool, bool) { - if q == nil || q.Autoscale == nil { - return false, false +func (q *QueryValueRequest) GetProcessQueryOk() (WidgetProcessQuery, bool) { + if q == nil || q.ProcessQuery == nil { + return WidgetProcessQuery{}, false } - return *q.Autoscale, true + return *q.ProcessQuery, true } -// HasAutoscale returns a boolean if a field has been set. -func (q *QueryValueDefinition) HasAutoscale() bool { - if q != nil && q.Autoscale != nil { +// HasProcessQuery returns a boolean if a field has been set. +func (q *QueryValueRequest) HasProcessQuery() bool { + if q != nil && q.ProcessQuery != nil { return true } return false } -// SetAutoscale allocates a new q.Autoscale and returns the pointer to it. -func (q *QueryValueDefinition) SetAutoscale(v bool) { - q.Autoscale = &v +// SetProcessQuery allocates a new q.ProcessQuery and returns the pointer to it. +func (q *QueryValueRequest) SetProcessQuery(v WidgetProcessQuery) { + q.ProcessQuery = &v } -// GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise. -func (q *QueryValueDefinition) GetCustomUnit() string { - if q == nil || q.CustomUnit == nil { - return "" +// GetPeriod returns the Period field if non-nil, zero value otherwise. +func (r *Recurrence) GetPeriod() int { + if r == nil || r.Period == nil { + return 0 } - return *q.CustomUnit + return *r.Period } -// GetCustomUnitOk returns a tuple with the CustomUnit field if it's non-nil, zero value otherwise +// GetPeriodOk returns a tuple with the Period field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueDefinition) GetCustomUnitOk() (string, bool) { - if q == nil || q.CustomUnit == nil { - return "", false +func (r *Recurrence) GetPeriodOk() (int, bool) { + if r == nil || r.Period == nil { + return 0, false } - return *q.CustomUnit, true + return *r.Period, true } -// HasCustomUnit returns a boolean if a field has been set. -func (q *QueryValueDefinition) HasCustomUnit() bool { - if q != nil && q.CustomUnit != nil { +// HasPeriod returns a boolean if a field has been set. +func (r *Recurrence) HasPeriod() bool { + if r != nil && r.Period != nil { return true } return false } -// SetCustomUnit allocates a new q.CustomUnit and returns the pointer to it. -func (q *QueryValueDefinition) SetCustomUnit(v string) { - q.CustomUnit = &v +// SetPeriod allocates a new r.Period and returns the pointer to it. +func (r *Recurrence) SetPeriod(v int) { + r.Period = &v } -// GetPrecision returns the Precision field if non-nil, zero value otherwise. -func (q *QueryValueDefinition) GetPrecision() int { - if q == nil || q.Precision == nil { - return 0 +// GetType returns the Type field if non-nil, zero value otherwise. +func (r *Recurrence) GetType() string { + if r == nil || r.Type == nil { + return "" } - return *q.Precision + return *r.Type } -// GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueDefinition) GetPrecisionOk() (int, bool) { - if q == nil || q.Precision == nil { - return 0, false +func (r *Recurrence) GetTypeOk() (string, bool) { + if r == nil || r.Type == nil { + return "", false } - return *q.Precision, true + return *r.Type, true } -// HasPrecision returns a boolean if a field has been set. -func (q *QueryValueDefinition) HasPrecision() bool { - if q != nil && q.Precision != nil { +// HasType returns a boolean if a field has been set. +func (r *Recurrence) HasType() bool { + if r != nil && r.Type != nil { return true } return false } -// SetPrecision allocates a new q.Precision and returns the pointer to it. -func (q *QueryValueDefinition) SetPrecision(v int) { - q.Precision = &v +// SetType allocates a new r.Type and returns the pointer to it. +func (r *Recurrence) SetType(v string) { + r.Type = &v } -// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise. -func (q *QueryValueDefinition) GetTextAlign() string { - if q == nil || q.TextAlign == nil { - return "" +// GetUntilDate returns the UntilDate field if non-nil, zero value otherwise. +func (r *Recurrence) GetUntilDate() int { + if r == nil || r.UntilDate == nil { + return 0 } - return *q.TextAlign + return *r.UntilDate } -// GetTextAlignOk returns a tuple with the TextAlign field if it's non-nil, zero value otherwise +// GetUntilDateOk returns a tuple with the UntilDate field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueDefinition) GetTextAlignOk() (string, bool) { - if q == nil || q.TextAlign == nil { - return "", false +func (r *Recurrence) GetUntilDateOk() (int, bool) { + if r == nil || r.UntilDate == nil { + return 0, false } - return *q.TextAlign, true + return *r.UntilDate, true } -// HasTextAlign returns a boolean if a field has been set. -func (q *QueryValueDefinition) HasTextAlign() bool { - if q != nil && q.TextAlign != nil { +// HasUntilDate returns a boolean if a field has been set. +func (r *Recurrence) HasUntilDate() bool { + if r != nil && r.UntilDate != nil { return true } return false } -// SetTextAlign allocates a new q.TextAlign and returns the pointer to it. -func (q *QueryValueDefinition) SetTextAlign(v string) { - q.TextAlign = &v +// SetUntilDate allocates a new r.UntilDate and returns the pointer to it. +func (r *Recurrence) SetUntilDate(v int) { + r.UntilDate = &v } -// GetTime returns the Time field if non-nil, zero value otherwise. -func (q *QueryValueDefinition) GetTime() WidgetTime { - if q == nil || q.Time == nil { - return WidgetTime{} +// GetUntilOccurrences returns the UntilOccurrences field if non-nil, zero value otherwise. +func (r *Recurrence) GetUntilOccurrences() int { + if r == nil || r.UntilOccurrences == nil { + return 0 } - return *q.Time + return *r.UntilOccurrences } -// GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise +// GetUntilOccurrencesOk returns a tuple with the UntilOccurrences field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueDefinition) GetTimeOk() (WidgetTime, bool) { - if q == nil || q.Time == nil { - return WidgetTime{}, false +func (r *Recurrence) GetUntilOccurrencesOk() (int, bool) { + if r == nil || r.UntilOccurrences == nil { + return 0, false } - return *q.Time, true + return *r.UntilOccurrences, true } -// HasTime returns a boolean if a field has been set. -func (q *QueryValueDefinition) HasTime() bool { - if q != nil && q.Time != nil { +// HasUntilOccurrences returns a boolean if a field has been set. +func (r *Recurrence) HasUntilOccurrences() bool { + if r != nil && r.UntilOccurrences != nil { return true } return false } -// SetTime allocates a new q.Time and returns the pointer to it. -func (q *QueryValueDefinition) SetTime(v WidgetTime) { - q.Time = &v +// SetUntilOccurrences allocates a new r.UntilOccurrences and returns the pointer to it. +func (r *Recurrence) SetUntilOccurrences(v int) { + r.UntilOccurrences = &v } -// GetTitle returns the Title field if non-nil, zero value otherwise. -func (q *QueryValueDefinition) GetTitle() string { - if q == nil || q.Title == nil { - return "" +// GetAPIKey returns the APIKey field if non-nil, zero value otherwise. +func (r *reqAPIKey) GetAPIKey() APIKey { + if r == nil || r.APIKey == nil { + return APIKey{} } - return *q.Title + return *r.APIKey } -// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +// GetAPIKeyOk returns a tuple with the APIKey field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueDefinition) GetTitleOk() (string, bool) { - if q == nil || q.Title == nil { - return "", false +func (r *reqAPIKey) GetAPIKeyOk() (APIKey, bool) { + if r == nil || r.APIKey == nil { + return APIKey{}, false } - return *q.Title, true + return *r.APIKey, true } -// HasTitle returns a boolean if a field has been set. -func (q *QueryValueDefinition) HasTitle() bool { - if q != nil && q.Title != nil { +// HasAPIKey returns a boolean if a field has been set. +func (r *reqAPIKey) HasAPIKey() bool { + if r != nil && r.APIKey != nil { return true } return false } -// SetTitle allocates a new q.Title and returns the pointer to it. -func (q *QueryValueDefinition) SetTitle(v string) { - q.Title = &v +// SetAPIKey allocates a new r.APIKey and returns the pointer to it. +func (r *reqAPIKey) SetAPIKey(v APIKey) { + r.APIKey = &v } -// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. -func (q *QueryValueDefinition) GetTitleAlign() string { - if q == nil || q.TitleAlign == nil { - return "" +// GetAPPKey returns the APPKey field if non-nil, zero value otherwise. +func (r *reqAPPKey) GetAPPKey() APPKey { + if r == nil || r.APPKey == nil { + return APPKey{} } - return *q.TitleAlign + return *r.APPKey } -// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise +// GetAPPKeyOk returns a tuple with the APPKey field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueDefinition) GetTitleAlignOk() (string, bool) { - if q == nil || q.TitleAlign == nil { - return "", false +func (r *reqAPPKey) GetAPPKeyOk() (APPKey, bool) { + if r == nil || r.APPKey == nil { + return APPKey{}, false } - return *q.TitleAlign, true + return *r.APPKey, true } -// HasTitleAlign returns a boolean if a field has been set. -func (q *QueryValueDefinition) HasTitleAlign() bool { - if q != nil && q.TitleAlign != nil { +// HasAPPKey returns a boolean if a field has been set. +func (r *reqAPPKey) HasAPPKey() bool { + if r != nil && r.APPKey != nil { return true } return false } -// SetTitleAlign allocates a new q.TitleAlign and returns the pointer to it. -func (q *QueryValueDefinition) SetTitleAlign(v string) { - q.TitleAlign = &v +// SetAPPKey allocates a new r.APPKey and returns the pointer to it. +func (r *reqAPPKey) SetAPPKey(v APPKey) { + r.APPKey = &v } -// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. -func (q *QueryValueDefinition) GetTitleSize() string { - if q == nil || q.TitleSize == nil { - return "" +// GetComment returns the Comment field if non-nil, zero value otherwise. +func (r *reqComment) GetComment() Comment { + if r == nil || r.Comment == nil { + return Comment{} } - return *q.TitleSize + return *r.Comment } -// GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise +// GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueDefinition) GetTitleSizeOk() (string, bool) { - if q == nil || q.TitleSize == nil { - return "", false +func (r *reqComment) GetCommentOk() (Comment, bool) { + if r == nil || r.Comment == nil { + return Comment{}, false } - return *q.TitleSize, true + return *r.Comment, true } -// HasTitleSize returns a boolean if a field has been set. -func (q *QueryValueDefinition) HasTitleSize() bool { - if q != nil && q.TitleSize != nil { +// HasComment returns a boolean if a field has been set. +func (r *reqComment) HasComment() bool { + if r != nil && r.Comment != nil { return true } return false } -// SetTitleSize allocates a new q.TitleSize and returns the pointer to it. -func (q *QueryValueDefinition) SetTitleSize(v string) { - q.TitleSize = &v +// SetComment allocates a new r.Comment and returns the pointer to it. +func (r *reqComment) SetComment(v Comment) { + r.Comment = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (q *QueryValueDefinition) GetType() string { - if q == nil || q.Type == nil { - return "" +// GetDashboard returns the Dashboard field if non-nil, zero value otherwise. +func (r *reqGetDashboard) GetDashboard() Dashboard { + if r == nil || r.Dashboard == nil { + return Dashboard{} } - return *q.Type + return *r.Dashboard } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetDashboardOk returns a tuple with the Dashboard field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueDefinition) GetTypeOk() (string, bool) { - if q == nil || q.Type == nil { - return "", false +func (r *reqGetDashboard) GetDashboardOk() (Dashboard, bool) { + if r == nil || r.Dashboard == nil { + return Dashboard{}, false } - return *q.Type, true + return *r.Dashboard, true } -// HasType returns a boolean if a field has been set. -func (q *QueryValueDefinition) HasType() bool { - if q != nil && q.Type != nil { +// HasDashboard returns a boolean if a field has been set. +func (r *reqGetDashboard) HasDashboard() bool { + if r != nil && r.Dashboard != nil { return true } return false } -// SetType allocates a new q.Type and returns the pointer to it. -func (q *QueryValueDefinition) SetType(v string) { - q.Type = &v +// SetDashboard allocates a new r.Dashboard and returns the pointer to it. +func (r *reqGetDashboard) SetDashboard(v Dashboard) { + r.Dashboard = &v } -// GetAggregator returns the Aggregator field if non-nil, zero value otherwise. -func (q *QueryValueRequest) GetAggregator() string { - if q == nil || q.Aggregator == nil { +// GetResource returns the Resource field if non-nil, zero value otherwise. +func (r *reqGetDashboard) GetResource() string { + if r == nil || r.Resource == nil { return "" } - return *q.Aggregator + return *r.Resource } -// GetAggregatorOk returns a tuple with the Aggregator field if it's non-nil, zero value otherwise +// GetResourceOk returns a tuple with the Resource field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueRequest) GetAggregatorOk() (string, bool) { - if q == nil || q.Aggregator == nil { +func (r *reqGetDashboard) GetResourceOk() (string, bool) { + if r == nil || r.Resource == nil { return "", false } - return *q.Aggregator, true + return *r.Resource, true } -// HasAggregator returns a boolean if a field has been set. -func (q *QueryValueRequest) HasAggregator() bool { - if q != nil && q.Aggregator != nil { +// HasResource returns a boolean if a field has been set. +func (r *reqGetDashboard) HasResource() bool { + if r != nil && r.Resource != nil { return true } return false } - -// SetAggregator allocates a new q.Aggregator and returns the pointer to it. -func (q *QueryValueRequest) SetAggregator(v string) { - q.Aggregator = &v + +// SetResource allocates a new r.Resource and returns the pointer to it. +func (r *reqGetDashboard) SetResource(v string) { + r.Resource = &v } -// GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise. -func (q *QueryValueRequest) GetApmQuery() WidgetApmOrLogQuery { - if q == nil || q.ApmQuery == nil { - return WidgetApmOrLogQuery{} +// GetUrl returns the Url field if non-nil, zero value otherwise. +func (r *reqGetDashboard) GetUrl() string { + if r == nil || r.Url == nil { + return "" } - return *q.ApmQuery + return *r.Url } -// GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise +// GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool) { - if q == nil || q.ApmQuery == nil { - return WidgetApmOrLogQuery{}, false +func (r *reqGetDashboard) GetUrlOk() (string, bool) { + if r == nil || r.Url == nil { + return "", false } - return *q.ApmQuery, true + return *r.Url, true } -// HasApmQuery returns a boolean if a field has been set. -func (q *QueryValueRequest) HasApmQuery() bool { - if q != nil && q.ApmQuery != nil { +// HasUrl returns a boolean if a field has been set. +func (r *reqGetDashboard) HasUrl() bool { + if r != nil && r.Url != nil { return true } return false } -// SetApmQuery allocates a new q.ApmQuery and returns the pointer to it. -func (q *QueryValueRequest) SetApmQuery(v WidgetApmOrLogQuery) { - q.ApmQuery = &v +// SetUrl allocates a new r.Url and returns the pointer to it. +func (r *reqGetDashboard) SetUrl(v string) { + r.Url = &v } -// GetLogQuery returns the LogQuery field if non-nil, zero value otherwise. -func (q *QueryValueRequest) GetLogQuery() WidgetApmOrLogQuery { - if q == nil || q.LogQuery == nil { - return WidgetApmOrLogQuery{} +// GetEvent returns the Event field if non-nil, zero value otherwise. +func (r *reqGetEvent) GetEvent() Event { + if r == nil || r.Event == nil { + return Event{} } - return *q.LogQuery + return *r.Event } -// GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise +// GetEventOk returns a tuple with the Event field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool) { - if q == nil || q.LogQuery == nil { - return WidgetApmOrLogQuery{}, false +func (r *reqGetEvent) GetEventOk() (Event, bool) { + if r == nil || r.Event == nil { + return Event{}, false } - return *q.LogQuery, true + return *r.Event, true } -// HasLogQuery returns a boolean if a field has been set. -func (q *QueryValueRequest) HasLogQuery() bool { - if q != nil && q.LogQuery != nil { +// HasEvent returns a boolean if a field has been set. +func (r *reqGetEvent) HasEvent() bool { + if r != nil && r.Event != nil { return true } return false } -// SetLogQuery allocates a new q.LogQuery and returns the pointer to it. -func (q *QueryValueRequest) SetLogQuery(v WidgetApmOrLogQuery) { - q.LogQuery = &v +// SetEvent allocates a new r.Event and returns the pointer to it. +func (r *reqGetEvent) SetEvent(v Event) { + r.Event = &v } -// GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise. -func (q *QueryValueRequest) GetMetricQuery() string { - if q == nil || q.MetricQuery == nil { - return "" +// GetTags returns the Tags field if non-nil, zero value otherwise. +func (r *reqGetTags) GetTags() TagMap { + if r == nil || r.Tags == nil { + return TagMap{} } - return *q.MetricQuery + return *r.Tags } -// GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise +// GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueRequest) GetMetricQueryOk() (string, bool) { - if q == nil || q.MetricQuery == nil { - return "", false +func (r *reqGetTags) GetTagsOk() (TagMap, bool) { + if r == nil || r.Tags == nil { + return TagMap{}, false } - return *q.MetricQuery, true + return *r.Tags, true } -// HasMetricQuery returns a boolean if a field has been set. -func (q *QueryValueRequest) HasMetricQuery() bool { - if q != nil && q.MetricQuery != nil { +// HasTags returns a boolean if a field has been set. +func (r *reqGetTags) HasTags() bool { + if r != nil && r.Tags != nil { return true } return false } -// SetMetricQuery allocates a new q.MetricQuery and returns the pointer to it. -func (q *QueryValueRequest) SetMetricQuery(v string) { - q.MetricQuery = &v +// SetTags allocates a new r.Tags and returns the pointer to it. +func (r *reqGetTags) SetTags(v TagMap) { + r.Tags = &v } -// GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise. -func (q *QueryValueRequest) GetProcessQuery() WidgetProcessQuery { - if q == nil || q.ProcessQuery == nil { - return WidgetProcessQuery{} +// GetColor returns the Color field if non-nil, zero value otherwise. +func (r *Rule) GetColor() string { + if r == nil || r.Color == nil { + return "" } - return *q.ProcessQuery + return *r.Color } -// GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise +// GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (q *QueryValueRequest) GetProcessQueryOk() (WidgetProcessQuery, bool) { - if q == nil || q.ProcessQuery == nil { - return WidgetProcessQuery{}, false +func (r *Rule) GetColorOk() (string, bool) { + if r == nil || r.Color == nil { + return "", false } - return *q.ProcessQuery, true + return *r.Color, true } -// HasProcessQuery returns a boolean if a field has been set. -func (q *QueryValueRequest) HasProcessQuery() bool { - if q != nil && q.ProcessQuery != nil { +// HasColor returns a boolean if a field has been set. +func (r *Rule) HasColor() bool { + if r != nil && r.Color != nil { return true } return false } -// SetProcessQuery allocates a new q.ProcessQuery and returns the pointer to it. -func (q *QueryValueRequest) SetProcessQuery(v WidgetProcessQuery) { - q.ProcessQuery = &v +// SetColor allocates a new r.Color and returns the pointer to it. +func (r *Rule) SetColor(v string) { + r.Color = &v } -// GetPeriod returns the Period field if non-nil, zero value otherwise. -func (r *Recurrence) GetPeriod() int { - if r == nil || r.Period == nil { - return 0 +// GetThreshold returns the Threshold field if non-nil, zero value otherwise. +func (r *Rule) GetThreshold() json.Number { + if r == nil || r.Threshold == nil { + return "" } - return *r.Period + return *r.Threshold } -// GetPeriodOk returns a tuple with the Period field if it's non-nil, zero value otherwise +// GetThresholdOk returns a tuple with the Threshold field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *Recurrence) GetPeriodOk() (int, bool) { - if r == nil || r.Period == nil { - return 0, false +func (r *Rule) GetThresholdOk() (json.Number, bool) { + if r == nil || r.Threshold == nil { + return "", false } - return *r.Period, true + return *r.Threshold, true } -// HasPeriod returns a boolean if a field has been set. -func (r *Recurrence) HasPeriod() bool { - if r != nil && r.Period != nil { +// HasThreshold returns a boolean if a field has been set. +func (r *Rule) HasThreshold() bool { + if r != nil && r.Threshold != nil { return true } return false } -// SetPeriod allocates a new r.Period and returns the pointer to it. -func (r *Recurrence) SetPeriod(v int) { - r.Period = &v +// SetThreshold allocates a new r.Threshold and returns the pointer to it. +func (r *Rule) SetThreshold(v json.Number) { + r.Threshold = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (r *Recurrence) GetType() string { - if r == nil || r.Type == nil { +// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise. +func (r *Rule) GetTimeframe() string { + if r == nil || r.Timeframe == nil { return "" } - return *r.Type + return *r.Timeframe } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetTimeframeOk returns a tuple with the Timeframe field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *Recurrence) GetTypeOk() (string, bool) { - if r == nil || r.Type == nil { +func (r *Rule) GetTimeframeOk() (string, bool) { + if r == nil || r.Timeframe == nil { return "", false } - return *r.Type, true + return *r.Timeframe, true } -// HasType returns a boolean if a field has been set. -func (r *Recurrence) HasType() bool { - if r != nil && r.Type != nil { +// HasTimeframe returns a boolean if a field has been set. +func (r *Rule) HasTimeframe() bool { + if r != nil && r.Timeframe != nil { return true } return false } -// SetType allocates a new r.Type and returns the pointer to it. -func (r *Recurrence) SetType(v string) { - r.Type = &v +// SetTimeframe allocates a new r.Timeframe and returns the pointer to it. +func (r *Rule) SetTimeframe(v string) { + r.Timeframe = &v } -// GetUntilDate returns the UntilDate field if non-nil, zero value otherwise. -func (r *Recurrence) GetUntilDate() int { - if r == nil || r.UntilDate == nil { - return 0 +// GetRequests returns the Requests field if non-nil, zero value otherwise. +func (s *ScatterplotDefinition) GetRequests() ScatterplotRequests { + if s == nil || s.Requests == nil { + return ScatterplotRequests{} } - return *r.UntilDate + return *s.Requests } -// GetUntilDateOk returns a tuple with the UntilDate field if it's non-nil, zero value otherwise +// GetRequestsOk returns a tuple with the Requests field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *Recurrence) GetUntilDateOk() (int, bool) { - if r == nil || r.UntilDate == nil { - return 0, false +func (s *ScatterplotDefinition) GetRequestsOk() (ScatterplotRequests, bool) { + if s == nil || s.Requests == nil { + return ScatterplotRequests{}, false } - return *r.UntilDate, true + return *s.Requests, true } -// HasUntilDate returns a boolean if a field has been set. -func (r *Recurrence) HasUntilDate() bool { - if r != nil && r.UntilDate != nil { +// HasRequests returns a boolean if a field has been set. +func (s *ScatterplotDefinition) HasRequests() bool { + if s != nil && s.Requests != nil { return true } return false } -// SetUntilDate allocates a new r.UntilDate and returns the pointer to it. -func (r *Recurrence) SetUntilDate(v int) { - r.UntilDate = &v +// SetRequests allocates a new s.Requests and returns the pointer to it. +func (s *ScatterplotDefinition) SetRequests(v ScatterplotRequests) { + s.Requests = &v } -// GetUntilOccurrences returns the UntilOccurrences field if non-nil, zero value otherwise. -func (r *Recurrence) GetUntilOccurrences() int { - if r == nil || r.UntilOccurrences == nil { - return 0 +// GetTime returns the Time field if non-nil, zero value otherwise. +func (s *ScatterplotDefinition) GetTime() WidgetTime { + if s == nil || s.Time == nil { + return WidgetTime{} } - return *r.UntilOccurrences + return *s.Time } -// GetUntilOccurrencesOk returns a tuple with the UntilOccurrences field if it's non-nil, zero value otherwise +// GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *Recurrence) GetUntilOccurrencesOk() (int, bool) { - if r == nil || r.UntilOccurrences == nil { - return 0, false +func (s *ScatterplotDefinition) GetTimeOk() (WidgetTime, bool) { + if s == nil || s.Time == nil { + return WidgetTime{}, false } - return *r.UntilOccurrences, true + return *s.Time, true } -// HasUntilOccurrences returns a boolean if a field has been set. -func (r *Recurrence) HasUntilOccurrences() bool { - if r != nil && r.UntilOccurrences != nil { +// HasTime returns a boolean if a field has been set. +func (s *ScatterplotDefinition) HasTime() bool { + if s != nil && s.Time != nil { return true } return false } -// SetUntilOccurrences allocates a new r.UntilOccurrences and returns the pointer to it. -func (r *Recurrence) SetUntilOccurrences(v int) { - r.UntilOccurrences = &v +// SetTime allocates a new s.Time and returns the pointer to it. +func (s *ScatterplotDefinition) SetTime(v WidgetTime) { + s.Time = &v } -// GetAPIKey returns the APIKey field if non-nil, zero value otherwise. -func (r *reqAPIKey) GetAPIKey() APIKey { - if r == nil || r.APIKey == nil { - return APIKey{} +// GetTitle returns the Title field if non-nil, zero value otherwise. +func (s *ScatterplotDefinition) GetTitle() string { + if s == nil || s.Title == nil { + return "" } - return *r.APIKey + return *s.Title } -// GetAPIKeyOk returns a tuple with the APIKey field if it's non-nil, zero value otherwise +// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *reqAPIKey) GetAPIKeyOk() (APIKey, bool) { - if r == nil || r.APIKey == nil { - return APIKey{}, false +func (s *ScatterplotDefinition) GetTitleOk() (string, bool) { + if s == nil || s.Title == nil { + return "", false } - return *r.APIKey, true + return *s.Title, true } -// HasAPIKey returns a boolean if a field has been set. -func (r *reqAPIKey) HasAPIKey() bool { - if r != nil && r.APIKey != nil { +// HasTitle returns a boolean if a field has been set. +func (s *ScatterplotDefinition) HasTitle() bool { + if s != nil && s.Title != nil { return true } return false } -// SetAPIKey allocates a new r.APIKey and returns the pointer to it. -func (r *reqAPIKey) SetAPIKey(v APIKey) { - r.APIKey = &v +// SetTitle allocates a new s.Title and returns the pointer to it. +func (s *ScatterplotDefinition) SetTitle(v string) { + s.Title = &v } -// GetAPPKey returns the APPKey field if non-nil, zero value otherwise. -func (r *reqAPPKey) GetAPPKey() APPKey { - if r == nil || r.APPKey == nil { - return APPKey{} +// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. +func (s *ScatterplotDefinition) GetTitleAlign() string { + if s == nil || s.TitleAlign == nil { + return "" } - return *r.APPKey + return *s.TitleAlign } -// GetAPPKeyOk returns a tuple with the APPKey field if it's non-nil, zero value otherwise +// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *reqAPPKey) GetAPPKeyOk() (APPKey, bool) { - if r == nil || r.APPKey == nil { - return APPKey{}, false +func (s *ScatterplotDefinition) GetTitleAlignOk() (string, bool) { + if s == nil || s.TitleAlign == nil { + return "", false } - return *r.APPKey, true + return *s.TitleAlign, true } -// HasAPPKey returns a boolean if a field has been set. -func (r *reqAPPKey) HasAPPKey() bool { - if r != nil && r.APPKey != nil { +// HasTitleAlign returns a boolean if a field has been set. +func (s *ScatterplotDefinition) HasTitleAlign() bool { + if s != nil && s.TitleAlign != nil { return true } return false } -// SetAPPKey allocates a new r.APPKey and returns the pointer to it. -func (r *reqAPPKey) SetAPPKey(v APPKey) { - r.APPKey = &v +// SetTitleAlign allocates a new s.TitleAlign and returns the pointer to it. +func (s *ScatterplotDefinition) SetTitleAlign(v string) { + s.TitleAlign = &v } -// GetComment returns the Comment field if non-nil, zero value otherwise. -func (r *reqComment) GetComment() Comment { - if r == nil || r.Comment == nil { - return Comment{} +// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. +func (s *ScatterplotDefinition) GetTitleSize() string { + if s == nil || s.TitleSize == nil { + return "" } - return *r.Comment + return *s.TitleSize } -// GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +// GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *reqComment) GetCommentOk() (Comment, bool) { - if r == nil || r.Comment == nil { - return Comment{}, false +func (s *ScatterplotDefinition) GetTitleSizeOk() (string, bool) { + if s == nil || s.TitleSize == nil { + return "", false } - return *r.Comment, true + return *s.TitleSize, true } -// HasComment returns a boolean if a field has been set. -func (r *reqComment) HasComment() bool { - if r != nil && r.Comment != nil { +// HasTitleSize returns a boolean if a field has been set. +func (s *ScatterplotDefinition) HasTitleSize() bool { + if s != nil && s.TitleSize != nil { return true } return false } -// SetComment allocates a new r.Comment and returns the pointer to it. -func (r *reqComment) SetComment(v Comment) { - r.Comment = &v +// SetTitleSize allocates a new s.TitleSize and returns the pointer to it. +func (s *ScatterplotDefinition) SetTitleSize(v string) { + s.TitleSize = &v } -// GetDashboard returns the Dashboard field if non-nil, zero value otherwise. -func (r *reqGetDashboard) GetDashboard() Dashboard { - if r == nil || r.Dashboard == nil { - return Dashboard{} +// GetType returns the Type field if non-nil, zero value otherwise. +func (s *ScatterplotDefinition) GetType() string { + if s == nil || s.Type == nil { + return "" } - return *r.Dashboard + return *s.Type } -// GetDashboardOk returns a tuple with the Dashboard field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *reqGetDashboard) GetDashboardOk() (Dashboard, bool) { - if r == nil || r.Dashboard == nil { - return Dashboard{}, false +func (s *ScatterplotDefinition) GetTypeOk() (string, bool) { + if s == nil || s.Type == nil { + return "", false } - return *r.Dashboard, true + return *s.Type, true } -// HasDashboard returns a boolean if a field has been set. -func (r *reqGetDashboard) HasDashboard() bool { - if r != nil && r.Dashboard != nil { +// HasType returns a boolean if a field has been set. +func (s *ScatterplotDefinition) HasType() bool { + if s != nil && s.Type != nil { return true } return false } -// SetDashboard allocates a new r.Dashboard and returns the pointer to it. -func (r *reqGetDashboard) SetDashboard(v Dashboard) { - r.Dashboard = &v +// SetType allocates a new s.Type and returns the pointer to it. +func (s *ScatterplotDefinition) SetType(v string) { + s.Type = &v } -// GetResource returns the Resource field if non-nil, zero value otherwise. -func (r *reqGetDashboard) GetResource() string { - if r == nil || r.Resource == nil { - return "" +// GetXaxis returns the Xaxis field if non-nil, zero value otherwise. +func (s *ScatterplotDefinition) GetXaxis() WidgetAxis { + if s == nil || s.Xaxis == nil { + return WidgetAxis{} } - return *r.Resource + return *s.Xaxis } -// GetResourceOk returns a tuple with the Resource field if it's non-nil, zero value otherwise +// GetXaxisOk returns a tuple with the Xaxis field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *reqGetDashboard) GetResourceOk() (string, bool) { - if r == nil || r.Resource == nil { - return "", false +func (s *ScatterplotDefinition) GetXaxisOk() (WidgetAxis, bool) { + if s == nil || s.Xaxis == nil { + return WidgetAxis{}, false } - return *r.Resource, true + return *s.Xaxis, true } -// HasResource returns a boolean if a field has been set. -func (r *reqGetDashboard) HasResource() bool { - if r != nil && r.Resource != nil { +// HasXaxis returns a boolean if a field has been set. +func (s *ScatterplotDefinition) HasXaxis() bool { + if s != nil && s.Xaxis != nil { return true } return false } -// SetResource allocates a new r.Resource and returns the pointer to it. -func (r *reqGetDashboard) SetResource(v string) { - r.Resource = &v +// SetXaxis allocates a new s.Xaxis and returns the pointer to it. +func (s *ScatterplotDefinition) SetXaxis(v WidgetAxis) { + s.Xaxis = &v } -// GetUrl returns the Url field if non-nil, zero value otherwise. -func (r *reqGetDashboard) GetUrl() string { - if r == nil || r.Url == nil { - return "" +// GetYaxis returns the Yaxis field if non-nil, zero value otherwise. +func (s *ScatterplotDefinition) GetYaxis() WidgetAxis { + if s == nil || s.Yaxis == nil { + return WidgetAxis{} } - return *r.Url + return *s.Yaxis } -// GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +// GetYaxisOk returns a tuple with the Yaxis field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *reqGetDashboard) GetUrlOk() (string, bool) { - if r == nil || r.Url == nil { - return "", false +func (s *ScatterplotDefinition) GetYaxisOk() (WidgetAxis, bool) { + if s == nil || s.Yaxis == nil { + return WidgetAxis{}, false } - return *r.Url, true + return *s.Yaxis, true } -// HasUrl returns a boolean if a field has been set. -func (r *reqGetDashboard) HasUrl() bool { - if r != nil && r.Url != nil { +// HasYaxis returns a boolean if a field has been set. +func (s *ScatterplotDefinition) HasYaxis() bool { + if s != nil && s.Yaxis != nil { return true } return false } -// SetUrl allocates a new r.Url and returns the pointer to it. -func (r *reqGetDashboard) SetUrl(v string) { - r.Url = &v +// SetYaxis allocates a new s.Yaxis and returns the pointer to it. +func (s *ScatterplotDefinition) SetYaxis(v WidgetAxis) { + s.Yaxis = &v } -// GetEvent returns the Event field if non-nil, zero value otherwise. -func (r *reqGetEvent) GetEvent() Event { - if r == nil || r.Event == nil { - return Event{} +// GetAggregator returns the Aggregator field if non-nil, zero value otherwise. +func (s *ScatterplotRequest) GetAggregator() string { + if s == nil || s.Aggregator == nil { + return "" } - return *r.Event + return *s.Aggregator } -// GetEventOk returns a tuple with the Event field if it's non-nil, zero value otherwise +// GetAggregatorOk returns a tuple with the Aggregator field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *reqGetEvent) GetEventOk() (Event, bool) { - if r == nil || r.Event == nil { - return Event{}, false +func (s *ScatterplotRequest) GetAggregatorOk() (string, bool) { + if s == nil || s.Aggregator == nil { + return "", false } - return *r.Event, true + return *s.Aggregator, true } -// HasEvent returns a boolean if a field has been set. -func (r *reqGetEvent) HasEvent() bool { - if r != nil && r.Event != nil { +// HasAggregator returns a boolean if a field has been set. +func (s *ScatterplotRequest) HasAggregator() bool { + if s != nil && s.Aggregator != nil { return true } return false } -// SetEvent allocates a new r.Event and returns the pointer to it. -func (r *reqGetEvent) SetEvent(v Event) { - r.Event = &v +// SetAggregator allocates a new s.Aggregator and returns the pointer to it. +func (s *ScatterplotRequest) SetAggregator(v string) { + s.Aggregator = &v } -// GetTags returns the Tags field if non-nil, zero value otherwise. -func (r *reqGetTags) GetTags() TagMap { - if r == nil || r.Tags == nil { - return TagMap{} +// GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise. +func (s *ScatterplotRequest) GetApmQuery() WidgetApmOrLogQuery { + if s == nil || s.ApmQuery == nil { + return WidgetApmOrLogQuery{} } - return *r.Tags + return *s.ApmQuery } -// GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +// GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *reqGetTags) GetTagsOk() (TagMap, bool) { - if r == nil || r.Tags == nil { - return TagMap{}, false +func (s *ScatterplotRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool) { + if s == nil || s.ApmQuery == nil { + return WidgetApmOrLogQuery{}, false } - return *r.Tags, true + return *s.ApmQuery, true } -// HasTags returns a boolean if a field has been set. -func (r *reqGetTags) HasTags() bool { - if r != nil && r.Tags != nil { +// HasApmQuery returns a boolean if a field has been set. +func (s *ScatterplotRequest) HasApmQuery() bool { + if s != nil && s.ApmQuery != nil { return true } return false } -// SetTags allocates a new r.Tags and returns the pointer to it. -func (r *reqGetTags) SetTags(v TagMap) { - r.Tags = &v +// SetApmQuery allocates a new s.ApmQuery and returns the pointer to it. +func (s *ScatterplotRequest) SetApmQuery(v WidgetApmOrLogQuery) { + s.ApmQuery = &v } -// GetColor returns the Color field if non-nil, zero value otherwise. -func (r *Rule) GetColor() string { - if r == nil || r.Color == nil { - return "" +// GetLogQuery returns the LogQuery field if non-nil, zero value otherwise. +func (s *ScatterplotRequest) GetLogQuery() WidgetApmOrLogQuery { + if s == nil || s.LogQuery == nil { + return WidgetApmOrLogQuery{} } - return *r.Color + return *s.LogQuery } -// GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise +// GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *Rule) GetColorOk() (string, bool) { - if r == nil || r.Color == nil { - return "", false +func (s *ScatterplotRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool) { + if s == nil || s.LogQuery == nil { + return WidgetApmOrLogQuery{}, false } - return *r.Color, true + return *s.LogQuery, true } -// HasColor returns a boolean if a field has been set. -func (r *Rule) HasColor() bool { - if r != nil && r.Color != nil { +// HasLogQuery returns a boolean if a field has been set. +func (s *ScatterplotRequest) HasLogQuery() bool { + if s != nil && s.LogQuery != nil { return true } return false } -// SetColor allocates a new r.Color and returns the pointer to it. -func (r *Rule) SetColor(v string) { - r.Color = &v +// SetLogQuery allocates a new s.LogQuery and returns the pointer to it. +func (s *ScatterplotRequest) SetLogQuery(v WidgetApmOrLogQuery) { + s.LogQuery = &v } -// GetThreshold returns the Threshold field if non-nil, zero value otherwise. -func (r *Rule) GetThreshold() json.Number { - if r == nil || r.Threshold == nil { +// GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise. +func (s *ScatterplotRequest) GetMetricQuery() string { + if s == nil || s.MetricQuery == nil { return "" } - return *r.Threshold + return *s.MetricQuery } -// GetThresholdOk returns a tuple with the Threshold field if it's non-nil, zero value otherwise +// GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *Rule) GetThresholdOk() (json.Number, bool) { - if r == nil || r.Threshold == nil { +func (s *ScatterplotRequest) GetMetricQueryOk() (string, bool) { + if s == nil || s.MetricQuery == nil { return "", false } - return *r.Threshold, true + return *s.MetricQuery, true } -// HasThreshold returns a boolean if a field has been set. -func (r *Rule) HasThreshold() bool { - if r != nil && r.Threshold != nil { +// HasMetricQuery returns a boolean if a field has been set. +func (s *ScatterplotRequest) HasMetricQuery() bool { + if s != nil && s.MetricQuery != nil { return true } return false } -// SetThreshold allocates a new r.Threshold and returns the pointer to it. -func (r *Rule) SetThreshold(v json.Number) { - r.Threshold = &v +// SetMetricQuery allocates a new s.MetricQuery and returns the pointer to it. +func (s *ScatterplotRequest) SetMetricQuery(v string) { + s.MetricQuery = &v } -// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise. -func (r *Rule) GetTimeframe() string { - if r == nil || r.Timeframe == nil { - return "" +// GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise. +func (s *ScatterplotRequest) GetProcessQuery() WidgetProcessQuery { + if s == nil || s.ProcessQuery == nil { + return WidgetProcessQuery{} } - return *r.Timeframe + return *s.ProcessQuery } -// GetTimeframeOk returns a tuple with the Timeframe field if it's non-nil, zero value otherwise +// GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (r *Rule) GetTimeframeOk() (string, bool) { - if r == nil || r.Timeframe == nil { - return "", false +func (s *ScatterplotRequest) GetProcessQueryOk() (WidgetProcessQuery, bool) { + if s == nil || s.ProcessQuery == nil { + return WidgetProcessQuery{}, false } - return *r.Timeframe, true + return *s.ProcessQuery, true } -// HasTimeframe returns a boolean if a field has been set. -func (r *Rule) HasTimeframe() bool { - if r != nil && r.Timeframe != nil { +// HasProcessQuery returns a boolean if a field has been set. +func (s *ScatterplotRequest) HasProcessQuery() bool { + if s != nil && s.ProcessQuery != nil { return true } return false } -// SetTimeframe allocates a new r.Timeframe and returns the pointer to it. -func (r *Rule) SetTimeframe(v string) { - r.Timeframe = &v +// SetProcessQuery allocates a new s.ProcessQuery and returns the pointer to it. +func (s *ScatterplotRequest) SetProcessQuery(v WidgetProcessQuery) { + s.ProcessQuery = &v } -// GetRequests returns the Requests field if non-nil, zero value otherwise. -func (s *ScatterplotDefinition) GetRequests() ScatterplotRequests { - if s == nil || s.Requests == nil { - return ScatterplotRequests{} +// GetX returns the X field if non-nil, zero value otherwise. +func (s *ScatterplotRequests) GetX() ScatterplotRequest { + if s == nil || s.X == nil { + return ScatterplotRequest{} } - return *s.Requests + return *s.X } -// GetRequestsOk returns a tuple with the Requests field if it's non-nil, zero value otherwise +// GetXOk returns a tuple with the X field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotDefinition) GetRequestsOk() (ScatterplotRequests, bool) { - if s == nil || s.Requests == nil { - return ScatterplotRequests{}, false +func (s *ScatterplotRequests) GetXOk() (ScatterplotRequest, bool) { + if s == nil || s.X == nil { + return ScatterplotRequest{}, false } - return *s.Requests, true + return *s.X, true } -// HasRequests returns a boolean if a field has been set. -func (s *ScatterplotDefinition) HasRequests() bool { - if s != nil && s.Requests != nil { +// HasX returns a boolean if a field has been set. +func (s *ScatterplotRequests) HasX() bool { + if s != nil && s.X != nil { return true } return false } -// SetRequests allocates a new s.Requests and returns the pointer to it. -func (s *ScatterplotDefinition) SetRequests(v ScatterplotRequests) { - s.Requests = &v +// SetX allocates a new s.X and returns the pointer to it. +func (s *ScatterplotRequests) SetX(v ScatterplotRequest) { + s.X = &v } -// GetTime returns the Time field if non-nil, zero value otherwise. -func (s *ScatterplotDefinition) GetTime() WidgetTime { - if s == nil || s.Time == nil { - return WidgetTime{} +// GetY returns the Y field if non-nil, zero value otherwise. +func (s *ScatterplotRequests) GetY() ScatterplotRequest { + if s == nil || s.Y == nil { + return ScatterplotRequest{} } - return *s.Time + return *s.Y } -// GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise +// GetYOk returns a tuple with the Y field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotDefinition) GetTimeOk() (WidgetTime, bool) { - if s == nil || s.Time == nil { - return WidgetTime{}, false +func (s *ScatterplotRequests) GetYOk() (ScatterplotRequest, bool) { + if s == nil || s.Y == nil { + return ScatterplotRequest{}, false } - return *s.Time, true + return *s.Y, true } -// HasTime returns a boolean if a field has been set. -func (s *ScatterplotDefinition) HasTime() bool { - if s != nil && s.Time != nil { +// HasY returns a boolean if a field has been set. +func (s *ScatterplotRequests) HasY() bool { + if s != nil && s.Y != nil { return true } return false } -// SetTime allocates a new s.Time and returns the pointer to it. -func (s *ScatterplotDefinition) SetTime(v WidgetTime) { - s.Time = &v +// SetY allocates a new s.Y and returns the pointer to it. +func (s *ScatterplotRequests) SetY(v ScatterplotRequest) { + s.Y = &v } -// GetTitle returns the Title field if non-nil, zero value otherwise. -func (s *ScatterplotDefinition) GetTitle() string { - if s == nil || s.Title == nil { - return "" +// GetHeight returns the Height field if non-nil, zero value otherwise. +func (s *Screenboard) GetHeight() int { + if s == nil || s.Height == nil { + return 0 } - return *s.Title + return *s.Height } -// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +// GetHeightOk returns a tuple with the Height field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotDefinition) GetTitleOk() (string, bool) { - if s == nil || s.Title == nil { - return "", false +func (s *Screenboard) GetHeightOk() (int, bool) { + if s == nil || s.Height == nil { + return 0, false } - return *s.Title, true + return *s.Height, true } -// HasTitle returns a boolean if a field has been set. -func (s *ScatterplotDefinition) HasTitle() bool { - if s != nil && s.Title != nil { +// HasHeight returns a boolean if a field has been set. +func (s *Screenboard) HasHeight() bool { + if s != nil && s.Height != nil { return true } return false } -// SetTitle allocates a new s.Title and returns the pointer to it. -func (s *ScatterplotDefinition) SetTitle(v string) { - s.Title = &v +// SetHeight allocates a new s.Height and returns the pointer to it. +func (s *Screenboard) SetHeight(v int) { + s.Height = &v } -// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise. -func (s *ScatterplotDefinition) GetTitleAlign() string { - if s == nil || s.TitleAlign == nil { - return "" +// GetId returns the Id field if non-nil, zero value otherwise. +func (s *Screenboard) GetId() int { + if s == nil || s.Id == nil { + return 0 } - return *s.TitleAlign + return *s.Id } -// GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise +// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotDefinition) GetTitleAlignOk() (string, bool) { - if s == nil || s.TitleAlign == nil { - return "", false +func (s *Screenboard) GetIdOk() (int, bool) { + if s == nil || s.Id == nil { + return 0, false } - return *s.TitleAlign, true + return *s.Id, true } -// HasTitleAlign returns a boolean if a field has been set. -func (s *ScatterplotDefinition) HasTitleAlign() bool { - if s != nil && s.TitleAlign != nil { +// HasId returns a boolean if a field has been set. +func (s *Screenboard) HasId() bool { + if s != nil && s.Id != nil { return true } return false } -// SetTitleAlign allocates a new s.TitleAlign and returns the pointer to it. -func (s *ScatterplotDefinition) SetTitleAlign(v string) { - s.TitleAlign = &v +// SetId allocates a new s.Id and returns the pointer to it. +func (s *Screenboard) SetId(v int) { + s.Id = &v } -// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise. -func (s *ScatterplotDefinition) GetTitleSize() string { - if s == nil || s.TitleSize == nil { +// GetNewId returns the NewId field if non-nil, zero value otherwise. +func (s *Screenboard) GetNewId() string { + if s == nil || s.NewId == nil { return "" } - return *s.TitleSize + return *s.NewId } -// GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise +// GetNewIdOk returns a tuple with the NewId field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotDefinition) GetTitleSizeOk() (string, bool) { - if s == nil || s.TitleSize == nil { +func (s *Screenboard) GetNewIdOk() (string, bool) { + if s == nil || s.NewId == nil { return "", false } - return *s.TitleSize, true + return *s.NewId, true } -// HasTitleSize returns a boolean if a field has been set. -func (s *ScatterplotDefinition) HasTitleSize() bool { - if s != nil && s.TitleSize != nil { +// HasNewId returns a boolean if a field has been set. +func (s *Screenboard) HasNewId() bool { + if s != nil && s.NewId != nil { return true } return false } -// SetTitleSize allocates a new s.TitleSize and returns the pointer to it. -func (s *ScatterplotDefinition) SetTitleSize(v string) { - s.TitleSize = &v +// SetNewId allocates a new s.NewId and returns the pointer to it. +func (s *Screenboard) SetNewId(v string) { + s.NewId = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (s *ScatterplotDefinition) GetType() string { - if s == nil || s.Type == nil { - return "" +// GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise. +func (s *Screenboard) GetReadOnly() bool { + if s == nil || s.ReadOnly == nil { + return false } - return *s.Type + return *s.ReadOnly } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetReadOnlyOk returns a tuple with the ReadOnly field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotDefinition) GetTypeOk() (string, bool) { - if s == nil || s.Type == nil { - return "", false +func (s *Screenboard) GetReadOnlyOk() (bool, bool) { + if s == nil || s.ReadOnly == nil { + return false, false } - return *s.Type, true + return *s.ReadOnly, true } -// HasType returns a boolean if a field has been set. -func (s *ScatterplotDefinition) HasType() bool { - if s != nil && s.Type != nil { +// HasReadOnly returns a boolean if a field has been set. +func (s *Screenboard) HasReadOnly() bool { + if s != nil && s.ReadOnly != nil { return true } return false } -// SetType allocates a new s.Type and returns the pointer to it. -func (s *ScatterplotDefinition) SetType(v string) { - s.Type = &v +// SetReadOnly allocates a new s.ReadOnly and returns the pointer to it. +func (s *Screenboard) SetReadOnly(v bool) { + s.ReadOnly = &v } -// GetXaxis returns the Xaxis field if non-nil, zero value otherwise. -func (s *ScatterplotDefinition) GetXaxis() WidgetAxis { - if s == nil || s.Xaxis == nil { - return WidgetAxis{} +// GetShared returns the Shared field if non-nil, zero value otherwise. +func (s *Screenboard) GetShared() bool { + if s == nil || s.Shared == nil { + return false } - return *s.Xaxis + return *s.Shared } -// GetXaxisOk returns a tuple with the Xaxis field if it's non-nil, zero value otherwise +// GetSharedOk returns a tuple with the Shared field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotDefinition) GetXaxisOk() (WidgetAxis, bool) { - if s == nil || s.Xaxis == nil { - return WidgetAxis{}, false +func (s *Screenboard) GetSharedOk() (bool, bool) { + if s == nil || s.Shared == nil { + return false, false } - return *s.Xaxis, true + return *s.Shared, true } -// HasXaxis returns a boolean if a field has been set. -func (s *ScatterplotDefinition) HasXaxis() bool { - if s != nil && s.Xaxis != nil { +// HasShared returns a boolean if a field has been set. +func (s *Screenboard) HasShared() bool { + if s != nil && s.Shared != nil { return true } return false } -// SetXaxis allocates a new s.Xaxis and returns the pointer to it. -func (s *ScatterplotDefinition) SetXaxis(v WidgetAxis) { - s.Xaxis = &v +// SetShared allocates a new s.Shared and returns the pointer to it. +func (s *Screenboard) SetShared(v bool) { + s.Shared = &v } -// GetYaxis returns the Yaxis field if non-nil, zero value otherwise. -func (s *ScatterplotDefinition) GetYaxis() WidgetAxis { - if s == nil || s.Yaxis == nil { - return WidgetAxis{} +// GetTitle returns the Title field if non-nil, zero value otherwise. +func (s *Screenboard) GetTitle() string { + if s == nil || s.Title == nil { + return "" } - return *s.Yaxis + return *s.Title } -// GetYaxisOk returns a tuple with the Yaxis field if it's non-nil, zero value otherwise +// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotDefinition) GetYaxisOk() (WidgetAxis, bool) { - if s == nil || s.Yaxis == nil { - return WidgetAxis{}, false +func (s *Screenboard) GetTitleOk() (string, bool) { + if s == nil || s.Title == nil { + return "", false } - return *s.Yaxis, true + return *s.Title, true } -// HasYaxis returns a boolean if a field has been set. -func (s *ScatterplotDefinition) HasYaxis() bool { - if s != nil && s.Yaxis != nil { +// HasTitle returns a boolean if a field has been set. +func (s *Screenboard) HasTitle() bool { + if s != nil && s.Title != nil { return true } return false } -// SetYaxis allocates a new s.Yaxis and returns the pointer to it. -func (s *ScatterplotDefinition) SetYaxis(v WidgetAxis) { - s.Yaxis = &v +// SetTitle allocates a new s.Title and returns the pointer to it. +func (s *Screenboard) SetTitle(v string) { + s.Title = &v } -// GetAggregator returns the Aggregator field if non-nil, zero value otherwise. -func (s *ScatterplotRequest) GetAggregator() string { - if s == nil || s.Aggregator == nil { - return "" +// GetWidth returns the Width field if non-nil, zero value otherwise. +func (s *Screenboard) GetWidth() int { + if s == nil || s.Width == nil { + return 0 } - return *s.Aggregator + return *s.Width } -// GetAggregatorOk returns a tuple with the Aggregator field if it's non-nil, zero value otherwise +// GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotRequest) GetAggregatorOk() (string, bool) { - if s == nil || s.Aggregator == nil { - return "", false +func (s *Screenboard) GetWidthOk() (int, bool) { + if s == nil || s.Width == nil { + return 0, false } - return *s.Aggregator, true + return *s.Width, true } -// HasAggregator returns a boolean if a field has been set. -func (s *ScatterplotRequest) HasAggregator() bool { - if s != nil && s.Aggregator != nil { +// HasWidth returns a boolean if a field has been set. +func (s *Screenboard) HasWidth() bool { + if s != nil && s.Width != nil { return true } return false } -// SetAggregator allocates a new s.Aggregator and returns the pointer to it. -func (s *ScatterplotRequest) SetAggregator(v string) { - s.Aggregator = &v +// SetWidth allocates a new s.Width and returns the pointer to it. +func (s *Screenboard) SetWidth(v int) { + s.Width = &v } -// GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise. -func (s *ScatterplotRequest) GetApmQuery() WidgetApmOrLogQuery { - if s == nil || s.ApmQuery == nil { - return WidgetApmOrLogQuery{} +// GetId returns the Id field if non-nil, zero value otherwise. +func (s *ScreenboardLite) GetId() int { + if s == nil || s.Id == nil { + return 0 } - return *s.ApmQuery + return *s.Id } -// GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise +// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool) { - if s == nil || s.ApmQuery == nil { - return WidgetApmOrLogQuery{}, false +func (s *ScreenboardLite) GetIdOk() (int, bool) { + if s == nil || s.Id == nil { + return 0, false } - return *s.ApmQuery, true + return *s.Id, true } -// HasApmQuery returns a boolean if a field has been set. -func (s *ScatterplotRequest) HasApmQuery() bool { - if s != nil && s.ApmQuery != nil { +// HasId returns a boolean if a field has been set. +func (s *ScreenboardLite) HasId() bool { + if s != nil && s.Id != nil { return true } return false } -// SetApmQuery allocates a new s.ApmQuery and returns the pointer to it. -func (s *ScatterplotRequest) SetApmQuery(v WidgetApmOrLogQuery) { - s.ApmQuery = &v +// SetId allocates a new s.Id and returns the pointer to it. +func (s *ScreenboardLite) SetId(v int) { + s.Id = &v } -// GetLogQuery returns the LogQuery field if non-nil, zero value otherwise. -func (s *ScatterplotRequest) GetLogQuery() WidgetApmOrLogQuery { - if s == nil || s.LogQuery == nil { - return WidgetApmOrLogQuery{} +// GetResource returns the Resource field if non-nil, zero value otherwise. +func (s *ScreenboardLite) GetResource() string { + if s == nil || s.Resource == nil { + return "" } - return *s.LogQuery + return *s.Resource } -// GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise +// GetResourceOk returns a tuple with the Resource field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool) { - if s == nil || s.LogQuery == nil { - return WidgetApmOrLogQuery{}, false +func (s *ScreenboardLite) GetResourceOk() (string, bool) { + if s == nil || s.Resource == nil { + return "", false } - return *s.LogQuery, true + return *s.Resource, true } -// HasLogQuery returns a boolean if a field has been set. -func (s *ScatterplotRequest) HasLogQuery() bool { - if s != nil && s.LogQuery != nil { +// HasResource returns a boolean if a field has been set. +func (s *ScreenboardLite) HasResource() bool { + if s != nil && s.Resource != nil { return true } return false } -// SetLogQuery allocates a new s.LogQuery and returns the pointer to it. -func (s *ScatterplotRequest) SetLogQuery(v WidgetApmOrLogQuery) { - s.LogQuery = &v +// SetResource allocates a new s.Resource and returns the pointer to it. +func (s *ScreenboardLite) SetResource(v string) { + s.Resource = &v } -// GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise. -func (s *ScatterplotRequest) GetMetricQuery() string { - if s == nil || s.MetricQuery == nil { +// GetTitle returns the Title field if non-nil, zero value otherwise. +func (s *ScreenboardLite) GetTitle() string { + if s == nil || s.Title == nil { return "" } - return *s.MetricQuery + return *s.Title } -// GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise +// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotRequest) GetMetricQueryOk() (string, bool) { - if s == nil || s.MetricQuery == nil { +func (s *ScreenboardLite) GetTitleOk() (string, bool) { + if s == nil || s.Title == nil { return "", false } - return *s.MetricQuery, true + return *s.Title, true } -// HasMetricQuery returns a boolean if a field has been set. -func (s *ScatterplotRequest) HasMetricQuery() bool { - if s != nil && s.MetricQuery != nil { +// HasTitle returns a boolean if a field has been set. +func (s *ScreenboardLite) HasTitle() bool { + if s != nil && s.Title != nil { return true } return false } -// SetMetricQuery allocates a new s.MetricQuery and returns the pointer to it. -func (s *ScatterplotRequest) SetMetricQuery(v string) { - s.MetricQuery = &v +// SetTitle allocates a new s.Title and returns the pointer to it. +func (s *ScreenboardLite) SetTitle(v string) { + s.Title = &v } -// GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise. -func (s *ScatterplotRequest) GetProcessQuery() WidgetProcessQuery { - if s == nil || s.ProcessQuery == nil { - return WidgetProcessQuery{} +// GetId returns the Id field if non-nil, zero value otherwise. +func (s *ScreenboardMonitor) GetId() int { + if s == nil || s.Id == nil { + return 0 } - return *s.ProcessQuery + return *s.Id } -// GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise +// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotRequest) GetProcessQueryOk() (WidgetProcessQuery, bool) { - if s == nil || s.ProcessQuery == nil { - return WidgetProcessQuery{}, false +func (s *ScreenboardMonitor) GetIdOk() (int, bool) { + if s == nil || s.Id == nil { + return 0, false } - return *s.ProcessQuery, true + return *s.Id, true } -// HasProcessQuery returns a boolean if a field has been set. -func (s *ScatterplotRequest) HasProcessQuery() bool { - if s != nil && s.ProcessQuery != nil { +// HasId returns a boolean if a field has been set. +func (s *ScreenboardMonitor) HasId() bool { + if s != nil && s.Id != nil { return true } return false } -// SetProcessQuery allocates a new s.ProcessQuery and returns the pointer to it. -func (s *ScatterplotRequest) SetProcessQuery(v WidgetProcessQuery) { - s.ProcessQuery = &v +// SetId allocates a new s.Id and returns the pointer to it. +func (s *ScreenboardMonitor) SetId(v int) { + s.Id = &v } -// GetX returns the X field if non-nil, zero value otherwise. -func (s *ScatterplotRequests) GetX() ScatterplotRequest { - if s == nil || s.X == nil { - return ScatterplotRequest{} +// GetAggr returns the Aggr field if non-nil, zero value otherwise. +func (s *Series) GetAggr() string { + if s == nil || s.Aggr == nil { + return "" } - return *s.X + return *s.Aggr } -// GetXOk returns a tuple with the X field if it's non-nil, zero value otherwise +// GetAggrOk returns a tuple with the Aggr field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotRequests) GetXOk() (ScatterplotRequest, bool) { - if s == nil || s.X == nil { - return ScatterplotRequest{}, false +func (s *Series) GetAggrOk() (string, bool) { + if s == nil || s.Aggr == nil { + return "", false } - return *s.X, true + return *s.Aggr, true } -// HasX returns a boolean if a field has been set. -func (s *ScatterplotRequests) HasX() bool { - if s != nil && s.X != nil { +// HasAggr returns a boolean if a field has been set. +func (s *Series) HasAggr() bool { + if s != nil && s.Aggr != nil { return true } return false } -// SetX allocates a new s.X and returns the pointer to it. -func (s *ScatterplotRequests) SetX(v ScatterplotRequest) { - s.X = &v +// SetAggr allocates a new s.Aggr and returns the pointer to it. +func (s *Series) SetAggr(v string) { + s.Aggr = &v } -// GetY returns the Y field if non-nil, zero value otherwise. -func (s *ScatterplotRequests) GetY() ScatterplotRequest { - if s == nil || s.Y == nil { - return ScatterplotRequest{} +// GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. +func (s *Series) GetDisplayName() string { + if s == nil || s.DisplayName == nil { + return "" } - return *s.Y + return *s.DisplayName } -// GetYOk returns a tuple with the Y field if it's non-nil, zero value otherwise +// GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScatterplotRequests) GetYOk() (ScatterplotRequest, bool) { - if s == nil || s.Y == nil { - return ScatterplotRequest{}, false +func (s *Series) GetDisplayNameOk() (string, bool) { + if s == nil || s.DisplayName == nil { + return "", false } - return *s.Y, true + return *s.DisplayName, true } -// HasY returns a boolean if a field has been set. -func (s *ScatterplotRequests) HasY() bool { - if s != nil && s.Y != nil { +// HasDisplayName returns a boolean if a field has been set. +func (s *Series) HasDisplayName() bool { + if s != nil && s.DisplayName != nil { return true } return false } -// SetY allocates a new s.Y and returns the pointer to it. -func (s *ScatterplotRequests) SetY(v ScatterplotRequest) { - s.Y = &v +// SetDisplayName allocates a new s.DisplayName and returns the pointer to it. +func (s *Series) SetDisplayName(v string) { + s.DisplayName = &v } -// GetHeight returns the Height field if non-nil, zero value otherwise. -func (s *Screenboard) GetHeight() int { - if s == nil || s.Height == nil { +// GetEnd returns the End field if non-nil, zero value otherwise. +func (s *Series) GetEnd() float64 { + if s == nil || s.End == nil { return 0 } - return *s.Height + return *s.End } -// GetHeightOk returns a tuple with the Height field if it's non-nil, zero value otherwise +// GetEndOk returns a tuple with the End field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Screenboard) GetHeightOk() (int, bool) { - if s == nil || s.Height == nil { +func (s *Series) GetEndOk() (float64, bool) { + if s == nil || s.End == nil { return 0, false } - return *s.Height, true + return *s.End, true } -// HasHeight returns a boolean if a field has been set. -func (s *Screenboard) HasHeight() bool { - if s != nil && s.Height != nil { +// HasEnd returns a boolean if a field has been set. +func (s *Series) HasEnd() bool { + if s != nil && s.End != nil { return true } return false } -// SetHeight allocates a new s.Height and returns the pointer to it. -func (s *Screenboard) SetHeight(v int) { - s.Height = &v +// SetEnd allocates a new s.End and returns the pointer to it. +func (s *Series) SetEnd(v float64) { + s.End = &v } -// GetId returns the Id field if non-nil, zero value otherwise. -func (s *Screenboard) GetId() int { - if s == nil || s.Id == nil { - return 0 +// GetExpression returns the Expression field if non-nil, zero value otherwise. +func (s *Series) GetExpression() string { + if s == nil || s.Expression == nil { + return "" } - return *s.Id + return *s.Expression } -// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +// GetExpressionOk returns a tuple with the Expression field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Screenboard) GetIdOk() (int, bool) { - if s == nil || s.Id == nil { - return 0, false +func (s *Series) GetExpressionOk() (string, bool) { + if s == nil || s.Expression == nil { + return "", false } - return *s.Id, true + return *s.Expression, true } -// HasId returns a boolean if a field has been set. -func (s *Screenboard) HasId() bool { - if s != nil && s.Id != nil { +// HasExpression returns a boolean if a field has been set. +func (s *Series) HasExpression() bool { + if s != nil && s.Expression != nil { return true } return false } -// SetId allocates a new s.Id and returns the pointer to it. -func (s *Screenboard) SetId(v int) { - s.Id = &v +// SetExpression allocates a new s.Expression and returns the pointer to it. +func (s *Series) SetExpression(v string) { + s.Expression = &v } -// GetNewId returns the NewId field if non-nil, zero value otherwise. -func (s *Screenboard) GetNewId() string { - if s == nil || s.NewId == nil { - return "" +// GetInterval returns the Interval field if non-nil, zero value otherwise. +func (s *Series) GetInterval() int { + if s == nil || s.Interval == nil { + return 0 } - return *s.NewId + return *s.Interval } -// GetNewIdOk returns a tuple with the NewId field if it's non-nil, zero value otherwise +// 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 (s *Screenboard) GetNewIdOk() (string, bool) { - if s == nil || s.NewId == nil { - return "", false +func (s *Series) GetIntervalOk() (int, bool) { + if s == nil || s.Interval == nil { + return 0, false } - return *s.NewId, true + return *s.Interval, true } -// HasNewId returns a boolean if a field has been set. -func (s *Screenboard) HasNewId() bool { - if s != nil && s.NewId != nil { +// HasInterval returns a boolean if a field has been set. +func (s *Series) HasInterval() bool { + if s != nil && s.Interval != nil { return true } return false } -// SetNewId allocates a new s.NewId and returns the pointer to it. -func (s *Screenboard) SetNewId(v string) { - s.NewId = &v +// SetInterval allocates a new s.Interval and returns the pointer to it. +func (s *Series) SetInterval(v int) { + s.Interval = &v } -// GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise. -func (s *Screenboard) GetReadOnly() bool { - if s == nil || s.ReadOnly == nil { - return false +// GetLength returns the Length field if non-nil, zero value otherwise. +func (s *Series) GetLength() int { + if s == nil || s.Length == nil { + return 0 } - return *s.ReadOnly + return *s.Length } -// GetReadOnlyOk returns a tuple with the ReadOnly field if it's non-nil, zero value otherwise +// GetLengthOk returns a tuple with the Length field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Screenboard) GetReadOnlyOk() (bool, bool) { - if s == nil || s.ReadOnly == nil { - return false, false +func (s *Series) GetLengthOk() (int, bool) { + if s == nil || s.Length == nil { + return 0, false } - return *s.ReadOnly, true + return *s.Length, true } -// HasReadOnly returns a boolean if a field has been set. -func (s *Screenboard) HasReadOnly() bool { - if s != nil && s.ReadOnly != nil { +// HasLength returns a boolean if a field has been set. +func (s *Series) HasLength() bool { + if s != nil && s.Length != nil { return true } return false } -// SetReadOnly allocates a new s.ReadOnly and returns the pointer to it. -func (s *Screenboard) SetReadOnly(v bool) { - s.ReadOnly = &v +// SetLength allocates a new s.Length and returns the pointer to it. +func (s *Series) SetLength(v int) { + s.Length = &v } -// GetShared returns the Shared field if non-nil, zero value otherwise. -func (s *Screenboard) GetShared() bool { - if s == nil || s.Shared == nil { - return false +// GetMetric returns the Metric field if non-nil, zero value otherwise. +func (s *Series) GetMetric() string { + if s == nil || s.Metric == nil { + return "" } - return *s.Shared + return *s.Metric } -// GetSharedOk returns a tuple with the Shared field if it's non-nil, zero value otherwise +// GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Screenboard) GetSharedOk() (bool, bool) { - if s == nil || s.Shared == nil { - return false, false +func (s *Series) GetMetricOk() (string, bool) { + if s == nil || s.Metric == nil { + return "", false } - return *s.Shared, true + return *s.Metric, true } -// HasShared returns a boolean if a field has been set. -func (s *Screenboard) HasShared() bool { - if s != nil && s.Shared != nil { +// HasMetric returns a boolean if a field has been set. +func (s *Series) HasMetric() bool { + if s != nil && s.Metric != nil { return true } return false } -// SetShared allocates a new s.Shared and returns the pointer to it. -func (s *Screenboard) SetShared(v bool) { - s.Shared = &v +// SetMetric allocates a new s.Metric and returns the pointer to it. +func (s *Series) SetMetric(v string) { + s.Metric = &v } -// GetTitle returns the Title field if non-nil, zero value otherwise. -func (s *Screenboard) GetTitle() string { - if s == nil || s.Title == nil { +// GetScope returns the Scope field if non-nil, zero value otherwise. +func (s *Series) GetScope() string { + if s == nil || s.Scope == nil { return "" } - return *s.Title + return *s.Scope } -// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +// GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Screenboard) GetTitleOk() (string, bool) { - if s == nil || s.Title == nil { +func (s *Series) GetScopeOk() (string, bool) { + if s == nil || s.Scope == nil { return "", false } - return *s.Title, true + return *s.Scope, true } -// HasTitle returns a boolean if a field has been set. -func (s *Screenboard) HasTitle() bool { - if s != nil && s.Title != nil { +// HasScope returns a boolean if a field has been set. +func (s *Series) HasScope() bool { + if s != nil && s.Scope != nil { return true } return false } -// SetTitle allocates a new s.Title and returns the pointer to it. -func (s *Screenboard) SetTitle(v string) { - s.Title = &v +// SetScope allocates a new s.Scope and returns the pointer to it. +func (s *Series) SetScope(v string) { + s.Scope = &v } -// GetWidth returns the Width field if non-nil, zero value otherwise. -func (s *Screenboard) GetWidth() int { - if s == nil || s.Width == nil { +// GetStart returns the Start field if non-nil, zero value otherwise. +func (s *Series) GetStart() float64 { + if s == nil || s.Start == nil { return 0 } - return *s.Width + return *s.Start } -// GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise +// GetStartOk returns a tuple with the Start field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Screenboard) GetWidthOk() (int, bool) { - if s == nil || s.Width == nil { +func (s *Series) GetStartOk() (float64, bool) { + if s == nil || s.Start == nil { return 0, false } - return *s.Width, true + return *s.Start, true } -// HasWidth returns a boolean if a field has been set. -func (s *Screenboard) HasWidth() bool { - if s != nil && s.Width != nil { +// HasStart returns a boolean if a field has been set. +func (s *Series) HasStart() bool { + if s != nil && s.Start != nil { return true } return false } -// SetWidth allocates a new s.Width and returns the pointer to it. -func (s *Screenboard) SetWidth(v int) { - s.Width = &v +// SetStart allocates a new s.Start and returns the pointer to it. +func (s *Series) SetStart(v float64) { + s.Start = &v } -// GetId returns the Id field if non-nil, zero value otherwise. -func (s *ScreenboardLite) GetId() int { - if s == nil || s.Id == nil { - return 0 +// GetUnits returns the Units field if non-nil, zero value otherwise. +func (s *Series) GetUnits() UnitPair { + if s == nil || s.Units == nil { + return UnitPair{} } - return *s.Id + return *s.Units } -// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +// GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScreenboardLite) GetIdOk() (int, bool) { - if s == nil || s.Id == nil { - return 0, false +func (s *Series) GetUnitsOk() (UnitPair, bool) { + if s == nil || s.Units == nil { + return UnitPair{}, false } - return *s.Id, true + return *s.Units, true } -// HasId returns a boolean if a field has been set. -func (s *ScreenboardLite) HasId() bool { - if s != nil && s.Id != nil { +// HasUnits returns a boolean if a field has been set. +func (s *Series) HasUnits() bool { + if s != nil && s.Units != nil { return true } return false } -// SetId allocates a new s.Id and returns the pointer to it. -func (s *ScreenboardLite) SetId(v int) { - s.Id = &v +// SetUnits allocates a new s.Units and returns the pointer to it. +func (s *Series) SetUnits(v UnitPair) { + s.Units = &v } -// GetResource returns the Resource field if non-nil, zero value otherwise. -func (s *ScreenboardLite) GetResource() string { - if s == nil || s.Resource == nil { +// GetAccount returns the Account field if non-nil, zero value otherwise. +func (s *ServiceHookSlackRequest) GetAccount() string { + if s == nil || s.Account == nil { return "" } - return *s.Resource + return *s.Account } -// GetResourceOk returns a tuple with the Resource field if it's non-nil, zero value otherwise +// GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScreenboardLite) GetResourceOk() (string, bool) { - if s == nil || s.Resource == nil { +func (s *ServiceHookSlackRequest) GetAccountOk() (string, bool) { + if s == nil || s.Account == nil { return "", false } - return *s.Resource, true + return *s.Account, true } -// HasResource returns a boolean if a field has been set. -func (s *ScreenboardLite) HasResource() bool { - if s != nil && s.Resource != nil { +// HasAccount returns a boolean if a field has been set. +func (s *ServiceHookSlackRequest) HasAccount() bool { + if s != nil && s.Account != nil { return true } return false } -// SetResource allocates a new s.Resource and returns the pointer to it. -func (s *ScreenboardLite) SetResource(v string) { - s.Resource = &v +// SetAccount allocates a new s.Account and returns the pointer to it. +func (s *ServiceHookSlackRequest) SetAccount(v string) { + s.Account = &v } -// GetTitle returns the Title field if non-nil, zero value otherwise. -func (s *ScreenboardLite) GetTitle() string { - if s == nil || s.Title == nil { +// GetUrl returns the Url field if non-nil, zero value otherwise. +func (s *ServiceHookSlackRequest) GetUrl() string { + if s == nil || s.Url == nil { return "" } - return *s.Title + return *s.Url } -// GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +// GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScreenboardLite) GetTitleOk() (string, bool) { - if s == nil || s.Title == nil { +func (s *ServiceHookSlackRequest) GetUrlOk() (string, bool) { + if s == nil || s.Url == nil { return "", false } - return *s.Title, true + return *s.Url, true } -// HasTitle returns a boolean if a field has been set. -func (s *ScreenboardLite) HasTitle() bool { - if s != nil && s.Title != nil { +// HasUrl returns a boolean if a field has been set. +func (s *ServiceHookSlackRequest) HasUrl() bool { + if s != nil && s.Url != nil { return true } return false } -// SetTitle allocates a new s.Title and returns the pointer to it. -func (s *ScreenboardLite) SetTitle(v string) { - s.Title = &v +// SetUrl allocates a new s.Url and returns the pointer to it. +func (s *ServiceHookSlackRequest) SetUrl(v string) { + s.Url = &v } -// GetId returns the Id field if non-nil, zero value otherwise. -func (s *ScreenboardMonitor) GetId() int { - if s == nil || s.Id == nil { - return 0 +// GetServiceKey returns the ServiceKey field if non-nil, zero value otherwise. +func (s *servicePD) GetServiceKey() string { + if s == nil || s.ServiceKey == nil { + return "" } - return *s.Id + return *s.ServiceKey } -// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +// GetServiceKeyOk returns a tuple with the ServiceKey field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ScreenboardMonitor) GetIdOk() (int, bool) { - if s == nil || s.Id == nil { - return 0, false +func (s *servicePD) GetServiceKeyOk() (string, bool) { + if s == nil || s.ServiceKey == nil { + return "", false } - return *s.Id, true + return *s.ServiceKey, true } -// HasId returns a boolean if a field has been set. -func (s *ScreenboardMonitor) HasId() bool { - if s != nil && s.Id != nil { +// HasServiceKey returns a boolean if a field has been set. +func (s *servicePD) HasServiceKey() bool { + if s != nil && s.ServiceKey != nil { return true } return false } -// SetId allocates a new s.Id and returns the pointer to it. -func (s *ScreenboardMonitor) SetId(v int) { - s.Id = &v +// SetServiceKey allocates a new s.ServiceKey and returns the pointer to it. +func (s *servicePD) SetServiceKey(v string) { + s.ServiceKey = &v } -// GetAggr returns the Aggr field if non-nil, zero value otherwise. -func (s *Series) GetAggr() string { - if s == nil || s.Aggr == nil { +// GetServiceName returns the ServiceName field if non-nil, zero value otherwise. +func (s *servicePD) GetServiceName() string { + if s == nil || s.ServiceName == nil { return "" } - return *s.Aggr + return *s.ServiceName } -// GetAggrOk returns a tuple with the Aggr field if it's non-nil, zero value otherwise +// GetServiceNameOk returns a tuple with the ServiceName field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Series) GetAggrOk() (string, bool) { - if s == nil || s.Aggr == nil { +func (s *servicePD) GetServiceNameOk() (string, bool) { + if s == nil || s.ServiceName == nil { return "", false } - return *s.Aggr, true + return *s.ServiceName, true } -// HasAggr returns a boolean if a field has been set. -func (s *Series) HasAggr() bool { - if s != nil && s.Aggr != nil { +// HasServiceName returns a boolean if a field has been set. +func (s *servicePD) HasServiceName() bool { + if s != nil && s.ServiceName != nil { return true } return false } -// SetAggr allocates a new s.Aggr and returns the pointer to it. -func (s *Series) SetAggr(v string) { - s.Aggr = &v +// SetServiceName allocates a new s.ServiceName and returns the pointer to it. +func (s *servicePD) SetServiceName(v string) { + s.ServiceName = &v } -// GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. -func (s *Series) GetDisplayName() string { - if s == nil || s.DisplayName == nil { +// GetServiceKey returns the ServiceKey field if non-nil, zero value otherwise. +func (s *ServicePDRequest) GetServiceKey() string { + if s == nil || s.ServiceKey == nil { return "" } - return *s.DisplayName + return *s.ServiceKey } -// GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise +// GetServiceKeyOk returns a tuple with the ServiceKey field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Series) GetDisplayNameOk() (string, bool) { - if s == nil || s.DisplayName == nil { +func (s *ServicePDRequest) GetServiceKeyOk() (string, bool) { + if s == nil || s.ServiceKey == nil { return "", false } - return *s.DisplayName, true + return *s.ServiceKey, true } -// HasDisplayName returns a boolean if a field has been set. -func (s *Series) HasDisplayName() bool { - if s != nil && s.DisplayName != nil { +// HasServiceKey returns a boolean if a field has been set. +func (s *ServicePDRequest) HasServiceKey() bool { + if s != nil && s.ServiceKey != nil { return true } return false } -// SetDisplayName allocates a new s.DisplayName and returns the pointer to it. -func (s *Series) SetDisplayName(v string) { - s.DisplayName = &v +// SetServiceKey allocates a new s.ServiceKey and returns the pointer to it. +func (s *ServicePDRequest) SetServiceKey(v string) { + s.ServiceKey = &v } -// GetEnd returns the End field if non-nil, zero value otherwise. -func (s *Series) GetEnd() float64 { - if s == nil || s.End == nil { - return 0 +// GetServiceName returns the ServiceName field if non-nil, zero value otherwise. +func (s *ServicePDRequest) GetServiceName() string { + if s == nil || s.ServiceName == nil { + return "" } - return *s.End + return *s.ServiceName } -// GetEndOk returns a tuple with the End field if it's non-nil, zero value otherwise +// GetServiceNameOk returns a tuple with the ServiceName field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Series) GetEndOk() (float64, bool) { - if s == nil || s.End == nil { - return 0, false +func (s *ServicePDRequest) GetServiceNameOk() (string, bool) { + if s == nil || s.ServiceName == nil { + return "", false } - return *s.End, true + return *s.ServiceName, true } -// HasEnd returns a boolean if a field has been set. -func (s *Series) HasEnd() bool { - if s != nil && s.End != nil { +// HasServiceName returns a boolean if a field has been set. +func (s *ServicePDRequest) HasServiceName() bool { + if s != nil && s.ServiceName != nil { return true } return false } -// SetEnd allocates a new s.End and returns the pointer to it. -func (s *Series) SetEnd(v float64) { - s.End = &v +// SetServiceName allocates a new s.ServiceName and returns the pointer to it. +func (s *ServicePDRequest) SetServiceName(v string) { + s.ServiceName = &v } -// GetExpression returns the Expression field if non-nil, zero value otherwise. -func (s *Series) GetExpression() string { - if s == nil || s.Expression == nil { +// GetFillMax returns the FillMax field if non-nil, zero value otherwise. +func (s *Style) GetFillMax() json.Number { + if s == nil || s.FillMax == nil { return "" } - return *s.Expression + return *s.FillMax } -// GetExpressionOk returns a tuple with the Expression field if it's non-nil, zero value otherwise +// GetFillMaxOk returns a tuple with the FillMax field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Series) GetExpressionOk() (string, bool) { - if s == nil || s.Expression == nil { +func (s *Style) GetFillMaxOk() (json.Number, bool) { + if s == nil || s.FillMax == nil { return "", false } - return *s.Expression, true + return *s.FillMax, true } -// HasExpression returns a boolean if a field has been set. -func (s *Series) HasExpression() bool { - if s != nil && s.Expression != nil { +// HasFillMax returns a boolean if a field has been set. +func (s *Style) HasFillMax() bool { + if s != nil && s.FillMax != nil { return true } return false } -// SetExpression allocates a new s.Expression and returns the pointer to it. -func (s *Series) SetExpression(v string) { - s.Expression = &v +// SetFillMax allocates a new s.FillMax and returns the pointer to it. +func (s *Style) SetFillMax(v json.Number) { + s.FillMax = &v } -// GetInterval returns the Interval field if non-nil, zero value otherwise. -func (s *Series) GetInterval() int { - if s == nil || s.Interval == nil { - return 0 +// GetFillMin returns the FillMin field if non-nil, zero value otherwise. +func (s *Style) GetFillMin() json.Number { + if s == nil || s.FillMin == nil { + return "" } - return *s.Interval + return *s.FillMin } -// GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise +// GetFillMinOk returns a tuple with the FillMin field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Series) GetIntervalOk() (int, bool) { - if s == nil || s.Interval == nil { - return 0, false +func (s *Style) GetFillMinOk() (json.Number, bool) { + if s == nil || s.FillMin == nil { + return "", false } - return *s.Interval, true + return *s.FillMin, true } -// HasInterval returns a boolean if a field has been set. -func (s *Series) HasInterval() bool { - if s != nil && s.Interval != nil { +// HasFillMin returns a boolean if a field has been set. +func (s *Style) HasFillMin() bool { + if s != nil && s.FillMin != nil { return true } return false } -// SetInterval allocates a new s.Interval and returns the pointer to it. -func (s *Series) SetInterval(v int) { - s.Interval = &v +// SetFillMin allocates a new s.FillMin and returns the pointer to it. +func (s *Style) SetFillMin(v json.Number) { + s.FillMin = &v } -// GetLength returns the Length field if non-nil, zero value otherwise. -func (s *Series) GetLength() int { - if s == nil || s.Length == nil { - return 0 +// GetPalette returns the Palette field if non-nil, zero value otherwise. +func (s *Style) GetPalette() string { + if s == nil || s.Palette == nil { + return "" } - return *s.Length + return *s.Palette } -// GetLengthOk returns a tuple with the Length field if it's non-nil, zero value otherwise +// GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Series) GetLengthOk() (int, bool) { - if s == nil || s.Length == nil { - return 0, false +func (s *Style) GetPaletteOk() (string, bool) { + if s == nil || s.Palette == nil { + return "", false } - return *s.Length, true + return *s.Palette, true } -// HasLength returns a boolean if a field has been set. -func (s *Series) HasLength() bool { - if s != nil && s.Length != nil { +// HasPalette returns a boolean if a field has been set. +func (s *Style) HasPalette() bool { + if s != nil && s.Palette != nil { return true } return false } -// SetLength allocates a new s.Length and returns the pointer to it. -func (s *Series) SetLength(v int) { - s.Length = &v +// SetPalette allocates a new s.Palette and returns the pointer to it. +func (s *Style) SetPalette(v string) { + s.Palette = &v } -// GetMetric returns the Metric field if non-nil, zero value otherwise. -func (s *Series) GetMetric() string { - if s == nil || s.Metric == nil { - return "" +// GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise. +func (s *Style) GetPaletteFlip() bool { + if s == nil || s.PaletteFlip == nil { + return false } - return *s.Metric + return *s.PaletteFlip } -// GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise +// GetPaletteFlipOk returns a tuple with the PaletteFlip field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Series) GetMetricOk() (string, bool) { - if s == nil || s.Metric == nil { - return "", false +func (s *Style) GetPaletteFlipOk() (bool, bool) { + if s == nil || s.PaletteFlip == nil { + return false, false } - return *s.Metric, true + return *s.PaletteFlip, true } -// HasMetric returns a boolean if a field has been set. -func (s *Series) HasMetric() bool { - if s != nil && s.Metric != nil { +// HasPaletteFlip returns a boolean if a field has been set. +func (s *Style) HasPaletteFlip() bool { + if s != nil && s.PaletteFlip != nil { return true } return false } -// SetMetric allocates a new s.Metric and returns the pointer to it. -func (s *Series) SetMetric(v string) { - s.Metric = &v +// SetPaletteFlip allocates a new s.PaletteFlip and returns the pointer to it. +func (s *Style) SetPaletteFlip(v bool) { + s.PaletteFlip = &v } -// GetScope returns the Scope field if non-nil, zero value otherwise. -func (s *Series) GetScope() string { - if s == nil || s.Scope == nil { +// GetOperator returns the Operator field if non-nil, zero value otherwise. +func (s *SyntheticsAssertion) GetOperator() string { + if s == nil || s.Operator == nil { return "" } - return *s.Scope + return *s.Operator } -// GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise +// GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Series) GetScopeOk() (string, bool) { - if s == nil || s.Scope == nil { +func (s *SyntheticsAssertion) GetOperatorOk() (string, bool) { + if s == nil || s.Operator == nil { return "", false } - return *s.Scope, true + return *s.Operator, true } -// HasScope returns a boolean if a field has been set. -func (s *Series) HasScope() bool { - if s != nil && s.Scope != nil { +// HasOperator returns a boolean if a field has been set. +func (s *SyntheticsAssertion) HasOperator() bool { + if s != nil && s.Operator != nil { return true } return false } -// SetScope allocates a new s.Scope and returns the pointer to it. -func (s *Series) SetScope(v string) { - s.Scope = &v +// SetOperator allocates a new s.Operator and returns the pointer to it. +func (s *SyntheticsAssertion) SetOperator(v string) { + s.Operator = &v } -// GetStart returns the Start field if non-nil, zero value otherwise. -func (s *Series) GetStart() float64 { - if s == nil || s.Start == nil { - return 0 +// GetProperty returns the Property field if non-nil, zero value otherwise. +func (s *SyntheticsAssertion) GetProperty() string { + if s == nil || s.Property == nil { + return "" } - return *s.Start + return *s.Property } -// GetStartOk returns a tuple with the Start field if it's non-nil, zero value otherwise +// GetPropertyOk returns a tuple with the Property field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Series) GetStartOk() (float64, bool) { - if s == nil || s.Start == nil { - return 0, false +func (s *SyntheticsAssertion) GetPropertyOk() (string, bool) { + if s == nil || s.Property == nil { + return "", false } - return *s.Start, true + return *s.Property, true } -// HasStart returns a boolean if a field has been set. -func (s *Series) HasStart() bool { - if s != nil && s.Start != nil { +// HasProperty returns a boolean if a field has been set. +func (s *SyntheticsAssertion) HasProperty() bool { + if s != nil && s.Property != nil { return true } return false } -// SetStart allocates a new s.Start and returns the pointer to it. -func (s *Series) SetStart(v float64) { - s.Start = &v +// SetProperty allocates a new s.Property and returns the pointer to it. +func (s *SyntheticsAssertion) SetProperty(v string) { + s.Property = &v } -// GetUnits returns the Units field if non-nil, zero value otherwise. -func (s *Series) GetUnits() UnitPair { - if s == nil || s.Units == nil { - return UnitPair{} +// GetType returns the Type field if non-nil, zero value otherwise. +func (s *SyntheticsAssertion) GetType() string { + if s == nil || s.Type == nil { + return "" } - return *s.Units + return *s.Type } -// GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Series) GetUnitsOk() (UnitPair, bool) { - if s == nil || s.Units == nil { - return UnitPair{}, false +func (s *SyntheticsAssertion) GetTypeOk() (string, bool) { + if s == nil || s.Type == nil { + return "", false } - return *s.Units, true + return *s.Type, true } -// HasUnits returns a boolean if a field has been set. -func (s *Series) HasUnits() bool { - if s != nil && s.Units != nil { +// HasType returns a boolean if a field has been set. +func (s *SyntheticsAssertion) HasType() bool { + if s != nil && s.Type != nil { return true } return false } -// SetUnits allocates a new s.Units and returns the pointer to it. -func (s *Series) SetUnits(v UnitPair) { - s.Units = &v +// SetType allocates a new s.Type and returns the pointer to it. +func (s *SyntheticsAssertion) SetType(v string) { + s.Type = &v } -// GetAccount returns the Account field if non-nil, zero value otherwise. -func (s *ServiceHookSlackRequest) GetAccount() string { - if s == nil || s.Account == nil { - return "" +// GetRequest returns the Request field if non-nil, zero value otherwise. +func (s *SyntheticsConfig) GetRequest() SyntheticsRequest { + if s == nil || s.Request == nil { + return SyntheticsRequest{} } - return *s.Account + return *s.Request } -// GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise +// GetRequestOk returns a tuple with the Request field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ServiceHookSlackRequest) GetAccountOk() (string, bool) { - if s == nil || s.Account == nil { - return "", false +func (s *SyntheticsConfig) GetRequestOk() (SyntheticsRequest, bool) { + if s == nil || s.Request == nil { + return SyntheticsRequest{}, false } - return *s.Account, true + return *s.Request, true } -// HasAccount returns a boolean if a field has been set. -func (s *ServiceHookSlackRequest) HasAccount() bool { - if s != nil && s.Account != nil { +// HasRequest returns a boolean if a field has been set. +func (s *SyntheticsConfig) HasRequest() bool { + if s != nil && s.Request != nil { return true } return false } -// SetAccount allocates a new s.Account and returns the pointer to it. -func (s *ServiceHookSlackRequest) SetAccount(v string) { - s.Account = &v +// SetRequest allocates a new s.Request and returns the pointer to it. +func (s *SyntheticsConfig) SetRequest(v SyntheticsRequest) { + s.Request = &v } -// GetUrl returns the Url field if non-nil, zero value otherwise. -func (s *ServiceHookSlackRequest) GetUrl() string { - if s == nil || s.Url == nil { - return "" +// GetHeight returns the Height field if non-nil, zero value otherwise. +func (s *SyntheticsDevice) GetHeight() int { + if s == nil || s.Height == nil { + return 0 } - return *s.Url + return *s.Height } -// GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +// GetHeightOk returns a tuple with the Height field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ServiceHookSlackRequest) GetUrlOk() (string, bool) { - if s == nil || s.Url == nil { - return "", false +func (s *SyntheticsDevice) GetHeightOk() (int, bool) { + if s == nil || s.Height == nil { + return 0, false } - return *s.Url, true + return *s.Height, true } -// HasUrl returns a boolean if a field has been set. -func (s *ServiceHookSlackRequest) HasUrl() bool { - if s != nil && s.Url != nil { +// HasHeight returns a boolean if a field has been set. +func (s *SyntheticsDevice) HasHeight() bool { + if s != nil && s.Height != nil { return true } return false } -// SetUrl allocates a new s.Url and returns the pointer to it. -func (s *ServiceHookSlackRequest) SetUrl(v string) { - s.Url = &v +// SetHeight allocates a new s.Height and returns the pointer to it. +func (s *SyntheticsDevice) SetHeight(v int) { + s.Height = &v } -// GetServiceKey returns the ServiceKey field if non-nil, zero value otherwise. -func (s *servicePD) GetServiceKey() string { - if s == nil || s.ServiceKey == nil { +// GetId returns the Id field if non-nil, zero value otherwise. +func (s *SyntheticsDevice) GetId() string { + if s == nil || s.Id == nil { return "" } - return *s.ServiceKey + return *s.Id } -// GetServiceKeyOk returns a tuple with the ServiceKey field if it's non-nil, zero value otherwise +// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *servicePD) GetServiceKeyOk() (string, bool) { - if s == nil || s.ServiceKey == nil { +func (s *SyntheticsDevice) GetIdOk() (string, bool) { + if s == nil || s.Id == nil { return "", false } - return *s.ServiceKey, true + return *s.Id, true } -// HasServiceKey returns a boolean if a field has been set. -func (s *servicePD) HasServiceKey() bool { - if s != nil && s.ServiceKey != nil { +// HasId returns a boolean if a field has been set. +func (s *SyntheticsDevice) HasId() bool { + if s != nil && s.Id != nil { return true } return false } -// SetServiceKey allocates a new s.ServiceKey and returns the pointer to it. -func (s *servicePD) SetServiceKey(v string) { - s.ServiceKey = &v +// SetId allocates a new s.Id and returns the pointer to it. +func (s *SyntheticsDevice) SetId(v string) { + s.Id = &v } -// GetServiceName returns the ServiceName field if non-nil, zero value otherwise. -func (s *servicePD) GetServiceName() string { - if s == nil || s.ServiceName == nil { - return "" +// GetIsLandscape returns the IsLandscape field if non-nil, zero value otherwise. +func (s *SyntheticsDevice) GetIsLandscape() bool { + if s == nil || s.IsLandscape == nil { + return false } - return *s.ServiceName + return *s.IsLandscape } -// GetServiceNameOk returns a tuple with the ServiceName field if it's non-nil, zero value otherwise +// GetIsLandscapeOk returns a tuple with the IsLandscape field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *servicePD) GetServiceNameOk() (string, bool) { - if s == nil || s.ServiceName == nil { - return "", false +func (s *SyntheticsDevice) GetIsLandscapeOk() (bool, bool) { + if s == nil || s.IsLandscape == nil { + return false, false } - return *s.ServiceName, true + return *s.IsLandscape, true } -// HasServiceName returns a boolean if a field has been set. -func (s *servicePD) HasServiceName() bool { - if s != nil && s.ServiceName != nil { +// HasIsLandscape returns a boolean if a field has been set. +func (s *SyntheticsDevice) HasIsLandscape() bool { + if s != nil && s.IsLandscape != nil { return true } return false } -// SetServiceName allocates a new s.ServiceName and returns the pointer to it. -func (s *servicePD) SetServiceName(v string) { - s.ServiceName = &v +// SetIsLandscape allocates a new s.IsLandscape and returns the pointer to it. +func (s *SyntheticsDevice) SetIsLandscape(v bool) { + s.IsLandscape = &v } -// GetServiceKey returns the ServiceKey field if non-nil, zero value otherwise. -func (s *ServicePDRequest) GetServiceKey() string { - if s == nil || s.ServiceKey == nil { - return "" +// GetIsMobile returns the IsMobile field if non-nil, zero value otherwise. +func (s *SyntheticsDevice) GetIsMobile() bool { + if s == nil || s.IsMobile == nil { + return false } - return *s.ServiceKey + return *s.IsMobile } -// GetServiceKeyOk returns a tuple with the ServiceKey field if it's non-nil, zero value otherwise +// GetIsMobileOk returns a tuple with the IsMobile field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ServicePDRequest) GetServiceKeyOk() (string, bool) { - if s == nil || s.ServiceKey == nil { - return "", false +func (s *SyntheticsDevice) GetIsMobileOk() (bool, bool) { + if s == nil || s.IsMobile == nil { + return false, false } - return *s.ServiceKey, true + return *s.IsMobile, true } -// HasServiceKey returns a boolean if a field has been set. -func (s *ServicePDRequest) HasServiceKey() bool { - if s != nil && s.ServiceKey != nil { +// HasIsMobile returns a boolean if a field has been set. +func (s *SyntheticsDevice) HasIsMobile() bool { + if s != nil && s.IsMobile != nil { return true } return false } -// SetServiceKey allocates a new s.ServiceKey and returns the pointer to it. -func (s *ServicePDRequest) SetServiceKey(v string) { - s.ServiceKey = &v +// SetIsMobile allocates a new s.IsMobile and returns the pointer to it. +func (s *SyntheticsDevice) SetIsMobile(v bool) { + s.IsMobile = &v } -// GetServiceName returns the ServiceName field if non-nil, zero value otherwise. -func (s *ServicePDRequest) GetServiceName() string { - if s == nil || s.ServiceName == nil { +// GetName returns the Name field if non-nil, zero value otherwise. +func (s *SyntheticsDevice) GetName() string { + if s == nil || s.Name == nil { return "" } - return *s.ServiceName + return *s.Name } -// GetServiceNameOk returns a tuple with the ServiceName field if it's non-nil, zero value otherwise +// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *ServicePDRequest) GetServiceNameOk() (string, bool) { - if s == nil || s.ServiceName == nil { +func (s *SyntheticsDevice) GetNameOk() (string, bool) { + if s == nil || s.Name == nil { return "", false } - return *s.ServiceName, true + return *s.Name, true } -// HasServiceName returns a boolean if a field has been set. -func (s *ServicePDRequest) HasServiceName() bool { - if s != nil && s.ServiceName != nil { +// HasName returns a boolean if a field has been set. +func (s *SyntheticsDevice) HasName() bool { + if s != nil && s.Name != nil { return true } return false } -// SetServiceName allocates a new s.ServiceName and returns the pointer to it. -func (s *ServicePDRequest) SetServiceName(v string) { - s.ServiceName = &v +// SetName allocates a new s.Name and returns the pointer to it. +func (s *SyntheticsDevice) SetName(v string) { + s.Name = &v } -// GetFillMax returns the FillMax field if non-nil, zero value otherwise. -func (s *Style) GetFillMax() json.Number { - if s == nil || s.FillMax == nil { +// GetUserAgent returns the UserAgent field if non-nil, zero value otherwise. +func (s *SyntheticsDevice) GetUserAgent() string { + if s == nil || s.UserAgent == nil { return "" } - return *s.FillMax + return *s.UserAgent } -// GetFillMaxOk returns a tuple with the FillMax field if it's non-nil, zero value otherwise +// GetUserAgentOk returns a tuple with the UserAgent field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Style) GetFillMaxOk() (json.Number, bool) { - if s == nil || s.FillMax == nil { +func (s *SyntheticsDevice) GetUserAgentOk() (string, bool) { + if s == nil || s.UserAgent == nil { return "", false } - return *s.FillMax, true + return *s.UserAgent, true } -// HasFillMax returns a boolean if a field has been set. -func (s *Style) HasFillMax() bool { - if s != nil && s.FillMax != nil { +// HasUserAgent returns a boolean if a field has been set. +func (s *SyntheticsDevice) HasUserAgent() bool { + if s != nil && s.UserAgent != nil { return true } return false } -// SetFillMax allocates a new s.FillMax and returns the pointer to it. -func (s *Style) SetFillMax(v json.Number) { - s.FillMax = &v +// SetUserAgent allocates a new s.UserAgent and returns the pointer to it. +func (s *SyntheticsDevice) SetUserAgent(v string) { + s.UserAgent = &v } -// GetFillMin returns the FillMin field if non-nil, zero value otherwise. -func (s *Style) GetFillMin() json.Number { - if s == nil || s.FillMin == nil { - return "" +// GetWidth returns the Width field if non-nil, zero value otherwise. +func (s *SyntheticsDevice) GetWidth() int { + if s == nil || s.Width == nil { + return 0 } - return *s.FillMin + return *s.Width } -// GetFillMinOk returns a tuple with the FillMin field if it's non-nil, zero value otherwise +// GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Style) GetFillMinOk() (json.Number, bool) { - if s == nil || s.FillMin == nil { - return "", false +func (s *SyntheticsDevice) GetWidthOk() (int, bool) { + if s == nil || s.Width == nil { + return 0, false } - return *s.FillMin, true + return *s.Width, true } -// HasFillMin returns a boolean if a field has been set. -func (s *Style) HasFillMin() bool { - if s != nil && s.FillMin != nil { +// HasWidth returns a boolean if a field has been set. +func (s *SyntheticsDevice) HasWidth() bool { + if s != nil && s.Width != nil { return true } return false } -// SetFillMin allocates a new s.FillMin and returns the pointer to it. -func (s *Style) SetFillMin(v json.Number) { - s.FillMin = &v +// SetWidth allocates a new s.Width and returns the pointer to it. +func (s *SyntheticsDevice) SetWidth(v int) { + s.Width = &v } -// GetPalette returns the Palette field if non-nil, zero value otherwise. -func (s *Style) GetPalette() string { - if s == nil || s.Palette == nil { +// GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. +func (s *SyntheticsLocation) GetDisplayName() string { + if s == nil || s.DisplayName == nil { return "" } - return *s.Palette + return *s.DisplayName } -// GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise +// GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Style) GetPaletteOk() (string, bool) { - if s == nil || s.Palette == nil { +func (s *SyntheticsLocation) GetDisplayNameOk() (string, bool) { + if s == nil || s.DisplayName == nil { return "", false } - return *s.Palette, true + return *s.DisplayName, true } -// HasPalette returns a boolean if a field has been set. -func (s *Style) HasPalette() bool { - if s != nil && s.Palette != nil { +// HasDisplayName returns a boolean if a field has been set. +func (s *SyntheticsLocation) HasDisplayName() bool { + if s != nil && s.DisplayName != nil { return true } return false } -// SetPalette allocates a new s.Palette and returns the pointer to it. -func (s *Style) SetPalette(v string) { - s.Palette = &v +// SetDisplayName allocates a new s.DisplayName and returns the pointer to it. +func (s *SyntheticsLocation) SetDisplayName(v string) { + s.DisplayName = &v } -// GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise. -func (s *Style) GetPaletteFlip() bool { - if s == nil || s.PaletteFlip == nil { - return false +// GetId returns the Id field if non-nil, zero value otherwise. +func (s *SyntheticsLocation) GetId() int { + if s == nil || s.Id == nil { + return 0 } - return *s.PaletteFlip + return *s.Id } -// GetPaletteFlipOk returns a tuple with the PaletteFlip field if it's non-nil, zero value otherwise +// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *Style) GetPaletteFlipOk() (bool, bool) { - if s == nil || s.PaletteFlip == nil { - return false, false +func (s *SyntheticsLocation) GetIdOk() (int, bool) { + if s == nil || s.Id == nil { + return 0, false } - return *s.PaletteFlip, true + return *s.Id, true } -// HasPaletteFlip returns a boolean if a field has been set. -func (s *Style) HasPaletteFlip() bool { - if s != nil && s.PaletteFlip != nil { +// HasId returns a boolean if a field has been set. +func (s *SyntheticsLocation) HasId() bool { + if s != nil && s.Id != nil { return true } return false } -// SetPaletteFlip allocates a new s.PaletteFlip and returns the pointer to it. -func (s *Style) SetPaletteFlip(v bool) { - s.PaletteFlip = &v +// SetId allocates a new s.Id and returns the pointer to it. +func (s *SyntheticsLocation) SetId(v int) { + s.Id = &v } -// GetOperator returns the Operator field if non-nil, zero value otherwise. -func (s *SyntheticsAssertion) GetOperator() string { - if s == nil || s.Operator == nil { - return "" +// GetIsLandscape returns the IsLandscape field if non-nil, zero value otherwise. +func (s *SyntheticsLocation) GetIsLandscape() bool { + if s == nil || s.IsLandscape == nil { + return false } - return *s.Operator + return *s.IsLandscape } -// GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise +// GetIsLandscapeOk returns a tuple with the IsLandscape field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsAssertion) GetOperatorOk() (string, bool) { - if s == nil || s.Operator == nil { - return "", false +func (s *SyntheticsLocation) GetIsLandscapeOk() (bool, bool) { + if s == nil || s.IsLandscape == nil { + return false, false } - return *s.Operator, true + return *s.IsLandscape, true } -// HasOperator returns a boolean if a field has been set. -func (s *SyntheticsAssertion) HasOperator() bool { - if s != nil && s.Operator != nil { +// HasIsLandscape returns a boolean if a field has been set. +func (s *SyntheticsLocation) HasIsLandscape() bool { + if s != nil && s.IsLandscape != nil { return true } return false } -// SetOperator allocates a new s.Operator and returns the pointer to it. -func (s *SyntheticsAssertion) SetOperator(v string) { - s.Operator = &v +// SetIsLandscape allocates a new s.IsLandscape and returns the pointer to it. +func (s *SyntheticsLocation) SetIsLandscape(v bool) { + s.IsLandscape = &v } -// GetProperty returns the Property field if non-nil, zero value otherwise. -func (s *SyntheticsAssertion) GetProperty() string { - if s == nil || s.Property == nil { +// GetName returns the Name field if non-nil, zero value otherwise. +func (s *SyntheticsLocation) GetName() string { + if s == nil || s.Name == nil { return "" } - return *s.Property + return *s.Name } -// GetPropertyOk returns a tuple with the Property field if it's non-nil, zero value otherwise +// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsAssertion) GetPropertyOk() (string, bool) { - if s == nil || s.Property == nil { +func (s *SyntheticsLocation) GetNameOk() (string, bool) { + if s == nil || s.Name == nil { return "", false } - return *s.Property, true + return *s.Name, true } -// HasProperty returns a boolean if a field has been set. -func (s *SyntheticsAssertion) HasProperty() bool { - if s != nil && s.Property != nil { +// HasName returns a boolean if a field has been set. +func (s *SyntheticsLocation) HasName() bool { + if s != nil && s.Name != nil { return true } return false } -// SetProperty allocates a new s.Property and returns the pointer to it. -func (s *SyntheticsAssertion) SetProperty(v string) { - s.Property = &v +// SetName allocates a new s.Name and returns the pointer to it. +func (s *SyntheticsLocation) SetName(v string) { + s.Name = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (s *SyntheticsAssertion) GetType() string { - if s == nil || s.Type == nil { +// GetRegion returns the Region field if non-nil, zero value otherwise. +func (s *SyntheticsLocation) GetRegion() string { + if s == nil || s.Region == nil { return "" } - return *s.Type + return *s.Region } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsAssertion) GetTypeOk() (string, bool) { - if s == nil || s.Type == nil { +func (s *SyntheticsLocation) GetRegionOk() (string, bool) { + if s == nil || s.Region == nil { return "", false } - return *s.Type, true + return *s.Region, true } -// HasType returns a boolean if a field has been set. -func (s *SyntheticsAssertion) HasType() bool { - if s != nil && s.Type != nil { +// HasRegion returns a boolean if a field has been set. +func (s *SyntheticsLocation) HasRegion() bool { + if s != nil && s.Region != nil { return true } return false } -// SetType allocates a new s.Type and returns the pointer to it. -func (s *SyntheticsAssertion) SetType(v string) { - s.Type = &v +// SetRegion allocates a new s.Region and returns the pointer to it. +func (s *SyntheticsLocation) SetRegion(v string) { + s.Region = &v } -// GetRequest returns the Request field if non-nil, zero value otherwise. -func (s *SyntheticsConfig) GetRequest() SyntheticsRequest { - if s == nil || s.Request == nil { - return SyntheticsRequest{} +// GetFollowRedirects returns the FollowRedirects field if non-nil, zero value otherwise. +func (s *SyntheticsOptions) GetFollowRedirects() bool { + if s == nil || s.FollowRedirects == nil { + return false } - return *s.Request + return *s.FollowRedirects } -// GetRequestOk returns a tuple with the Request field if it's non-nil, zero value otherwise +// GetFollowRedirectsOk returns a tuple with the FollowRedirects field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsConfig) GetRequestOk() (SyntheticsRequest, bool) { - if s == nil || s.Request == nil { - return SyntheticsRequest{}, false +func (s *SyntheticsOptions) GetFollowRedirectsOk() (bool, bool) { + if s == nil || s.FollowRedirects == nil { + return false, false } - return *s.Request, true + return *s.FollowRedirects, true } -// HasRequest returns a boolean if a field has been set. -func (s *SyntheticsConfig) HasRequest() bool { - if s != nil && s.Request != nil { +// HasFollowRedirects returns a boolean if a field has been set. +func (s *SyntheticsOptions) HasFollowRedirects() bool { + if s != nil && s.FollowRedirects != nil { return true } return false } -// SetRequest allocates a new s.Request and returns the pointer to it. -func (s *SyntheticsConfig) SetRequest(v SyntheticsRequest) { - s.Request = &v +// SetFollowRedirects allocates a new s.FollowRedirects and returns the pointer to it. +func (s *SyntheticsOptions) SetFollowRedirects(v bool) { + s.FollowRedirects = &v } -// GetHeight returns the Height field if non-nil, zero value otherwise. -func (s *SyntheticsDevice) GetHeight() int { - if s == nil || s.Height == nil { +// GetMinFailureDuration returns the MinFailureDuration field if non-nil, zero value otherwise. +func (s *SyntheticsOptions) GetMinFailureDuration() int { + if s == nil || s.MinFailureDuration == nil { return 0 } - return *s.Height + return *s.MinFailureDuration } -// GetHeightOk returns a tuple with the Height field if it's non-nil, zero value otherwise +// GetMinFailureDurationOk returns a tuple with the MinFailureDuration field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsDevice) GetHeightOk() (int, bool) { - if s == nil || s.Height == nil { +func (s *SyntheticsOptions) GetMinFailureDurationOk() (int, bool) { + if s == nil || s.MinFailureDuration == nil { return 0, false } - return *s.Height, true + return *s.MinFailureDuration, true } -// HasHeight returns a boolean if a field has been set. -func (s *SyntheticsDevice) HasHeight() bool { - if s != nil && s.Height != nil { +// HasMinFailureDuration returns a boolean if a field has been set. +func (s *SyntheticsOptions) HasMinFailureDuration() bool { + if s != nil && s.MinFailureDuration != nil { return true } return false } -// SetHeight allocates a new s.Height and returns the pointer to it. -func (s *SyntheticsDevice) SetHeight(v int) { - s.Height = &v +// SetMinFailureDuration allocates a new s.MinFailureDuration and returns the pointer to it. +func (s *SyntheticsOptions) SetMinFailureDuration(v int) { + s.MinFailureDuration = &v } -// GetId returns the Id field if non-nil, zero value otherwise. -func (s *SyntheticsDevice) GetId() string { - if s == nil || s.Id == nil { - return "" +// GetMinLocationFailed returns the MinLocationFailed field if non-nil, zero value otherwise. +func (s *SyntheticsOptions) GetMinLocationFailed() int { + if s == nil || s.MinLocationFailed == nil { + return 0 } - return *s.Id + return *s.MinLocationFailed } -// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +// GetMinLocationFailedOk returns a tuple with the MinLocationFailed field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsDevice) GetIdOk() (string, bool) { - if s == nil || s.Id == nil { - return "", false +func (s *SyntheticsOptions) GetMinLocationFailedOk() (int, bool) { + if s == nil || s.MinLocationFailed == nil { + return 0, false } - return *s.Id, true + return *s.MinLocationFailed, true } -// HasId returns a boolean if a field has been set. -func (s *SyntheticsDevice) HasId() bool { - if s != nil && s.Id != nil { +// HasMinLocationFailed returns a boolean if a field has been set. +func (s *SyntheticsOptions) HasMinLocationFailed() bool { + if s != nil && s.MinLocationFailed != nil { return true } return false } -// SetId allocates a new s.Id and returns the pointer to it. -func (s *SyntheticsDevice) SetId(v string) { - s.Id = &v +// SetMinLocationFailed allocates a new s.MinLocationFailed and returns the pointer to it. +func (s *SyntheticsOptions) SetMinLocationFailed(v int) { + s.MinLocationFailed = &v } -// GetIsLandscape returns the IsLandscape field if non-nil, zero value otherwise. -func (s *SyntheticsDevice) GetIsLandscape() bool { - if s == nil || s.IsLandscape == nil { - return false +// GetTickEvery returns the TickEvery field if non-nil, zero value otherwise. +func (s *SyntheticsOptions) GetTickEvery() int { + if s == nil || s.TickEvery == nil { + return 0 } - return *s.IsLandscape + return *s.TickEvery } -// GetIsLandscapeOk returns a tuple with the IsLandscape field if it's non-nil, zero value otherwise +// GetTickEveryOk returns a tuple with the TickEvery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsDevice) GetIsLandscapeOk() (bool, bool) { - if s == nil || s.IsLandscape == nil { - return false, false +func (s *SyntheticsOptions) GetTickEveryOk() (int, bool) { + if s == nil || s.TickEvery == nil { + return 0, false } - return *s.IsLandscape, true + return *s.TickEvery, true } -// HasIsLandscape returns a boolean if a field has been set. -func (s *SyntheticsDevice) HasIsLandscape() bool { - if s != nil && s.IsLandscape != nil { +// HasTickEvery returns a boolean if a field has been set. +func (s *SyntheticsOptions) HasTickEvery() bool { + if s != nil && s.TickEvery != nil { return true } return false } -// SetIsLandscape allocates a new s.IsLandscape and returns the pointer to it. -func (s *SyntheticsDevice) SetIsLandscape(v bool) { - s.IsLandscape = &v +// SetTickEvery allocates a new s.TickEvery and returns the pointer to it. +func (s *SyntheticsOptions) SetTickEvery(v int) { + s.TickEvery = &v } -// GetIsMobile returns the IsMobile field if non-nil, zero value otherwise. -func (s *SyntheticsDevice) GetIsMobile() bool { - if s == nil || s.IsMobile == nil { - return false +// GetBody returns the Body field if non-nil, zero value otherwise. +func (s *SyntheticsRequest) GetBody() string { + if s == nil || s.Body == nil { + return "" } - return *s.IsMobile + return *s.Body } -// GetIsMobileOk returns a tuple with the IsMobile field if it's non-nil, zero value otherwise +// GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsDevice) GetIsMobileOk() (bool, bool) { - if s == nil || s.IsMobile == nil { - return false, false +func (s *SyntheticsRequest) GetBodyOk() (string, bool) { + if s == nil || s.Body == nil { + return "", false } - return *s.IsMobile, true + return *s.Body, true } -// HasIsMobile returns a boolean if a field has been set. -func (s *SyntheticsDevice) HasIsMobile() bool { - if s != nil && s.IsMobile != nil { +// HasBody returns a boolean if a field has been set. +func (s *SyntheticsRequest) HasBody() bool { + if s != nil && s.Body != nil { return true } return false } -// SetIsMobile allocates a new s.IsMobile and returns the pointer to it. -func (s *SyntheticsDevice) SetIsMobile(v bool) { - s.IsMobile = &v +// SetBody allocates a new s.Body and returns the pointer to it. +func (s *SyntheticsRequest) SetBody(v string) { + s.Body = &v } -// GetName returns the Name field if non-nil, zero value otherwise. -func (s *SyntheticsDevice) GetName() string { - if s == nil || s.Name == nil { +// GetMethod returns the Method field if non-nil, zero value otherwise. +func (s *SyntheticsRequest) GetMethod() string { + if s == nil || s.Method == nil { return "" } - return *s.Name + return *s.Method } -// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +// GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsDevice) GetNameOk() (string, bool) { - if s == nil || s.Name == nil { +func (s *SyntheticsRequest) GetMethodOk() (string, bool) { + if s == nil || s.Method == nil { return "", false } - return *s.Name, true + return *s.Method, true } -// HasName returns a boolean if a field has been set. -func (s *SyntheticsDevice) HasName() bool { - if s != nil && s.Name != nil { +// HasMethod returns a boolean if a field has been set. +func (s *SyntheticsRequest) HasMethod() bool { + if s != nil && s.Method != nil { return true } return false } -// SetName allocates a new s.Name and returns the pointer to it. -func (s *SyntheticsDevice) SetName(v string) { - s.Name = &v +// SetMethod allocates a new s.Method and returns the pointer to it. +func (s *SyntheticsRequest) SetMethod(v string) { + s.Method = &v } -// GetUserAgent returns the UserAgent field if non-nil, zero value otherwise. -func (s *SyntheticsDevice) GetUserAgent() string { - if s == nil || s.UserAgent == nil { - return "" +// GetTimeout returns the Timeout field if non-nil, zero value otherwise. +func (s *SyntheticsRequest) GetTimeout() int { + if s == nil || s.Timeout == nil { + return 0 } - return *s.UserAgent + return *s.Timeout } -// GetUserAgentOk returns a tuple with the UserAgent field if it's non-nil, zero value otherwise +// GetTimeoutOk returns a tuple with the Timeout field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsDevice) GetUserAgentOk() (string, bool) { - if s == nil || s.UserAgent == nil { - return "", false +func (s *SyntheticsRequest) GetTimeoutOk() (int, bool) { + if s == nil || s.Timeout == nil { + return 0, false } - return *s.UserAgent, true + return *s.Timeout, true } -// HasUserAgent returns a boolean if a field has been set. -func (s *SyntheticsDevice) HasUserAgent() bool { - if s != nil && s.UserAgent != nil { +// HasTimeout returns a boolean if a field has been set. +func (s *SyntheticsRequest) HasTimeout() bool { + if s != nil && s.Timeout != nil { return true } return false } -// SetUserAgent allocates a new s.UserAgent and returns the pointer to it. -func (s *SyntheticsDevice) SetUserAgent(v string) { - s.UserAgent = &v +// SetTimeout allocates a new s.Timeout and returns the pointer to it. +func (s *SyntheticsRequest) SetTimeout(v int) { + s.Timeout = &v } -// GetWidth returns the Width field if non-nil, zero value otherwise. -func (s *SyntheticsDevice) GetWidth() int { - if s == nil || s.Width == nil { - return 0 +// GetUrl returns the Url field if non-nil, zero value otherwise. +func (s *SyntheticsRequest) GetUrl() string { + if s == nil || s.Url == nil { + return "" } - return *s.Width + return *s.Url } -// GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise +// GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsDevice) GetWidthOk() (int, bool) { - if s == nil || s.Width == nil { - return 0, false +func (s *SyntheticsRequest) GetUrlOk() (string, bool) { + if s == nil || s.Url == nil { + return "", false } - return *s.Width, true + return *s.Url, true } -// HasWidth returns a boolean if a field has been set. -func (s *SyntheticsDevice) HasWidth() bool { - if s != nil && s.Width != nil { +// HasUrl returns a boolean if a field has been set. +func (s *SyntheticsRequest) HasUrl() bool { + if s != nil && s.Url != nil { return true } return false } -// SetWidth allocates a new s.Width and returns the pointer to it. -func (s *SyntheticsDevice) SetWidth(v int) { - s.Width = &v +// SetUrl allocates a new s.Url and returns the pointer to it. +func (s *SyntheticsRequest) SetUrl(v string) { + s.Url = &v } -// GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. -func (s *SyntheticsLocation) GetDisplayName() string { - if s == nil || s.DisplayName == nil { - return "" +// GetConfig returns the Config field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetConfig() SyntheticsConfig { + if s == nil || s.Config == nil { + return SyntheticsConfig{} } - return *s.DisplayName + return *s.Config } -// GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise +// GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsLocation) GetDisplayNameOk() (string, bool) { - if s == nil || s.DisplayName == nil { - return "", false +func (s *SyntheticsTest) GetConfigOk() (SyntheticsConfig, bool) { + if s == nil || s.Config == nil { + return SyntheticsConfig{}, false } - return *s.DisplayName, true + return *s.Config, true } -// HasDisplayName returns a boolean if a field has been set. -func (s *SyntheticsLocation) HasDisplayName() bool { - if s != nil && s.DisplayName != nil { +// HasConfig returns a boolean if a field has been set. +func (s *SyntheticsTest) HasConfig() bool { + if s != nil && s.Config != nil { return true } return false } -// SetDisplayName allocates a new s.DisplayName and returns the pointer to it. -func (s *SyntheticsLocation) SetDisplayName(v string) { - s.DisplayName = &v +// SetConfig allocates a new s.Config and returns the pointer to it. +func (s *SyntheticsTest) SetConfig(v SyntheticsConfig) { + s.Config = &v } -// GetId returns the Id field if non-nil, zero value otherwise. -func (s *SyntheticsLocation) GetId() int { - if s == nil || s.Id == nil { - return 0 +// GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetCreatedAt() string { + if s == nil || s.CreatedAt == nil { + return "" } - return *s.Id + return *s.CreatedAt } -// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +// GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsLocation) GetIdOk() (int, bool) { - if s == nil || s.Id == nil { - return 0, false +func (s *SyntheticsTest) GetCreatedAtOk() (string, bool) { + if s == nil || s.CreatedAt == nil { + return "", false } - return *s.Id, true + return *s.CreatedAt, true } -// HasId returns a boolean if a field has been set. -func (s *SyntheticsLocation) HasId() bool { - if s != nil && s.Id != nil { +// HasCreatedAt returns a boolean if a field has been set. +func (s *SyntheticsTest) HasCreatedAt() bool { + if s != nil && s.CreatedAt != nil { return true } return false } -// SetId allocates a new s.Id and returns the pointer to it. -func (s *SyntheticsLocation) SetId(v int) { - s.Id = &v +// SetCreatedAt allocates a new s.CreatedAt and returns the pointer to it. +func (s *SyntheticsTest) SetCreatedAt(v string) { + s.CreatedAt = &v } -// GetIsLandscape returns the IsLandscape field if non-nil, zero value otherwise. -func (s *SyntheticsLocation) GetIsLandscape() bool { - if s == nil || s.IsLandscape == nil { - return false +// GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetCreatedBy() SyntheticsUser { + if s == nil || s.CreatedBy == nil { + return SyntheticsUser{} } - return *s.IsLandscape + return *s.CreatedBy } -// GetIsLandscapeOk returns a tuple with the IsLandscape field if it's non-nil, zero value otherwise +// GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsLocation) GetIsLandscapeOk() (bool, bool) { - if s == nil || s.IsLandscape == nil { - return false, false +func (s *SyntheticsTest) GetCreatedByOk() (SyntheticsUser, bool) { + if s == nil || s.CreatedBy == nil { + return SyntheticsUser{}, false } - return *s.IsLandscape, true + return *s.CreatedBy, true } -// HasIsLandscape returns a boolean if a field has been set. -func (s *SyntheticsLocation) HasIsLandscape() bool { - if s != nil && s.IsLandscape != nil { +// HasCreatedBy returns a boolean if a field has been set. +func (s *SyntheticsTest) HasCreatedBy() bool { + if s != nil && s.CreatedBy != nil { return true } return false } -// SetIsLandscape allocates a new s.IsLandscape and returns the pointer to it. -func (s *SyntheticsLocation) SetIsLandscape(v bool) { - s.IsLandscape = &v +// SetCreatedBy allocates a new s.CreatedBy and returns the pointer to it. +func (s *SyntheticsTest) SetCreatedBy(v SyntheticsUser) { + s.CreatedBy = &v } -// GetName returns the Name field if non-nil, zero value otherwise. -func (s *SyntheticsLocation) GetName() string { - if s == nil || s.Name == nil { +// GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetDeletedAt() string { + if s == nil || s.DeletedAt == nil { return "" } - return *s.Name + return *s.DeletedAt } -// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +// GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsLocation) GetNameOk() (string, bool) { - if s == nil || s.Name == nil { +func (s *SyntheticsTest) GetDeletedAtOk() (string, bool) { + if s == nil || s.DeletedAt == nil { return "", false } - return *s.Name, true + return *s.DeletedAt, true } -// HasName returns a boolean if a field has been set. -func (s *SyntheticsLocation) HasName() bool { - if s != nil && s.Name != nil { +// HasDeletedAt returns a boolean if a field has been set. +func (s *SyntheticsTest) HasDeletedAt() bool { + if s != nil && s.DeletedAt != nil { return true } return false } -// SetName allocates a new s.Name and returns the pointer to it. -func (s *SyntheticsLocation) SetName(v string) { - s.Name = &v +// SetDeletedAt allocates a new s.DeletedAt and returns the pointer to it. +func (s *SyntheticsTest) SetDeletedAt(v string) { + s.DeletedAt = &v } -// GetRegion returns the Region field if non-nil, zero value otherwise. -func (s *SyntheticsLocation) GetRegion() string { - if s == nil || s.Region == nil { +// GetMessage returns the Message field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetMessage() string { + if s == nil || s.Message == nil { return "" } - return *s.Region + return *s.Message } -// GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise +// GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsLocation) GetRegionOk() (string, bool) { - if s == nil || s.Region == nil { +func (s *SyntheticsTest) GetMessageOk() (string, bool) { + if s == nil || s.Message == nil { return "", false } - return *s.Region, true + return *s.Message, true } -// HasRegion returns a boolean if a field has been set. -func (s *SyntheticsLocation) HasRegion() bool { - if s != nil && s.Region != nil { +// HasMessage returns a boolean if a field has been set. +func (s *SyntheticsTest) HasMessage() bool { + if s != nil && s.Message != nil { return true } return false } -// SetRegion allocates a new s.Region and returns the pointer to it. -func (s *SyntheticsLocation) SetRegion(v string) { - s.Region = &v +// SetMessage allocates a new s.Message and returns the pointer to it. +func (s *SyntheticsTest) SetMessage(v string) { + s.Message = &v } -// GetFollowRedirects returns the FollowRedirects field if non-nil, zero value otherwise. -func (s *SyntheticsOptions) GetFollowRedirects() bool { - if s == nil || s.FollowRedirects == nil { - return false +// GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetModifiedAt() string { + if s == nil || s.ModifiedAt == nil { + return "" } - return *s.FollowRedirects + return *s.ModifiedAt } -// GetFollowRedirectsOk returns a tuple with the FollowRedirects field if it's non-nil, zero value otherwise +// GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsOptions) GetFollowRedirectsOk() (bool, bool) { - if s == nil || s.FollowRedirects == nil { - return false, false +func (s *SyntheticsTest) GetModifiedAtOk() (string, bool) { + if s == nil || s.ModifiedAt == nil { + return "", false } - return *s.FollowRedirects, true + return *s.ModifiedAt, true } -// HasFollowRedirects returns a boolean if a field has been set. -func (s *SyntheticsOptions) HasFollowRedirects() bool { - if s != nil && s.FollowRedirects != nil { +// HasModifiedAt returns a boolean if a field has been set. +func (s *SyntheticsTest) HasModifiedAt() bool { + if s != nil && s.ModifiedAt != nil { return true } return false } -// SetFollowRedirects allocates a new s.FollowRedirects and returns the pointer to it. -func (s *SyntheticsOptions) SetFollowRedirects(v bool) { - s.FollowRedirects = &v +// SetModifiedAt allocates a new s.ModifiedAt and returns the pointer to it. +func (s *SyntheticsTest) SetModifiedAt(v string) { + s.ModifiedAt = &v } -// GetMinFailureDuration returns the MinFailureDuration field if non-nil, zero value otherwise. -func (s *SyntheticsOptions) GetMinFailureDuration() int { - if s == nil || s.MinFailureDuration == nil { - return 0 +// GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetModifiedBy() SyntheticsUser { + if s == nil || s.ModifiedBy == nil { + return SyntheticsUser{} } - return *s.MinFailureDuration + return *s.ModifiedBy } -// GetMinFailureDurationOk returns a tuple with the MinFailureDuration field if it's non-nil, zero value otherwise +// GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsOptions) GetMinFailureDurationOk() (int, bool) { - if s == nil || s.MinFailureDuration == nil { - return 0, false +func (s *SyntheticsTest) GetModifiedByOk() (SyntheticsUser, bool) { + if s == nil || s.ModifiedBy == nil { + return SyntheticsUser{}, false } - return *s.MinFailureDuration, true + return *s.ModifiedBy, true } - -// HasMinFailureDuration returns a boolean if a field has been set. -func (s *SyntheticsOptions) HasMinFailureDuration() bool { - if s != nil && s.MinFailureDuration != nil { + +// HasModifiedBy returns a boolean if a field has been set. +func (s *SyntheticsTest) HasModifiedBy() bool { + if s != nil && s.ModifiedBy != nil { return true } return false } -// SetMinFailureDuration allocates a new s.MinFailureDuration and returns the pointer to it. -func (s *SyntheticsOptions) SetMinFailureDuration(v int) { - s.MinFailureDuration = &v +// SetModifiedBy allocates a new s.ModifiedBy and returns the pointer to it. +func (s *SyntheticsTest) SetModifiedBy(v SyntheticsUser) { + s.ModifiedBy = &v } -// GetMinLocationFailed returns the MinLocationFailed field if non-nil, zero value otherwise. -func (s *SyntheticsOptions) GetMinLocationFailed() int { - if s == nil || s.MinLocationFailed == nil { +// GetMonitorId returns the MonitorId field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetMonitorId() int { + if s == nil || s.MonitorId == nil { return 0 } - return *s.MinLocationFailed + return *s.MonitorId } -// GetMinLocationFailedOk returns a tuple with the MinLocationFailed field if it's non-nil, zero value otherwise +// GetMonitorIdOk returns a tuple with the MonitorId field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsOptions) GetMinLocationFailedOk() (int, bool) { - if s == nil || s.MinLocationFailed == nil { +func (s *SyntheticsTest) GetMonitorIdOk() (int, bool) { + if s == nil || s.MonitorId == nil { return 0, false } - return *s.MinLocationFailed, true + return *s.MonitorId, true } -// HasMinLocationFailed returns a boolean if a field has been set. -func (s *SyntheticsOptions) HasMinLocationFailed() bool { - if s != nil && s.MinLocationFailed != nil { +// HasMonitorId returns a boolean if a field has been set. +func (s *SyntheticsTest) HasMonitorId() bool { + if s != nil && s.MonitorId != nil { return true } return false } -// SetMinLocationFailed allocates a new s.MinLocationFailed and returns the pointer to it. -func (s *SyntheticsOptions) SetMinLocationFailed(v int) { - s.MinLocationFailed = &v +// SetMonitorId allocates a new s.MonitorId and returns the pointer to it. +func (s *SyntheticsTest) SetMonitorId(v int) { + s.MonitorId = &v } -// GetTickEvery returns the TickEvery field if non-nil, zero value otherwise. -func (s *SyntheticsOptions) GetTickEvery() int { - if s == nil || s.TickEvery == nil { - return 0 +// GetMonitorStatus returns the MonitorStatus field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetMonitorStatus() string { + if s == nil || s.MonitorStatus == nil { + return "" } - return *s.TickEvery + return *s.MonitorStatus } -// GetTickEveryOk returns a tuple with the TickEvery field if it's non-nil, zero value otherwise +// GetMonitorStatusOk returns a tuple with the MonitorStatus field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsOptions) GetTickEveryOk() (int, bool) { - if s == nil || s.TickEvery == nil { - return 0, false +func (s *SyntheticsTest) GetMonitorStatusOk() (string, bool) { + if s == nil || s.MonitorStatus == nil { + return "", false } - return *s.TickEvery, true + return *s.MonitorStatus, true } -// HasTickEvery returns a boolean if a field has been set. -func (s *SyntheticsOptions) HasTickEvery() bool { - if s != nil && s.TickEvery != nil { +// HasMonitorStatus returns a boolean if a field has been set. +func (s *SyntheticsTest) HasMonitorStatus() bool { + if s != nil && s.MonitorStatus != nil { return true } return false } -// SetTickEvery allocates a new s.TickEvery and returns the pointer to it. -func (s *SyntheticsOptions) SetTickEvery(v int) { - s.TickEvery = &v +// SetMonitorStatus allocates a new s.MonitorStatus and returns the pointer to it. +func (s *SyntheticsTest) SetMonitorStatus(v string) { + s.MonitorStatus = &v } -// GetBody returns the Body field if non-nil, zero value otherwise. -func (s *SyntheticsRequest) GetBody() string { - if s == nil || s.Body == nil { +// GetName returns the Name field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetName() string { + if s == nil || s.Name == nil { return "" } - return *s.Body + return *s.Name } -// GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise +// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsRequest) GetBodyOk() (string, bool) { - if s == nil || s.Body == nil { +func (s *SyntheticsTest) GetNameOk() (string, bool) { + if s == nil || s.Name == nil { return "", false } - return *s.Body, true + return *s.Name, true } -// HasBody returns a boolean if a field has been set. -func (s *SyntheticsRequest) HasBody() bool { - if s != nil && s.Body != nil { +// HasName returns a boolean if a field has been set. +func (s *SyntheticsTest) HasName() bool { + if s != nil && s.Name != nil { return true } return false } -// SetBody allocates a new s.Body and returns the pointer to it. -func (s *SyntheticsRequest) SetBody(v string) { - s.Body = &v +// SetName allocates a new s.Name and returns the pointer to it. +func (s *SyntheticsTest) SetName(v string) { + s.Name = &v } -// GetMethod returns the Method field if non-nil, zero value otherwise. -func (s *SyntheticsRequest) GetMethod() string { - if s == nil || s.Method == nil { - return "" +// GetOptions returns the Options field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetOptions() SyntheticsOptions { + if s == nil || s.Options == nil { + return SyntheticsOptions{} } - return *s.Method + return *s.Options } -// GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise +// GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsRequest) GetMethodOk() (string, bool) { - if s == nil || s.Method == nil { - return "", false +func (s *SyntheticsTest) GetOptionsOk() (SyntheticsOptions, bool) { + if s == nil || s.Options == nil { + return SyntheticsOptions{}, false } - return *s.Method, true + return *s.Options, true } -// HasMethod returns a boolean if a field has been set. -func (s *SyntheticsRequest) HasMethod() bool { - if s != nil && s.Method != nil { +// HasOptions returns a boolean if a field has been set. +func (s *SyntheticsTest) HasOptions() bool { + if s != nil && s.Options != nil { return true } return false } -// SetMethod allocates a new s.Method and returns the pointer to it. -func (s *SyntheticsRequest) SetMethod(v string) { - s.Method = &v +// SetOptions allocates a new s.Options and returns the pointer to it. +func (s *SyntheticsTest) SetOptions(v SyntheticsOptions) { + s.Options = &v } -// GetTimeout returns the Timeout field if non-nil, zero value otherwise. -func (s *SyntheticsRequest) GetTimeout() int { - if s == nil || s.Timeout == nil { - return 0 +// GetPublicId returns the PublicId field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetPublicId() string { + if s == nil || s.PublicId == nil { + return "" } - return *s.Timeout + return *s.PublicId } -// GetTimeoutOk returns a tuple with the Timeout field if it's non-nil, zero value otherwise +// GetPublicIdOk returns a tuple with the PublicId field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsRequest) GetTimeoutOk() (int, bool) { - if s == nil || s.Timeout == nil { - return 0, false +func (s *SyntheticsTest) GetPublicIdOk() (string, bool) { + if s == nil || s.PublicId == nil { + return "", false } - return *s.Timeout, true + return *s.PublicId, true } -// HasTimeout returns a boolean if a field has been set. -func (s *SyntheticsRequest) HasTimeout() bool { - if s != nil && s.Timeout != nil { +// HasPublicId returns a boolean if a field has been set. +func (s *SyntheticsTest) HasPublicId() bool { + if s != nil && s.PublicId != nil { return true } return false } -// SetTimeout allocates a new s.Timeout and returns the pointer to it. -func (s *SyntheticsRequest) SetTimeout(v int) { - s.Timeout = &v +// SetPublicId allocates a new s.PublicId and returns the pointer to it. +func (s *SyntheticsTest) SetPublicId(v string) { + s.PublicId = &v } -// GetUrl returns the Url field if non-nil, zero value otherwise. -func (s *SyntheticsRequest) GetUrl() string { - if s == nil || s.Url == nil { +// GetStatus returns the Status field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetStatus() string { + if s == nil || s.Status == nil { return "" } - return *s.Url + return *s.Status } -// GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +// GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsRequest) GetUrlOk() (string, bool) { - if s == nil || s.Url == nil { +func (s *SyntheticsTest) GetStatusOk() (string, bool) { + if s == nil || s.Status == nil { return "", false } - return *s.Url, true + return *s.Status, true } -// HasUrl returns a boolean if a field has been set. -func (s *SyntheticsRequest) HasUrl() bool { - if s != nil && s.Url != nil { +// HasStatus returns a boolean if a field has been set. +func (s *SyntheticsTest) HasStatus() bool { + if s != nil && s.Status != nil { return true } return false } -// SetUrl allocates a new s.Url and returns the pointer to it. -func (s *SyntheticsRequest) SetUrl(v string) { - s.Url = &v +// SetStatus allocates a new s.Status and returns the pointer to it. +func (s *SyntheticsTest) SetStatus(v string) { + s.Status = &v } -// GetConfig returns the Config field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetConfig() SyntheticsConfig { - if s == nil || s.Config == nil { - return SyntheticsConfig{} +// GetType returns the Type field if non-nil, zero value otherwise. +func (s *SyntheticsTest) GetType() string { + if s == nil || s.Type == nil { + return "" } - return *s.Config + return *s.Type } -// GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise +// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetConfigOk() (SyntheticsConfig, bool) { - if s == nil || s.Config == nil { - return SyntheticsConfig{}, false +func (s *SyntheticsTest) GetTypeOk() (string, bool) { + if s == nil || s.Type == nil { + return "", false } - return *s.Config, true + return *s.Type, true } -// HasConfig returns a boolean if a field has been set. -func (s *SyntheticsTest) HasConfig() bool { - if s != nil && s.Config != nil { +// HasType returns a boolean if a field has been set. +func (s *SyntheticsTest) HasType() bool { + if s != nil && s.Type != nil { return true } return false } -// SetConfig allocates a new s.Config and returns the pointer to it. -func (s *SyntheticsTest) SetConfig(v SyntheticsConfig) { - s.Config = &v +// SetType allocates a new s.Type and returns the pointer to it. +func (s *SyntheticsTest) SetType(v string) { + s.Type = &v } -// GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetCreatedAt() string { - if s == nil || s.CreatedAt == nil { +// GetEmail returns the Email field if non-nil, zero value otherwise. +func (s *SyntheticsUser) GetEmail() string { + if s == nil || s.Email == nil { return "" } - return *s.CreatedAt + return *s.Email } -// GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise +// GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetCreatedAtOk() (string, bool) { - if s == nil || s.CreatedAt == nil { +func (s *SyntheticsUser) GetEmailOk() (string, bool) { + if s == nil || s.Email == nil { return "", false } - return *s.CreatedAt, true + return *s.Email, true } -// HasCreatedAt returns a boolean if a field has been set. -func (s *SyntheticsTest) HasCreatedAt() bool { - if s != nil && s.CreatedAt != nil { +// HasEmail returns a boolean if a field has been set. +func (s *SyntheticsUser) HasEmail() bool { + if s != nil && s.Email != nil { return true } return false } -// SetCreatedAt allocates a new s.CreatedAt and returns the pointer to it. -func (s *SyntheticsTest) SetCreatedAt(v string) { - s.CreatedAt = &v -} - -// GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetCreatedBy() SyntheticsUser { - if s == nil || s.CreatedBy == nil { - return SyntheticsUser{} +// SetEmail allocates a new s.Email and returns the pointer to it. +func (s *SyntheticsUser) SetEmail(v string) { + s.Email = &v +} + +// GetHandle returns the Handle field if non-nil, zero value otherwise. +func (s *SyntheticsUser) GetHandle() string { + if s == nil || s.Handle == nil { + return "" } - return *s.CreatedBy + return *s.Handle } -// GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise +// GetHandleOk returns a tuple with the Handle field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetCreatedByOk() (SyntheticsUser, bool) { - if s == nil || s.CreatedBy == nil { - return SyntheticsUser{}, false +func (s *SyntheticsUser) GetHandleOk() (string, bool) { + if s == nil || s.Handle == nil { + return "", false } - return *s.CreatedBy, true + return *s.Handle, true } -// HasCreatedBy returns a boolean if a field has been set. -func (s *SyntheticsTest) HasCreatedBy() bool { - if s != nil && s.CreatedBy != nil { +// HasHandle returns a boolean if a field has been set. +func (s *SyntheticsUser) HasHandle() bool { + if s != nil && s.Handle != nil { return true } return false } -// SetCreatedBy allocates a new s.CreatedBy and returns the pointer to it. -func (s *SyntheticsTest) SetCreatedBy(v SyntheticsUser) { - s.CreatedBy = &v +// SetHandle allocates a new s.Handle and returns the pointer to it. +func (s *SyntheticsUser) SetHandle(v string) { + s.Handle = &v } -// GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetDeletedAt() string { - if s == nil || s.DeletedAt == nil { - return "" +// GetId returns the Id field if non-nil, zero value otherwise. +func (s *SyntheticsUser) GetId() int { + if s == nil || s.Id == nil { + return 0 } - return *s.DeletedAt + return *s.Id } -// GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise +// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetDeletedAtOk() (string, bool) { - if s == nil || s.DeletedAt == nil { - return "", false +func (s *SyntheticsUser) GetIdOk() (int, bool) { + if s == nil || s.Id == nil { + return 0, false } - return *s.DeletedAt, true + return *s.Id, true } -// HasDeletedAt returns a boolean if a field has been set. -func (s *SyntheticsTest) HasDeletedAt() bool { - if s != nil && s.DeletedAt != nil { +// HasId returns a boolean if a field has been set. +func (s *SyntheticsUser) HasId() bool { + if s != nil && s.Id != nil { return true } return false } -// SetDeletedAt allocates a new s.DeletedAt and returns the pointer to it. -func (s *SyntheticsTest) SetDeletedAt(v string) { - s.DeletedAt = &v +// SetId allocates a new s.Id and returns the pointer to it. +func (s *SyntheticsUser) SetId(v int) { + s.Id = &v } -// GetMessage returns the Message field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetMessage() string { - if s == nil || s.Message == nil { +// GetName returns the Name field if non-nil, zero value otherwise. +func (s *SyntheticsUser) GetName() string { + if s == nil || s.Name == nil { return "" } - return *s.Message + return *s.Name } -// GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetMessageOk() (string, bool) { - if s == nil || s.Message == nil { +func (s *SyntheticsUser) GetNameOk() (string, bool) { + if s == nil || s.Name == nil { return "", false } - return *s.Message, true + return *s.Name, true } -// HasMessage returns a boolean if a field has been set. -func (s *SyntheticsTest) HasMessage() bool { - if s != nil && s.Message != nil { +// HasName returns a boolean if a field has been set. +func (s *SyntheticsUser) HasName() bool { + if s != nil && s.Name != nil { return true } return false } -// SetMessage allocates a new s.Message and returns the pointer to it. -func (s *SyntheticsTest) SetMessage(v string) { - s.Message = &v +// SetName allocates a new s.Name and returns the pointer to it. +func (s *SyntheticsUser) SetName(v string) { + s.Name = &v } -// GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetModifiedAt() string { - if s == nil || s.ModifiedAt == nil { +// GetDefault returns the Default field if non-nil, zero value otherwise. +func (t *TemplateVariable) GetDefault() string { + if t == nil || t.Default == nil { return "" } - return *s.ModifiedAt + return *t.Default } -// GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise +// GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetModifiedAtOk() (string, bool) { - if s == nil || s.ModifiedAt == nil { +func (t *TemplateVariable) GetDefaultOk() (string, bool) { + if t == nil || t.Default == nil { return "", false } - return *s.ModifiedAt, true + return *t.Default, true } -// HasModifiedAt returns a boolean if a field has been set. -func (s *SyntheticsTest) HasModifiedAt() bool { - if s != nil && s.ModifiedAt != nil { +// HasDefault returns a boolean if a field has been set. +func (t *TemplateVariable) HasDefault() bool { + if t != nil && t.Default != nil { return true } return false } -// SetModifiedAt allocates a new s.ModifiedAt and returns the pointer to it. -func (s *SyntheticsTest) SetModifiedAt(v string) { - s.ModifiedAt = &v +// SetDefault allocates a new t.Default and returns the pointer to it. +func (t *TemplateVariable) SetDefault(v string) { + t.Default = &v } -// GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetModifiedBy() SyntheticsUser { - if s == nil || s.ModifiedBy == nil { - return SyntheticsUser{} +// GetName returns the Name field if non-nil, zero value otherwise. +func (t *TemplateVariable) GetName() string { + if t == nil || t.Name == nil { + return "" } - return *s.ModifiedBy + return *t.Name } -// GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise +// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetModifiedByOk() (SyntheticsUser, bool) { - if s == nil || s.ModifiedBy == nil { - return SyntheticsUser{}, false +func (t *TemplateVariable) GetNameOk() (string, bool) { + if t == nil || t.Name == nil { + return "", false } - return *s.ModifiedBy, true + return *t.Name, true } -// HasModifiedBy returns a boolean if a field has been set. -func (s *SyntheticsTest) HasModifiedBy() bool { - if s != nil && s.ModifiedBy != nil { +// HasName returns a boolean if a field has been set. +func (t *TemplateVariable) HasName() bool { + if t != nil && t.Name != nil { return true } return false } -// SetModifiedBy allocates a new s.ModifiedBy and returns the pointer to it. -func (s *SyntheticsTest) SetModifiedBy(v SyntheticsUser) { - s.ModifiedBy = &v +// SetName allocates a new t.Name and returns the pointer to it. +func (t *TemplateVariable) SetName(v string) { + t.Name = &v } -// GetMonitorId returns the MonitorId field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetMonitorId() int { - if s == nil || s.MonitorId == nil { - return 0 +// GetPrefix returns the Prefix field if non-nil, zero value otherwise. +func (t *TemplateVariable) GetPrefix() string { + if t == nil || t.Prefix == nil { + return "" } - return *s.MonitorId + return *t.Prefix } -// GetMonitorIdOk returns a tuple with the MonitorId field if it's non-nil, zero value otherwise +// GetPrefixOk returns a tuple with the Prefix field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetMonitorIdOk() (int, bool) { - if s == nil || s.MonitorId == nil { - return 0, false +func (t *TemplateVariable) GetPrefixOk() (string, bool) { + if t == nil || t.Prefix == nil { + return "", false } - return *s.MonitorId, true + return *t.Prefix, true } -// HasMonitorId returns a boolean if a field has been set. -func (s *SyntheticsTest) HasMonitorId() bool { - if s != nil && s.MonitorId != nil { +// HasPrefix returns a boolean if a field has been set. +func (t *TemplateVariable) HasPrefix() bool { + if t != nil && t.Prefix != nil { return true } return false } -// SetMonitorId allocates a new s.MonitorId and returns the pointer to it. -func (s *SyntheticsTest) SetMonitorId(v int) { - s.MonitorId = &v +// SetPrefix allocates a new t.Prefix and returns the pointer to it. +func (t *TemplateVariable) SetPrefix(v string) { + t.Prefix = &v } -// GetMonitorStatus returns the MonitorStatus field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetMonitorStatus() string { - if s == nil || s.MonitorStatus == nil { +// GetCritical returns the Critical field if non-nil, zero value otherwise. +func (t *ThresholdCount) GetCritical() json.Number { + if t == nil || t.Critical == nil { return "" } - return *s.MonitorStatus + return *t.Critical } -// GetMonitorStatusOk returns a tuple with the MonitorStatus field if it's non-nil, zero value otherwise +// GetCriticalOk returns a tuple with the Critical field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetMonitorStatusOk() (string, bool) { - if s == nil || s.MonitorStatus == nil { +func (t *ThresholdCount) GetCriticalOk() (json.Number, bool) { + if t == nil || t.Critical == nil { return "", false } - return *s.MonitorStatus, true + return *t.Critical, true } -// HasMonitorStatus returns a boolean if a field has been set. -func (s *SyntheticsTest) HasMonitorStatus() bool { - if s != nil && s.MonitorStatus != nil { +// HasCritical returns a boolean if a field has been set. +func (t *ThresholdCount) HasCritical() bool { + if t != nil && t.Critical != nil { return true } return false } -// SetMonitorStatus allocates a new s.MonitorStatus and returns the pointer to it. -func (s *SyntheticsTest) SetMonitorStatus(v string) { - s.MonitorStatus = &v +// SetCritical allocates a new t.Critical and returns the pointer to it. +func (t *ThresholdCount) SetCritical(v json.Number) { + t.Critical = &v } -// GetName returns the Name field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetName() string { - if s == nil || s.Name == nil { +// GetCriticalRecovery returns the CriticalRecovery field if non-nil, zero value otherwise. +func (t *ThresholdCount) GetCriticalRecovery() json.Number { + if t == nil || t.CriticalRecovery == nil { return "" } - return *s.Name + return *t.CriticalRecovery } -// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +// GetCriticalRecoveryOk returns a tuple with the CriticalRecovery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetNameOk() (string, bool) { - if s == nil || s.Name == nil { +func (t *ThresholdCount) GetCriticalRecoveryOk() (json.Number, bool) { + if t == nil || t.CriticalRecovery == nil { return "", false } - return *s.Name, true + return *t.CriticalRecovery, true } -// HasName returns a boolean if a field has been set. -func (s *SyntheticsTest) HasName() bool { - if s != nil && s.Name != nil { +// HasCriticalRecovery returns a boolean if a field has been set. +func (t *ThresholdCount) HasCriticalRecovery() bool { + if t != nil && t.CriticalRecovery != nil { return true } return false } -// SetName allocates a new s.Name and returns the pointer to it. -func (s *SyntheticsTest) SetName(v string) { - s.Name = &v +// SetCriticalRecovery allocates a new t.CriticalRecovery and returns the pointer to it. +func (t *ThresholdCount) SetCriticalRecovery(v json.Number) { + t.CriticalRecovery = &v } -// GetOptions returns the Options field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetOptions() SyntheticsOptions { - if s == nil || s.Options == nil { - return SyntheticsOptions{} +// GetOk returns the Ok field if non-nil, zero value otherwise. +func (t *ThresholdCount) GetOk() json.Number { + if t == nil || t.Ok == nil { + return "" } - return *s.Options + return *t.Ok } -// GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise +// GetOkOk returns a tuple with the Ok field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetOptionsOk() (SyntheticsOptions, bool) { - if s == nil || s.Options == nil { - return SyntheticsOptions{}, false +func (t *ThresholdCount) GetOkOk() (json.Number, bool) { + if t == nil || t.Ok == nil { + return "", false } - return *s.Options, true + return *t.Ok, true } -// HasOptions returns a boolean if a field has been set. -func (s *SyntheticsTest) HasOptions() bool { - if s != nil && s.Options != nil { +// HasOk returns a boolean if a field has been set. +func (t *ThresholdCount) HasOk() bool { + if t != nil && t.Ok != nil { return true } return false } -// SetOptions allocates a new s.Options and returns the pointer to it. -func (s *SyntheticsTest) SetOptions(v SyntheticsOptions) { - s.Options = &v +// SetOk allocates a new t.Ok and returns the pointer to it. +func (t *ThresholdCount) SetOk(v json.Number) { + t.Ok = &v } -// GetPublicId returns the PublicId field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetPublicId() string { - if s == nil || s.PublicId == nil { - return "" +// GetPeriod returns the Period field if non-nil, zero value otherwise. +func (t *ThresholdCount) GetPeriod() Period { + if t == nil || t.Period == nil { + return Period{} } - return *s.PublicId + return *t.Period } -// GetPublicIdOk returns a tuple with the PublicId field if it's non-nil, zero value otherwise +// GetPeriodOk returns a tuple with the Period field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetPublicIdOk() (string, bool) { - if s == nil || s.PublicId == nil { - return "", false +func (t *ThresholdCount) GetPeriodOk() (Period, bool) { + if t == nil || t.Period == nil { + return Period{}, false } - return *s.PublicId, true + return *t.Period, true } -// HasPublicId returns a boolean if a field has been set. -func (s *SyntheticsTest) HasPublicId() bool { - if s != nil && s.PublicId != nil { +// HasPeriod returns a boolean if a field has been set. +func (t *ThresholdCount) HasPeriod() bool { + if t != nil && t.Period != nil { return true } return false } -// SetPublicId allocates a new s.PublicId and returns the pointer to it. -func (s *SyntheticsTest) SetPublicId(v string) { - s.PublicId = &v +// SetPeriod allocates a new t.Period and returns the pointer to it. +func (t *ThresholdCount) SetPeriod(v Period) { + t.Period = &v } -// GetStatus returns the Status field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetStatus() string { - if s == nil || s.Status == nil { +// GetTimeAggregator returns the TimeAggregator field if non-nil, zero value otherwise. +func (t *ThresholdCount) GetTimeAggregator() string { + if t == nil || t.TimeAggregator == nil { return "" } - return *s.Status + return *t.TimeAggregator } -// GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +// GetTimeAggregatorOk returns a tuple with the TimeAggregator field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetStatusOk() (string, bool) { - if s == nil || s.Status == nil { +func (t *ThresholdCount) GetTimeAggregatorOk() (string, bool) { + if t == nil || t.TimeAggregator == nil { return "", false } - return *s.Status, true + return *t.TimeAggregator, true } -// HasStatus returns a boolean if a field has been set. -func (s *SyntheticsTest) HasStatus() bool { - if s != nil && s.Status != nil { +// HasTimeAggregator returns a boolean if a field has been set. +func (t *ThresholdCount) HasTimeAggregator() bool { + if t != nil && t.TimeAggregator != nil { return true } return false } -// SetStatus allocates a new s.Status and returns the pointer to it. -func (s *SyntheticsTest) SetStatus(v string) { - s.Status = &v +// SetTimeAggregator allocates a new t.TimeAggregator and returns the pointer to it. +func (t *ThresholdCount) SetTimeAggregator(v string) { + t.TimeAggregator = &v } -// GetType returns the Type field if non-nil, zero value otherwise. -func (s *SyntheticsTest) GetType() string { - if s == nil || s.Type == nil { +// GetUnknown returns the Unknown field if non-nil, zero value otherwise. +func (t *ThresholdCount) GetUnknown() json.Number { + if t == nil || t.Unknown == nil { return "" } - return *s.Type + return *t.Unknown } -// GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +// GetUnknownOk returns a tuple with the Unknown field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsTest) GetTypeOk() (string, bool) { - if s == nil || s.Type == nil { +func (t *ThresholdCount) GetUnknownOk() (json.Number, bool) { + if t == nil || t.Unknown == nil { return "", false } - return *s.Type, true + return *t.Unknown, true } -// HasType returns a boolean if a field has been set. -func (s *SyntheticsTest) HasType() bool { - if s != nil && s.Type != nil { +// HasUnknown returns a boolean if a field has been set. +func (t *ThresholdCount) HasUnknown() bool { + if t != nil && t.Unknown != nil { return true } return false } -// SetType allocates a new s.Type and returns the pointer to it. -func (s *SyntheticsTest) SetType(v string) { - s.Type = &v +// SetUnknown allocates a new t.Unknown and returns the pointer to it. +func (t *ThresholdCount) SetUnknown(v json.Number) { + t.Unknown = &v } -// GetEmail returns the Email field if non-nil, zero value otherwise. -func (s *SyntheticsUser) GetEmail() string { - if s == nil || s.Email == nil { +// GetWarning returns the Warning field if non-nil, zero value otherwise. +func (t *ThresholdCount) GetWarning() json.Number { + if t == nil || t.Warning == nil { return "" } - return *s.Email + return *t.Warning } -// GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +// GetWarningOk returns a tuple with the Warning field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsUser) GetEmailOk() (string, bool) { - if s == nil || s.Email == nil { +func (t *ThresholdCount) GetWarningOk() (json.Number, bool) { + if t == nil || t.Warning == nil { return "", false } - return *s.Email, true + return *t.Warning, true } -// HasEmail returns a boolean if a field has been set. -func (s *SyntheticsUser) HasEmail() bool { - if s != nil && s.Email != nil { +// HasWarning returns a boolean if a field has been set. +func (t *ThresholdCount) HasWarning() bool { + if t != nil && t.Warning != nil { return true } return false } -// SetEmail allocates a new s.Email and returns the pointer to it. -func (s *SyntheticsUser) SetEmail(v string) { - s.Email = &v +// SetWarning allocates a new t.Warning and returns the pointer to it. +func (t *ThresholdCount) SetWarning(v json.Number) { + t.Warning = &v } -// GetHandle returns the Handle field if non-nil, zero value otherwise. -func (s *SyntheticsUser) GetHandle() string { - if s == nil || s.Handle == nil { +// GetWarningRecovery returns the WarningRecovery field if non-nil, zero value otherwise. +func (t *ThresholdCount) GetWarningRecovery() json.Number { + if t == nil || t.WarningRecovery == nil { return "" } - return *s.Handle + return *t.WarningRecovery } -// GetHandleOk returns a tuple with the Handle field if it's non-nil, zero value otherwise +// GetWarningRecoveryOk returns a tuple with the WarningRecovery field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsUser) GetHandleOk() (string, bool) { - if s == nil || s.Handle == nil { +func (t *ThresholdCount) GetWarningRecoveryOk() (json.Number, bool) { + if t == nil || t.WarningRecovery == nil { return "", false } - return *s.Handle, true + return *t.WarningRecovery, true } -// HasHandle returns a boolean if a field has been set. -func (s *SyntheticsUser) HasHandle() bool { - if s != nil && s.Handle != nil { +// HasWarningRecovery returns a boolean if a field has been set. +func (t *ThresholdCount) HasWarningRecovery() bool { + if t != nil && t.WarningRecovery != nil { return true } return false } -// SetHandle allocates a new s.Handle and returns the pointer to it. -func (s *SyntheticsUser) SetHandle(v string) { - s.Handle = &v +// SetWarningRecovery allocates a new t.WarningRecovery and returns the pointer to it. +func (t *ThresholdCount) SetWarningRecovery(v json.Number) { + t.WarningRecovery = &v } -// GetId returns the Id field if non-nil, zero value otherwise. -func (s *SyntheticsUser) GetId() int { - if s == nil || s.Id == nil { - return 0 +// GetRecoveryWindow returns the RecoveryWindow field if non-nil, zero value otherwise. +func (t *ThresholdWindows) GetRecoveryWindow() string { + if t == nil || t.RecoveryWindow == nil { + return "" } - return *s.Id + return *t.RecoveryWindow } -// GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +// GetRecoveryWindowOk returns a tuple with the RecoveryWindow field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsUser) GetIdOk() (int, bool) { - if s == nil || s.Id == nil { - return 0, false +func (t *ThresholdWindows) GetRecoveryWindowOk() (string, bool) { + if t == nil || t.RecoveryWindow == nil { + return "", false } - return *s.Id, true + return *t.RecoveryWindow, true } -// HasId returns a boolean if a field has been set. -func (s *SyntheticsUser) HasId() bool { - if s != nil && s.Id != nil { +// HasRecoveryWindow returns a boolean if a field has been set. +func (t *ThresholdWindows) HasRecoveryWindow() bool { + if t != nil && t.RecoveryWindow != nil { return true } return false } -// SetId allocates a new s.Id and returns the pointer to it. -func (s *SyntheticsUser) SetId(v int) { - s.Id = &v +// SetRecoveryWindow allocates a new t.RecoveryWindow and returns the pointer to it. +func (t *ThresholdWindows) SetRecoveryWindow(v string) { + t.RecoveryWindow = &v } -// GetName returns the Name field if non-nil, zero value otherwise. -func (s *SyntheticsUser) GetName() string { - if s == nil || s.Name == nil { +// GetTriggerWindow returns the TriggerWindow field if non-nil, zero value otherwise. +func (t *ThresholdWindows) GetTriggerWindow() string { + if t == nil || t.TriggerWindow == nil { return "" } - return *s.Name + return *t.TriggerWindow } -// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +// GetTriggerWindowOk returns a tuple with the TriggerWindow field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (s *SyntheticsUser) GetNameOk() (string, bool) { - if s == nil || s.Name == nil { +func (t *ThresholdWindows) GetTriggerWindowOk() (string, bool) { + if t == nil || t.TriggerWindow == nil { return "", false } - return *s.Name, true + return *t.TriggerWindow, true } -// HasName returns a boolean if a field has been set. -func (s *SyntheticsUser) HasName() bool { - if s != nil && s.Name != nil { +// HasTriggerWindow returns a boolean if a field has been set. +func (t *ThresholdWindows) HasTriggerWindow() bool { + if t != nil && t.TriggerWindow != nil { return true } return false } -// SetName allocates a new s.Name and returns the pointer to it. -func (s *SyntheticsUser) SetName(v string) { - s.Name = &v +// SetTriggerWindow allocates a new t.TriggerWindow and returns the pointer to it. +func (t *ThresholdWindows) SetTriggerWindow(v string) { + t.TriggerWindow = &v } -// GetDefault returns the Default field if non-nil, zero value otherwise. -func (t *TemplateVariable) GetDefault() string { - if t == nil || t.Default == nil { - return "" +// GetAutoscale returns the Autoscale field if non-nil, zero value otherwise. +func (t *TileDef) GetAutoscale() bool { + if t == nil || t.Autoscale == nil { + return false } - return *t.Default + return *t.Autoscale } -// GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise +// GetAutoscaleOk returns a tuple with the Autoscale field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TemplateVariable) GetDefaultOk() (string, bool) { - if t == nil || t.Default == nil { - return "", false +func (t *TileDef) GetAutoscaleOk() (bool, bool) { + if t == nil || t.Autoscale == nil { + return false, false } - return *t.Default, true + return *t.Autoscale, true } -// HasDefault returns a boolean if a field has been set. -func (t *TemplateVariable) HasDefault() bool { - if t != nil && t.Default != nil { +// HasAutoscale returns a boolean if a field has been set. +func (t *TileDef) HasAutoscale() bool { + if t != nil && t.Autoscale != nil { return true } return false } -// SetDefault allocates a new t.Default and returns the pointer to it. -func (t *TemplateVariable) SetDefault(v string) { - t.Default = &v +// SetAutoscale allocates a new t.Autoscale and returns the pointer to it. +func (t *TileDef) SetAutoscale(v bool) { + t.Autoscale = &v } -// GetName returns the Name field if non-nil, zero value otherwise. -func (t *TemplateVariable) GetName() string { - if t == nil || t.Name == nil { +// GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise. +func (t *TileDef) GetCustomUnit() string { + if t == nil || t.CustomUnit == nil { return "" } - return *t.Name + return *t.CustomUnit } -// GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +// GetCustomUnitOk returns a tuple with the CustomUnit field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TemplateVariable) GetNameOk() (string, bool) { - if t == nil || t.Name == nil { +func (t *TileDef) GetCustomUnitOk() (string, bool) { + if t == nil || t.CustomUnit == nil { return "", false } - return *t.Name, true + return *t.CustomUnit, true } -// HasName returns a boolean if a field has been set. -func (t *TemplateVariable) HasName() bool { - if t != nil && t.Name != nil { +// HasCustomUnit returns a boolean if a field has been set. +func (t *TileDef) HasCustomUnit() bool { + if t != nil && t.CustomUnit != nil { return true } return false } -// SetName allocates a new t.Name and returns the pointer to it. -func (t *TemplateVariable) SetName(v string) { - t.Name = &v +// SetCustomUnit allocates a new t.CustomUnit and returns the pointer to it. +func (t *TileDef) SetCustomUnit(v string) { + t.CustomUnit = &v } -// GetPrefix returns the Prefix field if non-nil, zero value otherwise. -func (t *TemplateVariable) GetPrefix() string { - if t == nil || t.Prefix == nil { +// GetNodeType returns the NodeType field if non-nil, zero value otherwise. +func (t *TileDef) GetNodeType() string { + if t == nil || t.NodeType == nil { return "" } - return *t.Prefix + return *t.NodeType } -// GetPrefixOk returns a tuple with the Prefix field if it's non-nil, zero value otherwise +// GetNodeTypeOk returns a tuple with the NodeType field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TemplateVariable) GetPrefixOk() (string, bool) { - if t == nil || t.Prefix == nil { +func (t *TileDef) GetNodeTypeOk() (string, bool) { + if t == nil || t.NodeType == nil { return "", false } - return *t.Prefix, true + return *t.NodeType, true } -// HasPrefix returns a boolean if a field has been set. -func (t *TemplateVariable) HasPrefix() bool { - if t != nil && t.Prefix != nil { +// HasNodeType returns a boolean if a field has been set. +func (t *TileDef) HasNodeType() bool { + if t != nil && t.NodeType != nil { return true } return false } -// SetPrefix allocates a new t.Prefix and returns the pointer to it. -func (t *TemplateVariable) SetPrefix(v string) { - t.Prefix = &v +// SetNodeType allocates a new t.NodeType and returns the pointer to it. +func (t *TileDef) SetNodeType(v string) { + t.NodeType = &v } -// GetCritical returns the Critical field if non-nil, zero value otherwise. -func (t *ThresholdCount) GetCritical() json.Number { - if t == nil || t.Critical == nil { - return "" +// GetNoGroupHosts returns the NoGroupHosts field if non-nil, zero value otherwise. +func (t *TileDef) GetNoGroupHosts() bool { + if t == nil || t.NoGroupHosts == nil { + return false } - return *t.Critical + return *t.NoGroupHosts } -// GetCriticalOk returns a tuple with the Critical field if it's non-nil, zero value otherwise +// GetNoGroupHostsOk returns a tuple with the NoGroupHosts field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *ThresholdCount) GetCriticalOk() (json.Number, bool) { - if t == nil || t.Critical == nil { - return "", false +func (t *TileDef) GetNoGroupHostsOk() (bool, bool) { + if t == nil || t.NoGroupHosts == nil { + return false, false } - return *t.Critical, true + return *t.NoGroupHosts, true } -// HasCritical returns a boolean if a field has been set. -func (t *ThresholdCount) HasCritical() bool { - if t != nil && t.Critical != nil { +// HasNoGroupHosts returns a boolean if a field has been set. +func (t *TileDef) HasNoGroupHosts() bool { + if t != nil && t.NoGroupHosts != nil { return true } return false } -// SetCritical allocates a new t.Critical and returns the pointer to it. -func (t *ThresholdCount) SetCritical(v json.Number) { - t.Critical = &v +// SetNoGroupHosts allocates a new t.NoGroupHosts and returns the pointer to it. +func (t *TileDef) SetNoGroupHosts(v bool) { + t.NoGroupHosts = &v } -// GetCriticalRecovery returns the CriticalRecovery field if non-nil, zero value otherwise. -func (t *ThresholdCount) GetCriticalRecovery() json.Number { - if t == nil || t.CriticalRecovery == nil { - return "" +// GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise. +func (t *TileDef) GetNoMetricHosts() bool { + if t == nil || t.NoMetricHosts == nil { + return false } - return *t.CriticalRecovery + return *t.NoMetricHosts } -// GetCriticalRecoveryOk returns a tuple with the CriticalRecovery field if it's non-nil, zero value otherwise +// GetNoMetricHostsOk returns a tuple with the NoMetricHosts field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *ThresholdCount) GetCriticalRecoveryOk() (json.Number, bool) { - if t == nil || t.CriticalRecovery == nil { - return "", false +func (t *TileDef) GetNoMetricHostsOk() (bool, bool) { + if t == nil || t.NoMetricHosts == nil { + return false, false } - return *t.CriticalRecovery, true + return *t.NoMetricHosts, true } -// HasCriticalRecovery returns a boolean if a field has been set. -func (t *ThresholdCount) HasCriticalRecovery() bool { - if t != nil && t.CriticalRecovery != nil { +// HasNoMetricHosts returns a boolean if a field has been set. +func (t *TileDef) HasNoMetricHosts() bool { + if t != nil && t.NoMetricHosts != nil { return true } return false } -// SetCriticalRecovery allocates a new t.CriticalRecovery and returns the pointer to it. -func (t *ThresholdCount) SetCriticalRecovery(v json.Number) { - t.CriticalRecovery = &v +// SetNoMetricHosts allocates a new t.NoMetricHosts and returns the pointer to it. +func (t *TileDef) SetNoMetricHosts(v bool) { + t.NoMetricHosts = &v } -// GetOk returns the Ok field if non-nil, zero value otherwise. -func (t *ThresholdCount) GetOk() json.Number { - if t == nil || t.Ok == nil { +// GetPrecision returns the Precision field if non-nil, zero value otherwise. +func (t *TileDef) GetPrecision() PrecisionT { + if t == nil || t.Precision == nil { return "" } - return *t.Ok + return *t.Precision } -// GetOkOk returns a tuple with the Ok field if it's non-nil, zero value otherwise +// GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *ThresholdCount) GetOkOk() (json.Number, bool) { - if t == nil || t.Ok == nil { +func (t *TileDef) GetPrecisionOk() (PrecisionT, bool) { + if t == nil || t.Precision == nil { return "", false } - return *t.Ok, true + return *t.Precision, true } -// HasOk returns a boolean if a field has been set. -func (t *ThresholdCount) HasOk() bool { - if t != nil && t.Ok != nil { +// HasPrecision returns a boolean if a field has been set. +func (t *TileDef) HasPrecision() bool { + if t != nil && t.Precision != nil { return true } return false } -// SetOk allocates a new t.Ok and returns the pointer to it. -func (t *ThresholdCount) SetOk(v json.Number) { - t.Ok = &v +// SetPrecision allocates a new t.Precision and returns the pointer to it. +func (t *TileDef) SetPrecision(v PrecisionT) { + t.Precision = &v } -// GetPeriod returns the Period field if non-nil, zero value otherwise. -func (t *ThresholdCount) GetPeriod() Period { - if t == nil || t.Period == nil { - return Period{} +// GetStyle returns the Style field if non-nil, zero value otherwise. +func (t *TileDef) GetStyle() TileDefStyle { + if t == nil || t.Style == nil { + return TileDefStyle{} } - return *t.Period + return *t.Style } -// GetPeriodOk returns a tuple with the Period field if it's non-nil, zero value otherwise +// GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *ThresholdCount) GetPeriodOk() (Period, bool) { - if t == nil || t.Period == nil { - return Period{}, false +func (t *TileDef) GetStyleOk() (TileDefStyle, bool) { + if t == nil || t.Style == nil { + return TileDefStyle{}, false } - return *t.Period, true + return *t.Style, true } -// HasPeriod returns a boolean if a field has been set. -func (t *ThresholdCount) HasPeriod() bool { - if t != nil && t.Period != nil { +// HasStyle returns a boolean if a field has been set. +func (t *TileDef) HasStyle() bool { + if t != nil && t.Style != nil { return true } return false } -// SetPeriod allocates a new t.Period and returns the pointer to it. -func (t *ThresholdCount) SetPeriod(v Period) { - t.Period = &v +// SetStyle allocates a new t.Style and returns the pointer to it. +func (t *TileDef) SetStyle(v TileDefStyle) { + t.Style = &v } -// GetTimeAggregator returns the TimeAggregator field if non-nil, zero value otherwise. -func (t *ThresholdCount) GetTimeAggregator() string { - if t == nil || t.TimeAggregator == nil { +// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise. +func (t *TileDef) GetTextAlign() string { + if t == nil || t.TextAlign == nil { return "" } - return *t.TimeAggregator + return *t.TextAlign } -// GetTimeAggregatorOk returns a tuple with the TimeAggregator field if it's non-nil, zero value otherwise +// GetTextAlignOk returns a tuple with the TextAlign field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *ThresholdCount) GetTimeAggregatorOk() (string, bool) { - if t == nil || t.TimeAggregator == nil { +func (t *TileDef) GetTextAlignOk() (string, bool) { + if t == nil || t.TextAlign == nil { return "", false } - return *t.TimeAggregator, true + return *t.TextAlign, true } -// HasTimeAggregator returns a boolean if a field has been set. -func (t *ThresholdCount) HasTimeAggregator() bool { - if t != nil && t.TimeAggregator != nil { +// HasTextAlign returns a boolean if a field has been set. +func (t *TileDef) HasTextAlign() bool { + if t != nil && t.TextAlign != nil { return true } return false } -// SetTimeAggregator allocates a new t.TimeAggregator and returns the pointer to it. -func (t *ThresholdCount) SetTimeAggregator(v string) { - t.TimeAggregator = &v +// SetTextAlign allocates a new t.TextAlign and returns the pointer to it. +func (t *TileDef) SetTextAlign(v string) { + t.TextAlign = &v } -// GetUnknown returns the Unknown field if non-nil, zero value otherwise. -func (t *ThresholdCount) GetUnknown() json.Number { - if t == nil || t.Unknown == nil { +// GetViz returns the Viz field if non-nil, zero value otherwise. +func (t *TileDef) GetViz() string { + if t == nil || t.Viz == nil { return "" } - return *t.Unknown + return *t.Viz } -// GetUnknownOk returns a tuple with the Unknown field if it's non-nil, zero value otherwise +// GetVizOk returns a tuple with the Viz field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *ThresholdCount) GetUnknownOk() (json.Number, bool) { - if t == nil || t.Unknown == nil { +func (t *TileDef) GetVizOk() (string, bool) { + if t == nil || t.Viz == nil { return "", false } - return *t.Unknown, true + return *t.Viz, true } -// HasUnknown returns a boolean if a field has been set. -func (t *ThresholdCount) HasUnknown() bool { - if t != nil && t.Unknown != nil { +// HasViz returns a boolean if a field has been set. +func (t *TileDef) HasViz() bool { + if t != nil && t.Viz != nil { return true } return false } -// SetUnknown allocates a new t.Unknown and returns the pointer to it. -func (t *ThresholdCount) SetUnknown(v json.Number) { - t.Unknown = &v +// SetViz allocates a new t.Viz and returns the pointer to it. +func (t *TileDef) SetViz(v string) { + t.Viz = &v } -// GetWarning returns the Warning field if non-nil, zero value otherwise. -func (t *ThresholdCount) GetWarning() json.Number { - if t == nil || t.Warning == nil { - return "" +// GetCompute returns the Compute field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQuery) GetCompute() TileDefApmOrLogQueryCompute { + if t == nil || t.Compute == nil { + return TileDefApmOrLogQueryCompute{} } - return *t.Warning + return *t.Compute } -// GetWarningOk returns a tuple with the Warning field if it's non-nil, zero value otherwise +// GetComputeOk returns a tuple with the Compute field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *ThresholdCount) GetWarningOk() (json.Number, bool) { - if t == nil || t.Warning == nil { - return "", false +func (t *TileDefApmOrLogQuery) GetComputeOk() (TileDefApmOrLogQueryCompute, bool) { + if t == nil || t.Compute == nil { + return TileDefApmOrLogQueryCompute{}, false } - return *t.Warning, true + return *t.Compute, true } -// HasWarning returns a boolean if a field has been set. -func (t *ThresholdCount) HasWarning() bool { - if t != nil && t.Warning != nil { +// HasCompute returns a boolean if a field has been set. +func (t *TileDefApmOrLogQuery) HasCompute() bool { + if t != nil && t.Compute != nil { return true } return false } -// SetWarning allocates a new t.Warning and returns the pointer to it. -func (t *ThresholdCount) SetWarning(v json.Number) { - t.Warning = &v +// SetCompute allocates a new t.Compute and returns the pointer to it. +func (t *TileDefApmOrLogQuery) SetCompute(v TileDefApmOrLogQueryCompute) { + t.Compute = &v } -// GetWarningRecovery returns the WarningRecovery field if non-nil, zero value otherwise. -func (t *ThresholdCount) GetWarningRecovery() json.Number { - if t == nil || t.WarningRecovery == nil { +// GetIndex returns the Index field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQuery) GetIndex() string { + if t == nil || t.Index == nil { return "" } - return *t.WarningRecovery + return *t.Index } -// GetWarningRecoveryOk returns a tuple with the WarningRecovery field if it's non-nil, zero value otherwise +// GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *ThresholdCount) GetWarningRecoveryOk() (json.Number, bool) { - if t == nil || t.WarningRecovery == nil { +func (t *TileDefApmOrLogQuery) GetIndexOk() (string, bool) { + if t == nil || t.Index == nil { return "", false } - return *t.WarningRecovery, true + return *t.Index, true } -// HasWarningRecovery returns a boolean if a field has been set. -func (t *ThresholdCount) HasWarningRecovery() bool { - if t != nil && t.WarningRecovery != nil { +// HasIndex returns a boolean if a field has been set. +func (t *TileDefApmOrLogQuery) HasIndex() bool { + if t != nil && t.Index != nil { return true } return false } -// SetWarningRecovery allocates a new t.WarningRecovery and returns the pointer to it. -func (t *ThresholdCount) SetWarningRecovery(v json.Number) { - t.WarningRecovery = &v +// SetIndex allocates a new t.Index and returns the pointer to it. +func (t *TileDefApmOrLogQuery) SetIndex(v string) { + t.Index = &v } -// GetRecoveryWindow returns the RecoveryWindow field if non-nil, zero value otherwise. -func (t *ThresholdWindows) GetRecoveryWindow() string { - if t == nil || t.RecoveryWindow == nil { - return "" +// GetSearch returns the Search field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQuery) GetSearch() TileDefApmOrLogQuerySearch { + if t == nil || t.Search == nil { + return TileDefApmOrLogQuerySearch{} } - return *t.RecoveryWindow + return *t.Search } -// GetRecoveryWindowOk returns a tuple with the RecoveryWindow field if it's non-nil, zero value otherwise +// GetSearchOk returns a tuple with the Search field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *ThresholdWindows) GetRecoveryWindowOk() (string, bool) { - if t == nil || t.RecoveryWindow == nil { - return "", false +func (t *TileDefApmOrLogQuery) GetSearchOk() (TileDefApmOrLogQuerySearch, bool) { + if t == nil || t.Search == nil { + return TileDefApmOrLogQuerySearch{}, false } - return *t.RecoveryWindow, true + return *t.Search, true } -// HasRecoveryWindow returns a boolean if a field has been set. -func (t *ThresholdWindows) HasRecoveryWindow() bool { - if t != nil && t.RecoveryWindow != nil { +// HasSearch returns a boolean if a field has been set. +func (t *TileDefApmOrLogQuery) HasSearch() bool { + if t != nil && t.Search != nil { return true } return false } -// SetRecoveryWindow allocates a new t.RecoveryWindow and returns the pointer to it. -func (t *ThresholdWindows) SetRecoveryWindow(v string) { - t.RecoveryWindow = &v +// SetSearch allocates a new t.Search and returns the pointer to it. +func (t *TileDefApmOrLogQuery) SetSearch(v TileDefApmOrLogQuerySearch) { + t.Search = &v } -// GetTriggerWindow returns the TriggerWindow field if non-nil, zero value otherwise. -func (t *ThresholdWindows) GetTriggerWindow() string { - if t == nil || t.TriggerWindow == nil { +// GetAggregation returns the Aggregation field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQueryCompute) GetAggregation() string { + if t == nil || t.Aggregation == nil { return "" } - return *t.TriggerWindow + return *t.Aggregation } -// GetTriggerWindowOk returns a tuple with the TriggerWindow field if it's non-nil, zero value otherwise +// GetAggregationOk returns a tuple with the Aggregation field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *ThresholdWindows) GetTriggerWindowOk() (string, bool) { - if t == nil || t.TriggerWindow == nil { +func (t *TileDefApmOrLogQueryCompute) GetAggregationOk() (string, bool) { + if t == nil || t.Aggregation == nil { return "", false } - return *t.TriggerWindow, true + return *t.Aggregation, true } -// HasTriggerWindow returns a boolean if a field has been set. -func (t *ThresholdWindows) HasTriggerWindow() bool { - if t != nil && t.TriggerWindow != nil { +// HasAggregation returns a boolean if a field has been set. +func (t *TileDefApmOrLogQueryCompute) HasAggregation() bool { + if t != nil && t.Aggregation != nil { return true } return false } -// SetTriggerWindow allocates a new t.TriggerWindow and returns the pointer to it. -func (t *ThresholdWindows) SetTriggerWindow(v string) { - t.TriggerWindow = &v +// SetAggregation allocates a new t.Aggregation and returns the pointer to it. +func (t *TileDefApmOrLogQueryCompute) SetAggregation(v string) { + t.Aggregation = &v } -// GetAutoscale returns the Autoscale field if non-nil, zero value otherwise. -func (t *TileDef) GetAutoscale() bool { - if t == nil || t.Autoscale == nil { - return false +// GetFacet returns the Facet field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQueryCompute) GetFacet() string { + if t == nil || t.Facet == nil { + return "" } - return *t.Autoscale + return *t.Facet } -// GetAutoscaleOk returns a tuple with the Autoscale field if it's non-nil, zero value otherwise +// GetFacetOk returns a tuple with the Facet field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TileDef) GetAutoscaleOk() (bool, bool) { - if t == nil || t.Autoscale == nil { - return false, false +func (t *TileDefApmOrLogQueryCompute) GetFacetOk() (string, bool) { + if t == nil || t.Facet == nil { + return "", false } - return *t.Autoscale, true + return *t.Facet, true } -// HasAutoscale returns a boolean if a field has been set. -func (t *TileDef) HasAutoscale() bool { - if t != nil && t.Autoscale != nil { +// HasFacet returns a boolean if a field has been set. +func (t *TileDefApmOrLogQueryCompute) HasFacet() bool { + if t != nil && t.Facet != nil { return true } return false } -// SetAutoscale allocates a new t.Autoscale and returns the pointer to it. -func (t *TileDef) SetAutoscale(v bool) { - t.Autoscale = &v +// SetFacet allocates a new t.Facet and returns the pointer to it. +func (t *TileDefApmOrLogQueryCompute) SetFacet(v string) { + t.Facet = &v } -// GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise. -func (t *TileDef) GetCustomUnit() string { - if t == nil || t.CustomUnit == nil { - return "" +// GetInterval returns the Interval field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQueryCompute) GetInterval() int { + if t == nil || t.Interval == nil { + return 0 } - return *t.CustomUnit + return *t.Interval } -// GetCustomUnitOk returns a tuple with the CustomUnit field if it's non-nil, zero value otherwise +// 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 (t *TileDef) GetCustomUnitOk() (string, bool) { - if t == nil || t.CustomUnit == nil { - return "", false +func (t *TileDefApmOrLogQueryCompute) GetIntervalOk() (int, bool) { + if t == nil || t.Interval == nil { + return 0, false } - return *t.CustomUnit, true + return *t.Interval, true } -// HasCustomUnit returns a boolean if a field has been set. -func (t *TileDef) HasCustomUnit() bool { - if t != nil && t.CustomUnit != nil { +// HasInterval returns a boolean if a field has been set. +func (t *TileDefApmOrLogQueryCompute) HasInterval() bool { + if t != nil && t.Interval != nil { return true } return false } -// SetCustomUnit allocates a new t.CustomUnit and returns the pointer to it. -func (t *TileDef) SetCustomUnit(v string) { - t.CustomUnit = &v +// SetInterval allocates a new t.Interval and returns the pointer to it. +func (t *TileDefApmOrLogQueryCompute) SetInterval(v int) { + t.Interval = &v } -// GetNodeType returns the NodeType field if non-nil, zero value otherwise. -func (t *TileDef) GetNodeType() string { - if t == nil || t.NodeType == nil { +// GetFacet returns the Facet field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQueryGroupBy) GetFacet() string { + if t == nil || t.Facet == nil { return "" } - return *t.NodeType + return *t.Facet } -// GetNodeTypeOk returns a tuple with the NodeType field if it's non-nil, zero value otherwise +// GetFacetOk returns a tuple with the Facet field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TileDef) GetNodeTypeOk() (string, bool) { - if t == nil || t.NodeType == nil { +func (t *TileDefApmOrLogQueryGroupBy) GetFacetOk() (string, bool) { + if t == nil || t.Facet == nil { return "", false } - return *t.NodeType, true + return *t.Facet, true } -// HasNodeType returns a boolean if a field has been set. -func (t *TileDef) HasNodeType() bool { - if t != nil && t.NodeType != nil { +// HasFacet returns a boolean if a field has been set. +func (t *TileDefApmOrLogQueryGroupBy) HasFacet() bool { + if t != nil && t.Facet != nil { return true } return false } -// SetNodeType allocates a new t.NodeType and returns the pointer to it. -func (t *TileDef) SetNodeType(v string) { - t.NodeType = &v +// SetFacet allocates a new t.Facet and returns the pointer to it. +func (t *TileDefApmOrLogQueryGroupBy) SetFacet(v string) { + t.Facet = &v } -// GetNoGroupHosts returns the NoGroupHosts field if non-nil, zero value otherwise. -func (t *TileDef) GetNoGroupHosts() bool { - if t == nil || t.NoGroupHosts == nil { - return false +// GetLimit returns the Limit field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQueryGroupBy) GetLimit() int { + if t == nil || t.Limit == nil { + return 0 } - return *t.NoGroupHosts + return *t.Limit } -// GetNoGroupHostsOk returns a tuple with the NoGroupHosts field if it's non-nil, zero value otherwise +// GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TileDef) GetNoGroupHostsOk() (bool, bool) { - if t == nil || t.NoGroupHosts == nil { - return false, false +func (t *TileDefApmOrLogQueryGroupBy) GetLimitOk() (int, bool) { + if t == nil || t.Limit == nil { + return 0, false } - return *t.NoGroupHosts, true + return *t.Limit, true } -// HasNoGroupHosts returns a boolean if a field has been set. -func (t *TileDef) HasNoGroupHosts() bool { - if t != nil && t.NoGroupHosts != nil { +// HasLimit returns a boolean if a field has been set. +func (t *TileDefApmOrLogQueryGroupBy) HasLimit() bool { + if t != nil && t.Limit != nil { return true } return false } -// SetNoGroupHosts allocates a new t.NoGroupHosts and returns the pointer to it. -func (t *TileDef) SetNoGroupHosts(v bool) { - t.NoGroupHosts = &v +// SetLimit allocates a new t.Limit and returns the pointer to it. +func (t *TileDefApmOrLogQueryGroupBy) SetLimit(v int) { + t.Limit = &v } -// GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise. -func (t *TileDef) GetNoMetricHosts() bool { - if t == nil || t.NoMetricHosts == nil { - return false +// GetSort returns the Sort field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQueryGroupBy) GetSort() TileDefApmOrLogQueryGroupBySort { + if t == nil || t.Sort == nil { + return TileDefApmOrLogQueryGroupBySort{} } - return *t.NoMetricHosts + return *t.Sort } -// GetNoMetricHostsOk returns a tuple with the NoMetricHosts field if it's non-nil, zero value otherwise +// GetSortOk returns a tuple with the Sort field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TileDef) GetNoMetricHostsOk() (bool, bool) { - if t == nil || t.NoMetricHosts == nil { - return false, false +func (t *TileDefApmOrLogQueryGroupBy) GetSortOk() (TileDefApmOrLogQueryGroupBySort, bool) { + if t == nil || t.Sort == nil { + return TileDefApmOrLogQueryGroupBySort{}, false } - return *t.NoMetricHosts, true + return *t.Sort, true } -// HasNoMetricHosts returns a boolean if a field has been set. -func (t *TileDef) HasNoMetricHosts() bool { - if t != nil && t.NoMetricHosts != nil { +// HasSort returns a boolean if a field has been set. +func (t *TileDefApmOrLogQueryGroupBy) HasSort() bool { + if t != nil && t.Sort != nil { return true } return false } -// SetNoMetricHosts allocates a new t.NoMetricHosts and returns the pointer to it. -func (t *TileDef) SetNoMetricHosts(v bool) { - t.NoMetricHosts = &v +// SetSort allocates a new t.Sort and returns the pointer to it. +func (t *TileDefApmOrLogQueryGroupBy) SetSort(v TileDefApmOrLogQueryGroupBySort) { + t.Sort = &v } -// GetPrecision returns the Precision field if non-nil, zero value otherwise. -func (t *TileDef) GetPrecision() PrecisionT { - if t == nil || t.Precision == nil { +// GetAggregation returns the Aggregation field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQueryGroupBySort) GetAggregation() string { + if t == nil || t.Aggregation == nil { return "" } - return *t.Precision + return *t.Aggregation } -// GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise +// GetAggregationOk returns a tuple with the Aggregation field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TileDef) GetPrecisionOk() (PrecisionT, bool) { - if t == nil || t.Precision == nil { +func (t *TileDefApmOrLogQueryGroupBySort) GetAggregationOk() (string, bool) { + if t == nil || t.Aggregation == nil { return "", false } - return *t.Precision, true + return *t.Aggregation, true } -// HasPrecision returns a boolean if a field has been set. -func (t *TileDef) HasPrecision() bool { - if t != nil && t.Precision != nil { +// HasAggregation returns a boolean if a field has been set. +func (t *TileDefApmOrLogQueryGroupBySort) HasAggregation() bool { + if t != nil && t.Aggregation != nil { return true } return false } -// SetPrecision allocates a new t.Precision and returns the pointer to it. -func (t *TileDef) SetPrecision(v PrecisionT) { - t.Precision = &v +// SetAggregation allocates a new t.Aggregation and returns the pointer to it. +func (t *TileDefApmOrLogQueryGroupBySort) SetAggregation(v string) { + t.Aggregation = &v } -// GetStyle returns the Style field if non-nil, zero value otherwise. -func (t *TileDef) GetStyle() TileDefStyle { - if t == nil || t.Style == nil { - return TileDefStyle{} +// GetFacet returns the Facet field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQueryGroupBySort) GetFacet() string { + if t == nil || t.Facet == nil { + return "" } - return *t.Style + return *t.Facet } -// GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise +// GetFacetOk returns a tuple with the Facet field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TileDef) GetStyleOk() (TileDefStyle, bool) { - if t == nil || t.Style == nil { - return TileDefStyle{}, false +func (t *TileDefApmOrLogQueryGroupBySort) GetFacetOk() (string, bool) { + if t == nil || t.Facet == nil { + return "", false } - return *t.Style, true + return *t.Facet, true } -// HasStyle returns a boolean if a field has been set. -func (t *TileDef) HasStyle() bool { - if t != nil && t.Style != nil { +// HasFacet returns a boolean if a field has been set. +func (t *TileDefApmOrLogQueryGroupBySort) HasFacet() bool { + if t != nil && t.Facet != nil { return true } return false } -// SetStyle allocates a new t.Style and returns the pointer to it. -func (t *TileDef) SetStyle(v TileDefStyle) { - t.Style = &v +// SetFacet allocates a new t.Facet and returns the pointer to it. +func (t *TileDefApmOrLogQueryGroupBySort) SetFacet(v string) { + t.Facet = &v } -// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise. -func (t *TileDef) GetTextAlign() string { - if t == nil || t.TextAlign == nil { +// GetOrder returns the Order field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQueryGroupBySort) GetOrder() string { + if t == nil || t.Order == nil { return "" } - return *t.TextAlign + return *t.Order } -// GetTextAlignOk returns a tuple with the TextAlign field if it's non-nil, zero value otherwise +// GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TileDef) GetTextAlignOk() (string, bool) { - if t == nil || t.TextAlign == nil { +func (t *TileDefApmOrLogQueryGroupBySort) GetOrderOk() (string, bool) { + if t == nil || t.Order == nil { return "", false } - return *t.TextAlign, true + return *t.Order, true } -// HasTextAlign returns a boolean if a field has been set. -func (t *TileDef) HasTextAlign() bool { - if t != nil && t.TextAlign != nil { +// HasOrder returns a boolean if a field has been set. +func (t *TileDefApmOrLogQueryGroupBySort) HasOrder() bool { + if t != nil && t.Order != nil { return true } return false } -// SetTextAlign allocates a new t.TextAlign and returns the pointer to it. -func (t *TileDef) SetTextAlign(v string) { - t.TextAlign = &v +// SetOrder allocates a new t.Order and returns the pointer to it. +func (t *TileDefApmOrLogQueryGroupBySort) SetOrder(v string) { + t.Order = &v } -// GetViz returns the Viz field if non-nil, zero value otherwise. -func (t *TileDef) GetViz() string { - if t == nil || t.Viz == nil { +// GetQuery returns the Query field if non-nil, zero value otherwise. +func (t *TileDefApmOrLogQuerySearch) GetQuery() string { + if t == nil || t.Query == nil { return "" } - return *t.Viz + return *t.Query } -// GetVizOk returns a tuple with the Viz field if it's non-nil, zero value otherwise +// GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise // and a boolean to check if the value has been set. -func (t *TileDef) GetVizOk() (string, bool) { - if t == nil || t.Viz == nil { +func (t *TileDefApmOrLogQuerySearch) GetQueryOk() (string, bool) { + if t == nil || t.Query == nil { return "", false } - return *t.Viz, true + return *t.Query, true } -// HasViz returns a boolean if a field has been set. -func (t *TileDef) HasViz() bool { - if t != nil && t.Viz != nil { +// HasQuery returns a boolean if a field has been set. +func (t *TileDefApmOrLogQuerySearch) HasQuery() bool { + if t != nil && t.Query != nil { return true } return false } -// SetViz allocates a new t.Viz and returns the pointer to it. -func (t *TileDef) SetViz(v string) { - t.Viz = &v +// SetQuery allocates a new t.Query and returns the pointer to it. +func (t *TileDefApmOrLogQuerySearch) SetQuery(v string) { + t.Query = &v } // GetQuery returns the Query field if non-nil, zero value otherwise. @@ -16227,6 +17064,37 @@ func (t *TileDefRequest) SetLimit(v int) { t.Limit = &v } +// GetLogQuery returns the LogQuery field if non-nil, zero value otherwise. +func (t *TileDefRequest) GetLogQuery() TileDefApmOrLogQuery { + if t == nil || t.LogQuery == nil { + return TileDefApmOrLogQuery{} + } + return *t.LogQuery +} + +// GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise +// and a boolean to check if the value has been set. +func (t *TileDefRequest) GetLogQueryOk() (TileDefApmOrLogQuery, bool) { + if t == nil || t.LogQuery == nil { + return TileDefApmOrLogQuery{}, false + } + return *t.LogQuery, true +} + +// HasLogQuery returns a boolean if a field has been set. +func (t *TileDefRequest) HasLogQuery() bool { + if t != nil && t.LogQuery != nil { + return true + } + + return false +} + +// SetLogQuery allocates a new t.LogQuery and returns the pointer to it. +func (t *TileDefRequest) SetLogQuery(v TileDefApmOrLogQuery) { + t.LogQuery = &v +} + // GetMetric returns the Metric field if non-nil, zero value otherwise. func (t *TileDefRequest) GetMetric() string { if t == nil || t.Metric == nil { diff --git a/screen_widgets.go b/screen_widgets.go index 340e657..20ebc3f 100644 --- a/screen_widgets.go +++ b/screen_widgets.go @@ -69,6 +69,9 @@ type TileDefRequest struct { TagFilters []*string `json:"tag_filters"` Limit *int `json:"limit,omitempty"` + // For APM or log query + LogQuery *TileDefApmOrLogQuery `json:"log_query,omitempty"` + ConditionalFormats []ConditionalFormat `json:"conditional_formats,omitempty"` Style *TileDefRequestStyle `json:"style,omitempty"` Aggregator *string `json:"aggregator,omitempty"` @@ -81,6 +84,32 @@ type TileDefRequest struct { Metadata map[string]TileDefMetadata `json:"metadata,omitempty"` } +// TileDefApmOrLogQuery represents an APM or a Log query +type TileDefApmOrLogQuery struct { + Index *string `json:"index"` + Compute *TileDefApmOrLogQueryCompute `json:"compute"` + Search *TileDefApmOrLogQuerySearch `json:"search,omitempty"` + GroupBy []TileDefApmOrLogQueryGroupBy `json:"groupBy,omitempty"` +} +type TileDefApmOrLogQueryCompute struct { + Aggregation *string `json:"aggregation"` + Facet *string `json:"facet,omitempty"` + Interval *int `json:"interval,omitempty"` +} +type TileDefApmOrLogQuerySearch struct { + Query *string `json:"query"` +} +type TileDefApmOrLogQueryGroupBy struct { + Facet *string `json:"facet"` + Limit *int `json:"limit,omitempty"` + Sort *TileDefApmOrLogQueryGroupBySort `json:"sort,omitempty"` +} +type TileDefApmOrLogQueryGroupBySort struct { + Aggregation *string `json:"aggregation"` + Order *string `json:"order"` + Facet *string `json:"facet,omitempty"` +} + type TileDefMetadata struct { Alias *string `json:"alias,omitempty"` }