/** * The FileWrapper model module. * @module Ntnx/FileWrapper * @version 4.1.1-beta-1 * @class FileWrapper * * @param { string } file The binary of the exported report configuration(s). Default value is report-{currTime}. For eg:- report-Jan23-062758 */ export default class FileWrapper { /** * Constructs a FileWrapper 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/FileWrapper} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/FileWrapper} The populated FileWrapper 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 FileWrapper. * The wrapper model for the binary file to be exported. * @alias module:Ntnx/FileWrapper * * @param { string } file The binary of the exported report configuration(s). Default value is report-{currTime}. For eg:- report-Jan23-062758 */ constructor(file: string); file: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns The binary of the exported report configuration(s). Default value is report-{currTime}. For eg:- report-Jan23-062758 * @return {string} */ getFile(): string; /** * Sets The binary of the exported report configuration(s). Default value is report-{currTime}. For eg:- report-Jan23-062758 * @param {string} file The binary of the exported report configuration(s). Default value is report-{currTime}. For eg:- report-Jan23-062758 */ setFile(file: string): 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";