-
Notifications
You must be signed in to change notification settings - Fork 47
/
model_time.go
22 lines (20 loc) · 1.26 KB
/
model_time.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
* Detectors API
*
* **Detectors** define rules for identifying conditions of interest to the customer, and the notifications to send when the conditions occur or stop occurring.
*
* API version: 2.0.1
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package detector
// Options for the time displayed in the detector visualization.
type Time struct {
// The timestamp of the last time to display in the visualization specified in milliseconds since midnight UTC on January 1, 1970
End *int64 `json:"end,omitempty"`
// The number of milliseconds to display in the chart. The range used is a rolling range with the current time at the right border of the chart display. Use 0 to indicate using the default behavior; this corresponds to -15m for most metrics and -1h for AWS metrics listed here, GCP metrics listed here, and Azure metrics listed here.
Range *int64 `json:"range,omitempty"`
// The timestamp of the first time to display in the visualization specified in milliseconds since midnight UTC on January 1, 1970
Start *int64 `json:"start,omitempty"`
// Indicates whether to use an explicit time range or to always show a relative time of the last N milliseconds. If not specified, relative will be used.
Type string `json:"type,omitempty"`
}