/** * The VlanRange model module. * @module Ntnx/VlanRange * @version 4.3.1 * @class VlanRange * * @param { Number } startId Starting VLAN ID for the range (inclusive) * * @param { Number } endId Ending VLAN ID for the range (inclusive) */ export default class VlanRange { /** * Constructs a VlanRange 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/VlanRange} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/VlanRange} The populated VlanRange 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 VlanRange. * Configuration for a range of VLAN identifiers * @alias module:Ntnx/VlanRange * * @param { Number } startId Starting VLAN ID for the range (inclusive) * * @param { Number } endId Ending VLAN ID for the range (inclusive) */ constructor(startId: number, endId: number); startId: number; endId: number; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Starting VLAN ID for the range (inclusive) * minimum: 0 * maximum: 4095 * @return {Number} */ getStartId(): number; /** * Sets Starting VLAN ID for the range (inclusive) * @param {Number} startId Starting VLAN ID for the range (inclusive) */ setStartId(startId: number): void; /** * Returns Ending VLAN ID for the range (inclusive) * minimum: 0 * maximum: 4095 * @return {Number} */ getEndId(): number; /** * Sets Ending VLAN ID for the range (inclusive) * @param {Number} endId Ending VLAN ID for the range (inclusive) */ setEndId(endId: number): void; 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";