/** * The ClusterStatus model module. * @module Ntnx/ClusterStatus * @version 4.4.1 * @class ClusterStatus * * @param { string } clusterReference UUID of respective cluster. * * @param { boolean } hasFlowStatus Indicates the flow status on the cluster. It is set to True if the cluster has at least one vNIC that is part of an Atlas subnet */ export default class ClusterStatus { /** * Constructs a ClusterStatus 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/ClusterStatus} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ClusterStatus} The populated ClusterStatus 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 ClusterStatus. * Flow Networking usage status for a Prism Element cluster. * @alias module:Ntnx/ClusterStatus * * @param { string } clusterReference UUID of respective cluster. * * @param { boolean } hasFlowStatus Indicates the flow status on the cluster. It is set to True if the cluster has at least one vNIC that is part of an Atlas subnet */ constructor(clusterReference: string, hasFlowStatus: boolean); clusterReference: string; hasFlowStatus: boolean; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns UUID of respective cluster. * @return {string} */ getClusterReference(): string; /** * Sets UUID of respective cluster. * @param {string} clusterReference UUID of respective cluster. */ setClusterReference(clusterReference: string): void; /** * Returns Indicates the flow status on the cluster. It is set to True if the cluster has at least one vNIC that is part of an Atlas subnet * @return {boolean} */ getHasFlowStatus(): boolean; /** * Sets Indicates the flow status on the cluster. It is set to True if the cluster has at least one vNIC that is part of an Atlas subnet * @param {boolean} hasFlowStatus Indicates the flow status on the cluster. It is set to True if the cluster has at least one vNIC that is part of an Atlas subnet */ setHasFlowStatus(hasFlowStatus: boolean): void; 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";