"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.DescribeSnapshotGroupsResponseBody = exports.DescribeSnapshotGroupsResponseBodySnapshotGroups = exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroup = exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTags = exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTagsTag = exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshots = exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshot = exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTags = exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTagsTag = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTagsTag extends $dara.Model {
    static names() {
        return {
            key: 'Key',
            value: 'Value',
        };
    }
    static types() {
        return {
            key: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTagsTag = DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTagsTag;
class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTags = DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTags;
class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshot extends $dara.Model {
    static names() {
        return {
            available: 'Available',
            instantAccess: 'InstantAccess',
            instantAccessRetentionDays: 'InstantAccessRetentionDays',
            progress: 'Progress',
            snapshotId: 'SnapshotId',
            sourceDiskId: 'SourceDiskId',
            sourceDiskType: 'SourceDiskType',
            tags: 'Tags',
        };
    }
    static types() {
        return {
            available: 'boolean',
            instantAccess: 'boolean',
            instantAccessRetentionDays: 'number',
            progress: 'string',
            snapshotId: 'string',
            sourceDiskId: 'string',
            sourceDiskType: 'string',
            tags: DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshotTags,
        };
    }
    validate() {
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshot = DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshot;
class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshots extends $dara.Model {
    static names() {
        return {
            snapshot: 'Snapshot',
        };
    }
    static types() {
        return {
            snapshot: { 'type': 'array', 'itemType': DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshot },
        };
    }
    validate() {
        if (Array.isArray(this.snapshot)) {
            $dara.Model.validateArray(this.snapshot);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshots = DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshots;
class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTagsTag extends $dara.Model {
    static names() {
        return {
            key: 'Key',
            value: 'Value',
        };
    }
    static types() {
        return {
            key: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTagsTag = DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTagsTag;
class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTags = DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTags;
class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroup extends $dara.Model {
    static names() {
        return {
            creationTime: 'CreationTime',
            description: 'Description',
            instanceId: 'InstanceId',
            name: 'Name',
            progressStatus: 'ProgressStatus',
            resourceGroupId: 'ResourceGroupId',
            snapshotGroupId: 'SnapshotGroupId',
            snapshots: 'Snapshots',
            status: 'Status',
            tags: 'Tags',
        };
    }
    static types() {
        return {
            creationTime: 'string',
            description: 'string',
            instanceId: 'string',
            name: 'string',
            progressStatus: 'string',
            resourceGroupId: 'string',
            snapshotGroupId: 'string',
            snapshots: DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshots,
            status: 'string',
            tags: DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTags,
        };
    }
    validate() {
        if (this.snapshots && typeof this.snapshots.validate === 'function') {
            this.snapshots.validate();
        }
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroup = DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroup;
class DescribeSnapshotGroupsResponseBodySnapshotGroups extends $dara.Model {
    static names() {
        return {
            snapshotGroup: 'SnapshotGroup',
        };
    }
    static types() {
        return {
            snapshotGroup: { 'type': 'array', 'itemType': DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroup },
        };
    }
    validate() {
        if (Array.isArray(this.snapshotGroup)) {
            $dara.Model.validateArray(this.snapshotGroup);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSnapshotGroupsResponseBodySnapshotGroups = DescribeSnapshotGroupsResponseBodySnapshotGroups;
class DescribeSnapshotGroupsResponseBody extends $dara.Model {
    static names() {
        return {
            nextToken: 'NextToken',
            requestId: 'RequestId',
            snapshotGroups: 'SnapshotGroups',
        };
    }
    static types() {
        return {
            nextToken: 'string',
            requestId: 'string',
            snapshotGroups: DescribeSnapshotGroupsResponseBodySnapshotGroups,
        };
    }
    validate() {
        if (this.snapshotGroups && typeof this.snapshotGroups.validate === 'function') {
            this.snapshotGroups.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSnapshotGroupsResponseBody = DescribeSnapshotGroupsResponseBody;
//# sourceMappingURL=DescribeSnapshotGroupsResponseBody.js.map