/** * The HostNicReference model module. * @module Ntnx/HostNicReference * @version 4.4.1 * @class HostNicReference */ export default class HostNicReference { /** * Constructs a HostNicReference 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/HostNicReference} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/HostNicReference} The populated HostNicReference 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 UUID of the Host Nic. * @return {string} */ getExtId(): string; /** * Sets UUID of the Host Nic. * @param {string} extId UUID of the Host Nic. */ setExtId(extId: string): void; extId: string; /** * Returns Number of VFs associated with the Host Nic. * minimum: 0 * maximum: 128 * @return {Number} */ getNumVFs(): number; /** * Sets Number of VFs associated with the Host Nic. * @param {Number} numVFs Number of VFs associated with the Host Nic. */ setNumVFs(numVFs: number): void; numVFs: number; /** * Returns List of VM NICs references associated with the Host Nic. * @return {string[]} */ getAssociatedVmNicReferences(): string[]; /** * Sets List of VM NICs references associated with the Host Nic. * @param {string[]} associatedVmNicReferences List of VM NICs references associated with the Host Nic. */ setAssociatedVmNicReferences(associatedVmNicReferences: string[]): void; associatedVmNicReferences: string[]; /** * @return {HostNicComplianceStatus} */ getComplianceStatus(): HostNicComplianceStatus; /** * @param {HostNicComplianceStatus} complianceStatus */ setComplianceStatus(complianceStatus: HostNicComplianceStatus): void; complianceStatus: 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 HostNicComplianceStatus from "./HostNicComplianceStatus"; import ValidationError from "../../../validation/ValidationError";