@studyportals/sp-holonet-interface
Version:
Contains various types (DTOs) found in HoloNet's interface.
24 lines • 816 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class ReportDto {
constructor(parameters, activityBreakdown, geoBreakdown) {
this.__i_report__ = true;
this.parameters = parameters;
this.activityBreakdown = activityBreakdown;
this.geographicalBreakdown = geoBreakdown;
}
get serializationId() {
return 2;
}
toJSON() {
const obj = {};
obj.__i_report__ = this.__i_report__;
obj.serializationId = this.serializationId;
obj.parameters = this.parameters;
obj.activityBreakdown = this.activityBreakdown;
obj.geographicalBreakdown = this.geographicalBreakdown;
return obj;
}
}
exports.ReportDto = ReportDto;
//# sourceMappingURL=report-dto.class.js.map