/** * The BondSettings model module. * @module Ntnx/BondSettings * @version 4.3.1 * @class BondSettings * @param { ActiveBackupBond | LacpBond } bondConfig Bond configuration type * */ export default class BondSettings { /** * Constructs a BondSettings 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/BondSettings} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/BondSettings} The populated BondSettings 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 BondSettings. * Network bonding configuration. Choose either Active-Backup bonding for simple failover or LACP bonding for dynamic link aggregation * @alias module:Ntnx/BondSettings * @param { ActiveBackupBond | LacpBond } bondConfig Bond configuration type * */ constructor(bondConfig: ActiveBackupBond | LacpBond); bondConfig: ActiveBackupBond | LacpBond; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Bond configuration type * @return {ActiveBackupBond | LacpBond} */ getBondConfig(): ActiveBackupBond | LacpBond; /** * Sets Bond configuration type * @param {ActiveBackupBond | LacpBond} bondConfig Bond configuration type */ setBondConfig(bondConfig: ActiveBackupBond | LacpBond): 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 ActiveBackupBond from "./ActiveBackupBond"; import LacpBond from "./LacpBond"; import ValidationError from "../../../validation/ValidationError";