/**
* The ApiError model module.
* @module Ntnx/ApiError
* @version 4.4.2
* @class ApiError
*/
export default class ApiError {
/**
* Constructs a ApiError 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/ApiError} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/ApiError} The populated ApiError 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 The error message field where the error response will be put.
* @return {string[]}
*/
getErrorMessageList(): string[];
/**
* Sets The error message field where the error response will be put.
* @param {string[]} errorMessageList The error message field where the error response will be put.
*/
setErrorMessageList(errorMessageList: string[]): void;
errorMessageList: string[];
/**
* Returns The type of error, like INVALID_INPUT, INTERNAL_SERVER_ERROR, etc.
* @return {string}
*/
getErrorType(): string;
/**
* Sets The type of error, like INVALID_INPUT, INTERNAL_SERVER_ERROR, etc.
* @param {string} errorType The type of error, like INVALID_INPUT, INTERNAL_SERVER_ERROR, etc.
*/
setErrorType(errorType: string): void;
errorType: string;
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";