/** * The EligibleCluster model module. * @module Ntnx/EligibleCluster * @version 4.4.2 * @class EligibleCluster */ export default class EligibleCluster { /** * Constructs a EligibleCluster 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/EligibleCluster} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/EligibleCluster} The populated EligibleCluster 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 Uuid of the eligible PE(cluster). * @return {string} */ getClusterUuid(): string; /** * Sets Uuid of the eligible PE(cluster). * @param {string} clusterUuid Uuid of the eligible PE(cluster). */ setClusterUuid(clusterUuid: string): void; clusterUuid: string; /** * Returns Name of the eligible PE(cluster). * @return {string} */ getClusterName(): string; /** * Sets Name of the eligible PE(cluster). * @param {string} clusterName Name of the eligible PE(cluster). */ setClusterName(clusterName: string): void; clusterName: string; /** * Returns Whether the candidate PE was hosting PC. * @return {boolean} */ getIsHostingPe(): boolean; /** * Sets Whether the candidate PE was hosting PC. * @param {boolean} isHostingPe Whether the candidate PE was hosting PC. */ setIsHostingPe(isHostingPe: boolean): void; isHostingPe: boolean; /** * Returns The amount of entities which can be backed up to the PE from PC. * @return {Number} */ getBackedUpEntitiesCountSupported(): number; /** * Sets The amount of entities which can be backed up to the PE from PC. * @param {Number} backedUpEntitiesCountSupported The amount of entities which can be backed up to the PE from PC. */ setBackedUpEntitiesCountSupported(backedUpEntitiesCountSupported: number): void; backedUpEntitiesCountSupported: number; 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 ValidationError from "../../../validation/ValidationError";