/**
 * The PortRange model module.
 * @module Ntnx/PortRange
 * @version 4.0.1
 * @class PortRange
 *
 * @param { Number } startPort Start port of TCP/UDP port range.
 *
 * @param { Number } endPort End port of TCP/UDP port range.
 */
export default class PortRange {
    /**
     * Constructs a <code>PortRange</code> from a plain JavaScript object, optionally creating a new instance.
     * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
     * @param {Object} data The plain JavaScript object bearing properties of interest.
     * @param {module:Ntnx/PortRange} obj Optional instance to populate.
     * @param callFromChild {Boolean} Flag to recognise calling instance
     * @return {module:Ntnx/PortRange} The populated <code>PortRange</code> 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 <code>PortRange</code>.
     * Range of TCP/UDP ports.
     * @alias module:Ntnx/PortRange
     *
     * @param { Number } startPort Start port of TCP/UDP port range.
     *
     * @param { Number } endPort End port of TCP/UDP port range.
    */
    constructor(startPort: number, endPort: number);
    startPort: number;
    endPort: number;
    $objectType: string;
    /** @type {object<string, any>} */
    $reserved: object;
    /** @type {object<string, any>} */
    $unknownFields: object;
    /**
     * Returns Start port of TCP/UDP port range.
     * minimum: 0
     * maximum: 65535
     * @return {Number}
     */
    getStartPort(): number;
    /**
     * Sets Start port of TCP/UDP port range.
     * @param {Number} startPort Start port of TCP/UDP port range.
     */
    setStartPort(startPort: number): void;
    /**
     * Returns End port of TCP/UDP port range.
     * minimum: 0
     * maximum: 65535
     * @return {Number}
     */
    getEndPort(): number;
    /**
     * Sets End port of TCP/UDP port range.
     * @param {Number} endPort End port of TCP/UDP port range.
     */
    setEndPort(endPort: number): void;
    get$Reserved(): any;
    get$ObjectType(): string;
    get$UnknownFields(): any;
    toJson(forMutation: any): {
        $reserved: any;
        $objectType: string;
        $unknownFields: any;
        endPort?: number;
        startPort?: number;
    };
    validate(scope: any, properties: any, ...args: any[]): Promise<any>;
    validateProperty(scope: any, property: any): ValidationError;
    #private;
}
import ValidationError from "../../../validation/ValidationError";
