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