/** * The PEInfo model module. * @module Ntnx/PEInfo * @version 4.4.2 * @class PEInfo */ export default class PEInfo { /** * Constructs a PEInfo 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/PEInfo} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/PEInfo} The populated PEInfo 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 PE cluster uuid. A unique id corresponding to the cluster. * @return {string} */ getPeClusterId(): string; /** * Sets PE cluster uuid. A unique id corresponding to the cluster. * @param {string} peClusterId PE cluster uuid. A unique id corresponding to the cluster. */ setPeClusterId(peClusterId: string): void; peClusterId: string; /** * Returns A human redable name of the PE cluster. * @return {string} */ getPeName(): string; /** * Sets A human redable name of the PE cluster. * @param {string} peName A human redable name of the PE cluster. */ setPeName(peName: string): void; peName: string; /** * Returns The last sync time signifies the time at which the backup was last synced to PE. This time will be updated every 30min. * @return {Number} */ getLastSyncTimestamp(): number; /** * Sets The last sync time signifies the time at which the backup was last synced to PE. This time will be updated every 30min. * @param {Number} lastSyncTimestamp The last sync time signifies the time at which the backup was last synced to PE. This time will be updated every 30min. */ setLastSyncTimestamp(lastSyncTimestamp: number): void; lastSyncTimestamp: number; /** * Returns Tells whether the backup is paused on the given PE or not. * @return {boolean} */ getIsBackupPaused(): boolean; /** * Sets Tells whether the backup is paused on the given PE or not. * @param {boolean} isBackupPaused Tells whether the backup is paused on the given PE or not. */ setIsBackupPaused(isBackupPaused: boolean): void; isBackupPaused: boolean; /** * Returns Tells the reason why the backup might be paused. Will be empty if isBackupPaused field is false. * @return {string} */ getPauseBackupMessage(): string; /** * Sets Tells the reason why the backup might be paused. Will be empty if isBackupPaused field is false. * @param {string} pauseBackupMessage Tells the reason why the backup might be paused. Will be empty if isBackupPaused field is false. */ setPauseBackupMessage(pauseBackupMessage: string): void; pauseBackupMessage: 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";