@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,501 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/config/TenantAwareModel"));
|
|
8
|
+
var _ApiLink = _interopRequireDefault(require("../../../common/v1/response/ApiLink"));
|
|
9
|
+
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
10
|
+
var _NotificationPolicy = _interopRequireDefault(require("./NotificationPolicy"));
|
|
11
|
+
var _ReportFormat = _interopRequireDefault(require("./ReportFormat"));
|
|
12
|
+
var _View = _interopRequireDefault(require("./View"));
|
|
13
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
14
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
15
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
17
|
+
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); }
|
|
18
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
19
|
+
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."); }
|
|
20
|
+
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; } }
|
|
21
|
+
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; }
|
|
22
|
+
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; } }
|
|
23
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
24
|
+
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; }
|
|
25
|
+
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; }
|
|
26
|
+
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; }
|
|
27
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
28
|
+
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); } }
|
|
29
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
30
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
31
|
+
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); }
|
|
32
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
33
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
34
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
35
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
36
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
37
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
38
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
39
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
40
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
41
|
+
* Nutanix Cloud Management Platform APIs
|
|
42
|
+
*
|
|
43
|
+
* OpenAPI spec version: 4.0.1
|
|
44
|
+
*
|
|
45
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
|
+
*
|
|
47
|
+
* Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
|
|
48
|
+
*
|
|
49
|
+
* Do not edit the class manually.
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* The ViewReport model module.
|
|
54
|
+
* @module Ntnx/ViewReport
|
|
55
|
+
* @version 4.0.1
|
|
56
|
+
* @class ViewReport
|
|
57
|
+
* @extends ExternalizableAbstractModel
|
|
58
|
+
*
|
|
59
|
+
* @param { string } name Name of the report generated.
|
|
60
|
+
*
|
|
61
|
+
* @param { View[] } views List of views used to generate a report. Number of views must be in the range of 1 to 50.
|
|
62
|
+
*/
|
|
63
|
+
var _ViewReport_brand = /*#__PURE__*/new WeakSet();
|
|
64
|
+
var ViewReport = exports["default"] = /*#__PURE__*/function (_ExternalizableAbstra) {
|
|
65
|
+
/**
|
|
66
|
+
* Constructs a new <code>ViewReport</code>.
|
|
67
|
+
* Generated report instance from given list of views.
|
|
68
|
+
* @alias module:Ntnx/ViewReport
|
|
69
|
+
* @extends module:Ntnx/ExternalizableAbstractModel
|
|
70
|
+
*
|
|
71
|
+
* @param { string } name Name of the report generated.
|
|
72
|
+
*
|
|
73
|
+
* @param { View[] } views List of views used to generate a report. Number of views must be in the range of 1 to 50.
|
|
74
|
+
*/
|
|
75
|
+
function ViewReport(name, views) {
|
|
76
|
+
var _this;
|
|
77
|
+
_classCallCheck(this, ViewReport);
|
|
78
|
+
_this = _callSuper(this, ViewReport);
|
|
79
|
+
/*
|
|
80
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
81
|
+
* @param {Object} obj
|
|
82
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
83
|
+
* Otherwise, just returns the input object.
|
|
84
|
+
*/
|
|
85
|
+
_classPrivateMethodInitSpec(_this, _ViewReport_brand);
|
|
86
|
+
_this.name = name;
|
|
87
|
+
_this.views = views;
|
|
88
|
+
_this.$objectType = "opsmgmt.v4.reporting.ViewReport";
|
|
89
|
+
/** @type {object<string, any>} */
|
|
90
|
+
_this.$reserved = {
|
|
91
|
+
'$fv': "v4.r0"
|
|
92
|
+
};
|
|
93
|
+
/** @type {object<string, any>} */
|
|
94
|
+
_this.$unknownFields = {};
|
|
95
|
+
return _this;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Constructs a <code>ViewReport</code> from a plain JavaScript object, optionally creating a new instance.
|
|
100
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
101
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
102
|
+
* @param {module:Ntnx/ViewReport} obj Optional instance to populate.
|
|
103
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
104
|
+
* @return {module:Ntnx/ViewReport} The populated <code>ViewReport</code> instance.
|
|
105
|
+
*/
|
|
106
|
+
_inherits(ViewReport, _ExternalizableAbstra);
|
|
107
|
+
return _createClass(ViewReport, [{
|
|
108
|
+
key: "getName",
|
|
109
|
+
value:
|
|
110
|
+
/**
|
|
111
|
+
* Returns Name of the report generated.
|
|
112
|
+
* @return {string}
|
|
113
|
+
*/
|
|
114
|
+
function getName() {
|
|
115
|
+
return this.name;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Sets Name of the report generated.
|
|
120
|
+
* @param {string} name Name of the report generated.
|
|
121
|
+
*/
|
|
122
|
+
}, {
|
|
123
|
+
key: "setName",
|
|
124
|
+
value: function setName(name) {
|
|
125
|
+
this.name = name;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Returns List of views used to generate a report. Number of views must be in the range of 1 to 50.
|
|
130
|
+
* @return {View[]}
|
|
131
|
+
*/
|
|
132
|
+
}, {
|
|
133
|
+
key: "getViews",
|
|
134
|
+
value: function getViews() {
|
|
135
|
+
return this.views;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Sets List of views used to generate a report. Number of views must be in the range of 1 to 50.
|
|
140
|
+
* @param {View[]} views List of views used to generate a report. Number of views must be in the range of 1 to 50.
|
|
141
|
+
*/
|
|
142
|
+
}, {
|
|
143
|
+
key: "setViews",
|
|
144
|
+
value: function setViews(views) {
|
|
145
|
+
this.views = views;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Returns List specifying the formats in which the report will be created.
|
|
150
|
+
* @return {ReportFormat[]}
|
|
151
|
+
*/
|
|
152
|
+
}, {
|
|
153
|
+
key: "getReportFormat",
|
|
154
|
+
value: function getReportFormat() {
|
|
155
|
+
return this.reportFormat;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Sets List specifying the formats in which the report will be created.
|
|
160
|
+
* @param {ReportFormat[]} reportFormat List specifying the formats in which the report will be created.
|
|
161
|
+
*/
|
|
162
|
+
}, {
|
|
163
|
+
key: "setReportFormat",
|
|
164
|
+
value: function setReportFormat(reportFormat) {
|
|
165
|
+
this.reportFormat = reportFormat;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @return {NotificationPolicy}
|
|
170
|
+
*/
|
|
171
|
+
}, {
|
|
172
|
+
key: "getNotificationPolicy",
|
|
173
|
+
value: function getNotificationPolicy() {
|
|
174
|
+
return this.notificationPolicy;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @param {NotificationPolicy} notificationPolicy
|
|
179
|
+
*/
|
|
180
|
+
}, {
|
|
181
|
+
key: "setNotificationPolicy",
|
|
182
|
+
value: function setNotificationPolicy(notificationPolicy) {
|
|
183
|
+
this.notificationPolicy = notificationPolicy;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* 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
|
|
188
|
+
* @return {string}
|
|
189
|
+
*/
|
|
190
|
+
}, {
|
|
191
|
+
key: "getStartTime",
|
|
192
|
+
value: function getStartTime() {
|
|
193
|
+
return this.startTime;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* 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
|
|
198
|
+
* @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
|
|
199
|
+
*/
|
|
200
|
+
}, {
|
|
201
|
+
key: "setStartTime",
|
|
202
|
+
value: function setStartTime(startTime) {
|
|
203
|
+
this.startTime = startTime;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* 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
|
|
208
|
+
* @return {string}
|
|
209
|
+
*/
|
|
210
|
+
}, {
|
|
211
|
+
key: "getEndTime",
|
|
212
|
+
value: function getEndTime() {
|
|
213
|
+
return this.endTime;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* 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
|
|
218
|
+
* @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
|
|
219
|
+
*/
|
|
220
|
+
}, {
|
|
221
|
+
key: "setEndTime",
|
|
222
|
+
value: function setEndTime(endTime) {
|
|
223
|
+
this.endTime = endTime;
|
|
224
|
+
}
|
|
225
|
+
}, {
|
|
226
|
+
key: "toJson",
|
|
227
|
+
value: function toJson(forMutation) {
|
|
228
|
+
if (forMutation === false) {
|
|
229
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
230
|
+
'name': this.getName()
|
|
231
|
+
} : {}), typeof this.getViews() !== 'undefined' && this.getViews() !== null ? {
|
|
232
|
+
'views': this.getViews().map(function (item) {
|
|
233
|
+
return item.toJson(false);
|
|
234
|
+
})
|
|
235
|
+
} : {}), typeof this.getReportFormat() !== 'undefined' && this.getReportFormat() !== null ? {
|
|
236
|
+
'reportFormat': this.getReportFormat()
|
|
237
|
+
} : {}), typeof this.getNotificationPolicy() !== 'undefined' && this.getNotificationPolicy() !== null ? {
|
|
238
|
+
'notificationPolicy': this.getNotificationPolicy().toJson(false)
|
|
239
|
+
} : {}), typeof this.getStartTime() !== 'undefined' && this.getStartTime() !== null ? {
|
|
240
|
+
'startTime': this.getStartTime()
|
|
241
|
+
} : {}), typeof this.getEndTime() !== 'undefined' && this.getEndTime() !== null ? {
|
|
242
|
+
'endTime': this.getEndTime()
|
|
243
|
+
} : {}), typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
244
|
+
'extId': this.getExtId()
|
|
245
|
+
} : {}), typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
246
|
+
'links': this.getLinks().map(function (item) {
|
|
247
|
+
return item.toJson(false);
|
|
248
|
+
})
|
|
249
|
+
} : {}), typeof this.getTenantId() !== 'undefined' && this.getTenantId() !== null ? {
|
|
250
|
+
'tenantId': this.getTenantId()
|
|
251
|
+
} : {}), {}, {
|
|
252
|
+
'$reserved': this.get$Reserved(),
|
|
253
|
+
'$objectType': this.get$ObjectType(),
|
|
254
|
+
'$unknownFields': this.get$UnknownFields()
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
258
|
+
'name': this.getName()
|
|
259
|
+
} : {}), typeof this.getViews() !== 'undefined' && this.getViews() !== null ? {
|
|
260
|
+
'views': this.getViews().map(function (item) {
|
|
261
|
+
return item.toJson(false);
|
|
262
|
+
})
|
|
263
|
+
} : {}), typeof this.getReportFormat() !== 'undefined' && this.getReportFormat() !== null ? {
|
|
264
|
+
'reportFormat': this.getReportFormat()
|
|
265
|
+
} : {}), typeof this.getNotificationPolicy() !== 'undefined' && this.getNotificationPolicy() !== null ? {
|
|
266
|
+
'notificationPolicy': this.getNotificationPolicy().toJson(false)
|
|
267
|
+
} : {}), typeof this.getStartTime() !== 'undefined' && this.getStartTime() !== null ? {
|
|
268
|
+
'startTime': this.getStartTime()
|
|
269
|
+
} : {}), typeof this.getEndTime() !== 'undefined' && this.getEndTime() !== null ? {
|
|
270
|
+
'endTime': this.getEndTime()
|
|
271
|
+
} : {}), {}, {
|
|
272
|
+
'$reserved': this.get$Reserved(),
|
|
273
|
+
'$objectType': this.get$ObjectType(),
|
|
274
|
+
'$unknownFields': this.get$UnknownFields()
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
}, {
|
|
278
|
+
key: "validate",
|
|
279
|
+
value: function validate(scope, properties) {
|
|
280
|
+
var _this2 = this;
|
|
281
|
+
var propList = [];
|
|
282
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
283
|
+
//cases validate() and validate(scope)
|
|
284
|
+
propList = ["name", "views"];
|
|
285
|
+
} else if (arguments.length === 1) {
|
|
286
|
+
//case validate(properties)
|
|
287
|
+
propList = arguments[0];
|
|
288
|
+
scope = null;
|
|
289
|
+
} else {
|
|
290
|
+
//case validate(scope, properties)
|
|
291
|
+
propList = arguments[1];
|
|
292
|
+
}
|
|
293
|
+
var res = [];
|
|
294
|
+
var err = null;
|
|
295
|
+
propList.forEach(function (property) {
|
|
296
|
+
err = _this2.validateProperty(property, scope);
|
|
297
|
+
if (err) {
|
|
298
|
+
res.push(err);
|
|
299
|
+
}
|
|
300
|
+
});
|
|
301
|
+
return new Promise(function (resolve, reject) {
|
|
302
|
+
if (res.length !== 0) {
|
|
303
|
+
reject(err);
|
|
304
|
+
} else {
|
|
305
|
+
resolve();
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
}, {
|
|
310
|
+
key: "validateProperty",
|
|
311
|
+
value: function validateProperty(scope, property) {
|
|
312
|
+
if (property === "name") {
|
|
313
|
+
if (typeof this.name === 'undefined' || this.name === null) {
|
|
314
|
+
return new _ValidationError["default"]("name", "undefined or null");
|
|
315
|
+
}
|
|
316
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.name, 100)) {
|
|
317
|
+
return new _ValidationError["default"]("name", "does not satisfy required maxLength constraint: 100");
|
|
318
|
+
}
|
|
319
|
+
if (!_ValidationUtils["default"].validateMinLength(this.name, 1)) {
|
|
320
|
+
return new _ValidationError["default"]("name", "does not satisfy required minLength constraint: 1");
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
if (property === "views") {
|
|
324
|
+
if (typeof this.views === 'undefined' || this.views === null) {
|
|
325
|
+
return new _ValidationError["default"]("views", "undefined or null");
|
|
326
|
+
}
|
|
327
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.views, 50)) {
|
|
328
|
+
return new _ValidationError["default"]("views", "does not satisfy required maxItems constraint: 50");
|
|
329
|
+
}
|
|
330
|
+
if (!_ValidationUtils["default"].validateMinItems(this.views, 1)) {
|
|
331
|
+
return new _ValidationError["default"]("views", "does not satisfy required minItems constraint: 1");
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
if (property === "reportFormat") {
|
|
335
|
+
if (typeof this.reportFormat === 'undefined' || this.reportFormat === null) {
|
|
336
|
+
return new _ValidationError["default"]("reportFormat", "undefined or null");
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
if (property === "notificationPolicy") {
|
|
340
|
+
if (typeof this.notificationPolicy === 'undefined' || this.notificationPolicy === null) {
|
|
341
|
+
return new _ValidationError["default"]("notificationPolicy", "undefined or null");
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
if (property === "startTime") {
|
|
345
|
+
if (typeof this.startTime === 'undefined' || this.startTime === null) {
|
|
346
|
+
return new _ValidationError["default"]("startTime", "undefined or null");
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
if (property === "endTime") {
|
|
350
|
+
if (typeof this.endTime === 'undefined' || this.endTime === null) {
|
|
351
|
+
return new _ValidationError["default"]("endTime", "undefined or null");
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
355
|
+
}
|
|
356
|
+
}], [{
|
|
357
|
+
key: "constructFromObject",
|
|
358
|
+
value: function constructFromObject(data) {
|
|
359
|
+
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
360
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
361
|
+
var items, item, i, itemArr, discriminator;
|
|
362
|
+
if (data) {
|
|
363
|
+
obj = obj || new ViewReport();
|
|
364
|
+
_ExternalizableAbstractModel["default"].constructFromObject(data, obj, true);
|
|
365
|
+
if (data.hasOwnProperty('name') && data.name !== null && data.name !== undefined) {
|
|
366
|
+
obj.setName(data['name']);
|
|
367
|
+
}
|
|
368
|
+
if (data.hasOwnProperty('views') && data.views !== null && data.views !== undefined) {
|
|
369
|
+
itemArr = [];
|
|
370
|
+
items = data.views;
|
|
371
|
+
for (i = 0; i < items.length; i++) {
|
|
372
|
+
item = _View["default"].constructFromObject(items[i], undefined);
|
|
373
|
+
itemArr.push(item);
|
|
374
|
+
}
|
|
375
|
+
obj.setViews(itemArr);
|
|
376
|
+
}
|
|
377
|
+
if (data.hasOwnProperty('reportFormat') && data.reportFormat !== null && data.reportFormat !== undefined) {
|
|
378
|
+
itemArr = [];
|
|
379
|
+
items = data.reportFormat;
|
|
380
|
+
for (i = 0; i < items.length; i++) {
|
|
381
|
+
item = _ReportFormat["default"].constructFromObject(items[i], undefined);
|
|
382
|
+
itemArr.push(item);
|
|
383
|
+
}
|
|
384
|
+
obj.setReportFormat(itemArr);
|
|
385
|
+
}
|
|
386
|
+
if (data.hasOwnProperty('notificationPolicy') && data.notificationPolicy !== null && data.notificationPolicy !== undefined) {
|
|
387
|
+
obj.setNotificationPolicy(_NotificationPolicy["default"].constructFromObject(data['notificationPolicy']));
|
|
388
|
+
}
|
|
389
|
+
if (data.hasOwnProperty('startTime') && data.startTime !== null && data.startTime !== undefined) {
|
|
390
|
+
obj.setStartTime(data['startTime']);
|
|
391
|
+
}
|
|
392
|
+
if (data.hasOwnProperty('endTime') && data.endTime !== null && data.endTime !== undefined) {
|
|
393
|
+
obj.setEndTime(data['endTime']);
|
|
394
|
+
}
|
|
395
|
+
if (!callFromChild) {
|
|
396
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
397
|
+
for (var property in data) {
|
|
398
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
399
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
400
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
401
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
402
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
403
|
+
obj.$unknownFields[property] = data[property];
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
return obj;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Converts a given snake_case string to camelCase.
|
|
413
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
414
|
+
* @returns {string} - The converted string in camelCase format.
|
|
415
|
+
*/
|
|
416
|
+
}, {
|
|
417
|
+
key: "snakeToCamel",
|
|
418
|
+
value: function snakeToCamel(snakeStr) {
|
|
419
|
+
return snakeStr.replace(/(_\w)/g, function (match) {
|
|
420
|
+
return match[1].toUpperCase();
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
}]);
|
|
424
|
+
}(_ExternalizableAbstractModel["default"]);
|
|
425
|
+
/**
|
|
426
|
+
* Name of the report generated.
|
|
427
|
+
* @memberof ViewReport
|
|
428
|
+
*/
|
|
429
|
+
function _toJsonMapType(obj, forMutation) {
|
|
430
|
+
if (obj instanceof Map) {
|
|
431
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
432
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
433
|
+
k = _ref2[0],
|
|
434
|
+
v = _ref2[1];
|
|
435
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
436
|
+
}));
|
|
437
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
438
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
439
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
440
|
+
}));
|
|
441
|
+
}
|
|
442
|
+
return obj;
|
|
443
|
+
}
|
|
444
|
+
/*
|
|
445
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
446
|
+
* @param {Object} obj Object to serialize
|
|
447
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
448
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
449
|
+
*/
|
|
450
|
+
function _handleDateType(obj, isDateOnly) {
|
|
451
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
452
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
453
|
+
}
|
|
454
|
+
return obj;
|
|
455
|
+
}
|
|
456
|
+
ViewReport.prototype.name = undefined;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* List of views used to generate a report. Number of views must be in the range of 1 to 50.
|
|
460
|
+
* @memberof ViewReport
|
|
461
|
+
*/
|
|
462
|
+
ViewReport.prototype.views = undefined;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* List specifying the formats in which the report will be created.
|
|
466
|
+
* @memberof ViewReport
|
|
467
|
+
*/
|
|
468
|
+
ViewReport.prototype.reportFormat = undefined;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* @memberof ViewReport
|
|
472
|
+
*/
|
|
473
|
+
ViewReport.prototype.notificationPolicy = undefined;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* 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
|
|
477
|
+
* @memberof ViewReport
|
|
478
|
+
*/
|
|
479
|
+
ViewReport.prototype.startTime = undefined;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* 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
|
|
483
|
+
* @memberof ViewReport
|
|
484
|
+
*/
|
|
485
|
+
ViewReport.prototype.endTime = undefined;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* A globally unique identifier of an instance that is suitable for external consumption.
|
|
489
|
+
* @memberof ViewReport
|
|
490
|
+
*/
|
|
491
|
+
_ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
492
|
+
/**
|
|
493
|
+
* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
|
|
494
|
+
* @memberof ViewReport
|
|
495
|
+
*/
|
|
496
|
+
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
497
|
+
/**
|
|
498
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
499
|
+
* @memberof ViewReport
|
|
500
|
+
*/
|
|
501
|
+
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The TaskReference model module.
|
|
3
|
+
* @module Ntnx/TaskReference
|
|
4
|
+
* @version 4.0.1
|
|
5
|
+
* @class TaskReference
|
|
6
|
+
*/
|
|
7
|
+
export default class TaskReference {
|
|
8
|
+
/**
|
|
9
|
+
* Constructs a <code>TaskReference</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/TaskReference} obj Optional instance to populate.
|
|
13
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
14
|
+
* @return {module:Ntnx/TaskReference} The populated <code>TaskReference</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 A globally unique identifier of a task.
|
|
30
|
+
* @return {string}
|
|
31
|
+
*/
|
|
32
|
+
getExtId(): string;
|
|
33
|
+
/**
|
|
34
|
+
* Sets A globally unique identifier of a task.
|
|
35
|
+
* @param {string} extId A globally unique identifier of a task.
|
|
36
|
+
*/
|
|
37
|
+
setExtId(extId: string): void;
|
|
38
|
+
extId: string;
|
|
39
|
+
get$Reserved(): any;
|
|
40
|
+
get$ObjectType(): string;
|
|
41
|
+
get$UnknownFields(): any;
|
|
42
|
+
toJson(forMutation: any): {
|
|
43
|
+
$reserved: any;
|
|
44
|
+
$objectType: string;
|
|
45
|
+
$unknownFields: any;
|
|
46
|
+
extId?: string;
|
|
47
|
+
};
|
|
48
|
+
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
49
|
+
validateProperty(scope: any, property: any): ValidationError;
|
|
50
|
+
#private;
|
|
51
|
+
}
|
|
52
|
+
import ValidationError from "../../../validation/ValidationError";
|