Skip to content

Commit

Permalink
add missing fields to GetGroupsParams struct (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkeeler authored Apr 6, 2023
1 parent a521bf0 commit 2189847
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions models.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2189847

Please sign in to comment.