/**
 * The LayerFourProtocolObject model module.
 * @module Ntnx/LayerFourProtocolObject
 * @version 4.0.1
 * @class LayerFourProtocolObject
 */
export default class LayerFourProtocolObject {
    /**
     * Constructs a <code>LayerFourProtocolObject</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/LayerFourProtocolObject} obj Optional instance to populate.
     * @param callFromChild {Boolean} Flag to recognise calling instance
     * @return {module:Ntnx/LayerFourProtocolObject} The populated <code>LayerFourProtocolObject</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;
    $objectType: string;
    /** @type {object<string, any>} */
    $reserved: object;
    /** @type {object<string, any>} */
    $unknownFields: object;
    /**
     * @return {PortRange[]}
     */
    getSourcePortRanges(): PortRange[];
    /**
     * @param {PortRange[]} sourcePortRanges
     */
    setSourcePortRanges(sourcePortRanges: PortRange[]): void;
    sourcePortRanges: PortRange[];
    /**
     * @return {PortRange[]}
     */
    getDestinationPortRanges(): PortRange[];
    /**
     * @param {PortRange[]} destinationPortRanges
     */
    setDestinationPortRanges(destinationPortRanges: PortRange[]): void;
    destinationPortRanges: PortRange[];
    get$Reserved(): any;
    get$ObjectType(): string;
    get$UnknownFields(): any;
    toJson(forMutation: any): {
        $reserved: any;
        $objectType: string;
        $unknownFields: any;
        destinationPortRanges?: {
            $reserved: any;
            $objectType: string;
            $unknownFields: any;
            endPort?: number;
            startPort?: number;
        }[];
        sourcePortRanges?: {
            $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 PortRange from "./PortRange";
import ValidationError from "../../../validation/ValidationError";
