From 21898478be85b381d9c3aa9ebecf66ae21da02bb Mon Sep 17 00:00:00 2001 From: mattkeeler <19890779+mattkeeler@users.noreply.github.com> Date: Thu, 6 Apr 2023 10:50:40 -0400 Subject: [PATCH] add missing fields to GetGroupsParams struct (#413) --- models.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/models.go b/models.go index 17922d9d..21536ae2 100644 --- a/models.go +++ b/models.go @@ -342,11 +342,13 @@ type GroupsCount struct { // GetGroupsParams represents the optional parameters for getting groups type GetGroupsParams struct { + BriefRepresentation *bool `json:"briefRepresentation,string,omitempty"` + Exact *bool `json:"exact,string,omitempty"` First *int `json:"first,string,omitempty"` + Full *bool `json:"full,string,omitempty"` Max *int `json:"max,string,omitempty"` + Q *string `json:"q,omitempty"` Search *string `json:"search,omitempty"` - Full *bool `json:"full,string,omitempty"` - BriefRepresentation *bool `json:"briefRepresentation,string,omitempty"` } // MarshalJSON is a custom json marshaling function to automatically set the Full and BriefRepresentation properties