/** * The TrafficMirrorPort model module. * @module Ntnx/TrafficMirrorPort * @version 4.4.1 * @class TrafficMirrorPort * * @param { TrafficMirrorPortNicType } nicType * * @param { string } nicUuid UUID of the NIC that this port belongs to. */ export default class TrafficMirrorPort { /** * Constructs a TrafficMirrorPort 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/TrafficMirrorPort} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/TrafficMirrorPort} The populated TrafficMirrorPort 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 TrafficMirrorPort. * Traffic mirror session port description. * @alias module:Ntnx/TrafficMirrorPort * * @param { TrafficMirrorPortNicType } nicType * * @param { string } nicUuid UUID of the NIC that this port belongs to. */ constructor(nicType: TrafficMirrorPortNicType, nicUuid: string); nicType: string; nicUuid: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {TrafficMirrorPortNicType} */ getNicType(): TrafficMirrorPortNicType; /** * @param {TrafficMirrorPortNicType} nicType */ setNicType(nicType: TrafficMirrorPortNicType): void; /** * Returns UUID of the NIC that this port belongs to. * @return {string} */ getNicUuid(): string; /** * Sets UUID of the NIC that this port belongs to. * @param {string} nicUuid UUID of the NIC that this port belongs to. */ setNicUuid(nicUuid: string): void; /** * Returns Indicates whether the port is up. * @return {boolean} */ getIsUp(): boolean; /** * Sets Indicates whether the port is up. * @param {boolean} isUp Indicates whether the port is up. */ setIsUp(isUp: boolean): void; isUp: boolean; 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 TrafficMirrorPortNicType from "./TrafficMirrorPortNicType"; import ValidationError from "../../../validation/ValidationError";