/**
 * The RoutingPolicyRule model module.
 * @module Ntnx/RoutingPolicyRule
 * @version 4.0.1
 * @class RoutingPolicyRule
 *
 * @param { RoutingPolicyMatchCondition } policyMatch
 *
 * @param { RoutingPolicyAction } policyAction
 */
export default class RoutingPolicyRule {
    /**
     * Constructs a <code>RoutingPolicyRule</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/RoutingPolicyRule} obj Optional instance to populate.
     * @param callFromChild {Boolean} Flag to recognise calling instance
     * @return {module:Ntnx/RoutingPolicyRule} The populated <code>RoutingPolicyRule</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>RoutingPolicyRule</code>.
     * Policy indicating the match rule and the action.
     * @alias module:Ntnx/RoutingPolicyRule
     *
     * @param { RoutingPolicyMatchCondition } policyMatch
     *
     * @param { RoutingPolicyAction } policyAction
    */
    constructor(policyMatch: RoutingPolicyMatchCondition, policyAction: RoutingPolicyAction);
    policyMatch: RoutingPolicyMatchCondition;
    policyAction: RoutingPolicyAction;
    $objectType: string;
    /** @type {object<string, any>} */
    $reserved: object;
    /** @type {object<string, any>} */
    $unknownFields: object;
    /**
     * @return {RoutingPolicyMatchCondition}
     */
    getPolicyMatch(): RoutingPolicyMatchCondition;
    /**
     * @param {RoutingPolicyMatchCondition} policyMatch
     */
    setPolicyMatch(policyMatch: RoutingPolicyMatchCondition): void;
    /**
     * @return {RoutingPolicyAction}
     */
    getPolicyAction(): RoutingPolicyAction;
    /**
     * @param {RoutingPolicyAction} policyAction
     */
    setPolicyAction(policyAction: RoutingPolicyAction): void;
    /**
     * Returns If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
     * @return {boolean}
     */
    getIsBidirectional(): boolean;
    /**
     * Sets If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
     * @param {boolean} isBidirectional If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
     */
    setIsBidirectional(isBidirectional: boolean): void;
    isBidirectional: boolean;
    get$Reserved(): any;
    get$ObjectType(): string;
    get$UnknownFields(): any;
    toJson(forMutation: any): {
        $reserved: any;
        $objectType: string;
        $unknownFields: any;
        isBidirectional?: boolean;
        policyAction?: {
            $reserved: any;
            $objectType: string;
            $unknownFields: any;
            nexthopIpAddress?: {
                $reserved: any;
                $objectType: string;
                $unknownFields: any;
                ipv6?: {
                    /**
                     * Sets If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                     * @param {boolean} isBidirectional If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                     */
                    $reserved: any;
                    $objectType: string;
                    $unknownFields: any;
                    prefixLength?: number;
                    value?: string;
                };
                ipv4?: {
                    $reserved: any;
                    $objectType: string;
                    $unknownFields: any;
                    prefixLength?: number;
                    value?: string;
                };
            };
            rerouteParams?: {
                $reserved: any;
                $objectType: string;
                $unknownFields: any;
                egressServiceIp?: {
                    $reserved: any;
                    $objectType: string;
                    $unknownFields: any;
                    ipv6?: {
                        /**
                         * Sets If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                         * @param {boolean} isBidirectional If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                         */
                        $reserved: any;
                        $objectType: string;
                        $unknownFields: any;
                        prefixLength?: number;
                        value?: string;
                    };
                    ipv4?: {
                        $reserved: any;
                        $objectType: string;
                        $unknownFields: any;
                        prefixLength?: number;
                        value?: string;
                    };
                };
                ingressServiceIp?: {
                    $reserved: any;
                    $objectType: string;
                    $unknownFields: any;
                    ipv6?: {
                        /**
                         * Sets If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                         * @param {boolean} isBidirectional If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                         */
                        $reserved: any;
                        $objectType: string;
                        $unknownFields: any;
                        prefixLength?: number;
                        value?: string;
                    };
                    ipv4?: {
                        $reserved: any;
                        $objectType: string;
                        $unknownFields: any;
                        prefixLength?: number;
                        value?: string;
                    };
                };
                rerouteFallbackAction?: string;
                serviceIp?: {
                    $reserved: any;
                    $objectType: string;
                    $unknownFields: any;
                    ipv6?: {
                        /**
                         * Sets If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                         * @param {boolean} isBidirectional If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                         */
                        $reserved: any;
                        $objectType: string;
                        $unknownFields: any;
                        prefixLength?: number;
                        value?: string;
                    };
                    ipv4?: {
                        $reserved: any;
                        $objectType: string;
                        $unknownFields: any;
                        prefixLength?: number;
                        value?: string;
                    };
                };
            }[];
            actionType?: string;
        };
        policyMatch?: {
            $reserved: any;
            $objectType: string;
            $unknownFields: any;
            protocolParameters?: any;
            protocolType?: string;
            destination?: {
                $reserved: any;
                $objectType: string;
                $unknownFields: any;
                subnetPrefix?: {
                    $reserved: any;
                    $objectType: string;
                    $unknownFields: any;
                    ipv6?: {
                        $reserved: any;
                        $objectType: string;
                        $unknownFields: any;
                        prefixLength?: number;
                        ip?: {
                            /**
                             * Sets If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                             * @param {boolean} isBidirectional If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                             */
                            $reserved: any;
                            $objectType: string;
                            $unknownFields: any;
                            prefixLength?: number;
                            value?: string;
                        };
                    };
                    ipv4?: {
                        $reserved: any;
                        $objectType: string;
                        $unknownFields: any;
                        prefixLength?: number;
                        ip?: {
                            $reserved: any;
                            $objectType: string;
                            $unknownFields: any;
                            prefixLength?: number;
                            value?: string;
                        };
                    };
                };
                addressType?: string;
            };
            source?: {
                $reserved: any;
                $objectType: string;
                $unknownFields: any;
                subnetPrefix?: {
                    $reserved: any;
                    $objectType: string;
                    $unknownFields: any;
                    ipv6?: {
                        $reserved: any;
                        $objectType: string;
                        $unknownFields: any;
                        prefixLength?: number;
                        ip?: {
                            /**
                             * Sets If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                             * @param {boolean} isBidirectional If True, policies in the reverse direction will be installed with the same action but source and destination will be swapped.
                             */
                            $reserved: any;
                            $objectType: string;
                            $unknownFields: any;
                            prefixLength?: number;
                            value?: string;
                        };
                    };
                    ipv4?: {
                        $reserved: any;
                        $objectType: string;
                        $unknownFields: any;
                        prefixLength?: number;
                        ip?: {
                            $reserved: any;
                            $objectType: string;
                            $unknownFields: any;
                            prefixLength?: number;
                            value?: string;
                        };
                    };
                };
                addressType?: string;
            };
        };
    };
    validate(scope: any, properties: any, ...args: any[]): Promise<any>;
    validateProperty(scope: any, property: any): ValidationError;
    #private;
}
import RoutingPolicyMatchCondition from "./RoutingPolicyMatchCondition";
import RoutingPolicyAction from "./RoutingPolicyAction";
import ValidationError from "../../../validation/ValidationError";
