/** * The GcpSubnetConfig model module. * @module Ntnx/GcpSubnetConfig * @version 4.4.1 * @class GcpSubnetConfig * * @param { string } cidr Subnet CIDR. * * @param { boolean } isNatEnabled True if NAT is enabled for the external subnet. */ export default class GcpSubnetConfig { /** * Constructs a GcpSubnetConfig 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/GcpSubnetConfig} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/GcpSubnetConfig} The populated GcpSubnetConfig 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 GcpSubnetConfig. * The GCP subnet configuration. * @alias module:Ntnx/GcpSubnetConfig * * @param { string } cidr Subnet CIDR. * * @param { boolean } isNatEnabled True if NAT is enabled for the external subnet. */ constructor(cidr: string, isNatEnabled: boolean); cidr: string; isNatEnabled: boolean; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Subnet CIDR. * @return {string} */ getCidr(): string; /** * Sets Subnet CIDR. * @param {string} cidr Subnet CIDR. */ setCidr(cidr: string): void; /** * Returns True if NAT is enabled for the external subnet. * @return {boolean} */ getIsNatEnabled(): boolean; /** * Sets True if NAT is enabled for the external subnet. * @param {boolean} isNatEnabled True if NAT is enabled for the external subnet. */ setIsNatEnabled(isNatEnabled: boolean): 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";