package jira

type Alert struct {
	Key       string `json:"key"`
	Name      string `json:"name"`
	Priority  string `json:"priority"`
	Recovered bool   `json:"recovered"`
	CreatedAt int64  `json:"created_at"`
	UpdatedAt int64  `json:"updated_at"`
}

type Oncall struct {
	Name     string `json:"name"`
	Priority string `json:"priority"`
	Status   string `json:"status"`
}

type AlertSummary struct {
	Trends []SeriesTrend `json:"trends"`
}

type SeriesTrend struct {
	Name   string `json:"name"`
	Series string `json:"series"`
	Value  int    `json:"value"`
}
