/** * The IPv6Subnet model module. * @module Ntnx/IPv6Subnet * @version 4.4.1 * @class IPv6Subnet * * @param { IPv6Address } ip * * @param { Number } prefixLength Prefix length of the IPv6 subnet. */ export default class IPv6Subnet { /** * Constructs a IPv6Subnet 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/IPv6Subnet} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/IPv6Subnet} The populated IPv6Subnet 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 IPv6Subnet. * IPv6 subnet. * @alias module:Ntnx/IPv6Subnet * * @param { IPv6Address } ip * * @param { Number } prefixLength Prefix length of the IPv6 subnet. */ constructor(ip: IPv6Address, prefixLength: number); ip: IPv6Address; prefixLength: number; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {IPv6Address} */ getIp(): IPv6Address; /** * @param {IPv6Address} ip */ setIp(ip: IPv6Address): void; /** * Returns Prefix length of the IPv6 subnet. * minimum: 0 * maximum: 128 * @return {Number} */ getPrefixLength(): number; /** * Sets Prefix length of the IPv6 subnet. * @param {Number} prefixLength Prefix length of the IPv6 subnet. */ setPrefixLength(prefixLength: 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 IPv6Address from "../../../common/v1/config/IPv6Address"; import ValidationError from "../../../validation/ValidationError";