/**
 * The RoutingPolicyAction model module.
 * @module Ntnx/RoutingPolicyAction
 * @version 4.0.1
 * @class RoutingPolicyAction
 *
 * @param { RoutingPolicyActionType } actionType
 */
export default class RoutingPolicyAction {
    /**
     * Constructs a <code>RoutingPolicyAction</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/RoutingPolicyAction} obj Optional instance to populate.
     * @param callFromChild {Boolean} Flag to recognise calling instance
     * @return {module:Ntnx/RoutingPolicyAction} The populated <code>RoutingPolicyAction</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>RoutingPolicyAction</code>.
     * The action to be taken on the traffic matching the routing policy.
     * @alias module:Ntnx/RoutingPolicyAction
     *
     * @param { RoutingPolicyActionType } actionType
    */
    constructor(actionType: RoutingPolicyActionType);
    actionType: string;
    $objectType: string;
    /** @type {object<string, any>} */
    $reserved: object;
    /** @type {object<string, any>} */
    $unknownFields: object;
    /**
     * @return {RoutingPolicyActionType}
     */
    getActionType(): RoutingPolicyActionType;
    /**
     * @param {RoutingPolicyActionType} actionType
     */
    setActionType(actionType: RoutingPolicyActionType): void;
    /**
     * @return {RerouteParam[]}
     */
    getRerouteParams(): RerouteParam[];
    /**
     * @param {RerouteParam[]} rerouteParams
     */
    setRerouteParams(rerouteParams: RerouteParam[]): void;
    rerouteParams: RerouteParam[];
    /**
     * @return {IPAddress}
     */
    getNexthopIpAddress(): IPAddress;
    /**
     * @param {IPAddress} nexthopIpAddress
     */
    setNexthopIpAddress(nexthopIpAddress: IPAddress): void;
    nexthopIpAddress: IPAddress;
    get$Reserved(): any;
    get$ObjectType(): string;
    get$UnknownFields(): any;
    toJson(forMutation: any): {
        $reserved: any;
        $objectType: string;
        $unknownFields: any;
        nexthopIpAddress?: {
            $reserved: any;
            $objectType: string;
            $unknownFields: any;
            ipv6?: {
                $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?: {
                    $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?: {
                    $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?: {
                    $reserved: any;
                    $objectType: string;
                    $unknownFields: any;
                    prefixLength?: number;
                    value?: string;
                };
                ipv4?: {
                    $reserved: any;
                    $objectType: string;
                    $unknownFields: any;
                    prefixLength?: number;
                    value?: string;
                };
            };
        }[];
        actionType?: string;
    };
    validate(scope: any, properties: any, ...args: any[]): Promise<any>;
    validateProperty(scope: any, property: any): ValidationError;
    #private;
}
import RoutingPolicyActionType from "./RoutingPolicyActionType";
import RerouteParam from "./RerouteParam";
import IPAddress from "../../../common/v1/config/IPAddress";
import ValidationError from "../../../validation/ValidationError";
