/** * The SchemaValidationErrorMessage model module. * @module Ntnx/SchemaValidationErrorMessage * @version 4.4.1 * @class SchemaValidationErrorMessage */ export default class SchemaValidationErrorMessage { /** * Constructs a SchemaValidationErrorMessage 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/SchemaValidationErrorMessage} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/SchemaValidationErrorMessage} The populated SchemaValidationErrorMessage 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 part of the request that failed validation. Validation can fail for path, query parameters, and request body. * @return {string} */ getLocation(): string; /** * Sets The part of the request that failed validation. Validation can fail for path, query parameters, and request body. * @param {string} location The part of the request that failed validation. Validation can fail for path, query parameters, and request body. */ setLocation(location: string): void; location: string; /** * Returns The detailed message for the validation error. * @return {string} */ getMessage(): string; /** * Sets The detailed message for the validation error. * @param {string} message The detailed message for the validation error. */ setMessage(message: string): void; message: string; /** * Returns The path of the attribute that failed validation in the schema. * @return {string} */ getAttributePath(): string; /** * Sets The path of the attribute that failed validation in the schema. * @param {string} attributePath The path of the attribute that failed validation in the schema. */ setAttributePath(attributePath: string): void; attributePath: 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";