/**
* The Node model module.
* @module Ntnx/Node
* @version 4.1.1-beta-1
* @class Node
*/
export default class Node {
/**
* Constructs a Node from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data to obj if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:Ntnx/Node} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/Node} The populated Node instance.
*/
static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any;
/**
* Converts a given snake_case string to camelCase.
* @param {string} snakeStr - The input string in snake_case format.
* @returns {string} - The converted string in camelCase format.
*/
static snakeToCamel(snakeStr: string): string;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns Information of the node in the dashboard.
* @return {Layout | Widget}
*/
getNodeInfo(): Layout | Widget;
/**
* Sets Information of the node in the dashboard.
* @param {Layout | Widget} nodeInfo Information of the node in the dashboard.
*/
setNodeInfo(nodeInfo: Layout | Widget): void;
nodeInfo: Widget | Layout;
get$Reserved(): any;
get$ObjectType(): string;
get$UnknownFields(): any;
toJson(forMutation: any): any;
validate(scope: any, properties: any, ...args: any[]): Promise;
validateProperty(scope: any, property: any): ValidationError;
#private;
}
import Layout from "./Layout";
import Widget from "./Widget";
import ValidationError from "../../../validation/ValidationError";