mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 04:04:00 -06:00
2ab7d3c725
* Add single receiver method * Add receiver permissions * Add single/multi GET endpoints for receivers * Remove stable tag from time intervals See end of PR description here: https://github.com/grafana/grafana/pull/81672
18 lines
325 B
Go
18 lines
325 B
Go
package models
|
|
|
|
// GetReceiverQuery represents a query for a single receiver.
|
|
type GetReceiverQuery struct {
|
|
OrgID int64
|
|
Name string
|
|
Decrypt bool
|
|
}
|
|
|
|
// GetReceiversQuery represents a query for receiver groups.
|
|
type GetReceiversQuery struct {
|
|
OrgID int64
|
|
Names []string
|
|
Limit int
|
|
Offset int
|
|
Decrypt bool
|
|
}
|