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