diff --git a/checkly_test.go b/checkly_test.go index 59444f3..f7ecc67 100644 --- a/checkly_test.go +++ b/checkly_test.go @@ -1121,6 +1121,7 @@ var testDashboard = checkly.Dashboard{ HideTags: false, ChecksPerPage: 15, UseTagsAndOperator: true, + EnableIncidents: true, } var ignoreDashboardFields = cmpopts.IgnoreFields(checkly.Dashboard{}, "DashboardID", "CreatedAt", "ID", "Keys") diff --git a/fixtures/CreateDashboard.json b/fixtures/CreateDashboard.json index 1dd8a35..2a80859 100644 --- a/fixtures/CreateDashboard.json +++ b/fixtures/CreateDashboard.json @@ -9,6 +9,7 @@ "width": "FULL", "checksPerPage": 15, "useTagsAndOperator": true, + "enableIncidents": true, "refreshRate": 60, "paginate": true, "paginationRate": 30, diff --git a/types.go b/types.go index e3c1964..b573c2a 100644 --- a/types.go +++ b/types.go @@ -1129,6 +1129,7 @@ type Dashboard struct { Tags []string `json:"tags,omitempty"` HideTags bool `json:"hideTags,omitempty"` UseTagsAndOperator bool `json:"useTagsAndOperator,omitempty"` + EnableIncidents bool `json:"enableIncidents"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` Keys []DashboardKey `json:"keys,omitempty"`