"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.AssignPrivateIpAddressesResponseBody = exports.AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSet = exports.AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSetPrivateIpSet = exports.AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSetIpv4PrefixSet = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSetIpv4PrefixSet extends $dara.Model {
    static names() {
        return {
            ipv4Prefixes: 'Ipv4Prefixes',
        };
    }
    static types() {
        return {
            ipv4Prefixes: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.ipv4Prefixes)) {
            $dara.Model.validateArray(this.ipv4Prefixes);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSetIpv4PrefixSet = AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSetIpv4PrefixSet;
class AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSetPrivateIpSet extends $dara.Model {
    static names() {
        return {
            privateIpAddress: 'PrivateIpAddress',
        };
    }
    static types() {
        return {
            privateIpAddress: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.privateIpAddress)) {
            $dara.Model.validateArray(this.privateIpAddress);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSetPrivateIpSet = AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSetPrivateIpSet;
class AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSet extends $dara.Model {
    static names() {
        return {
            ipv4PrefixSet: 'Ipv4PrefixSet',
            networkInterfaceId: 'NetworkInterfaceId',
            privateIpSet: 'PrivateIpSet',
        };
    }
    static types() {
        return {
            ipv4PrefixSet: AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSetIpv4PrefixSet,
            networkInterfaceId: 'string',
            privateIpSet: AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSetPrivateIpSet,
        };
    }
    validate() {
        if (this.ipv4PrefixSet && typeof this.ipv4PrefixSet.validate === 'function') {
            this.ipv4PrefixSet.validate();
        }
        if (this.privateIpSet && typeof this.privateIpSet.validate === 'function') {
            this.privateIpSet.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSet = AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSet;
class AssignPrivateIpAddressesResponseBody extends $dara.Model {
    static names() {
        return {
            assignedPrivateIpAddressesSet: 'AssignedPrivateIpAddressesSet',
            requestId: 'RequestId',
        };
    }
    static types() {
        return {
            assignedPrivateIpAddressesSet: AssignPrivateIpAddressesResponseBodyAssignedPrivateIpAddressesSet,
            requestId: 'string',
        };
    }
    validate() {
        if (this.assignedPrivateIpAddressesSet && typeof this.assignedPrivateIpAddressesSet.validate === 'function') {
            this.assignedPrivateIpAddressesSet.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.AssignPrivateIpAddressesResponseBody = AssignPrivateIpAddressesResponseBody;
//# sourceMappingURL=AssignPrivateIpAddressesResponseBody.js.map