"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.DescribeCommandsResponseBody = exports.DescribeCommandsResponseBodyCommands = exports.DescribeCommandsResponseBodyCommandsCommand = exports.DescribeCommandsResponseBodyCommandsCommandTags = exports.DescribeCommandsResponseBodyCommandsCommandTagsTag = exports.DescribeCommandsResponseBodyCommandsCommandParameterNames = exports.DescribeCommandsResponseBodyCommandsCommandParameterDefinitions = exports.DescribeCommandsResponseBodyCommandsCommandParameterDefinitionsParameterDefinition = exports.DescribeCommandsResponseBodyCommandsCommandParameterDefinitionsParameterDefinitionPossibleValues = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeCommandsResponseBodyCommandsCommandParameterDefinitionsParameterDefinitionPossibleValues extends $dara.Model {
    static names() {
        return {
            possibleValue: 'PossibleValue',
        };
    }
    static types() {
        return {
            possibleValue: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.possibleValue)) {
            $dara.Model.validateArray(this.possibleValue);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCommandsResponseBodyCommandsCommandParameterDefinitionsParameterDefinitionPossibleValues = DescribeCommandsResponseBodyCommandsCommandParameterDefinitionsParameterDefinitionPossibleValues;
class DescribeCommandsResponseBodyCommandsCommandParameterDefinitionsParameterDefinition extends $dara.Model {
    static names() {
        return {
            defaultValue: 'DefaultValue',
            description: 'Description',
            parameterName: 'ParameterName',
            patternRegex: 'PatternRegex',
            possibleValues: 'PossibleValues',
            required: 'Required',
        };
    }
    static types() {
        return {
            defaultValue: 'string',
            description: 'string',
            parameterName: 'string',
            patternRegex: 'string',
            possibleValues: DescribeCommandsResponseBodyCommandsCommandParameterDefinitionsParameterDefinitionPossibleValues,
            required: 'boolean',
        };
    }
    validate() {
        if (this.possibleValues && typeof this.possibleValues.validate === 'function') {
            this.possibleValues.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCommandsResponseBodyCommandsCommandParameterDefinitionsParameterDefinition = DescribeCommandsResponseBodyCommandsCommandParameterDefinitionsParameterDefinition;
class DescribeCommandsResponseBodyCommandsCommandParameterDefinitions extends $dara.Model {
    static names() {
        return {
            parameterDefinition: 'ParameterDefinition',
        };
    }
    static types() {
        return {
            parameterDefinition: { 'type': 'array', 'itemType': DescribeCommandsResponseBodyCommandsCommandParameterDefinitionsParameterDefinition },
        };
    }
    validate() {
        if (Array.isArray(this.parameterDefinition)) {
            $dara.Model.validateArray(this.parameterDefinition);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCommandsResponseBodyCommandsCommandParameterDefinitions = DescribeCommandsResponseBodyCommandsCommandParameterDefinitions;
class DescribeCommandsResponseBodyCommandsCommandParameterNames extends $dara.Model {
    static names() {
        return {
            parameterName: 'ParameterName',
        };
    }
    static types() {
        return {
            parameterName: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.parameterName)) {
            $dara.Model.validateArray(this.parameterName);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCommandsResponseBodyCommandsCommandParameterNames = DescribeCommandsResponseBodyCommandsCommandParameterNames;
class DescribeCommandsResponseBodyCommandsCommandTagsTag extends $dara.Model {
    static names() {
        return {
            tagKey: 'TagKey',
            tagValue: 'TagValue',
        };
    }
    static types() {
        return {
            tagKey: 'string',
            tagValue: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCommandsResponseBodyCommandsCommandTagsTag = DescribeCommandsResponseBodyCommandsCommandTagsTag;
class DescribeCommandsResponseBodyCommandsCommandTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeCommandsResponseBodyCommandsCommandTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCommandsResponseBodyCommandsCommandTags = DescribeCommandsResponseBodyCommandsCommandTags;
class DescribeCommandsResponseBodyCommandsCommand extends $dara.Model {
    static names() {
        return {
            category: 'Category',
            commandContent: 'CommandContent',
            commandId: 'CommandId',
            creationTime: 'CreationTime',
            description: 'Description',
            enableParameter: 'EnableParameter',
            invokeTimes: 'InvokeTimes',
            latest: 'Latest',
            launcher: 'Launcher',
            name: 'Name',
            parameterDefinitions: 'ParameterDefinitions',
            parameterNames: 'ParameterNames',
            provider: 'Provider',
            resourceGroupId: 'ResourceGroupId',
            tags: 'Tags',
            timeout: 'Timeout',
            type: 'Type',
            version: 'Version',
            workingDir: 'WorkingDir',
        };
    }
    static types() {
        return {
            category: 'string',
            commandContent: 'string',
            commandId: 'string',
            creationTime: 'string',
            description: 'string',
            enableParameter: 'boolean',
            invokeTimes: 'number',
            latest: 'boolean',
            launcher: 'string',
            name: 'string',
            parameterDefinitions: DescribeCommandsResponseBodyCommandsCommandParameterDefinitions,
            parameterNames: DescribeCommandsResponseBodyCommandsCommandParameterNames,
            provider: 'string',
            resourceGroupId: 'string',
            tags: DescribeCommandsResponseBodyCommandsCommandTags,
            timeout: 'number',
            type: 'string',
            version: 'number',
            workingDir: 'string',
        };
    }
    validate() {
        if (this.parameterDefinitions && typeof this.parameterDefinitions.validate === 'function') {
            this.parameterDefinitions.validate();
        }
        if (this.parameterNames && typeof this.parameterNames.validate === 'function') {
            this.parameterNames.validate();
        }
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCommandsResponseBodyCommandsCommand = DescribeCommandsResponseBodyCommandsCommand;
class DescribeCommandsResponseBodyCommands extends $dara.Model {
    static names() {
        return {
            command: 'Command',
        };
    }
    static types() {
        return {
            command: { 'type': 'array', 'itemType': DescribeCommandsResponseBodyCommandsCommand },
        };
    }
    validate() {
        if (Array.isArray(this.command)) {
            $dara.Model.validateArray(this.command);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCommandsResponseBodyCommands = DescribeCommandsResponseBodyCommands;
class DescribeCommandsResponseBody extends $dara.Model {
    static names() {
        return {
            commands: 'Commands',
            nextToken: 'NextToken',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            commands: DescribeCommandsResponseBodyCommands,
            nextToken: 'string',
            pageNumber: 'number',
            pageSize: 'number',
            requestId: 'string',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.commands && typeof this.commands.validate === 'function') {
            this.commands.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCommandsResponseBody = DescribeCommandsResponseBody;
//# sourceMappingURL=DescribeCommandsResponseBody.js.map