/** * The RecoveryStatus model module. * @module Ntnx/RecoveryStatus * @version 4.4.2 * @class RecoveryStatus */ export default class RecoveryStatus { /** * Constructs a RecoveryStatus 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/RecoveryStatus} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/RecoveryStatus} The populated RecoveryStatus 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 Recovery state of recovery task. Possible values could be IDFDataRestore, WaitForProcessesToReconcile. * @return {string} */ getRecoveryState(): string; /** * Sets Recovery state of recovery task. Possible values could be IDFDataRestore, WaitForProcessesToReconcile. * @param {string} recoveryState Recovery state of recovery task. Possible values could be IDFDataRestore, WaitForProcessesToReconcile. */ setRecoveryState(recoveryState: string): void; recoveryState: string; /** * Returns Recovery state title, the message that appears to the user. * @return {string} */ getRecoveryStateTitle(): string; /** * Sets Recovery state title, the message that appears to the user. * @param {string} recoveryStateTitle Recovery state title, the message that appears to the user. */ setRecoveryStateTitle(recoveryStateTitle: string): void; recoveryStateTitle: string; /** * Returns Overall completion percentage of task. * @return {Number} */ getOverallCompletionPercentage(): number; /** * Sets Overall completion percentage of task. * @param {Number} overallCompletionPercentage Overall completion percentage of task. */ setOverallCompletionPercentage(overallCompletionPercentage: number): void; overallCompletionPercentage: number; 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";