"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var model_1 = require("../model");
var MultiRequestBuilder = /** @class */ (function () {
    function MultiRequestBuilder() {
        this.requests = [];
    }
    MultiRequestBuilder.prototype.add = function (request, expectedCodeRet) {
        if (expectedCodeRet === void 0) { expectedCodeRet = model_1.MultiRequest.ExpectedResultCode.ANYTHING; }
        this.requests.push({
            expectedCodeRet: expectedCodeRet,
            request: request
        });
        return this;
    };
    return MultiRequestBuilder;
}());
exports.MultiRequestBuilder = MultiRequestBuilder;
