/** * The HostInstallationDetails model module. * @module Ntnx/HostInstallationDetails * @version 4.3.1 * @class HostInstallationDetails * * @param { string } patchedImageExtId External ID of a patched hypervisor or host OS image */ export default class HostInstallationDetails { /** * Constructs a HostInstallationDetails 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/HostInstallationDetails} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/HostInstallationDetails} The populated HostInstallationDetails 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; /** * Constructs a new HostInstallationDetails. * Hypervisor or host OS installation details of the node * @alias module:Ntnx/HostInstallationDetails * * @param { string } patchedImageExtId External ID of a patched hypervisor or host OS image */ constructor(patchedImageExtId: string); patchedImageExtId: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns External ID of a patched hypervisor or host OS image * @return {string} */ getPatchedImageExtId(): string; /** * Sets External ID of a patched hypervisor or host OS image * @param {string} patchedImageExtId External ID of a patched hypervisor or host OS image */ setPatchedImageExtId(patchedImageExtId: string): void; /** * Returns URL of the patched image to be installed on the node. If the URL is provided, nodes download the image from the given URL instead of downloading it from Foundation Central * @return {string} */ getPatchedImageUrl(): string; /** * Sets URL of the patched image to be installed on the node. If the URL is provided, nodes download the image from the given URL instead of downloading it from Foundation Central * @param {string} patchedImageUrl URL of the patched image to be installed on the node. If the URL is provided, nodes download the image from the given URL instead of downloading it from Foundation Central */ setPatchedImageUrl(patchedImageUrl: string): void; patchedImageUrl: 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";