/** * The FrameworkVersionInfo model module. * @module Ntnx/FrameworkVersionInfo * @version 4.3.1 * @class FrameworkVersionInfo */ export default class FrameworkVersionInfo { /** * Constructs a FrameworkVersionInfo 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/FrameworkVersionInfo} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/FrameworkVersionInfo} The populated FrameworkVersionInfo 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 The version string of the LCM framework currently installed on the cluster. * @return {string} */ getCurrentVersion(): string; /** * Sets The version string of the LCM framework currently installed on the cluster. * @param {string} currentVersion The version string of the LCM framework currently installed on the cluster. */ setCurrentVersion(currentVersion: string): void; currentVersion: string; /** * Returns The latest LCM framework version available in the configured LCM repository URL. Compare with currentVersion to determine if a framework update is needed. * @return {string} */ getAvailableVersion(): string; /** * Sets The latest LCM framework version available in the configured LCM repository URL. Compare with currentVersion to determine if a framework update is needed. * @param {string} availableVersion The latest LCM framework version available in the configured LCM repository URL. Compare with currentVersion to determine if a framework update is needed. */ setAvailableVersion(availableVersion: string): void; availableVersion: string; /** * Returns Indicates whether the LCM framework needs to be updated to a newer version before performing entity upgrades. When true, update the framework first by running an upgrade operation. * @return {boolean} */ getIsUpdateNeeded(): boolean; /** * Sets Indicates whether the LCM framework needs to be updated to a newer version before performing entity upgrades. When true, update the framework first by running an upgrade operation. * @param {boolean} isUpdateNeeded Indicates whether the LCM framework needs to be updated to a newer version before performing entity upgrades. When true, update the framework first by running an upgrade operation. */ setIsUpdateNeeded(isUpdateNeeded: boolean): void; isUpdateNeeded: boolean; 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";