/** * The ViewReport model module. * @module Ntnx/ViewReport * @version 4.1.1-beta-1 * @class ViewReport * @extends ExternalizableAbstractModel * * @param { string } name Name of the report generated. * * @param { View[] } views List of views used to generate a report. Number of views must be in the range of 1 to 50. */ export default class ViewReport extends ExternalizableAbstractModel { /** * Constructs a new ViewReport. * Generated report instance from given list of views. * @alias module:Ntnx/ViewReport * @extends module:Ntnx/ExternalizableAbstractModel * * @param { string } name Name of the report generated. * * @param { View[] } views List of views used to generate a report. Number of views must be in the range of 1 to 50. */ constructor(name: string, views: View[]); name: string; views: View[]; /** * Returns Name of the report generated. * @return {string} */ getName(): string; /** * Sets Name of the report generated. * @param {string} name Name of the report generated. */ setName(name: string): void; /** * Returns List of views used to generate a report. Number of views must be in the range of 1 to 50. * @return {View[]} */ getViews(): View[]; /** * Sets List of views used to generate a report. Number of views must be in the range of 1 to 50. * @param {View[]} views List of views used to generate a report. Number of views must be in the range of 1 to 50. */ setViews(views: View[]): void; /** * Returns List specifying the formats in which the report will be created. * @return {ReportFormat[]} */ getReportFormat(): ReportFormat[]; /** * Sets List specifying the formats in which the report will be created. * @param {ReportFormat[]} reportFormat List specifying the formats in which the report will be created. */ setReportFormat(reportFormat: ReportFormat[]): void; reportFormat: ReportFormat[]; /** * @return {NotificationPolicy} */ getNotificationPolicy(): NotificationPolicy; /** * @param {NotificationPolicy} notificationPolicy */ setNotificationPolicy(notificationPolicy: NotificationPolicy): void; notificationPolicy: any; /** * Returns The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html * @return {string} */ getStartTime(): string; /** * Sets The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html * @param {string} startTime The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html */ setStartTime(startTime: string): void; startTime: string; /** * Returns The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html * @return {string} */ getEndTime(): string; /** * Sets The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html * @param {string} endTime The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html */ setEndTime(endTime: string): void; endTime: string; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import View from "./View";