Archana Kakani | bf1fd27 | 2024-06-05 13:25:53 -0500 | [diff] [blame^] | 1 | #include "pcie_slot.hpp" |
| 2 | |
| 3 | namespace pldm |
| 4 | { |
| 5 | namespace dbus |
| 6 | { |
| 7 | |
| 8 | auto PCIeSlot::generation() const -> Generations |
| 9 | { |
| 10 | return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: |
| 11 | generation(); |
| 12 | } |
| 13 | |
| 14 | auto PCIeSlot::generation(Generations value) -> Generations |
| 15 | { |
| 16 | return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: |
| 17 | generation(value); |
| 18 | } |
| 19 | |
| 20 | size_t PCIeSlot::lanes() const |
| 21 | { |
| 22 | return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: |
| 23 | lanes(); |
| 24 | } |
| 25 | |
| 26 | size_t PCIeSlot::lanes(size_t value) |
| 27 | { |
| 28 | return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: |
| 29 | lanes(value); |
| 30 | } |
| 31 | |
| 32 | auto PCIeSlot::slotType() const -> SlotTypes |
| 33 | { |
| 34 | return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: |
| 35 | slotType(); |
| 36 | } |
| 37 | |
| 38 | auto PCIeSlot::slotType(SlotTypes value) -> SlotTypes |
| 39 | { |
| 40 | return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: |
| 41 | slotType(value); |
| 42 | } |
| 43 | |
| 44 | bool PCIeSlot::hotPluggable() const |
| 45 | { |
| 46 | return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: |
| 47 | hotPluggable(); |
| 48 | } |
| 49 | |
| 50 | bool 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 |