/** * The PcvmRestoreFile model module. * @module Ntnx/PcvmRestoreFile * @version 4.4.2 * @class PcvmRestoreFile */ export default class PcvmRestoreFile { /** * Constructs a PcvmRestoreFile 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/PcvmRestoreFile} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/PcvmRestoreFile} The populated PcvmRestoreFile 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 Path of the file to be restored. * @return {string} */ getFilePath(): string; /** * Sets Path of the file to be restored. * @param {string} filePath Path of the file to be restored. */ setFilePath(filePath: string): void; filePath: string; /** * Returns Contents of the file to be restored. * @return {string} */ getFileContent(): string; /** * Sets Contents of the file to be restored. * @param {string} fileContent Contents of the file to be restored. */ setFileContent(fileContent: string): void; fileContent: string; /** * Returns Whether the file is encrypted. * @return {boolean} */ getIsEncrypted(): boolean; /** * Sets Whether the file is encrypted. * @param {boolean} isEncrypted Whether the file is encrypted. */ setIsEncrypted(isEncrypted: boolean): void; isEncrypted: boolean; /** * @return {string} */ getKeyId(): string; /** * @param {string} keyId */ setKeyId(keyId: string): void; keyId: string; /** * @return {string} */ getEncryptionVersion(): string; /** * @param {string} encryptionVersion */ setEncryptionVersion(encryptionVersion: string): void; encryptionVersion: 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";