From 29b30b2e24aefa3b79338567f9ef41e25cb076c3 Mon Sep 17 00:00:00 2001 From: khajvah Date: Wed, 2 Oct 2019 14:00:41 +0400 Subject: [PATCH] Adding folder support for creating dashboard. Also adding folder information when retrieving a dashboard. --- .../java/com/appnexus/grafana/client/models/DashboardMeta.java | 3 +++ .../com/appnexus/grafana/client/models/GrafanaDashboard.java | 1 + 2 files changed, 4 insertions(+) diff --git a/src/main/java/com/appnexus/grafana/client/models/DashboardMeta.java b/src/main/java/com/appnexus/grafana/client/models/DashboardMeta.java index 500bf79..ce5fc73 100644 --- a/src/main/java/com/appnexus/grafana/client/models/DashboardMeta.java +++ b/src/main/java/com/appnexus/grafana/client/models/DashboardMeta.java @@ -18,4 +18,7 @@ public class DashboardMeta { String updatedBy; String createdBy; Integer version; + Integer folderId; + String folderUrl; + String folderTitle; } diff --git a/src/main/java/com/appnexus/grafana/client/models/GrafanaDashboard.java b/src/main/java/com/appnexus/grafana/client/models/GrafanaDashboard.java index df78a46..fd0b7f5 100644 --- a/src/main/java/com/appnexus/grafana/client/models/GrafanaDashboard.java +++ b/src/main/java/com/appnexus/grafana/client/models/GrafanaDashboard.java @@ -9,4 +9,5 @@ public class GrafanaDashboard { DashboardMeta meta; Dashboard dashboard; + Integer folderId; }