/** * The NodeIdentifier model module. * @module Ntnx/NodeIdentifier * @version 4.3.1 * @class NodeIdentifier * * @param { NodeIdentifierType } type * * @param { string } value Unique identifier value of the node */ export default class NodeIdentifier { /** * Constructs a NodeIdentifier 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/NodeIdentifier} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/NodeIdentifier} The populated NodeIdentifier 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 NodeIdentifier. * Node unique identifier object containing type and value * @alias module:Ntnx/NodeIdentifier * * @param { NodeIdentifierType } type * * @param { string } value Unique identifier value of the node */ constructor(type: NodeIdentifierType, value: string); type: string; value: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {NodeIdentifierType} */ getType(): NodeIdentifierType; /** * @param {NodeIdentifierType} type */ setType(type: NodeIdentifierType): void; /** * Returns Unique identifier value of the node * @return {string} */ getValue(): string; /** * Sets Unique identifier value of the node * @param {string} value Unique identifier value of the node */ setValue(value: string): void; 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 NodeIdentifierType from "./NodeIdentifierType"; import ValidationError from "../../../validation/ValidationError";