/** * The ComponentDetails model module. * @module Ntnx/ComponentDetails * @version 4.3.1 * @class ComponentDetails * @extends EntityBaseModel */ export default class ComponentDetails extends EntityBaseModel { /** * Returns A unique device identifier for the entity, such as a hard drive serial number, NIC serial number, or other hardware-specific identifier. * @return {string} */ getDeviceId(): string; /** * Sets A unique device identifier for the entity, such as a hard drive serial number, NIC serial number, or other hardware-specific identifier. * @param {string} deviceId A unique device identifier for the entity, such as a hard drive serial number, NIC serial number, or other hardware-specific identifier. */ setDeviceId(deviceId: string): void; deviceId: string; /** * Returns UUID of the entity group that this entity belongs to. Entities in the same group are logically related and may share upgrade dependencies or ordering constraints. * @return {string} */ getGroupUuid(): string; /** * Sets UUID of the entity group that this entity belongs to. Entities in the same group are logically related and may share upgrade dependencies or ordering constraints. * @param {string} groupUuid UUID of the entity group that this entity belongs to. Entities in the same group are logically related and may share upgrade dependencies or ordering constraints. */ setGroupUuid(groupUuid: string): void; groupUuid: string; /** * @return {LocationInfo} */ getLocationInfo(): LocationInfo; /** * @param {LocationInfo} locationInfo */ setLocationInfo(locationInfo: LocationInfo): void; locationInfo: LocationInfo; /** * Returns The version to which the component was upgraded. * @return {string} */ getUpgradedVersion(): string; /** * Sets The version to which the component was upgraded. * @param {string} upgradedVersion The version to which the component was upgraded. */ setUpgradedVersion(upgradedVersion: string): void; upgradedVersion: string; /** * Returns The hardware vendor of the cluster (e.g. \"Dell\", \"HPE\", \"Lenovo\"). * @return {string} */ getHardwareVendor(): string; /** * Sets The hardware vendor of the cluster (e.g. \"Dell\", \"HPE\", \"Lenovo\"). * @param {string} hardwareVendor The hardware vendor of the cluster (e.g. \"Dell\", \"HPE\", \"Lenovo\"). */ setHardwareVendor(hardwareVendor: string): void; hardwareVendor: string; /** * @return {OperationStatus} */ getUpgradeStatus(): OperationStatus; /** * @param {OperationStatus} upgradeStatus */ setUpgradeStatus(upgradeStatus: OperationStatus): void; upgradeStatus: string; /** * @return {OperationStatus} */ getInventoryStatus(): OperationStatus; /** * @param {OperationStatus} inventoryStatus */ setInventoryStatus(inventoryStatus: OperationStatus): void; inventoryStatus: string; #private; } import EntityBaseModel from "../common/EntityBaseModel"; import LocationInfo from "../common/LocationInfo"; import OperationStatus from "../common/OperationStatus";