/**
* The ClusterHealth model module.
* @module Ntnx/ClusterHealth
* @version 4.4.1
* @class ClusterHealth
*/
export default class ClusterHealth {
/**
* Constructs a ClusterHealth 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/ClusterHealth} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/ClusterHealth} The populated ClusterHealth 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 Name of PE cluster.
* @return {string}
*/
getClusterName(): string;
/**
* Sets Name of PE cluster.
* @param {string} clusterName Name of PE cluster.
*/
setClusterName(clusterName: string): void;
clusterName: string;
/**
* Returns UUID of PE cluster.
* @return {string}
*/
getClusterExtId(): string;
/**
* Sets UUID of PE cluster.
* @param {string} clusterExtId UUID of PE cluster.
*/
setClusterExtId(clusterExtId: string): void;
clusterExtId: string;
/**
* @return {ControllerStatus}
*/
getConnectionStatus(): ControllerStatus;
/**
* @param {ControllerStatus} connectionStatus
*/
setConnectionStatus(connectionStatus: ControllerStatus): void;
connectionStatus: string;
/**
* Returns List of AHV nodes.
* @return {NodeHealth[]}
*/
getNodes(): NodeHealth[];
/**
* Sets List of AHV nodes.
* @param {NodeHealth[]} nodes List of AHV nodes.
*/
setNodes(nodes: NodeHealth[]): void;
nodes: NodeHealth[];
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 ControllerStatus from "./ControllerStatus";
import NodeHealth from "./NodeHealth";
import ValidationError from "../../../validation/ValidationError";