UNPKG

reveal-sdk-node

Version:

RevealBI Node.js SDK

43 lines (42 loc) 1.46 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RVGoogleSearchConsoleDataSourceItem = void 0; const RVDataSourceItem_1 = require("../AbstractClasses/RVDataSourceItem"); const RVGoogleSearchConsoleDataSource_1 = require("./RVGoogleSearchConsoleDataSource"); /** Google Search Console data source item. */ class RVGoogleSearchConsoleDataSourceItem extends RVDataSourceItem_1.RVDataSourceItem { /** @hidden */ constructor(arg) { super(arg); this._siteUrl = null; if (!(arg instanceof RVGoogleSearchConsoleDataSource_1.RVGoogleSearchConsoleDataSource)) { var props = arg.Properties; this._siteUrl = props["siteUrl"]; } } /** @hidden */ toJson() { var json = super.toJson(); var props = json['Properties']; props['siteUrl'] = this._siteUrl; return json; } /** The URL of the property as defined in Search Console */ get siteUrl() { return this._siteUrl; } set siteUrl(value) { this._siteUrl = value; } /** @hidden */ getType() { return "RVGoogleSearchConsoleDataSourceItem"; } /** @hidden */ _getWrapper() { var wrapper = super._getWrapper(); wrapper.siteUrl(this.siteUrl); return wrapper; } } exports.RVGoogleSearchConsoleDataSourceItem = RVGoogleSearchConsoleDataSourceItem;