6.9 KiB
O11yV3CompositeQuery
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| BuilderQueries | Pointer to map[string]O11yBuilderQuery | [optional] | |
| ChQueries | Pointer to map[string]O11yDatastoreQuery | [optional] | |
| FillGaps | Pointer to bool | FillGaps is used to fill the gaps in the time series data | [optional] |
| PanelType | Pointer to string | [optional] | |
| PromQueries | Pointer to map[string]O11yPromQuery | [optional] | |
| Queries | Pointer to []O11yQueryEnvelope | [optional] | |
| QueryType | Pointer to string | [optional] | |
| Unit | Pointer to string | Unit for the time series data shown in the graph This is used in alerts to format the value and threshold | [optional] |
Methods
NewO11yV3CompositeQuery
func NewO11yV3CompositeQuery() *O11yV3CompositeQuery
NewO11yV3CompositeQuery instantiates a new O11yV3CompositeQuery object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewO11yV3CompositeQueryWithDefaults
func NewO11yV3CompositeQueryWithDefaults() *O11yV3CompositeQuery
NewO11yV3CompositeQueryWithDefaults instantiates a new O11yV3CompositeQuery object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetBuilderQueries
func (o *O11yV3CompositeQuery) GetBuilderQueries() map[string]O11yBuilderQuery
GetBuilderQueries returns the BuilderQueries field if non-nil, zero value otherwise.
GetBuilderQueriesOk
func (o *O11yV3CompositeQuery) GetBuilderQueriesOk() (*map[string]O11yBuilderQuery, bool)
GetBuilderQueriesOk returns a tuple with the BuilderQueries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBuilderQueries
func (o *O11yV3CompositeQuery) SetBuilderQueries(v map[string]O11yBuilderQuery)
SetBuilderQueries sets BuilderQueries field to given value.
HasBuilderQueries
func (o *O11yV3CompositeQuery) HasBuilderQueries() bool
HasBuilderQueries returns a boolean if a field has been set.
GetChQueries
func (o *O11yV3CompositeQuery) GetChQueries() map[string]O11yDatastoreQuery
GetChQueries returns the ChQueries field if non-nil, zero value otherwise.
GetChQueriesOk
func (o *O11yV3CompositeQuery) GetChQueriesOk() (*map[string]O11yDatastoreQuery, bool)
GetChQueriesOk returns a tuple with the ChQueries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetChQueries
func (o *O11yV3CompositeQuery) SetChQueries(v map[string]O11yDatastoreQuery)
SetChQueries sets ChQueries field to given value.
HasChQueries
func (o *O11yV3CompositeQuery) HasChQueries() bool
HasChQueries returns a boolean if a field has been set.
GetFillGaps
func (o *O11yV3CompositeQuery) GetFillGaps() bool
GetFillGaps returns the FillGaps field if non-nil, zero value otherwise.
GetFillGapsOk
func (o *O11yV3CompositeQuery) GetFillGapsOk() (*bool, bool)
GetFillGapsOk returns a tuple with the FillGaps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFillGaps
func (o *O11yV3CompositeQuery) SetFillGaps(v bool)
SetFillGaps sets FillGaps field to given value.
HasFillGaps
func (o *O11yV3CompositeQuery) HasFillGaps() bool
HasFillGaps returns a boolean if a field has been set.
GetPanelType
func (o *O11yV3CompositeQuery) GetPanelType() string
GetPanelType returns the PanelType field if non-nil, zero value otherwise.
GetPanelTypeOk
func (o *O11yV3CompositeQuery) GetPanelTypeOk() (*string, bool)
GetPanelTypeOk returns a tuple with the PanelType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPanelType
func (o *O11yV3CompositeQuery) SetPanelType(v string)
SetPanelType sets PanelType field to given value.
HasPanelType
func (o *O11yV3CompositeQuery) HasPanelType() bool
HasPanelType returns a boolean if a field has been set.
GetPromQueries
func (o *O11yV3CompositeQuery) GetPromQueries() map[string]O11yPromQuery
GetPromQueries returns the PromQueries field if non-nil, zero value otherwise.
GetPromQueriesOk
func (o *O11yV3CompositeQuery) GetPromQueriesOk() (*map[string]O11yPromQuery, bool)
GetPromQueriesOk returns a tuple with the PromQueries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPromQueries
func (o *O11yV3CompositeQuery) SetPromQueries(v map[string]O11yPromQuery)
SetPromQueries sets PromQueries field to given value.
HasPromQueries
func (o *O11yV3CompositeQuery) HasPromQueries() bool
HasPromQueries returns a boolean if a field has been set.
GetQueries
func (o *O11yV3CompositeQuery) GetQueries() []O11yQueryEnvelope
GetQueries returns the Queries field if non-nil, zero value otherwise.
GetQueriesOk
func (o *O11yV3CompositeQuery) GetQueriesOk() (*[]O11yQueryEnvelope, bool)
GetQueriesOk returns a tuple with the Queries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetQueries
func (o *O11yV3CompositeQuery) SetQueries(v []O11yQueryEnvelope)
SetQueries sets Queries field to given value.
HasQueries
func (o *O11yV3CompositeQuery) HasQueries() bool
HasQueries returns a boolean if a field has been set.
GetQueryType
func (o *O11yV3CompositeQuery) GetQueryType() string
GetQueryType returns the QueryType field if non-nil, zero value otherwise.
GetQueryTypeOk
func (o *O11yV3CompositeQuery) GetQueryTypeOk() (*string, bool)
GetQueryTypeOk returns a tuple with the QueryType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetQueryType
func (o *O11yV3CompositeQuery) SetQueryType(v string)
SetQueryType sets QueryType field to given value.
HasQueryType
func (o *O11yV3CompositeQuery) HasQueryType() bool
HasQueryType returns a boolean if a field has been set.
GetUnit
func (o *O11yV3CompositeQuery) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
GetUnitOk
func (o *O11yV3CompositeQuery) GetUnitOk() (*string, bool)
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.
SetUnit
func (o *O11yV3CompositeQuery) SetUnit(v string)
SetUnit sets Unit field to given value.
HasUnit
func (o *O11yV3CompositeQuery) HasUnit() bool
HasUnit returns a boolean if a field has been set.