core.Map<core.String, core.dynamic> toJson() => { if (capacityCommitments != null) 'capacityCommitments': capacityCommitments!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, };