UNPKG

reveal-sdk-node

Version:

RevealBI Node.js SDK

44 lines (43 loc) 1.29 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RVAzureAnalysisServicesDataSource = void 0; const RVAnalysisServicesDataSource_1 = require("./RVAnalysisServicesDataSource"); /** * Microsoft Azure Analysis Services data source */ class RVAzureAnalysisServicesDataSource extends RVAnalysisServicesDataSource_1.RVAnalysisServicesDataSource { /** @hidden */ constructor(json) { super(json); this._serverUrl = null; if (json) { var props = json.Properties; this._serverUrl = props['Url']; } } /** @hidden */ toJson() { var json = super.toJson(); var props = json.Properties; props['Mode'] = 'HTTP'; props['Url'] = this._serverUrl; return json; } getProviderKey() { return "AZURE_ANALYSIS_SERVICES"; } /** * Server URL, including the 'asazure://' prefix (scheme). */ get serverUrl() { return this._serverUrl; } set serverUrl(value) { this._serverUrl = value; } /** @hidden */ getType() { return "RVAzureAnalysisServicesDataSource"; } } exports.RVAzureAnalysisServicesDataSource = RVAzureAnalysisServicesDataSource;