'use strict'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /** * Licensed Materials - Property of IBM * IBM Business Analytics (C) Copyright IBM Corp. 2019 * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /** * @class ContentServiceability * @hideconstructor * @classdesc API class that is used to control transactional operations across API calls */ define(['underscore', '../../../lib/@waca/dashboard-common/dist/core/APIFactory', './ContentServiceabilityAPI', './impl/ContentServiceabilityImpl'], function (_, APIFactory, ContentServiceabilityApi, ContentServiceabilityImpl) { var ContentServiceability = function () { function ContentServiceability(options) { _classCallCheck(this, ContentServiceability); this._api = APIFactory.createAPI(new ContentServiceabilityImpl(options), [ContentServiceabilityApi]); } ContentServiceability.prototype.getAPI = function getAPI() { return this._api; }; ContentServiceability.prototype.destroy = function destroy() { this._api = null; }; return ContentServiceability; }(); return ContentServiceability; }); //# sourceMappingURL=ContentServiceability.js.map