import { __extends } from "tslib";
import { FindResponse, RetrieveResponse } from './address-lookup-response-mapper';
var LoqateFindResponse = /** @class */ (function (_super) {
    __extends(LoqateFindResponse, _super);
    function LoqateFindResponse() {
        return _super.call(this) || this;
    }
    LoqateFindResponse.prototype.mapTo = function (mapper) {
        return mapper.mapLoqate(this);
    };
    return LoqateFindResponse;
}(FindResponse));
export { LoqateFindResponse };
var LoqateFindResponseBuilder = /** @class */ (function () {
    function LoqateFindResponseBuilder() {
        this.specimen = new LoqateFindResponse();
    }
    LoqateFindResponseBuilder.prototype.setRequest = function (request) {
        this.specimen.request = request;
        return this;
    };
    LoqateFindResponseBuilder.prototype.setResult = function (result) {
        this.specimen.result = result;
        return this;
    };
    LoqateFindResponseBuilder.prototype.build = function () {
        return this.specimen;
    };
    return LoqateFindResponseBuilder;
}());
export { LoqateFindResponseBuilder };
var LoqateRetrieveResponse = /** @class */ (function (_super) {
    __extends(LoqateRetrieveResponse, _super);
    function LoqateRetrieveResponse() {
        return _super.call(this) || this;
    }
    LoqateRetrieveResponse.prototype.mapTo = function (mapper) {
        return mapper.mapLoqate(this);
    };
    return LoqateRetrieveResponse;
}(RetrieveResponse));
export { LoqateRetrieveResponse };
var LoqateRetrieveResponseBuilder = /** @class */ (function () {
    function LoqateRetrieveResponseBuilder() {
        this.specimen = new LoqateRetrieveResponse();
    }
    LoqateRetrieveResponseBuilder.prototype.setRequest = function (request) {
        this.specimen.request = request;
        return this;
    };
    LoqateRetrieveResponseBuilder.prototype.setResult = function (result) {
        this.specimen.result = result;
        return this;
    };
    LoqateRetrieveResponseBuilder.prototype.build = function () {
        return this.specimen;
    };
    return LoqateRetrieveResponseBuilder;
}());
export { LoqateRetrieveResponseBuilder };
//# sourceMappingURL=address-lookup-loqate.js.map