"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.DescribeFlowLogsResponseBody = exports.DescribeFlowLogsResponseBodyFlowLogs = exports.DescribeFlowLogsResponseBodyFlowLogsFlowLog = exports.DescribeFlowLogsResponseBodyFlowLogsFlowLogTrafficPath = exports.DescribeFlowLogsResponseBodyFlowLogsFlowLogTags = exports.DescribeFlowLogsResponseBodyFlowLogsFlowLogTagsTag = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeFlowLogsResponseBodyFlowLogsFlowLogTagsTag 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.DescribeFlowLogsResponseBodyFlowLogsFlowLogTagsTag = DescribeFlowLogsResponseBodyFlowLogsFlowLogTagsTag;
class DescribeFlowLogsResponseBodyFlowLogsFlowLogTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeFlowLogsResponseBodyFlowLogsFlowLogTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeFlowLogsResponseBodyFlowLogsFlowLogTags = DescribeFlowLogsResponseBodyFlowLogsFlowLogTags;
class DescribeFlowLogsResponseBodyFlowLogsFlowLogTrafficPath extends $dara.Model {
    static names() {
        return {
            trafficPathList: 'TrafficPathList',
        };
    }
    static types() {
        return {
            trafficPathList: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.trafficPathList)) {
            $dara.Model.validateArray(this.trafficPathList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeFlowLogsResponseBodyFlowLogsFlowLogTrafficPath = DescribeFlowLogsResponseBodyFlowLogsFlowLogTrafficPath;
class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $dara.Model {
    static names() {
        return {
            aggregationInterval: 'AggregationInterval',
            businessStatus: 'BusinessStatus',
            creationTime: 'CreationTime',
            description: 'Description',
            flowLogDeliverErrorMessage: 'FlowLogDeliverErrorMessage',
            flowLogDeliverStatus: 'FlowLogDeliverStatus',
            flowLogId: 'FlowLogId',
            flowLogName: 'FlowLogName',
            ipVersion: 'IpVersion',
            logStoreName: 'LogStoreName',
            projectName: 'ProjectName',
            regionId: 'RegionId',
            resourceGroupId: 'ResourceGroupId',
            resourceId: 'ResourceId',
            resourceType: 'ResourceType',
            serviceType: 'ServiceType',
            status: 'Status',
            tags: 'Tags',
            trafficPath: 'TrafficPath',
            trafficType: 'TrafficType',
        };
    }
    static types() {
        return {
            aggregationInterval: 'number',
            businessStatus: 'string',
            creationTime: 'string',
            description: 'string',
            flowLogDeliverErrorMessage: 'string',
            flowLogDeliverStatus: 'string',
            flowLogId: 'string',
            flowLogName: 'string',
            ipVersion: 'string',
            logStoreName: 'string',
            projectName: 'string',
            regionId: 'string',
            resourceGroupId: 'string',
            resourceId: 'string',
            resourceType: 'string',
            serviceType: 'string',
            status: 'string',
            tags: DescribeFlowLogsResponseBodyFlowLogsFlowLogTags,
            trafficPath: DescribeFlowLogsResponseBodyFlowLogsFlowLogTrafficPath,
            trafficType: 'string',
        };
    }
    validate() {
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        if (this.trafficPath && typeof this.trafficPath.validate === 'function') {
            this.trafficPath.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeFlowLogsResponseBodyFlowLogsFlowLog = DescribeFlowLogsResponseBodyFlowLogsFlowLog;
class DescribeFlowLogsResponseBodyFlowLogs extends $dara.Model {
    static names() {
        return {
            flowLog: 'FlowLog',
        };
    }
    static types() {
        return {
            flowLog: { 'type': 'array', 'itemType': DescribeFlowLogsResponseBodyFlowLogsFlowLog },
        };
    }
    validate() {
        if (Array.isArray(this.flowLog)) {
            $dara.Model.validateArray(this.flowLog);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeFlowLogsResponseBodyFlowLogs = DescribeFlowLogsResponseBodyFlowLogs;
class DescribeFlowLogsResponseBody extends $dara.Model {
    static names() {
        return {
            flowLogs: 'FlowLogs',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            success: 'Success',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            flowLogs: DescribeFlowLogsResponseBodyFlowLogs,
            pageNumber: 'string',
            pageSize: 'string',
            requestId: 'string',
            success: 'string',
            totalCount: 'string',
        };
    }
    validate() {
        if (this.flowLogs && typeof this.flowLogs.validate === 'function') {
            this.flowLogs.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeFlowLogsResponseBody = DescribeFlowLogsResponseBody;
//# sourceMappingURL=DescribeFlowLogsResponseBody.js.map