/** * The ProtocolNumberObject model module. * @module Ntnx/ProtocolNumberObject * @version 4.4.1 * @class ProtocolNumberObject * * @param { Number } protocolNumber Routing Policy IP protocol parameter number. */ export default class ProtocolNumberObject { /** * Constructs a ProtocolNumberObject 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/ProtocolNumberObject} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ProtocolNumberObject} The populated ProtocolNumberObject 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 ProtocolNumberObject. * @alias module:Ntnx/ProtocolNumberObject * * @param { Number } protocolNumber Routing Policy IP protocol parameter number. */ constructor(protocolNumber: number); protocolNumber: number; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Routing Policy IP protocol parameter number. * minimum: 0 * maximum: 255 * @return {Number} */ getProtocolNumber(): number; /** * Sets Routing Policy IP protocol parameter number. * @param {Number} protocolNumber Routing Policy IP protocol parameter number. */ setProtocolNumber(protocolNumber: number): void; 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";