/** * The ClusterReference model module. * @module Ntnx/ClusterReference * @version 4.4.2 * @class ClusterReference * * @param { string } extId Cluster UUID of a remote cluster. */ export default class ClusterReference { /** * Constructs a ClusterReference 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/ClusterReference} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ClusterReference} The populated ClusterReference 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 ClusterReference. * Cluster reference of the remote cluster to be connected. * @alias module:Ntnx/ClusterReference * * @param { string } extId Cluster UUID of a remote cluster. */ constructor(extId: string); extId: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Cluster UUID of a remote cluster. * @return {string} */ getExtId(): string; /** * Sets Cluster UUID of a remote cluster. * @param {string} extId Cluster UUID of a remote cluster. */ setExtId(extId: string): void; /** * Returns Name of the cluster. * @return {string} */ getName(): string; /** * Sets Name of the cluster. * @param {string} name Name of the cluster. */ setName(name: string): void; name: 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";