fix freebusy serializer #108
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I know this repo is autogenerated, but this change fixes empty freebusy calls.
Pre-fix response body:
Response { status: 200, headers: { ... }, body: FreeBusyResponse { calendars: Some( FreeBusyCalendar { busy: [], errors: [], }, ), groups: None, kind: "calendar#freeBusy", time_max: Some( 2025-11-20T13:59:03.215Z, ), time_min: Some( 2025-11-06T13:59:03.215Z, ), }, }Post-fix response body
Response { status: 200, headers: { ... }, body: FreeBusyResponse { calendars: { "somerandomid@...": FreeBusyCalendar { busy: [ TimePeriod { end: 2025-11-12T21:30:00Z, start: 2025-11-12T20:00:00Z, }, TimePeriod { end: 2025-11-14T21:00:00Z, start: 2025-11-14T20:00:00Z, }, TimePeriod { end: 2025-11-17T17:30:00Z, start: 2025-11-17T16:30:00Z, }, ], errors: [], }, "somerandomid@...": FreeBusyCalendar { busy: [ TimePeriod { end: 2025-11-06T17:00:00Z, start: 2025-11-06T16:00:00Z, }, TimePeriod { end: 2025-11-07T07:45:00Z, start: 2025-11-07T00:15:00Z, }, ], errors: [], }, }, groups: None, kind: "calendar#freeBusy", time_max: Some( 2025-11-20T14:00:56.711Z, ), time_min: Some( 2025-11-06T14:00:56.711Z, ), }, }