/**
* The RoutingPolicyAction model module.
* @module Ntnx/RoutingPolicyAction
* @version 4.4.1
* @class RoutingPolicyAction
*
* @param { RoutingPolicyActionType } actionType
*/
export default class RoutingPolicyAction {
/**
* Constructs a RoutingPolicyAction 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/RoutingPolicyAction} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/RoutingPolicyAction} The populated RoutingPolicyAction 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 RoutingPolicyAction.
* 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} */
$reserved: object;
/** @type {object} */
$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): any;
validate(scope: any, properties: any, ...args: any[]): Promise;
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";