/**
* The NetworkConfig model module.
* @module Ntnx/NetworkConfig
* @version 4.3.1
* @class NetworkConfig
*/
export default class NetworkConfig {
/**
* Constructs a NetworkConfig 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/NetworkConfig} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/NetworkConfig} The populated NetworkConfig 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;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns External identifier of the subnet. Only one of `subnetExtId` or `subnetName` may be specified at a time.
* @return {string}
*/
getSubnetExtId(): string;
/**
* Sets External identifier of the subnet. Only one of `subnetExtId` or `subnetName` may be specified at a time.
* @param {string} subnetExtId External identifier of the subnet. Only one of `subnetExtId` or `subnetName` may be specified at a time.
*/
setSubnetExtId(subnetExtId: string): void;
subnetExtId: string;
/**
* Returns Name of the subnet or port group. Exactly one of extId or name is required.
* @return {string}
*/
getSubnetName(): string;
/**
* Sets Name of the subnet or port group. Exactly one of extId or name is required.
* @param {string} subnetName Name of the subnet or port group. Exactly one of extId or name is required.
*/
setSubnetName(subnetName: string): void;
subnetName: string;
/**
* @return {EntityReference}
*/
getVpc(): EntityReference;
/**
* @param {EntityReference} vpc
*/
setVpc(vpc: EntityReference): void;
vpc: EntityReference;
/**
* @return {IPConfig}
*/
getIpConfig(): IPConfig;
/**
* @param {IPConfig} ipConfig
*/
setIpConfig(ipConfig: IPConfig): void;
ipConfig: IPConfig;
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 EntityReference from "./EntityReference";
import IPConfig from "./IPConfig";
import ValidationError from "../../../validation/ValidationError";