@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
40 lines (38 loc) • 747 B
JavaScript
/**
* Tool Inventory class.
*/
export class ToolInventory {
/**
* The name of connection.
*/
name;
/**
* The identification of the tool.
*/
id;
/**
* The state of supportable.
*/
state;
/**
* The message of state.
*/
message;
/**
* The key value pairs of collected data.
*/
properties;
/**
* Initializes a new instance of the ServerInventory Class.
*
* @param name the connection name to query.
* @param data the server inventory recovered data.
*/
constructor(name, data) {
this.name = name;
if (data) {
Object.assign(this, data);
}
}
}
//# sourceMappingURL=tool-inventory.js.map