Lines Matching refs:jsonValue

43     nlohmann::json& fanList = asyncResp->res.jsonValue["Members"];  in updateFanList()
60 asyncResp->res.jsonValue["Members@odata.count"] = fanList.size(); in updateFanList()
107 asyncResp->res.jsonValue["@odata.type"] = "#FanCollection.FanCollection"; in doFanCollection()
108 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in doFanCollection()
110 asyncResp->res.jsonValue["Name"] = "Fan Collection"; in doFanCollection()
111 asyncResp->res.jsonValue["Description"] = in doFanCollection()
113 asyncResp->res.jsonValue["Members"] = nlohmann::json::array(); in doFanCollection()
114 asyncResp->res.jsonValue["Members@odata.count"] = 0; in doFanCollection()
235 resp.jsonValue["@odata.type"] = "#Fan.v1_3_0.Fan"; in addFanCommonProperties()
236 resp.jsonValue["Name"] = "Fan"; in addFanCommonProperties()
237 resp.jsonValue["Id"] = fanId; in addFanCommonProperties()
238 resp.jsonValue["@odata.id"] = boost::urls::format( in addFanCommonProperties()
240 resp.jsonValue["Status"]["State"] = resource::State::Enabled; in addFanCommonProperties()
241 resp.jsonValue["Status"]["Health"] = resource::Health::OK; in addFanCommonProperties()
264 asyncResp->res.jsonValue["Status"]["Health"] = in getFanHealth()
289 asyncResp->res.jsonValue["Status"]["State"] = in getFanState()
331 asyncResp->res.jsonValue["Manufacturer"] = *manufacturer; in getFanAsset()
335 asyncResp->res.jsonValue["Model"] = *model; in getFanAsset()
339 asyncResp->res.jsonValue["PartNumber"] = *partNumber; in getFanAsset()
343 asyncResp->res.jsonValue["SerialNumber"] = *serialNumber; in getFanAsset()
347 asyncResp->res.jsonValue["SparePartNumber"] = *sparePartNumber; in getFanAsset()
372 .jsonValue["Location"]["PartLocation"]["ServiceLabel"] = in getFanLocation()