/**
* The Capability model module.
* @module Ntnx/Capability
* @version 4.4.1
* @class Capability
*
* @param { string } capabilityName Name of the capability e.g. \"SUPPORTS_PC_SPAN\"
*
* @param { boolean } isSupported Boolean - true if the capability is supported, false otherwise
*/
export default class Capability {
/**
* Constructs a Capability 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/Capability} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/Capability} The populated Capability 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 Capability.
* Capability dictionary entry with capability name and boolean value indicating support
* @alias module:Ntnx/Capability
*
* @param { string } capabilityName Name of the capability e.g. \"SUPPORTS_PC_SPAN\"
*
* @param { boolean } isSupported Boolean - true if the capability is supported, false otherwise
*/
constructor(capabilityName: string, isSupported: boolean);
capabilityName: string;
isSupported: boolean;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns Name of the capability e.g. \"SUPPORTS_PC_SPAN\"
* @return {string}
*/
getCapabilityName(): string;
/**
* Sets Name of the capability e.g. \"SUPPORTS_PC_SPAN\"
* @param {string} capabilityName Name of the capability e.g. \"SUPPORTS_PC_SPAN\"
*/
setCapabilityName(capabilityName: string): void;
/**
* Returns Boolean - true if the capability is supported, false otherwise
* @return {boolean}
*/
getIsSupported(): boolean;
/**
* Sets Boolean - true if the capability is supported, false otherwise
* @param {boolean} isSupported Boolean - true if the capability is supported, false otherwise
*/
setIsSupported(isSupported: 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";