From 965de7918064c27d4b8dd21314f8c28af4188444 Mon Sep 17 00:00:00 2001 From: Chhekur <820121223505e@gmail.com> Date: Tue, 2 Nov 2021 13:33:12 +0530 Subject: [PATCH] :zap: [BOARD] Update: GetAllBoardAPI --- board.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/board.go b/board.go index 2751687..5f5ada5 100644 --- a/board.go +++ b/board.go @@ -30,6 +30,17 @@ type Board struct { Name string `json:"name,omitempty" structs:"name,omitemtpy"` Type string `json:"type,omitempty" structs:"type,omitempty"` FilterID int `json:"filterId,omitempty" structs:"filterId,omitempty"` + Location *BoardLocation `json:"location,omitempty" structs:"location,omitempty"` +} + +type BoardLocation struct { + ProjectID int `json:"projectId,omitempty" structs:"projectId,omitempty"` + DisplayName string `json:"displayName,omitempty" structs:"displayName,omitempty"` + ProjectName string `json:"projectName,omitempty" structs:"projectName,omitempty"` + ProjectKey string `json:"projectKey,omitempty" structs:"projectKey,omitempty"` + ProjectTypeKey string `json:"projectTypeKey,omitempty" structs:"projectTypeKey,omitempty"` + AvatarURL string `json:"avatarURI,omitempty" structs:"avatarURI,omitempty"` + Name string `json:"name,omitempty" structs:"name,omitemtpy"` } // BoardListOptions specifies the optional parameters to the BoardService.GetList