add pcideviceclaim and usbdeviceclaim models

Signed-off-by: andy.lee <andy.lee@suse.com>
(cherry picked from commit 188f058df83ff545bc7e84a8131ba65a3ac8abd9)
This commit is contained in:
andy.lee 2025-02-20 17:22:49 +08:00 committed by Mergify
parent bbade7e50c
commit c16922c228
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
import SteveModel from '@shell/plugins/steve/steve-class';
/**
* Class representing PCI Device Claim resource.
* @extends SteveModal
*/
export default class PCIDeviceClaim extends SteveModel {
cleanForSave(data, _forNew) {
return data;
}
}

View File

@ -0,0 +1,11 @@
import SteveModel from '@shell/plugins/steve/steve-class';
/**
* Class representing USB Device Claim resource.
* @extends SteveModal
*/
export default class USBDeviceClaim extends SteveModel {
cleanForSave(data, _forNew) {
return data;
}
}