/
model_query_definition.go
23 lines (22 loc) · 1.26 KB
/
model_query_definition.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
* Harness NextGen Software Delivery Platform API Reference
*
* This is the Open Api Spec 3 for the NextGen Manager. This is under active development. Beware of the breaking change with respect to the generated code stub # Authentication <!-- ReDoc-Inject: <security-definitions> -->
*
* API version: 3.0
* Contact: contact@harness.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nextgen
type QueryDefinition struct {
Identifier string `json:"identifier"`
Name string `json:"name,omitempty"`
GroupName string `json:"groupName,omitempty"`
QueryParams *QueryParamsDto `json:"queryParams,omitempty"`
LiveMonitoringEnabled bool `json:"liveMonitoringEnabled,omitempty"`
ContinuousVerificationEnabled bool `json:"continuousVerificationEnabled,omitempty"`
SliEnabled bool `json:"sliEnabled,omitempty"`
Query string `json:"query,omitempty"`
MetricThresholds []MetricThreshold `json:"metricThresholds,omitempty"`
RiskProfile *RiskProfile `json:"riskProfile,omitempty"`
}