Skip to content

Commit

Permalink
deprecate alertfilter field
Browse files Browse the repository at this point in the history
  • Loading branch information
STLVRTX committed Oct 1, 2024
1 parent dc30f6c commit cdaca69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alert_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type AlertAction struct {
CreatedAt string `json:"createdAt,omitempty"` // date time string in ISO 8601
UpdatedAt string `json:"updatedAt,omitempty"` // date time string in ISO 8601
Params interface{} `json:"params"`
AlertFilter *AlertFilter `json:"alertFilter,omitempty"`
AlertFilter *AlertFilter `json:"alertFilter,omitempty"` // @deprecated
Teams *[]TeamShort `json:"teams,omitempty"`
Conditions string `json:"conditions,omitempty"`
}
Expand All @@ -45,7 +45,7 @@ type AlertActionOutput struct {
CreatedAt string `json:"createdAt"` // date time string in ISO 8601
UpdatedAt string `json:"updatedAt"` // date time string in ISO 8601
Params *AlertActionOutputParams `json:"params"`
AlertFilter *AlertFilter `json:"alertFilter,omitempty"`
AlertFilter *AlertFilter `json:"alertFilter,omitempty"` // @deprecated
Teams *[]TeamShort `json:"teams,omitempty"`
Conditions string `json:"conditions,omitempty"`
}
Expand Down

0 comments on commit cdaca69

Please sign in to comment.