blob: 85fa244d3cfbfbab279144d5b73c44a026987e4f [file] [log] [blame]
Archana Kakanibf1fd272024-06-05 13:25:53 -05001#include "pcie_slot.hpp"
2
3namespace pldm
4{
5namespace dbus
6{
7
8auto PCIeSlot::generation() const -> Generations
9{
10 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot::
11 generation();
12}
13
14auto PCIeSlot::generation(Generations value) -> Generations
15{
16 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot::
17 generation(value);
18}
19
20size_t PCIeSlot::lanes() const
21{
22 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot::
23 lanes();
24}
25
26size_t PCIeSlot::lanes(size_t value)
27{
28 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot::
29 lanes(value);
30}
31
32auto PCIeSlot::slotType() const -> SlotTypes
33{
34 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot::
35 slotType();
36}
37
38auto PCIeSlot::slotType(SlotTypes value) -> SlotTypes
39{
40 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot::
41 slotType(value);
42}
43
44bool PCIeSlot::hotPluggable() const
45{
46 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot::
47 hotPluggable();
48}
49
50bool PCIeSlot::hotPluggable(bool value)
51{
52 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot::
53 hotPluggable(value);
54}
55
56} // namespace dbus
57} // namespace pldm