From eed86bf53e16945520f937bfc9d9f1429dd8ca61 Mon Sep 17 00:00:00 2001 From: Robin Kearney Date: Mon, 10 Oct 2022 13:17:34 +0100 Subject: [PATCH] Allow pagination of Alert lists --- alert/result.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alert/result.go b/alert/result.go index 8a6ae0a..7cb7350 100644 --- a/alert/result.go +++ b/alert/result.go @@ -38,7 +38,8 @@ type Integration struct { type ListAlertResult struct { client.ResultMetadata - Alerts []Alert `json:"data"` + Alerts []Alert `json:"data"` + Paging map[string]string `json:"paging,omitempty"` } type RequestStatusResult struct {