Lines Matching refs:jsonValue
47 nlohmann::json& powerSupplyList = asyncResp->res.jsonValue["Members"]; in updatePowerSupplyList()
64 asyncResp->res.jsonValue["Members@odata.count"] = powerSupplyList.size(); in updatePowerSupplyList()
84 asyncResp->res.jsonValue["@odata.type"] = in doPowerSupplyCollection()
86 asyncResp->res.jsonValue["Name"] = "Power Supply Collection"; in doPowerSupplyCollection()
87 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in doPowerSupplyCollection()
89 asyncResp->res.jsonValue["Description"] = in doPowerSupplyCollection()
91 asyncResp->res.jsonValue["Members"] = nlohmann::json::array(); in doPowerSupplyCollection()
92 asyncResp->res.jsonValue["Members@odata.count"] = 0; in doPowerSupplyCollection()
233 asyncResp->res.jsonValue["Status"]["State"] = in getPowerSupplyState()
260 asyncResp->res.jsonValue["Status"]["Health"] = in getPowerSupplyHealth()
306 asyncResp->res.jsonValue["PartNumber"] = *partNumber; in getPowerSupplyAsset()
311 asyncResp->res.jsonValue["SerialNumber"] = *serialNumber; in getPowerSupplyAsset()
316 asyncResp->res.jsonValue["Manufacturer"] = *manufacturer; in getPowerSupplyAsset()
321 asyncResp->res.jsonValue["Model"] = *model; in getPowerSupplyAsset()
327 asyncResp->res.jsonValue["SparePartNumber"] = *sparePartNumber; in getPowerSupplyAsset()
356 asyncResp->res.jsonValue["FirmwareVersion"] = value; in getPowerSupplyFirmwareVersion()
380 .jsonValue["Location"]["PartLocation"]["ServiceLabel"] = value; in getPowerSupplyLocation()
408 asyncResp->res.jsonValue["EfficiencyRatings"] = in handleGetEfficiencyResponse()
475 asyncResp->res.jsonValue["@odata.type"] = "#PowerSupply.v1_5_0.PowerSupply"; in doPowerSupplyGet()
476 asyncResp->res.jsonValue["Name"] = "Power Supply"; in doPowerSupplyGet()
477 asyncResp->res.jsonValue["Id"] = powerSupplyId; in doPowerSupplyGet()
478 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in doPowerSupplyGet()
482 asyncResp->res.jsonValue["Status"]["State"] = resource::State::Enabled; in doPowerSupplyGet()
483 asyncResp->res.jsonValue["Status"]["Health"] = resource::Health::OK; in doPowerSupplyGet()