Skip to content

Commit 2189847

Browse files
authored
add missing fields to GetGroupsParams struct (#413)
1 parent a521bf0 commit 2189847

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

models.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -342,11 +342,13 @@ type GroupsCount struct {
342342

343343
// GetGroupsParams represents the optional parameters for getting groups
344344
type GetGroupsParams struct {
345+
BriefRepresentation *bool `json:"briefRepresentation,string,omitempty"`
346+
Exact *bool `json:"exact,string,omitempty"`
345347
First *int `json:"first,string,omitempty"`
348+
Full *bool `json:"full,string,omitempty"`
346349
Max *int `json:"max,string,omitempty"`
350+
Q *string `json:"q,omitempty"`
347351
Search *string `json:"search,omitempty"`
348-
Full *bool `json:"full,string,omitempty"`
349-
BriefRepresentation *bool `json:"briefRepresentation,string,omitempty"`
350352
}
351353

352354
// MarshalJSON is a custom json marshaling function to automatically set the Full and BriefRepresentation properties

0 commit comments

Comments
 (0)