/** * The TargetStats model module. * @module Ntnx/TargetStats * @version 4.4.1 * @class TargetStats */ export default class TargetStats { /** * Constructs a TargetStats 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/TargetStats} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/TargetStats} The populated TargetStats 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 Load balancer session Target vNIC UUID * @return {string} */ getVirtualNicReference(): string; /** * Sets Load balancer session Target vNIC UUID * @param {string} virtualNicReference Load balancer session Target vNIC UUID */ setVirtualNicReference(virtualNicReference: string): void; virtualNicReference: string; /** * Returns String array of number of bytes received. * @return {string[]} */ getNumBytes(): string[]; /** * Sets String array of number of bytes received. * @param {string[]} numBytes String array of number of bytes received. */ setNumBytes(numBytes: string[]): void; numBytes: string[]; /** * Returns String array of number of packets received. * @return {string[]} */ getNumRequests(): string[]; /** * Sets String array of number of packets received. * @param {string[]} numRequests String array of number of packets received. */ setNumRequests(numRequests: string[]): void; numRequests: string[]; /** * Returns String array of number of requests received. * @return {string[]} */ getNumPackets(): string[]; /** * Sets String array of number of requests received. * @param {string[]} numPackets String array of number of requests received. */ setNumPackets(numPackets: string[]): void; numPackets: 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";