/** * The ObjectStoreEndpointInfo model module. * @module Ntnx/ObjectStoreEndpointInfo * @version 4.4.2 * @class ObjectStoreEndpointInfo */ export default class ObjectStoreEndpointInfo { /** * Constructs a ObjectStoreEndpointInfo 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/ObjectStoreEndpointInfo} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ObjectStoreEndpointInfo} The populated ObjectStoreEndpointInfo 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; /** * @return {PcObjectStoreEndpoint} */ getObjectStoreEndpoint(): PcObjectStoreEndpoint; /** * @param {PcObjectStoreEndpoint} objectStoreEndpoint */ setObjectStoreEndpoint(objectStoreEndpoint: PcObjectStoreEndpoint): void; objectStoreEndpoint: PcObjectStoreEndpoint; /** * 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; /** * Returns A unique id corresponding to the object store. * @return {string} */ getEntityId(): string; /** * Sets A unique id corresponding to the object store. * @param {string} entityId A unique id corresponding to the object store. */ setEntityId(entityId: string): void; entityId: 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 PcObjectStoreEndpoint from "./PcObjectStoreEndpoint"; import ValidationError from "../../../validation/ValidationError";