/** * The Dashboard model module. * @module Ntnx/Dashboard * @version 4.1.1-beta-1 * @class Dashboard * @extends ExternalizableAbstractModel * * @param { string } name Name of the dashboard. */ export default class Dashboard extends ExternalizableAbstractModel { /** * Constructs a new Dashboard. * @alias module:Ntnx/Dashboard * @extends module:Ntnx/ExternalizableAbstractModel * * @param { string } name Name of the dashboard. */ constructor(name: string); name: string; /** * Returns Name of the dashboard. * @return {string} */ getName(): string; /** * Sets Name of the dashboard. * @param {string} name Name of the dashboard. */ setName(name: string): void; /** * Returns Description of the dashboard. * @return {string} */ getDescription(): string; /** * Sets Description of the dashboard. * @param {string} description Description of the dashboard. */ setDescription(description: string): void; description: string; /** * Returns Indicates if the view is system defined or user defined. * @return {boolean} */ getIsSystemDefined(): boolean; /** * Sets Indicates if the view is system defined or user defined. * @param {boolean} isSystemDefined Indicates if the view is system defined or user defined. */ setIsSystemDefined(isSystemDefined: boolean): void; isSystemDefined: boolean; /** * @return {DashboardType} */ getType(): DashboardType; /** * @param {DashboardType} type */ setType(type: DashboardType): void; type: string; /** * @return {Layout} */ getLayout(): Layout; /** * @param {Layout} layout */ setLayout(layout: Layout): void; layout: Layout; /** * Returns List of global filters. * @return {GlobalFilter[]} */ getGlobalFilters(): GlobalFilter[]; /** * Sets List of global filters. * @param {GlobalFilter[]} globalFilters List of global filters. */ setGlobalFilters(globalFilters: GlobalFilter[]): void; globalFilters: string[]; /** * Returns List of widget relations in the dashboard. * @return {WidgetRelation[]} */ getWidgetRelations(): WidgetRelation[]; /** * Sets List of widget relations in the dashboard. * @param {WidgetRelation[]} widgetRelations List of widget relations in the dashboard. */ setWidgetRelations(widgetRelations: WidgetRelation[]): void; widgetRelations: WidgetRelation[]; /** * Returns Indicates if the dashboard is the home dashboard. * @return {boolean} */ getIsHomeDashboard(): boolean; /** * Sets Indicates if the dashboard is the home dashboard. * @param {boolean} isHomeDashboard Indicates if the dashboard is the home dashboard. */ setIsHomeDashboard(isHomeDashboard: boolean): void; isHomeDashboard: boolean; /** * Returns Name of the owner of the dashboard. * @return {string} */ getOwnerName(): string; /** * Sets Name of the owner of the dashboard. * @param {string} ownerName Name of the owner of the dashboard. */ setOwnerName(ownerName: string): void; ownerName: string; /** * Returns Timestamp when the dashboard was last updated. * @return {Date} */ getLastUpdatedTime(): Date; /** * Sets Timestamp when the dashboard was last updated. * @param {Date} lastUpdatedTime Timestamp when the dashboard was last updated. */ setLastUpdatedTime(lastUpdatedTime: Date): void; lastUpdatedTime: Date; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import DashboardType from "./DashboardType"; import Layout from "./Layout"; import GlobalFilter from "./GlobalFilter"; import WidgetRelation from "./WidgetRelation";