"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.DescribeInvocationResultsResponseBody = exports.DescribeInvocationResultsResponseBodyInvocation = exports.DescribeInvocationResultsResponseBodyInvocationInvocationResults = exports.DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResult = exports.DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResultTags = exports.DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResultTagsTag = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResultTagsTag 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.DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResultTagsTag = DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResultTagsTag;
class DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResultTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResultTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResultTags = DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResultTags;
class DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResult extends $dara.Model {
    static names() {
        return {
            commandId: 'CommandId',
            containerId: 'ContainerId',
            containerName: 'ContainerName',
            dropped: 'Dropped',
            errorCode: 'ErrorCode',
            errorInfo: 'ErrorInfo',
            exitCode: 'ExitCode',
            finishedTime: 'FinishedTime',
            instanceId: 'InstanceId',
            invocationStatus: 'InvocationStatus',
            invokeId: 'InvokeId',
            invokeRecordStatus: 'InvokeRecordStatus',
            launcher: 'Launcher',
            ossOutputDelivery: 'OssOutputDelivery',
            ossOutputErrorCode: 'OssOutputErrorCode',
            ossOutputErrorInfo: 'OssOutputErrorInfo',
            ossOutputStatus: 'OssOutputStatus',
            ossOutputUri: 'OssOutputUri',
            output: 'Output',
            repeats: 'Repeats',
            startTime: 'StartTime',
            stopTime: 'StopTime',
            tags: 'Tags',
            terminationMode: 'TerminationMode',
            username: 'Username',
        };
    }
    static types() {
        return {
            commandId: 'string',
            containerId: 'string',
            containerName: 'string',
            dropped: 'number',
            errorCode: 'string',
            errorInfo: 'string',
            exitCode: 'number',
            finishedTime: 'string',
            instanceId: 'string',
            invocationStatus: 'string',
            invokeId: 'string',
            invokeRecordStatus: 'string',
            launcher: 'string',
            ossOutputDelivery: 'string',
            ossOutputErrorCode: 'string',
            ossOutputErrorInfo: 'string',
            ossOutputStatus: 'string',
            ossOutputUri: 'string',
            output: 'string',
            repeats: 'number',
            startTime: 'string',
            stopTime: 'string',
            tags: DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResultTags,
            terminationMode: 'string',
            username: 'string',
        };
    }
    validate() {
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResult = DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResult;
class DescribeInvocationResultsResponseBodyInvocationInvocationResults extends $dara.Model {
    static names() {
        return {
            invocationResult: 'InvocationResult',
        };
    }
    static types() {
        return {
            invocationResult: { 'type': 'array', 'itemType': DescribeInvocationResultsResponseBodyInvocationInvocationResultsInvocationResult },
        };
    }
    validate() {
        if (Array.isArray(this.invocationResult)) {
            $dara.Model.validateArray(this.invocationResult);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInvocationResultsResponseBodyInvocationInvocationResults = DescribeInvocationResultsResponseBodyInvocationInvocationResults;
class DescribeInvocationResultsResponseBodyInvocation extends $dara.Model {
    static names() {
        return {
            invocationResults: 'InvocationResults',
            nextToken: 'NextToken',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            invocationResults: DescribeInvocationResultsResponseBodyInvocationInvocationResults,
            nextToken: 'string',
            pageNumber: 'number',
            pageSize: 'number',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.invocationResults && typeof this.invocationResults.validate === 'function') {
            this.invocationResults.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInvocationResultsResponseBodyInvocation = DescribeInvocationResultsResponseBodyInvocation;
class DescribeInvocationResultsResponseBody extends $dara.Model {
    static names() {
        return {
            invocation: 'Invocation',
            requestId: 'RequestId',
        };
    }
    static types() {
        return {
            invocation: DescribeInvocationResultsResponseBodyInvocation,
            requestId: 'string',
        };
    }
    validate() {
        if (this.invocation && typeof this.invocation.validate === 'function') {
            this.invocation.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInvocationResultsResponseBody = DescribeInvocationResultsResponseBody;
//# sourceMappingURL=DescribeInvocationResultsResponseBody.js.map