/** * The VmNetworkResourceConfig model module. * @module Ntnx/VmNetworkResourceConfig * @version 4.3.1 * @class VmNetworkResourceConfig */ export default class VmNetworkResourceConfig { /** * Constructs a VmNetworkResourceConfig 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/VmNetworkResourceConfig} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/VmNetworkResourceConfig} The populated VmNetworkResourceConfig 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 Network id to be used for this vm config. * @return {string} */ getNetwork(): string; /** * Sets Network id to be used for this vm config. * @param {string} network Network id to be used for this vm config. */ setNetwork(network: string): void; network: string; /** * Returns Cluster Id of the Prism Element which hosts the Kubernetes cluster. * @return {string} */ getClusterId(): string; /** * Sets Cluster Id of the Prism Element which hosts the Kubernetes cluster. * @param {string} clusterId Cluster Id of the Prism Element which hosts the Kubernetes cluster. */ setClusterId(clusterId: string): void; clusterId: 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";