/** * The NodeConfiguration model module. * @module Ntnx/NodeConfiguration * @version 4.3.1 * @class NodeConfiguration * * @param { string } nodeExtId External ID of the node */ export default class NodeConfiguration { /** * Constructs a NodeConfiguration 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/NodeConfiguration} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/NodeConfiguration} The populated NodeConfiguration 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; /** * Constructs a new NodeConfiguration. * Configuration of the node imaged using the patched image * @alias module:Ntnx/NodeConfiguration * * @param { string } nodeExtId External ID of the node */ constructor(nodeExtId: string); nodeExtId: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns External ID of the node * @return {string} */ getNodeExtId(): string; /** * Sets External ID of the node * @param {string} nodeExtId External ID of the node */ setNodeExtId(nodeExtId: string): void; /** * @return {HostConfiguration} */ getHostConfiguration(): HostConfiguration; /** * @param {HostConfiguration} hostConfiguration */ setHostConfiguration(hostConfiguration: HostConfiguration): void; hostConfiguration: HostConfiguration; 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 HostConfiguration from "./HostConfiguration"; import ValidationError from "../../../validation/ValidationError";