/** * The NodeProviderData model module. * @module Ntnx/NodeProviderData * @version 4.3.1 * @class NodeProviderData */ export default class NodeProviderData { /** * Constructs a NodeProviderData 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/NodeProviderData} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/NodeProviderData} The populated NodeProviderData 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 Name of the discovered node * @return {string} */ getName(): string; /** * Sets Name of the discovered node * @param {string} name Name of the discovered node */ setName(name: string): void; name: string; /** * Returns Mode of the discovered node * @return {string} */ getMode(): string; /** * Sets Mode of the discovered node * @param {string} mode Mode of the discovered node */ setMode(mode: string): void; mode: string; /** * Returns Tags associated with the discovered node * @return {KVStringPair[]} */ getTags(): KVStringPair[]; /** * Sets Tags associated with the discovered node * @param {KVStringPair[]} tags Tags associated with the discovered node */ setTags(tags: KVStringPair[]): void; tags: KVStringPair[]; /** * Returns Indicates if the node is configured * @return {boolean} */ getIsConfigured(): boolean; /** * Sets Indicates if the node is configured * @param {boolean} isConfigured Indicates if the node is configured */ setIsConfigured(isConfigured: boolean): void; isConfigured: boolean; /** * Returns Indicates if the node is available * @return {boolean} */ getIsAvailable(): boolean; /** * Sets Indicates if the node is available * @param {boolean} isAvailable Indicates if the node is available */ setIsAvailable(isAvailable: boolean): void; isAvailable: boolean; /** * Returns Domain of the discovered node * @return {string} */ getDomain(): string; /** * Sets Domain of the discovered node * @param {string} domain Domain of the discovered node */ setDomain(domain: string): void; domain: string; /** * Returns Groups associated with the discovered node * @return {Group[]} */ getGroups(): Group[]; /** * Sets Groups associated with the discovered node * @param {Group[]} groups Groups associated with the discovered node */ setGroups(groups: Group[]): void; groups: Group[]; /** * @return {DisplayNameMapping} */ getDisplayNameMapping(): DisplayNameMapping; /** * @param {DisplayNameMapping} displayNameMapping */ setDisplayNameMapping(displayNameMapping: DisplayNameMapping): void; displayNameMapping: DisplayNameMapping; 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 KVStringPair from "../../../common/v1/config/KVStringPair"; import Group from "./Group"; import DisplayNameMapping from "./DisplayNameMapping"; import ValidationError from "../../../validation/ValidationError";