/** * The NodeHealth model module. * @module Ntnx/NodeHealth * @version 4.4.1 * @class NodeHealth */ export default class NodeHealth { /** * Constructs a NodeHealth 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/NodeHealth} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/NodeHealth} The populated NodeHealth 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 Reference of external ID of node. * @return {string} */ getNodeExtId(): string; /** * Sets Reference of external ID of node. * @param {string} nodeExtId Reference of external ID of node. */ setNodeExtId(nodeExtId: string): void; nodeExtId: string; /** * @return {IPAddress} */ getNodeIp(): IPAddress; /** * @param {IPAddress} nodeIp */ setNodeIp(nodeIp: IPAddress): void; nodeIp: IPAddress; /** * Returns List of networking services running on AHV node. * @return {NodeServiceHealth[]} */ getNodeServices(): NodeServiceHealth[]; /** * Sets List of networking services running on AHV node. * @param {NodeServiceHealth[]} nodeServices List of networking services running on AHV node. */ setNodeServices(nodeServices: NodeServiceHealth[]): void; nodeServices: NodeServiceHealth[]; 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 IPAddress from "../../../common/v1/config/IPAddress"; import NodeServiceHealth from "./NodeServiceHealth"; import ValidationError from "../../../validation/ValidationError";