/** * The RoutingPolicyClearCountersSpec model module. * @module Ntnx/RoutingPolicyClearCountersSpec * @version 4.4.1 * @class RoutingPolicyClearCountersSpec * * @param { string } vpcExtId ExtId of the VPC extId to which the routing policy belongs. */ export default class RoutingPolicyClearCountersSpec { /** * Constructs a RoutingPolicyClearCountersSpec 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/RoutingPolicyClearCountersSpec} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/RoutingPolicyClearCountersSpec} The populated RoutingPolicyClearCountersSpec 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 RoutingPolicyClearCountersSpec. * VPC UUID to reset all routing policy counters to zero. * @alias module:Ntnx/RoutingPolicyClearCountersSpec * * @param { string } vpcExtId ExtId of the VPC extId to which the routing policy belongs. */ constructor(vpcExtId: string); vpcExtId: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns ExtId of the VPC extId to which the routing policy belongs. * @return {string} */ getVpcExtId(): string; /** * Sets ExtId of the VPC extId to which the routing policy belongs. * @param {string} vpcExtId ExtId of the VPC extId to which the routing policy belongs. */ setVpcExtId(vpcExtId: string): void; /** * Returns UUID of the policy for which the counters need to be cleared. * @return {string} */ getRoutingPolicyExtId(): string; /** * Sets UUID of the policy for which the counters need to be cleared. * @param {string} routingPolicyExtId UUID of the policy for which the counters need to be cleared. */ setRoutingPolicyExtId(routingPolicyExtId: string): void; routingPolicyExtId: string; 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 ValidationError from "../../../validation/ValidationError";