/**
* The PhysicalAdapter model module.
* @module Ntnx/PhysicalAdapter
* @version 4.3.1
* @class PhysicalAdapter
*/
export default class PhysicalAdapter {
/**
* Constructs a PhysicalAdapter 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/PhysicalAdapter} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/PhysicalAdapter} The populated PhysicalAdapter 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 physical network adapter
* @return {string}
*/
getName(): string;
/**
* Sets Name of the physical network adapter
* @param {string} name Name of the physical network adapter
*/
setName(name: string): void;
name: string;
/**
* Returns Vendor and model information for the physical network adapter, identifying the exact NIC hardware installed
* @return {string}
*/
getModel(): string;
/**
* Sets Vendor and model information for the physical network adapter, identifying the exact NIC hardware installed
* @param {string} model Vendor and model information for the physical network adapter, identifying the exact NIC hardware installed
*/
setModel(model: string): void;
model: string;
/**
* Returns Count of ports on the physical network adapter
* minimum: 0
* maximum: 32
* @return {Number}
*/
getPortCount(): number;
/**
* Sets Count of ports on the physical network adapter
* @param {Number} portCount Count of ports on the physical network adapter
*/
setPortCount(portCount: number): void;
portCount: number;
/**
* Returns Slot identifier of the physical network adapter. Empty value indicates that the slot could not be determined
* @return {string}
*/
getSlot(): string;
/**
* Sets Slot identifier of the physical network adapter. Empty value indicates that the slot could not be determined
* @param {string} slot Slot identifier of the physical network adapter. Empty value indicates that the slot could not be determined
*/
setSlot(slot: string): void;
slot: string;
/**
* Returns List of physical ports on the network adapter
* @return {PhysicalNetworkAdapterPort[]}
*/
getPorts(): PhysicalNetworkAdapterPort[];
/**
* Sets List of physical ports on the network adapter
* @param {PhysicalNetworkAdapterPort[]} ports List of physical ports on the network adapter
*/
setPorts(ports: PhysicalNetworkAdapterPort[]): void;
ports: PhysicalNetworkAdapterPort[];
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 PhysicalNetworkAdapterPort from "./PhysicalNetworkAdapterPort";
import ValidationError from "../../../validation/ValidationError";