@@ -223,55 +223,55 @@ type SearchResponse struct {
223223 // results.
224224 //
225225 // The key is the string representation of the calendar event ID.
226- CalendarEvents map [string ]CalendarEvent `json:"calendarEvents"`
226+ CalendarEvents map [string ]CalendarEvent `json:"calendarEvents,omitempty "`
227227 // Comments contains the comments associated with the search results.
228228 //
229229 // The key is the string representation of the comment ID.
230- Comments map [string ]Comment `json:"comments"`
230+ Comments map [string ]Comment `json:"comments,omitempty "`
231231 // Companies contains the companies associated with the search results.
232232 //
233233 // The key is the string representation of the company ID.
234- Companies map [string ]Company `json:"companies"`
234+ Companies map [string ]Company `json:"companies,omitempty "`
235235 // Links contains the links associated with the search results.
236236 //
237237 // The key is the string representation of the link ID.
238- Links map [string ]Link `json:"links"`
238+ Links map [string ]Link `json:"links,omitempty "`
239239 // Messages contains the messages associated with the search results.
240240 //
241241 // The key is the string representation of the message ID.
242- Messages map [string ]Message `json:"messages"`
242+ Messages map [string ]Message `json:"messages,omitempty "`
243243 // Milestones contains the milestones associated with the search results.
244244 //
245245 // The key is the string representation of the milestone ID.
246- Milestones map [string ]Milestone `json:"milestones"`
246+ Milestones map [string ]Milestone `json:"milestones,omitempty "`
247247 // Notebooks contains the notebooks associated with the search results.
248248 //
249249 // The key is the string representation of the notebook ID.
250- Notebooks map [string ]Notebook `json:"notebooks"`
250+ Notebooks map [string ]Notebook `json:"notebooks,omitempty "`
251251 // Projects contains the projects associated with the search results.
252252 //
253253 // The key is the string representation of the project ID.
254- Projects map [string ]Project `json:"projects"`
254+ Projects map [string ]Project `json:"projects,omitempty "`
255255 // Tasklists contains the tasklists associated with the search results.
256256 //
257257 // The key is the string representation of the tasklist ID.
258- Tasklists map [string ]Tasklist `json:"tasklists"`
258+ Tasklists map [string ]Tasklist `json:"tasklists,omitempty "`
259259 // Tasks contains the tasks associated with the search results.
260260 //
261261 // The key is the string representation of the task ID.
262- Tasks map [string ]Task `json:"tasks"`
262+ Tasks map [string ]Task `json:"tasks,omitempty "`
263263 // Teams contains the teams associated with the search results.
264264 //
265265 // The key is the string representation of the team ID.
266- Teams map [string ]Team `json:"teams"`
266+ Teams map [string ]Team `json:"teams,omitempty "`
267267 // Timelogs contains the timelogs associated with the search results.
268268 //
269269 // The key is the string representation of the timelog ID.
270- Timelogs map [string ]Timelog `json:"timelogs"`
270+ Timelogs map [string ]Timelog `json:"timelogs,omitempty "`
271271 // Users contains the users associated with the search results.
272272 //
273273 // The key is the string representation of the user ID.
274- Users map [string ]User `json:"users"`
274+ Users map [string ]User `json:"users,omitempty "`
275275 } `json:"included"`
276276}
277277
0 commit comments