From 7b64a51e78de393d917f14a40ea6f629a035bf49 Mon Sep 17 00:00:00 2001 From: Matt Keeler <19890779+mattkeeler@users.noreply.github.com> Date: Wed, 5 Apr 2023 12:42:35 -0400 Subject: [PATCH] add missing fields to GetGroupsParams struct --- 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