Name | Type | Description | Notes |
---|---|---|---|
MonitorType | string | The type of monitor. Valid values: 1. `Logs`: A logs query monitor. 2. `Metrics`: A metrics query monitor. | |
TimeRange | string | The relative time range of the monitor. | |
Queries | []UnvalidatedMonitorQuery | Queries to be validated. |
func NewMonitorQueries(monitorType string, timeRange string, queries []UnvalidatedMonitorQuery, ) *MonitorQueries
NewMonitorQueries instantiates a new MonitorQueries object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMonitorQueriesWithDefaults() *MonitorQueries
NewMonitorQueriesWithDefaults instantiates a new MonitorQueries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *MonitorQueries) GetMonitorType() string
GetMonitorType returns the MonitorType field if non-nil, zero value otherwise.
func (o *MonitorQueries) GetMonitorTypeOk() (*string, bool)
GetMonitorTypeOk returns a tuple with the MonitorType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorQueries) SetMonitorType(v string)
SetMonitorType sets MonitorType field to given value.
func (o *MonitorQueries) GetTimeRange() string
GetTimeRange returns the TimeRange field if non-nil, zero value otherwise.
func (o *MonitorQueries) GetTimeRangeOk() (*string, bool)
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 *MonitorQueries) SetTimeRange(v string)
SetTimeRange sets TimeRange field to given value.
func (o *MonitorQueries) GetQueries() []UnvalidatedMonitorQuery
GetQueries returns the Queries field if non-nil, zero value otherwise.
func (o *MonitorQueries) GetQueriesOk() (*[]UnvalidatedMonitorQuery, 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.
func (o *MonitorQueries) SetQueries(v []UnvalidatedMonitorQuery)
SetQueries sets Queries field to given value.