@nutanix-scratch/opsmgmt-js-client 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +202 -0
- package/README.md +211 -0
- package/dist/Ntnx-Opsmgmt-js-client-prod.js +1 -0
- package/dist/Ntnx-Opsmgmt-js-client.js +1388 -0
- package/dist/es/ApiClient.d.ts +166 -0
- package/dist/es/ApiClient.js +1271 -0
- package/dist/es/Paginable.d.ts +95 -0
- package/dist/es/Paginable.js +287 -0
- package/dist/es/apis/globalreportsetting-endpoints.d.ts +43 -0
- package/dist/es/apis/globalreportsetting-endpoints.js +155 -0
- package/dist/es/apis/reportartifacts-endpoints.d.ts +82 -0
- package/dist/es/apis/reportartifacts-endpoints.js +275 -0
- package/dist/es/apis/reportconfig-endpoints.d.ts +110 -0
- package/dist/es/apis/reportconfig-endpoints.js +306 -0
- package/dist/es/apis/reports-endpoints.d.ts +118 -0
- package/dist/es/apis/reports-endpoints.js +342 -0
- package/dist/es/index.d.ts +182 -0
- package/dist/es/index.js +724 -0
- package/dist/es/models/common/v1/config/Flag.d.ts +64 -0
- package/dist/es/models/common/v1/config/Flag.js +319 -0
- package/dist/es/models/common/v1/config/KVPair.d.ts +71 -0
- package/dist/es/models/common/v1/config/KVPair.js +378 -0
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +275 -0
- package/dist/es/models/common/v1/config/Message.d.ts +87 -0
- package/dist/es/models/common/v1/config/Message.js +386 -0
- package/dist/es/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/es/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +52 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.js +275 -0
- package/dist/es/models/common/v1/response/ApiLink.d.ts +64 -0
- package/dist/es/models/common/v1/response/ApiLink.js +312 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +133 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +482 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +48 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +310 -0
- package/dist/es/models/opsmgmt/v4/config/AggregateFunction.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/config/AggregateFunction.js +109 -0
- package/dist/es/models/opsmgmt/v4/config/CreateReportApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/config/CreateReportApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/config/CreateReportConfigApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/config/CreateReportConfigApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/config/DataCriteria.d.ts +117 -0
- package/dist/es/models/opsmgmt/v4/config/DataCriteria.js +484 -0
- package/dist/es/models/opsmgmt/v4/config/DeleteReportApiResponse.d.ts +98 -0
- package/dist/es/models/opsmgmt/v4/config/DeleteReportApiResponse.js +345 -0
- package/dist/es/models/opsmgmt/v4/config/DeleteReportConfigApiResponse.d.ts +98 -0
- package/dist/es/models/opsmgmt/v4/config/DeleteReportConfigApiResponse.js +345 -0
- package/dist/es/models/opsmgmt/v4/config/EntitySelection.d.ts +77 -0
- package/dist/es/models/opsmgmt/v4/config/EntitySelection.js +331 -0
- package/dist/es/models/opsmgmt/v4/config/EntityType.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/config/EntityType.js +169 -0
- package/dist/es/models/opsmgmt/v4/config/GetGlobalReportSettingApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/config/GetGlobalReportSettingApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/config/GetReportApiResponse.d.ts +102 -0
- package/dist/es/models/opsmgmt/v4/config/GetReportApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/config/GetReportConfigApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/config/GetReportConfigApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/config/GlobalReportSetting.d.ts +87 -0
- package/dist/es/models/opsmgmt/v4/config/GlobalReportSetting.js +392 -0
- package/dist/es/models/opsmgmt/v4/config/ListReportConfigsApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/config/ListReportConfigsApiResponse.js +365 -0
- package/dist/es/models/opsmgmt/v4/config/ListReportsApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/config/ListReportsApiResponse.js +365 -0
- package/dist/es/models/opsmgmt/v4/config/NotificationPolicy.d.ts +98 -0
- package/dist/es/models/opsmgmt/v4/config/NotificationPolicy.js +426 -0
- package/dist/es/models/opsmgmt/v4/config/NotifyReportApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/config/NotifyReportApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/config/Recipient.d.ts +74 -0
- package/dist/es/models/opsmgmt/v4/config/Recipient.js +323 -0
- package/dist/es/models/opsmgmt/v4/config/RepeatCriteria.d.ts +73 -0
- package/dist/es/models/opsmgmt/v4/config/RepeatCriteria.js +318 -0
- package/dist/es/models/opsmgmt/v4/config/Report.d.ts +220 -0
- package/dist/es/models/opsmgmt/v4/config/Report.js +843 -0
- package/dist/es/models/opsmgmt/v4/config/ReportConfig.d.ts +264 -0
- package/dist/es/models/opsmgmt/v4/config/ReportConfig.js +869 -0
- package/dist/es/models/opsmgmt/v4/config/ReportCustomization.d.ts +88 -0
- package/dist/es/models/opsmgmt/v4/config/ReportCustomization.js +391 -0
- package/dist/es/models/opsmgmt/v4/config/ReportFormat.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/config/ReportFormat.js +85 -0
- package/dist/es/models/opsmgmt/v4/config/ReportNotificationSpec.d.ts +63 -0
- package/dist/es/models/opsmgmt/v4/config/ReportNotificationSpec.js +347 -0
- package/dist/es/models/opsmgmt/v4/config/ReportSchedule.d.ts +105 -0
- package/dist/es/models/opsmgmt/v4/config/ReportSchedule.js +402 -0
- package/dist/es/models/opsmgmt/v4/config/RetentionConfig.d.ts +64 -0
- package/dist/es/models/opsmgmt/v4/config/RetentionConfig.js +312 -0
- package/dist/es/models/opsmgmt/v4/config/Row.d.ts +68 -0
- package/dist/es/models/opsmgmt/v4/config/Row.js +293 -0
- package/dist/es/models/opsmgmt/v4/config/ScheduleInterval.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/config/ScheduleInterval.js +103 -0
- package/dist/es/models/opsmgmt/v4/config/Section.d.ts +129 -0
- package/dist/es/models/opsmgmt/v4/config/Section.js +452 -0
- package/dist/es/models/opsmgmt/v4/config/SortKey.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/config/SortKey.js +103 -0
- package/dist/es/models/opsmgmt/v4/config/SortOrder.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/config/SortOrder.js +85 -0
- package/dist/es/models/opsmgmt/v4/config/TimeFilter.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/config/TimeFilter.js +85 -0
- package/dist/es/models/opsmgmt/v4/config/UpdateGlobalReportSettingsApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/config/UpdateGlobalReportSettingsApiResponse.js +365 -0
- package/dist/es/models/opsmgmt/v4/config/UpdateReportConfigApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/config/UpdateReportConfigApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/config/Widget.d.ts +64 -0
- package/dist/es/models/opsmgmt/v4/config/Widget.js +300 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetConfig.d.ts +193 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetConfig.js +598 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetField.d.ts +89 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetField.js +367 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetSize.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetSize.js +91 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetTemplate.d.ts +51 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetTemplate.js +274 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetTemplateType.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetTemplateType.js +223 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetType.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/config/WidgetType.js +127 -0
- package/dist/es/models/opsmgmt/v4/content/ArtifactFileType.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/content/ArtifactFileType.js +85 -0
- package/dist/es/models/opsmgmt/v4/content/ArtifactType.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/content/ArtifactType.js +79 -0
- package/dist/es/models/opsmgmt/v4/content/CreateReportArtifactApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/content/CreateReportArtifactApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/content/DownloadArtifactileApiResponse.d.ts +98 -0
- package/dist/es/models/opsmgmt/v4/content/DownloadArtifactileApiResponse.js +342 -0
- package/dist/es/models/opsmgmt/v4/content/DownloadReportApiResponse.d.ts +98 -0
- package/dist/es/models/opsmgmt/v4/content/DownloadReportApiResponse.js +342 -0
- package/dist/es/models/opsmgmt/v4/content/ListReportArtifactsApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/content/ListReportArtifactsApiResponse.js +365 -0
- package/dist/es/models/opsmgmt/v4/content/ReportArtifact.d.ts +61 -0
- package/dist/es/models/opsmgmt/v4/content/ReportArtifact.js +317 -0
- package/dist/es/models/opsmgmt/v4/content/UploadArtifactApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/content/UploadArtifactApiResponse.js +365 -0
- package/dist/es/models/opsmgmt/v4/error/AppMessage.d.ts +117 -0
- package/dist/es/models/opsmgmt/v4/error/AppMessage.js +464 -0
- package/dist/es/models/opsmgmt/v4/error/ErrorResponse.d.ts +52 -0
- package/dist/es/models/opsmgmt/v4/error/ErrorResponse.js +339 -0
- package/dist/es/models/opsmgmt/v4/error/SchemaValidationError.d.ts +108 -0
- package/dist/es/models/opsmgmt/v4/error/SchemaValidationError.js +440 -0
- package/dist/es/models/opsmgmt/v4/error/SchemaValidationErrorMessage.d.ts +76 -0
- package/dist/es/models/opsmgmt/v4/error/SchemaValidationErrorMessage.js +350 -0
- package/dist/es/models/opsmgmt/v4/reporting/CustomView.d.ts +182 -0
- package/dist/es/models/opsmgmt/v4/reporting/CustomView.js +661 -0
- package/dist/es/models/opsmgmt/v4/reporting/DeleteReportViewApiResponse.d.ts +98 -0
- package/dist/es/models/opsmgmt/v4/reporting/DeleteReportViewApiResponse.js +345 -0
- package/dist/es/models/opsmgmt/v4/reporting/ExportReportConfigApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/reporting/ExportReportConfigApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/reporting/Field.d.ts +85 -0
- package/dist/es/models/opsmgmt/v4/reporting/Field.js +362 -0
- package/dist/es/models/opsmgmt/v4/reporting/FileWrapper.d.ts +62 -0
- package/dist/es/models/opsmgmt/v4/reporting/FileWrapper.js +281 -0
- package/dist/es/models/opsmgmt/v4/reporting/GenerateReportFromViewApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/reporting/GenerateReportFromViewApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/reporting/ImportExportParams.d.ts +62 -0
- package/dist/es/models/opsmgmt/v4/reporting/ImportExportParams.js +286 -0
- package/dist/es/models/opsmgmt/v4/reporting/ImportReportConfigApiResponse.d.ts +102 -0
- package/dist/es/models/opsmgmt/v4/reporting/ImportReportConfigApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/reporting/NotificationPolicy.d.ts +86 -0
- package/dist/es/models/opsmgmt/v4/reporting/NotificationPolicy.js +378 -0
- package/dist/es/models/opsmgmt/v4/reporting/NotifyReportFromViewApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/reporting/NotifyReportFromViewApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/reporting/Operator.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/reporting/Operator.js +109 -0
- package/dist/es/models/opsmgmt/v4/reporting/PredefinedType.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/reporting/PredefinedType.js +199 -0
- package/dist/es/models/opsmgmt/v4/reporting/PredefinedView.d.ts +51 -0
- package/dist/es/models/opsmgmt/v4/reporting/PredefinedView.js +273 -0
- package/dist/es/models/opsmgmt/v4/reporting/Recipient.d.ts +74 -0
- package/dist/es/models/opsmgmt/v4/reporting/Recipient.js +323 -0
- package/dist/es/models/opsmgmt/v4/reporting/ReportCustomization.d.ts +88 -0
- package/dist/es/models/opsmgmt/v4/reporting/ReportCustomization.js +391 -0
- package/dist/es/models/opsmgmt/v4/reporting/ReportFormat.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/reporting/ReportFormat.js +85 -0
- package/dist/es/models/opsmgmt/v4/reporting/SortOrder.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/reporting/SortOrder.js +85 -0
- package/dist/es/models/opsmgmt/v4/reporting/View.d.ts +78 -0
- package/dist/es/models/opsmgmt/v4/reporting/View.js +389 -0
- package/dist/es/models/opsmgmt/v4/reporting/ViewApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/reporting/ViewApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/reporting/ViewConfigApiResponse.d.ts +99 -0
- package/dist/es/models/opsmgmt/v4/reporting/ViewConfigApiResponse.js +343 -0
- package/dist/es/models/opsmgmt/v4/reporting/ViewFormat.d.ts +19 -0
- package/dist/es/models/opsmgmt/v4/reporting/ViewFormat.js +109 -0
- package/dist/es/models/opsmgmt/v4/reporting/ViewReport.d.ts +127 -0
- package/dist/es/models/opsmgmt/v4/reporting/ViewReport.js +501 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +52 -0
- package/dist/es/models/prism/v4/config/TaskReference.js +285 -0
- package/dist/es/models/validation/ValidationError.d.ts +13 -0
- package/dist/es/models/validation/ValidationError.js +60 -0
- package/dist/es/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/es/models/validation/ValidationScopes.js +38 -0
- package/dist/es/utils/ValidationUtils.d.ts +13 -0
- package/dist/es/utils/ValidationUtils.js +85 -0
- package/dist/lib/ApiClient.d.ts +166 -0
- package/dist/lib/ApiClient.js +1271 -0
- package/dist/lib/Paginable.d.ts +95 -0
- package/dist/lib/Paginable.js +287 -0
- package/dist/lib/apis/globalreportsetting-endpoints.d.ts +43 -0
- package/dist/lib/apis/globalreportsetting-endpoints.js +155 -0
- package/dist/lib/apis/reportartifacts-endpoints.d.ts +82 -0
- package/dist/lib/apis/reportartifacts-endpoints.js +275 -0
- package/dist/lib/apis/reportconfig-endpoints.d.ts +110 -0
- package/dist/lib/apis/reportconfig-endpoints.js +306 -0
- package/dist/lib/apis/reports-endpoints.d.ts +118 -0
- package/dist/lib/apis/reports-endpoints.js +342 -0
- package/dist/lib/index.d.ts +182 -0
- package/dist/lib/index.js +724 -0
- package/dist/lib/models/common/v1/config/Flag.d.ts +64 -0
- package/dist/lib/models/common/v1/config/Flag.js +319 -0
- package/dist/lib/models/common/v1/config/KVPair.d.ts +71 -0
- package/dist/lib/models/common/v1/config/KVPair.js +378 -0
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +275 -0
- package/dist/lib/models/common/v1/config/Message.d.ts +87 -0
- package/dist/lib/models/common/v1/config/Message.js +386 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +52 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +275 -0
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +64 -0
- package/dist/lib/models/common/v1/response/ApiLink.js +312 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +133 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +482 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +48 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +310 -0
- package/dist/lib/models/opsmgmt/v4/config/AggregateFunction.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/config/AggregateFunction.js +109 -0
- package/dist/lib/models/opsmgmt/v4/config/CreateReportApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/config/CreateReportApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/config/CreateReportConfigApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/config/CreateReportConfigApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/config/DataCriteria.d.ts +117 -0
- package/dist/lib/models/opsmgmt/v4/config/DataCriteria.js +484 -0
- package/dist/lib/models/opsmgmt/v4/config/DeleteReportApiResponse.d.ts +98 -0
- package/dist/lib/models/opsmgmt/v4/config/DeleteReportApiResponse.js +345 -0
- package/dist/lib/models/opsmgmt/v4/config/DeleteReportConfigApiResponse.d.ts +98 -0
- package/dist/lib/models/opsmgmt/v4/config/DeleteReportConfigApiResponse.js +345 -0
- package/dist/lib/models/opsmgmt/v4/config/EntitySelection.d.ts +77 -0
- package/dist/lib/models/opsmgmt/v4/config/EntitySelection.js +331 -0
- package/dist/lib/models/opsmgmt/v4/config/EntityType.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/config/EntityType.js +169 -0
- package/dist/lib/models/opsmgmt/v4/config/GetGlobalReportSettingApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/config/GetGlobalReportSettingApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/config/GetReportApiResponse.d.ts +102 -0
- package/dist/lib/models/opsmgmt/v4/config/GetReportApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/config/GetReportConfigApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/config/GetReportConfigApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/config/GlobalReportSetting.d.ts +87 -0
- package/dist/lib/models/opsmgmt/v4/config/GlobalReportSetting.js +392 -0
- package/dist/lib/models/opsmgmt/v4/config/ListReportConfigsApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/config/ListReportConfigsApiResponse.js +365 -0
- package/dist/lib/models/opsmgmt/v4/config/ListReportsApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/config/ListReportsApiResponse.js +365 -0
- package/dist/lib/models/opsmgmt/v4/config/NotificationPolicy.d.ts +98 -0
- package/dist/lib/models/opsmgmt/v4/config/NotificationPolicy.js +426 -0
- package/dist/lib/models/opsmgmt/v4/config/NotifyReportApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/config/NotifyReportApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/config/Recipient.d.ts +74 -0
- package/dist/lib/models/opsmgmt/v4/config/Recipient.js +323 -0
- package/dist/lib/models/opsmgmt/v4/config/RepeatCriteria.d.ts +73 -0
- package/dist/lib/models/opsmgmt/v4/config/RepeatCriteria.js +318 -0
- package/dist/lib/models/opsmgmt/v4/config/Report.d.ts +220 -0
- package/dist/lib/models/opsmgmt/v4/config/Report.js +843 -0
- package/dist/lib/models/opsmgmt/v4/config/ReportConfig.d.ts +264 -0
- package/dist/lib/models/opsmgmt/v4/config/ReportConfig.js +869 -0
- package/dist/lib/models/opsmgmt/v4/config/ReportCustomization.d.ts +88 -0
- package/dist/lib/models/opsmgmt/v4/config/ReportCustomization.js +391 -0
- package/dist/lib/models/opsmgmt/v4/config/ReportFormat.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/config/ReportFormat.js +85 -0
- package/dist/lib/models/opsmgmt/v4/config/ReportNotificationSpec.d.ts +63 -0
- package/dist/lib/models/opsmgmt/v4/config/ReportNotificationSpec.js +347 -0
- package/dist/lib/models/opsmgmt/v4/config/ReportSchedule.d.ts +105 -0
- package/dist/lib/models/opsmgmt/v4/config/ReportSchedule.js +402 -0
- package/dist/lib/models/opsmgmt/v4/config/RetentionConfig.d.ts +64 -0
- package/dist/lib/models/opsmgmt/v4/config/RetentionConfig.js +312 -0
- package/dist/lib/models/opsmgmt/v4/config/Row.d.ts +68 -0
- package/dist/lib/models/opsmgmt/v4/config/Row.js +293 -0
- package/dist/lib/models/opsmgmt/v4/config/ScheduleInterval.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/config/ScheduleInterval.js +103 -0
- package/dist/lib/models/opsmgmt/v4/config/Section.d.ts +129 -0
- package/dist/lib/models/opsmgmt/v4/config/Section.js +452 -0
- package/dist/lib/models/opsmgmt/v4/config/SortKey.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/config/SortKey.js +103 -0
- package/dist/lib/models/opsmgmt/v4/config/SortOrder.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/config/SortOrder.js +85 -0
- package/dist/lib/models/opsmgmt/v4/config/TimeFilter.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/config/TimeFilter.js +85 -0
- package/dist/lib/models/opsmgmt/v4/config/UpdateGlobalReportSettingsApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/config/UpdateGlobalReportSettingsApiResponse.js +365 -0
- package/dist/lib/models/opsmgmt/v4/config/UpdateReportConfigApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/config/UpdateReportConfigApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/config/Widget.d.ts +64 -0
- package/dist/lib/models/opsmgmt/v4/config/Widget.js +300 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetConfig.d.ts +193 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetConfig.js +598 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetField.d.ts +89 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetField.js +367 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetSize.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetSize.js +91 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetTemplate.d.ts +51 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetTemplate.js +274 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetTemplateType.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetTemplateType.js +223 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetType.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/config/WidgetType.js +127 -0
- package/dist/lib/models/opsmgmt/v4/content/ArtifactFileType.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/content/ArtifactFileType.js +85 -0
- package/dist/lib/models/opsmgmt/v4/content/ArtifactType.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/content/ArtifactType.js +79 -0
- package/dist/lib/models/opsmgmt/v4/content/CreateReportArtifactApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/content/CreateReportArtifactApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/content/DownloadArtifactileApiResponse.d.ts +98 -0
- package/dist/lib/models/opsmgmt/v4/content/DownloadArtifactileApiResponse.js +342 -0
- package/dist/lib/models/opsmgmt/v4/content/DownloadReportApiResponse.d.ts +98 -0
- package/dist/lib/models/opsmgmt/v4/content/DownloadReportApiResponse.js +342 -0
- package/dist/lib/models/opsmgmt/v4/content/ListReportArtifactsApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/content/ListReportArtifactsApiResponse.js +365 -0
- package/dist/lib/models/opsmgmt/v4/content/ReportArtifact.d.ts +61 -0
- package/dist/lib/models/opsmgmt/v4/content/ReportArtifact.js +317 -0
- package/dist/lib/models/opsmgmt/v4/content/UploadArtifactApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/content/UploadArtifactApiResponse.js +365 -0
- package/dist/lib/models/opsmgmt/v4/error/AppMessage.d.ts +117 -0
- package/dist/lib/models/opsmgmt/v4/error/AppMessage.js +464 -0
- package/dist/lib/models/opsmgmt/v4/error/ErrorResponse.d.ts +52 -0
- package/dist/lib/models/opsmgmt/v4/error/ErrorResponse.js +339 -0
- package/dist/lib/models/opsmgmt/v4/error/SchemaValidationError.d.ts +108 -0
- package/dist/lib/models/opsmgmt/v4/error/SchemaValidationError.js +440 -0
- package/dist/lib/models/opsmgmt/v4/error/SchemaValidationErrorMessage.d.ts +76 -0
- package/dist/lib/models/opsmgmt/v4/error/SchemaValidationErrorMessage.js +350 -0
- package/dist/lib/models/opsmgmt/v4/reporting/CustomView.d.ts +182 -0
- package/dist/lib/models/opsmgmt/v4/reporting/CustomView.js +661 -0
- package/dist/lib/models/opsmgmt/v4/reporting/DeleteReportViewApiResponse.d.ts +98 -0
- package/dist/lib/models/opsmgmt/v4/reporting/DeleteReportViewApiResponse.js +345 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ExportReportConfigApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ExportReportConfigApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/reporting/Field.d.ts +85 -0
- package/dist/lib/models/opsmgmt/v4/reporting/Field.js +362 -0
- package/dist/lib/models/opsmgmt/v4/reporting/FileWrapper.d.ts +62 -0
- package/dist/lib/models/opsmgmt/v4/reporting/FileWrapper.js +281 -0
- package/dist/lib/models/opsmgmt/v4/reporting/GenerateReportFromViewApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/reporting/GenerateReportFromViewApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ImportExportParams.d.ts +62 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ImportExportParams.js +286 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ImportReportConfigApiResponse.d.ts +102 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ImportReportConfigApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/reporting/NotificationPolicy.d.ts +86 -0
- package/dist/lib/models/opsmgmt/v4/reporting/NotificationPolicy.js +378 -0
- package/dist/lib/models/opsmgmt/v4/reporting/NotifyReportFromViewApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/reporting/NotifyReportFromViewApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/reporting/Operator.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/reporting/Operator.js +109 -0
- package/dist/lib/models/opsmgmt/v4/reporting/PredefinedType.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/reporting/PredefinedType.js +199 -0
- package/dist/lib/models/opsmgmt/v4/reporting/PredefinedView.d.ts +51 -0
- package/dist/lib/models/opsmgmt/v4/reporting/PredefinedView.js +273 -0
- package/dist/lib/models/opsmgmt/v4/reporting/Recipient.d.ts +74 -0
- package/dist/lib/models/opsmgmt/v4/reporting/Recipient.js +323 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ReportCustomization.d.ts +88 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ReportCustomization.js +391 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ReportFormat.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ReportFormat.js +85 -0
- package/dist/lib/models/opsmgmt/v4/reporting/SortOrder.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/reporting/SortOrder.js +85 -0
- package/dist/lib/models/opsmgmt/v4/reporting/View.d.ts +78 -0
- package/dist/lib/models/opsmgmt/v4/reporting/View.js +389 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ViewApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ViewApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ViewConfigApiResponse.d.ts +99 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ViewConfigApiResponse.js +343 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ViewFormat.d.ts +19 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ViewFormat.js +109 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ViewReport.d.ts +127 -0
- package/dist/lib/models/opsmgmt/v4/reporting/ViewReport.js +501 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +52 -0
- package/dist/lib/models/prism/v4/config/TaskReference.js +285 -0
- package/dist/lib/models/validation/ValidationError.d.ts +13 -0
- package/dist/lib/models/validation/ValidationError.js +60 -0
- package/dist/lib/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/lib/models/validation/ValidationScopes.js +38 -0
- package/dist/lib/utils/ValidationUtils.d.ts +13 -0
- package/dist/lib/utils/ValidationUtils.js +85 -0
- package/package.json +53 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ReportCustomization model module.
|
|
3
|
+
* @module Ntnx/ReportCustomization
|
|
4
|
+
* @version 4.0.1
|
|
5
|
+
* @class ReportCustomization
|
|
6
|
+
*/
|
|
7
|
+
export default class ReportCustomization {
|
|
8
|
+
/**
|
|
9
|
+
* Constructs a <code>ReportCustomization</code> from a plain JavaScript object, optionally creating a new instance.
|
|
10
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
11
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
12
|
+
* @param {module:Ntnx/ReportCustomization} obj Optional instance to populate.
|
|
13
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
14
|
+
* @return {module:Ntnx/ReportCustomization} The populated <code>ReportCustomization</code> instance.
|
|
15
|
+
*/
|
|
16
|
+
static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any;
|
|
17
|
+
/**
|
|
18
|
+
* Converts a given snake_case string to camelCase.
|
|
19
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
20
|
+
* @returns {string} - The converted string in camelCase format.
|
|
21
|
+
*/
|
|
22
|
+
static snakeToCamel(snakeStr: string): string;
|
|
23
|
+
$objectType: string;
|
|
24
|
+
/** @type {object<string, any>} */
|
|
25
|
+
$reserved: object;
|
|
26
|
+
/** @type {object<string, any>} */
|
|
27
|
+
$unknownFields: object;
|
|
28
|
+
/**
|
|
29
|
+
* Returns Custom header HTML for the report.
|
|
30
|
+
* @return {string}
|
|
31
|
+
*/
|
|
32
|
+
getHeaderHtml(): string;
|
|
33
|
+
/**
|
|
34
|
+
* Sets Custom header HTML for the report.
|
|
35
|
+
* @param {string} headerHtml Custom header HTML for the report.
|
|
36
|
+
*/
|
|
37
|
+
setHeaderHtml(headerHtml: string): void;
|
|
38
|
+
headerHtml: string;
|
|
39
|
+
/**
|
|
40
|
+
* Returns Custom footer HTML for the report.
|
|
41
|
+
* @return {string}
|
|
42
|
+
*/
|
|
43
|
+
getFooterHtml(): string;
|
|
44
|
+
/**
|
|
45
|
+
* Sets Custom footer HTML for the report.
|
|
46
|
+
* @param {string} footerHtml Custom footer HTML for the report.
|
|
47
|
+
*/
|
|
48
|
+
setFooterHtml(footerHtml: string): void;
|
|
49
|
+
footerHtml: string;
|
|
50
|
+
/**
|
|
51
|
+
* Returns Global cascadable style for the report.
|
|
52
|
+
* @return {string}
|
|
53
|
+
*/
|
|
54
|
+
getCssStyleSheet(): string;
|
|
55
|
+
/**
|
|
56
|
+
* Sets Global cascadable style for the report.
|
|
57
|
+
* @param {string} cssStyleSheet Global cascadable style for the report.
|
|
58
|
+
*/
|
|
59
|
+
setCssStyleSheet(cssStyleSheet: string): void;
|
|
60
|
+
cssStyleSheet: string;
|
|
61
|
+
/**
|
|
62
|
+
* Returns Custom logo for the report as selected by the user. The logo extID can be fetched using report artifact list API.
|
|
63
|
+
* @return {string}
|
|
64
|
+
*/
|
|
65
|
+
getLogoImageExtId(): string;
|
|
66
|
+
/**
|
|
67
|
+
* Sets Custom logo for the report as selected by the user. The logo extID can be fetched using report artifact list API.
|
|
68
|
+
* @param {string} logoImageExtId Custom logo for the report as selected by the user. The logo extID can be fetched using report artifact list API.
|
|
69
|
+
*/
|
|
70
|
+
setLogoImageExtId(logoImageExtId: string): void;
|
|
71
|
+
logoImageExtId: string;
|
|
72
|
+
get$Reserved(): any;
|
|
73
|
+
get$ObjectType(): string;
|
|
74
|
+
get$UnknownFields(): any;
|
|
75
|
+
toJson(forMutation: any): {
|
|
76
|
+
$reserved: any;
|
|
77
|
+
$objectType: string;
|
|
78
|
+
$unknownFields: any;
|
|
79
|
+
logoImageExtId?: string;
|
|
80
|
+
cssStyleSheet?: string;
|
|
81
|
+
footerHtml?: string;
|
|
82
|
+
headerHtml?: string;
|
|
83
|
+
};
|
|
84
|
+
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
85
|
+
validateProperty(scope: any, property: any): ValidationError;
|
|
86
|
+
#private;
|
|
87
|
+
}
|
|
88
|
+
import ValidationError from "../../../validation/ValidationError";
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
8
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
13
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
15
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
16
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
17
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
18
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
21
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
22
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
23
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
24
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
25
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
27
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
28
|
+
* Nutanix Cloud Management Platform APIs
|
|
29
|
+
*
|
|
30
|
+
* OpenAPI spec version: 4.0.1
|
|
31
|
+
*
|
|
32
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
|
+
*
|
|
34
|
+
* Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
|
|
35
|
+
*
|
|
36
|
+
* Do not edit the class manually.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* The ReportCustomization model module.
|
|
41
|
+
* @module Ntnx/ReportCustomization
|
|
42
|
+
* @version 4.0.1
|
|
43
|
+
* @class ReportCustomization
|
|
44
|
+
*/
|
|
45
|
+
var _ReportCustomization_brand = /*#__PURE__*/new WeakSet();
|
|
46
|
+
var ReportCustomization = exports["default"] = /*#__PURE__*/function () {
|
|
47
|
+
/**
|
|
48
|
+
* Constructs a new <code>ReportCustomization</code>.
|
|
49
|
+
* Report-level customizations.
|
|
50
|
+
* @alias module:Ntnx/ReportCustomization
|
|
51
|
+
*/
|
|
52
|
+
function ReportCustomization() {
|
|
53
|
+
_classCallCheck(this, ReportCustomization);
|
|
54
|
+
/*
|
|
55
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
56
|
+
* @param {Object} obj
|
|
57
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
58
|
+
* Otherwise, just returns the input object.
|
|
59
|
+
*/
|
|
60
|
+
_classPrivateMethodInitSpec(this, _ReportCustomization_brand);
|
|
61
|
+
this.$objectType = "opsmgmt.v4.config.ReportCustomization";
|
|
62
|
+
/** @type {object<string, any>} */
|
|
63
|
+
this.$reserved = {
|
|
64
|
+
'$fv': "v4.r0"
|
|
65
|
+
};
|
|
66
|
+
/** @type {object<string, any>} */
|
|
67
|
+
this.$unknownFields = {};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Constructs a <code>ReportCustomization</code> from a plain JavaScript object, optionally creating a new instance.
|
|
72
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
73
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
74
|
+
* @param {module:Ntnx/ReportCustomization} obj Optional instance to populate.
|
|
75
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
76
|
+
* @return {module:Ntnx/ReportCustomization} The populated <code>ReportCustomization</code> instance.
|
|
77
|
+
*/
|
|
78
|
+
return _createClass(ReportCustomization, [{
|
|
79
|
+
key: "getHeaderHtml",
|
|
80
|
+
value:
|
|
81
|
+
/**
|
|
82
|
+
* Returns Custom header HTML for the report.
|
|
83
|
+
* @return {string}
|
|
84
|
+
*/
|
|
85
|
+
function getHeaderHtml() {
|
|
86
|
+
return this.headerHtml;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Sets Custom header HTML for the report.
|
|
91
|
+
* @param {string} headerHtml Custom header HTML for the report.
|
|
92
|
+
*/
|
|
93
|
+
}, {
|
|
94
|
+
key: "setHeaderHtml",
|
|
95
|
+
value: function setHeaderHtml(headerHtml) {
|
|
96
|
+
this.headerHtml = headerHtml;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Returns Custom footer HTML for the report.
|
|
101
|
+
* @return {string}
|
|
102
|
+
*/
|
|
103
|
+
}, {
|
|
104
|
+
key: "getFooterHtml",
|
|
105
|
+
value: function getFooterHtml() {
|
|
106
|
+
return this.footerHtml;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Sets Custom footer HTML for the report.
|
|
111
|
+
* @param {string} footerHtml Custom footer HTML for the report.
|
|
112
|
+
*/
|
|
113
|
+
}, {
|
|
114
|
+
key: "setFooterHtml",
|
|
115
|
+
value: function setFooterHtml(footerHtml) {
|
|
116
|
+
this.footerHtml = footerHtml;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Returns Global cascadable style for the report.
|
|
121
|
+
* @return {string}
|
|
122
|
+
*/
|
|
123
|
+
}, {
|
|
124
|
+
key: "getCssStyleSheet",
|
|
125
|
+
value: function getCssStyleSheet() {
|
|
126
|
+
return this.cssStyleSheet;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Sets Global cascadable style for the report.
|
|
131
|
+
* @param {string} cssStyleSheet Global cascadable style for the report.
|
|
132
|
+
*/
|
|
133
|
+
}, {
|
|
134
|
+
key: "setCssStyleSheet",
|
|
135
|
+
value: function setCssStyleSheet(cssStyleSheet) {
|
|
136
|
+
this.cssStyleSheet = cssStyleSheet;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Returns Custom logo for the report as selected by the user. The logo extID can be fetched using report artifact list API.
|
|
141
|
+
* @return {string}
|
|
142
|
+
*/
|
|
143
|
+
}, {
|
|
144
|
+
key: "getLogoImageExtId",
|
|
145
|
+
value: function getLogoImageExtId() {
|
|
146
|
+
return this.logoImageExtId;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Sets Custom logo for the report as selected by the user. The logo extID can be fetched using report artifact list API.
|
|
151
|
+
* @param {string} logoImageExtId Custom logo for the report as selected by the user. The logo extID can be fetched using report artifact list API.
|
|
152
|
+
*/
|
|
153
|
+
}, {
|
|
154
|
+
key: "setLogoImageExtId",
|
|
155
|
+
value: function setLogoImageExtId(logoImageExtId) {
|
|
156
|
+
this.logoImageExtId = logoImageExtId;
|
|
157
|
+
}
|
|
158
|
+
}, {
|
|
159
|
+
key: "get$Reserved",
|
|
160
|
+
value: function get$Reserved() {
|
|
161
|
+
return this.$reserved;
|
|
162
|
+
}
|
|
163
|
+
}, {
|
|
164
|
+
key: "get$ObjectType",
|
|
165
|
+
value: function get$ObjectType() {
|
|
166
|
+
return this.$objectType;
|
|
167
|
+
}
|
|
168
|
+
}, {
|
|
169
|
+
key: "get$UnknownFields",
|
|
170
|
+
value: function get$UnknownFields() {
|
|
171
|
+
return this.$unknownFields;
|
|
172
|
+
}
|
|
173
|
+
}, {
|
|
174
|
+
key: "toJson",
|
|
175
|
+
value: function toJson(forMutation) {
|
|
176
|
+
if (forMutation === false) {
|
|
177
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getHeaderHtml() !== 'undefined' && this.getHeaderHtml() !== null ? {
|
|
178
|
+
'headerHtml': this.getHeaderHtml()
|
|
179
|
+
} : {}), typeof this.getFooterHtml() !== 'undefined' && this.getFooterHtml() !== null ? {
|
|
180
|
+
'footerHtml': this.getFooterHtml()
|
|
181
|
+
} : {}), typeof this.getCssStyleSheet() !== 'undefined' && this.getCssStyleSheet() !== null ? {
|
|
182
|
+
'cssStyleSheet': this.getCssStyleSheet()
|
|
183
|
+
} : {}), typeof this.getLogoImageExtId() !== 'undefined' && this.getLogoImageExtId() !== null ? {
|
|
184
|
+
'logoImageExtId': this.getLogoImageExtId()
|
|
185
|
+
} : {}), {}, {
|
|
186
|
+
'$reserved': this.get$Reserved(),
|
|
187
|
+
'$objectType': this.get$ObjectType(),
|
|
188
|
+
'$unknownFields': this.get$UnknownFields()
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getHeaderHtml() !== 'undefined' && this.getHeaderHtml() !== null ? {
|
|
192
|
+
'headerHtml': this.getHeaderHtml()
|
|
193
|
+
} : {}), typeof this.getFooterHtml() !== 'undefined' && this.getFooterHtml() !== null ? {
|
|
194
|
+
'footerHtml': this.getFooterHtml()
|
|
195
|
+
} : {}), typeof this.getCssStyleSheet() !== 'undefined' && this.getCssStyleSheet() !== null ? {
|
|
196
|
+
'cssStyleSheet': this.getCssStyleSheet()
|
|
197
|
+
} : {}), typeof this.getLogoImageExtId() !== 'undefined' && this.getLogoImageExtId() !== null ? {
|
|
198
|
+
'logoImageExtId': this.getLogoImageExtId()
|
|
199
|
+
} : {}), {}, {
|
|
200
|
+
'$reserved': this.get$Reserved(),
|
|
201
|
+
'$objectType': this.get$ObjectType(),
|
|
202
|
+
'$unknownFields': this.get$UnknownFields()
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
}, {
|
|
206
|
+
key: "validate",
|
|
207
|
+
value: function validate(scope, properties) {
|
|
208
|
+
var _this = this;
|
|
209
|
+
var propList = [];
|
|
210
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
211
|
+
//cases validate() and validate(scope)
|
|
212
|
+
propList = [];
|
|
213
|
+
} else if (arguments.length === 1) {
|
|
214
|
+
//case validate(properties)
|
|
215
|
+
propList = arguments[0];
|
|
216
|
+
scope = null;
|
|
217
|
+
} else {
|
|
218
|
+
//case validate(scope, properties)
|
|
219
|
+
propList = arguments[1];
|
|
220
|
+
}
|
|
221
|
+
var res = [];
|
|
222
|
+
var err = null;
|
|
223
|
+
propList.forEach(function (property) {
|
|
224
|
+
err = _this.validateProperty(property, scope);
|
|
225
|
+
if (err) {
|
|
226
|
+
res.push(err);
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
return new Promise(function (resolve, reject) {
|
|
230
|
+
if (res.length !== 0) {
|
|
231
|
+
reject(err);
|
|
232
|
+
} else {
|
|
233
|
+
resolve();
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
}, {
|
|
238
|
+
key: "validateProperty",
|
|
239
|
+
value: function validateProperty(scope, property) {
|
|
240
|
+
if (property === "headerHtml") {
|
|
241
|
+
if (typeof this.headerHtml === 'undefined' || this.headerHtml === null) {
|
|
242
|
+
return new _ValidationError["default"]("headerHtml", "undefined or null");
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
if (property === "footerHtml") {
|
|
246
|
+
if (typeof this.footerHtml === 'undefined' || this.footerHtml === null) {
|
|
247
|
+
return new _ValidationError["default"]("footerHtml", "undefined or null");
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
if (property === "cssStyleSheet") {
|
|
251
|
+
if (typeof this.cssStyleSheet === 'undefined' || this.cssStyleSheet === null) {
|
|
252
|
+
return new _ValidationError["default"]("cssStyleSheet", "undefined or null");
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
if (property === "logoImageExtId") {
|
|
256
|
+
if (typeof this.logoImageExtId === 'undefined' || this.logoImageExtId === null) {
|
|
257
|
+
return new _ValidationError["default"]("logoImageExtId", "undefined or null");
|
|
258
|
+
}
|
|
259
|
+
if (!_ValidationUtils["default"].validatePattern(this.logoImageExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
260
|
+
return new _ValidationError["default"]("logoImageExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
if (property === "$reserved") {
|
|
264
|
+
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
265
|
+
return new _ValidationError["default"]("$reserved", "undefined or null");
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
if (property === "$objectType") {
|
|
269
|
+
if (typeof this.$objectType === 'undefined' || this.$objectType === null) {
|
|
270
|
+
return new _ValidationError["default"]("$objectType", "undefined or null");
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
if (property === "$unknownFields") {
|
|
274
|
+
if (typeof this.$unknownFields === 'undefined' || this.$unknownFields === null) {
|
|
275
|
+
return new _ValidationError["default"]("$unknownFields", "undefined or null");
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
279
|
+
}
|
|
280
|
+
}], [{
|
|
281
|
+
key: "constructFromObject",
|
|
282
|
+
value: function constructFromObject(data) {
|
|
283
|
+
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
284
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
285
|
+
var items, item, i, itemArr, discriminator;
|
|
286
|
+
if (data) {
|
|
287
|
+
obj = obj || new ReportCustomization();
|
|
288
|
+
if (data.hasOwnProperty('headerHtml') && data.headerHtml !== null && data.headerHtml !== undefined) {
|
|
289
|
+
obj.setHeaderHtml(data['headerHtml']);
|
|
290
|
+
}
|
|
291
|
+
if (data.hasOwnProperty('footerHtml') && data.footerHtml !== null && data.footerHtml !== undefined) {
|
|
292
|
+
obj.setFooterHtml(data['footerHtml']);
|
|
293
|
+
}
|
|
294
|
+
if (data.hasOwnProperty('cssStyleSheet') && data.cssStyleSheet !== null && data.cssStyleSheet !== undefined) {
|
|
295
|
+
obj.setCssStyleSheet(data['cssStyleSheet']);
|
|
296
|
+
}
|
|
297
|
+
if (data.hasOwnProperty('logoImageExtId') && data.logoImageExtId !== null && data.logoImageExtId !== undefined) {
|
|
298
|
+
obj.setLogoImageExtId(data['logoImageExtId']);
|
|
299
|
+
}
|
|
300
|
+
if (data.hasOwnProperty('$reserved')) {
|
|
301
|
+
obj.$reserved = data['$reserved'];
|
|
302
|
+
}
|
|
303
|
+
if (data.hasOwnProperty('$objectType')) {
|
|
304
|
+
obj.$objectType = data['$objectType'];
|
|
305
|
+
}
|
|
306
|
+
if (data.hasOwnProperty('$unknownFields')) {
|
|
307
|
+
obj.$unknownFields = data['$unknownFields'];
|
|
308
|
+
}
|
|
309
|
+
if (!callFromChild) {
|
|
310
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
311
|
+
for (var property in data) {
|
|
312
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
313
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
314
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
315
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
316
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
317
|
+
obj.$unknownFields[property] = data[property];
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
return obj;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Converts a given snake_case string to camelCase.
|
|
327
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
328
|
+
* @returns {string} - The converted string in camelCase format.
|
|
329
|
+
*/
|
|
330
|
+
}, {
|
|
331
|
+
key: "snakeToCamel",
|
|
332
|
+
value: function snakeToCamel(snakeStr) {
|
|
333
|
+
return snakeStr.replace(/(_\w)/g, function (match) {
|
|
334
|
+
return match[1].toUpperCase();
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
}]);
|
|
338
|
+
}();
|
|
339
|
+
/**
|
|
340
|
+
* Custom header HTML for the report.
|
|
341
|
+
* @memberof ReportCustomization
|
|
342
|
+
*/
|
|
343
|
+
function _toJsonMapType(obj, forMutation) {
|
|
344
|
+
if (obj instanceof Map) {
|
|
345
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
346
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
347
|
+
k = _ref2[0],
|
|
348
|
+
v = _ref2[1];
|
|
349
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
350
|
+
}));
|
|
351
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
352
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
353
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
354
|
+
}));
|
|
355
|
+
}
|
|
356
|
+
return obj;
|
|
357
|
+
}
|
|
358
|
+
/*
|
|
359
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
360
|
+
* @param {Object} obj Object to serialize
|
|
361
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
362
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
363
|
+
*/
|
|
364
|
+
function _handleDateType(obj, isDateOnly) {
|
|
365
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
366
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
367
|
+
}
|
|
368
|
+
return obj;
|
|
369
|
+
}
|
|
370
|
+
ReportCustomization.prototype.headerHtml = undefined;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Custom footer HTML for the report.
|
|
374
|
+
* @memberof ReportCustomization
|
|
375
|
+
*/
|
|
376
|
+
ReportCustomization.prototype.footerHtml = undefined;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Global cascadable style for the report.
|
|
380
|
+
* @memberof ReportCustomization
|
|
381
|
+
*/
|
|
382
|
+
ReportCustomization.prototype.cssStyleSheet = undefined;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Custom logo for the report as selected by the user. The logo extID can be fetched using report artifact list API.
|
|
386
|
+
* @memberof ReportCustomization
|
|
387
|
+
*/
|
|
388
|
+
ReportCustomization.prototype.logoImageExtId = undefined;
|
|
389
|
+
ReportCustomization.prototype.$reserved = undefined;
|
|
390
|
+
ReportCustomization.prototype.$objectType = undefined;
|
|
391
|
+
ReportCustomization.prototype.$unknownFields = undefined;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default ReportFormat;
|
|
2
|
+
/**
|
|
3
|
+
* *
|
|
4
|
+
*/
|
|
5
|
+
type ReportFormat = string;
|
|
6
|
+
declare namespace ReportFormat {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a <code>ReportFormat</code> enum value from a JavaScript object name.
|
|
9
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
10
|
+
* @return {ReportFormat} The enum <code>ReportFormat</code> value.
|
|
11
|
+
*/
|
|
12
|
+
function constructFromObject(obj: any): string;
|
|
13
|
+
/**
|
|
14
|
+
* Validates <code>ReportFormat</code> enum value.
|
|
15
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
16
|
+
* @return {null} Throws error for invalid value.
|
|
17
|
+
*/
|
|
18
|
+
function validate(obj: any): null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
8
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
/*
|
|
12
|
+
* Nutanix Cloud Management Platform APIs
|
|
13
|
+
*
|
|
14
|
+
* OpenAPI spec version: 4.0.1
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
|
+
*
|
|
18
|
+
* Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
|
|
19
|
+
*
|
|
20
|
+
* Do not edit the class manually.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Enum class ReportFormat.
|
|
26
|
+
* @enum {string}
|
|
27
|
+
* @readonly
|
|
28
|
+
*/
|
|
29
|
+
var ReportFormat = {
|
|
30
|
+
/**
|
|
31
|
+
* Unknown value.
|
|
32
|
+
* @const
|
|
33
|
+
*/
|
|
34
|
+
$UNKNOWN: "$UNKNOWN",
|
|
35
|
+
/**
|
|
36
|
+
* Redacted value.
|
|
37
|
+
* @const
|
|
38
|
+
*/
|
|
39
|
+
$REDACTED: "$REDACTED",
|
|
40
|
+
/**
|
|
41
|
+
* Report in PDF format.
|
|
42
|
+
* @const
|
|
43
|
+
*/
|
|
44
|
+
PDF: "PDF",
|
|
45
|
+
/**
|
|
46
|
+
* Report in CSV format.
|
|
47
|
+
* @const
|
|
48
|
+
*/
|
|
49
|
+
CSV: "CSV"
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Returns a <code>ReportFormat</code> enum value from a JavaScript object name.
|
|
54
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
55
|
+
* @return {ReportFormat} The enum <code>ReportFormat</code> value.
|
|
56
|
+
*/
|
|
57
|
+
ReportFormat.constructFromObject = function (obj) {
|
|
58
|
+
if (typeof obj === 'string' || obj instanceof String) {
|
|
59
|
+
var enumVal = Object.keys(ReportFormat).find(function (key) {
|
|
60
|
+
return ReportFormat[key] === obj;
|
|
61
|
+
});
|
|
62
|
+
return enumVal === undefined || enumVal === null ? ReportFormat.$UNKNOWN : ReportFormat[enumVal];
|
|
63
|
+
} else {
|
|
64
|
+
throw new Error("Received object name is not an instance of String");
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Validates <code>ReportFormat</code> enum value.
|
|
70
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
71
|
+
* @return {null} Throws error for invalid value.
|
|
72
|
+
*/
|
|
73
|
+
ReportFormat.validate = function (obj) {
|
|
74
|
+
switch (obj) {
|
|
75
|
+
case ReportFormat.$UNKNOWN:
|
|
76
|
+
case ReportFormat.$REDACTED:
|
|
77
|
+
case ReportFormat.PDF:
|
|
78
|
+
case ReportFormat.CSV:
|
|
79
|
+
return;
|
|
80
|
+
default:
|
|
81
|
+
throw new Error("Invalid : must be ReportFormat.{ $UNKNOWN|$REDACTED|PDF|CSV }");
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
Object.freeze(ReportFormat);
|
|
85
|
+
var _default = exports["default"] = ReportFormat;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ReportNotificationSpec model module.
|
|
3
|
+
* @module Ntnx/ReportNotificationSpec
|
|
4
|
+
* @version 4.0.1
|
|
5
|
+
* @class ReportNotificationSpec
|
|
6
|
+
* @extends ExternalizableAbstractModel
|
|
7
|
+
*
|
|
8
|
+
* @param { ReportFormat[] } recipientFormats List specifying the formats in which the report is to be sent.
|
|
9
|
+
*
|
|
10
|
+
* @param { Recipient[] } recipients Recipients to notify with the report.
|
|
11
|
+
*/
|
|
12
|
+
export default class ReportNotificationSpec extends ExternalizableAbstractModel {
|
|
13
|
+
/**
|
|
14
|
+
* Constructs a new <code>ReportNotificationSpec</code>.
|
|
15
|
+
* @alias module:Ntnx/ReportNotificationSpec
|
|
16
|
+
* @extends module:Ntnx/ExternalizableAbstractModel
|
|
17
|
+
*
|
|
18
|
+
* @param { ReportFormat[] } recipientFormats List specifying the formats in which the report is to be sent.
|
|
19
|
+
*
|
|
20
|
+
* @param { Recipient[] } recipients Recipients to notify with the report.
|
|
21
|
+
*/
|
|
22
|
+
constructor(recipientFormats: ReportFormat[], recipients: Recipient[]);
|
|
23
|
+
recipientFormats: ReportFormat[];
|
|
24
|
+
recipients: Recipient[];
|
|
25
|
+
/**
|
|
26
|
+
* Returns List specifying the formats in which the report is to be sent.
|
|
27
|
+
* @return {ReportFormat[]}
|
|
28
|
+
*/
|
|
29
|
+
getRecipientFormats(): ReportFormat[];
|
|
30
|
+
/**
|
|
31
|
+
* Sets List specifying the formats in which the report is to be sent.
|
|
32
|
+
* @param {ReportFormat[]} recipientFormats List specifying the formats in which the report is to be sent.
|
|
33
|
+
*/
|
|
34
|
+
setRecipientFormats(recipientFormats: ReportFormat[]): void;
|
|
35
|
+
/**
|
|
36
|
+
* Returns Recipients to notify with the report.
|
|
37
|
+
* @return {Recipient[]}
|
|
38
|
+
*/
|
|
39
|
+
getRecipients(): Recipient[];
|
|
40
|
+
/**
|
|
41
|
+
* Sets Recipients to notify with the report.
|
|
42
|
+
* @param {Recipient[]} recipients Recipients to notify with the report.
|
|
43
|
+
*/
|
|
44
|
+
setRecipients(recipients: Recipient[]): void;
|
|
45
|
+
toJson(forMutation: any): {
|
|
46
|
+
$reserved: any;
|
|
47
|
+
$objectType: string;
|
|
48
|
+
$unknownFields: any;
|
|
49
|
+
tenantId?: string;
|
|
50
|
+
links?: {
|
|
51
|
+
$reserved: any;
|
|
52
|
+
$objectType: string;
|
|
53
|
+
$unknownFields: any;
|
|
54
|
+
rel?: string;
|
|
55
|
+
href?: string;
|
|
56
|
+
}[];
|
|
57
|
+
extId?: string;
|
|
58
|
+
recipients?: any[];
|
|
59
|
+
recipientFormats?: ReportFormat[];
|
|
60
|
+
};
|
|
61
|
+
#private;
|
|
62
|
+
}
|
|
63
|
+
import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel";
|