/**
 * The IpUnreserveSpec model module.
 * @module Ntnx/IpUnreserveSpec
 * @version 4.0.1
 * @class IpUnreserveSpec
 *
 * @param { UnreserveType } unreserveType
 */
export default class IpUnreserveSpec {
    /**
     * Constructs a <code>IpUnreserveSpec</code> from a plain JavaScript object, optionally creating a new instance.
     * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
     * @param {Object} data The plain JavaScript object bearing properties of interest.
     * @param {module:Ntnx/IpUnreserveSpec} obj Optional instance to populate.
     * @param callFromChild {Boolean} Flag to recognise calling instance
     * @return {module:Ntnx/IpUnreserveSpec} The populated <code>IpUnreserveSpec</code> 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 <code>IpUnreserveSpec</code>.
     * Input required to unreserve IP addresses on a subnet.
     * @alias module:Ntnx/IpUnreserveSpec
     *
     * @param { UnreserveType } unreserveType
    */
    constructor(unreserveType: UnreserveType);
    unreserveType: string;
    $objectType: string;
    /** @type {object<string, any>} */
    $reserved: object;
    /** @type {object<string, any>} */
    $unknownFields: object;
    /**
     * Returns Number of IP addresses unreserved.
     * @return {Number}
     */
    getCount(): number;
    /**
     * Sets Number of IP addresses unreserved.
     * @param {Number} count Number of IP addresses unreserved.
     */
    setCount(count: number): void;
    count: number;
    /**
     * @return {IPAddress}
     */
    getStartIpAddress(): IPAddress;
    /**
     * @param {IPAddress} startIpAddress
     */
    setStartIpAddress(startIpAddress: IPAddress): void;
    startIpAddress: IPAddress;
    /**
     * Returns List of IP addresses to unreserve.
     * @return {IPAddress[]}
     */
    getIpAddresses(): IPAddress[];
    /**
     * Sets List of IP addresses to unreserve.
     * @param {IPAddress[]} ipAddresses List of IP addresses to unreserve.
     */
    setIpAddresses(ipAddresses: IPAddress[]): void;
    ipAddresses: IPAddress[];
    /**
     * Returns Optional context to associate with a reserved IP address.
     * @return {string}
     */
    getClientContext(): string;
    /**
     * Sets Optional context to associate with a reserved IP address.
     * @param {string} clientContext Optional context to associate with a reserved IP address.
     */
    setClientContext(clientContext: string): void;
    clientContext: string;
    /**
     * @return {UnreserveType}
     */
    getUnreserveType(): UnreserveType;
    /**
     * @param {UnreserveType} unreserveType
     */
    setUnreserveType(unreserveType: UnreserveType): void;
    get$Reserved(): any;
    get$ObjectType(): string;
    get$UnknownFields(): any;
    toJson(forMutation: any): {
        $reserved: any;
        $objectType: string;
        $unknownFields: any;
        unreserveType?: string;
        clientContext?: string;
        ipAddresses?: {
            $reserved: any;
            $objectType: string;
            $unknownFields: any;
            ipv6?: {
                $reserved: any;
                $objectType: string;
                $unknownFields: any;
                prefixLength?: number;
                value?: string;
            };
            ipv4?: {
                $reserved: any;
                $objectType: string;
                $unknownFields: any;
                prefixLength?: number;
                value?: string;
            };
        }[];
        startIpAddress?: {
            $reserved: any;
            $objectType: string;
            $unknownFields: any;
            ipv6?: {
                $reserved: any;
                $objectType: string;
                $unknownFields: any;
                prefixLength?: number;
                value?: string;
            };
            ipv4?: {
                $reserved: any;
                $objectType: string;
                $unknownFields: any;
                prefixLength?: number;
                value?: string;
            };
        };
        count?: number;
    };
    validate(scope: any, properties: any, ...args: any[]): Promise<any>;
    validateProperty(scope: any, property: any): ValidationError;
    #private;
}
import IPAddress from "../../../common/v1/config/IPAddress";
import UnreserveType from "./UnreserveType";
import ValidationError from "../../../validation/ValidationError";
