redfish-core/lib/systems.hpp
inline std::string dbusToRfBootType(const std::string& dbusType)
{
    if (dbusType == "xyz.openbmc_project.Control.Boot.Type.Types.Legacy")
    {
        return "Legacy";
    }
    if (dbusType == "xyz.openbmc_project.Control.Boot.Type.Types.EFI")
    {
        return "UEFI";
    }
    return "";
}
/**
 * @brief Translates boot type DBUS property value to redfish.
 *
 * @param[in] dbusType    The boot type in DBUS speak.
 *
 * @return Returns as a string, the boot type in Redfish terms. If translation
 * cannot be done, returns an empty string.
 */
@brief Translates boot type DBUS property value to redfish.
@param[in] dbusType    The boot type in DBUS speak.

@return Returns as a string, the boot type in Redfish terms. If translation
cannot be done, returns an empty string.
@brief Translates boot type DBUS property value to redfish . @param [ in ] dbusType The boot type in DBUS speak . @return Returns as a string the boot type in Redfish terms . If translation cannot be done returns an empty string .
inline std::string dbusToRfBootType(const std::string& dbusType)
{
    if (dbusType == "xyz.openbmc_project.Control.Boot.Type.Types.Legacy")
    {
        return "Legacy";
    }
    if (dbusType == "xyz.openbmc_project.Control.Boot.Type.Types.EFI")
    {
        return "UEFI";
    }
    return "";
}
inline std :: string dbusToRfBootType ( const std :: string & dbusType ) { if ( dbusType == " " ) { return " " ; } if ( dbusType == " " ) { return " " ; } return " " ; }
@brief Translates boot type DBUS property value to redfish.
@brief Translates boot type DBUS property value to redfish .