Home
last modified time | relevance | path

Searched refs:expandLevel (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/redfish-core/include/utils/
H A Dquery_param.hpp168 uint8_t expandLevel = 0; member
218 if (query.expandLevel <= queryCapabilities.canDelegateExpandLevel) in delegate()
221 delegated.expandLevel = query.expandLevel; in delegate()
222 query.expandLevel = 0; in delegate()
226 delegated.expandLevel = queryCapabilities.canDelegateExpandLevel; in delegate()
276 query.expandLevel = 1; in getExpandType()
286 auto it = std::from_chars(value.begin(), value.end(), query.expandLevel); in getExpandType()
712 if (query.expandLevel <= 1) in formatQueryForExpand()
734 str += std::to_string(query.expandLevel - 1); in formatQueryForExpand()
856 query.expandType, query.expandLevel, delegated.expandLevel, in startQuery()
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Dquery_param_test.cpp47 .expandLevel = 5, in TEST()
55 EXPECT_EQ(delegated.expandLevel, capabilities.canDelegateExpandLevel); in TEST()
57 EXPECT_EQ(query.expandLevel, 5); in TEST()
137 Query{.expandLevel = 1, .expandType = ExpandType::Both}), in TEST()
147 Query{.expandLevel = 2, .expandType = ExpandType::None}), in TEST()
154 Query{.expandLevel = 3, .expandType = ExpandType::Both}), in TEST()
157 Query{.expandLevel = 4, .expandType = ExpandType::Links}), in TEST()
160 Query{.expandLevel = 2, .expandType = ExpandType::NotLinks}), in TEST()
671 EXPECT_EQ(query.expandLevel, 1); in TEST()
674 EXPECT_EQ(query.expandLevel, 42); in TEST()