/** * The Install model module. * @module Ntnx/Install * @version 4.3.1 * @class Install * * @param { string } name * * @param { string } version */ export default class Install { /** * Constructs a Install 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/Install} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/Install} The populated Install 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 Install. * @alias module:Ntnx/Install * * @param { string } name * * @param { string } version */ constructor(name: string, version: string); name: string; version: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {string} */ getName(): string; /** * @param {string} name */ setName(name: string): void; /** * @return {string} */ getVersion(): string; /** * @param {string} version */ setVersion(version: string): void; /** * Returns Name(or UUID) of the cluster. Optional. If not specified, the default cluster(CMSP) will be used. * @return {string} */ getClusterID(): string; /** * Sets Name(or UUID) of the cluster. Optional. If not specified, the default cluster(CMSP) will be used. * @param {string} clusterID Name(or UUID) of the cluster. Optional. If not specified, the default cluster(CMSP) will be used. */ setClusterID(clusterID: string): void; clusterID: string; /** * @return {CustomValue[]} */ getCustomValues(): CustomValue[]; /** * @param {CustomValue[]} customValues */ setCustomValues(customValues: CustomValue[]): void; customValues: CustomValue[]; 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 CustomValue from "./CustomValue"; import ValidationError from "../../../validation/ValidationError";