@nutanix-scratch/licensing-js-client 1.421.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 +215 -0
- package/dist/Ntnx-Licensing-js-client-prod.js +1 -0
- package/dist/Ntnx-Licensing-js-client.js +1642 -0
- package/dist/es/ApiClient.d.ts +172 -0
- package/dist/es/ApiClient.js +1262 -0
- package/dist/es/Paginable.d.ts +95 -0
- package/dist/es/Paginable.js +287 -0
- package/dist/es/apis/enduserlicenseagreement-endpoints.d.ts +41 -0
- package/dist/es/apis/enduserlicenseagreement-endpoints.js +141 -0
- package/dist/es/apis/licensekeys-endpoints.d.ts +91 -0
- package/dist/es/apis/licensekeys-endpoints.js +283 -0
- package/dist/es/apis/licenses-endpoints.d.ts +206 -0
- package/dist/es/apis/licenses-endpoints.js +480 -0
- package/dist/es/index.d.ts +230 -0
- package/dist/es/index.js +916 -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/licensing/v4/agreements/Acceptance.d.ts +81 -0
- package/dist/es/models/licensing/v4/agreements/Acceptance.js +314 -0
- package/dist/es/models/licensing/v4/agreements/AddUserApiResponse.d.ts +99 -0
- package/dist/es/models/licensing/v4/agreements/AddUserApiResponse.js +365 -0
- package/dist/es/models/licensing/v4/agreements/EndUser.d.ts +110 -0
- package/dist/es/models/licensing/v4/agreements/EndUser.js +420 -0
- package/dist/es/models/licensing/v4/agreements/Eula.d.ts +115 -0
- package/dist/es/models/licensing/v4/agreements/Eula.js +441 -0
- package/dist/es/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +99 -0
- package/dist/es/models/licensing/v4/agreements/GetEulaApiResponse.js +343 -0
- package/dist/es/models/licensing/v4/config/AddLicenseKeyApiResponse.d.ts +103 -0
- package/dist/es/models/licensing/v4/config/AddLicenseKeyApiResponse.js +347 -0
- package/dist/es/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.d.ts +137 -0
- package/dist/es/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.js +360 -0
- package/dist/es/models/licensing/v4/config/Allowance.d.ts +70 -0
- package/dist/es/models/licensing/v4/config/Allowance.js +371 -0
- package/dist/es/models/licensing/v4/config/AllowanceDetail.d.ts +86 -0
- package/dist/es/models/licensing/v4/config/AllowanceDetail.js +390 -0
- package/dist/es/models/licensing/v4/config/AllowanceDetailProjection.d.ts +10 -0
- package/dist/es/models/licensing/v4/config/AllowanceDetailProjection.js +152 -0
- package/dist/es/models/licensing/v4/config/AllowanceProjection.d.ts +56 -0
- package/dist/es/models/licensing/v4/config/AllowanceProjection.js +320 -0
- package/dist/es/models/licensing/v4/config/AssignLicenseKeysApiResponse.d.ts +102 -0
- package/dist/es/models/licensing/v4/config/AssignLicenseKeysApiResponse.js +365 -0
- package/dist/es/models/licensing/v4/config/AssociationType.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/AssociationType.js +85 -0
- package/dist/es/models/licensing/v4/config/BaseClusterInfo.d.ts +37 -0
- package/dist/es/models/licensing/v4/config/BaseClusterInfo.js +271 -0
- package/dist/es/models/licensing/v4/config/BaseLicenseInfo.d.ts +82 -0
- package/dist/es/models/licensing/v4/config/BaseLicenseInfo.js +423 -0
- package/dist/es/models/licensing/v4/config/BillingPlan.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/BillingPlan.js +91 -0
- package/dist/es/models/licensing/v4/config/CapacityViolation.d.ts +85 -0
- package/dist/es/models/licensing/v4/config/CapacityViolation.js +382 -0
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMapping.d.ts +30 -0
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMapping.js +269 -0
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.d.ts +10 -0
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.js +151 -0
- package/dist/es/models/licensing/v4/config/ClusterType.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ClusterType.js +91 -0
- package/dist/es/models/licensing/v4/config/Compliance.d.ts +78 -0
- package/dist/es/models/licensing/v4/config/Compliance.js +371 -0
- package/dist/es/models/licensing/v4/config/ComplianceProjection.d.ts +72 -0
- package/dist/es/models/licensing/v4/config/ComplianceProjection.js +320 -0
- package/dist/es/models/licensing/v4/config/Consumption.d.ts +64 -0
- package/dist/es/models/licensing/v4/config/Consumption.js +315 -0
- package/dist/es/models/licensing/v4/config/ConsumptionProjection.d.ts +10 -0
- package/dist/es/models/licensing/v4/config/ConsumptionProjection.js +150 -0
- package/dist/es/models/licensing/v4/config/ConsumptionType.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ConsumptionType.js +85 -0
- package/dist/es/models/licensing/v4/config/DeleteLicenseKeyApiResponse.d.ts +98 -0
- package/dist/es/models/licensing/v4/config/DeleteLicenseKeyApiResponse.js +345 -0
- package/dist/es/models/licensing/v4/config/DryRunCheck.d.ts +72 -0
- package/dist/es/models/licensing/v4/config/DryRunCheck.js +325 -0
- package/dist/es/models/licensing/v4/config/DryRunStatus.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/DryRunStatus.js +86 -0
- package/dist/es/models/licensing/v4/config/DryRunValidationResult.d.ts +68 -0
- package/dist/es/models/licensing/v4/config/DryRunValidationResult.js +297 -0
- package/dist/es/models/licensing/v4/config/EnforcementActions.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/EnforcementActions.js +139 -0
- package/dist/es/models/licensing/v4/config/EnforcementLevel.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/EnforcementLevel.js +85 -0
- package/dist/es/models/licensing/v4/config/EnforcementPolicy.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/EnforcementPolicy.js +85 -0
- package/dist/es/models/licensing/v4/config/Entitlement.d.ts +98 -0
- package/dist/es/models/licensing/v4/config/Entitlement.js +450 -0
- package/dist/es/models/licensing/v4/config/EntitlementDetail.d.ts +131 -0
- package/dist/es/models/licensing/v4/config/EntitlementDetail.js +534 -0
- package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.d.ts +10 -0
- package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.js +155 -0
- package/dist/es/models/licensing/v4/config/EntitlementProjection.d.ts +66 -0
- package/dist/es/models/licensing/v4/config/EntitlementProjection.js +338 -0
- package/dist/es/models/licensing/v4/config/ExpiredLicense.d.ts +65 -0
- package/dist/es/models/licensing/v4/config/ExpiredLicense.js +396 -0
- package/dist/es/models/licensing/v4/config/Feature.d.ts +104 -0
- package/dist/es/models/licensing/v4/config/Feature.js +512 -0
- package/dist/es/models/licensing/v4/config/FeatureDetail.d.ts +76 -0
- package/dist/es/models/licensing/v4/config/FeatureDetail.js +359 -0
- package/dist/es/models/licensing/v4/config/FeatureProjection.d.ts +10 -0
- package/dist/es/models/licensing/v4/config/FeatureProjection.js +152 -0
- package/dist/es/models/licensing/v4/config/FeatureViolation.d.ts +31 -0
- package/dist/es/models/licensing/v4/config/FeatureViolation.js +278 -0
- package/dist/es/models/licensing/v4/config/GetLicenseKeyApiResponse.d.ts +99 -0
- package/dist/es/models/licensing/v4/config/GetLicenseKeyApiResponse.js +343 -0
- package/dist/es/models/licensing/v4/config/License.d.ts +95 -0
- package/dist/es/models/licensing/v4/config/License.js +484 -0
- package/dist/es/models/licensing/v4/config/LicenseCategory.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/LicenseCategory.js +295 -0
- package/dist/es/models/licensing/v4/config/LicenseClass.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/LicenseClass.js +91 -0
- package/dist/es/models/licensing/v4/config/LicenseKey.d.ts +181 -0
- package/dist/es/models/licensing/v4/config/LicenseKey.js +707 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyAssignment.d.ts +71 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyAssignment.js +329 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyAssignmentSpec.d.ts +75 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyAssignmentSpec.js +296 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyAssociation.d.ts +104 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyAssociation.js +403 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyAssociationProjection.d.ts +16 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyAssociationProjection.js +164 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyAssociationSpec.d.ts +71 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyAssociationSpec.js +296 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyMapping.d.ts +64 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyMapping.js +315 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyProjection.d.ts +91 -0
- package/dist/es/models/licensing/v4/config/LicenseKeyProjection.js +431 -0
- package/dist/es/models/licensing/v4/config/LicenseKeySubCategory.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/LicenseKeySubCategory.js +85 -0
- package/dist/es/models/licensing/v4/config/LicenseProjection.d.ts +58 -0
- package/dist/es/models/licensing/v4/config/LicenseProjection.js +374 -0
- package/dist/es/models/licensing/v4/config/LicenseStateSyncSpec.d.ts +75 -0
- package/dist/es/models/licensing/v4/config/LicenseStateSyncSpec.js +364 -0
- package/dist/es/models/licensing/v4/config/LicenseType.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/LicenseType.js +283 -0
- package/dist/es/models/licensing/v4/config/ListAllowancesApiResponse.d.ts +100 -0
- package/dist/es/models/licensing/v4/config/ListAllowancesApiResponse.js +370 -0
- package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +100 -0
- package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.js +370 -0
- package/dist/es/models/licensing/v4/config/ListEntitlementsApiResponse.d.ts +100 -0
- package/dist/es/models/licensing/v4/config/ListEntitlementsApiResponse.js +370 -0
- package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +100 -0
- package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.js +370 -0
- package/dist/es/models/licensing/v4/config/ListLicenseKeysApiResponse.d.ts +100 -0
- package/dist/es/models/licensing/v4/config/ListLicenseKeysApiResponse.js +370 -0
- package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.d.ts +100 -0
- package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.js +370 -0
- package/dist/es/models/licensing/v4/config/ListRecommendationsApiResponse.d.ts +99 -0
- package/dist/es/models/licensing/v4/config/ListRecommendationsApiResponse.js +365 -0
- package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.d.ts +99 -0
- package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.js +365 -0
- package/dist/es/models/licensing/v4/config/ListViolationsApiResponse.d.ts +99 -0
- package/dist/es/models/licensing/v4/config/ListViolationsApiResponse.js +365 -0
- package/dist/es/models/licensing/v4/config/LogicalVersion.d.ts +64 -0
- package/dist/es/models/licensing/v4/config/LogicalVersion.js +312 -0
- package/dist/es/models/licensing/v4/config/Meter.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/Meter.js +127 -0
- package/dist/es/models/licensing/v4/config/OperationType.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/OperationType.js +97 -0
- package/dist/es/models/licensing/v4/config/PortalSetting.d.ts +86 -0
- package/dist/es/models/licensing/v4/config/PortalSetting.js +359 -0
- package/dist/es/models/licensing/v4/config/PostPaidCategory.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/PostPaidCategory.js +85 -0
- package/dist/es/models/licensing/v4/config/PostPaidConfig.d.ts +97 -0
- package/dist/es/models/licensing/v4/config/PostPaidConfig.js +423 -0
- package/dist/es/models/licensing/v4/config/ProductName.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ProductName.js +115 -0
- package/dist/es/models/licensing/v4/config/ReclaimType.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ReclaimType.js +85 -0
- package/dist/es/models/licensing/v4/config/Recommendation.d.ts +47 -0
- package/dist/es/models/licensing/v4/config/Recommendation.js +287 -0
- package/dist/es/models/licensing/v4/config/RecommendationDetail.d.ts +98 -0
- package/dist/es/models/licensing/v4/config/RecommendationDetail.js +429 -0
- package/dist/es/models/licensing/v4/config/RecommendationScope.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/RecommendationScope.js +85 -0
- package/dist/es/models/licensing/v4/config/ResetScope.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ResetScope.js +85 -0
- package/dist/es/models/licensing/v4/config/Scope.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/Scope.js +91 -0
- package/dist/es/models/licensing/v4/config/Service.d.ts +117 -0
- package/dist/es/models/licensing/v4/config/Service.js +482 -0
- package/dist/es/models/licensing/v4/config/ServiceProjection.d.ts +10 -0
- package/dist/es/models/licensing/v4/config/ServiceProjection.js +155 -0
- package/dist/es/models/licensing/v4/config/ServiceViolation.d.ts +63 -0
- package/dist/es/models/licensing/v4/config/ServiceViolation.js +311 -0
- package/dist/es/models/licensing/v4/config/ServiceViolationType.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ServiceViolationType.js +91 -0
- package/dist/es/models/licensing/v4/config/Setting.d.ts +145 -0
- package/dist/es/models/licensing/v4/config/Setting.js +581 -0
- package/dist/es/models/licensing/v4/config/Status.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/Status.js +85 -0
- package/dist/es/models/licensing/v4/config/SubCategory.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/SubCategory.js +85 -0
- package/dist/es/models/licensing/v4/config/SyncLicenseStateApiResponse.d.ts +99 -0
- package/dist/es/models/licensing/v4/config/SyncLicenseStateApiResponse.js +343 -0
- package/dist/es/models/licensing/v4/config/SyncOperationType.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/SyncOperationType.js +121 -0
- package/dist/es/models/licensing/v4/config/Trial.d.ts +93 -0
- package/dist/es/models/licensing/v4/config/Trial.js +421 -0
- package/dist/es/models/licensing/v4/config/TrialCategory.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/TrialCategory.js +79 -0
- package/dist/es/models/licensing/v4/config/TrialProjection.d.ts +12 -0
- package/dist/es/models/licensing/v4/config/TrialProjection.js +159 -0
- package/dist/es/models/licensing/v4/config/TrialStatus.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/TrialStatus.js +85 -0
- package/dist/es/models/licensing/v4/config/TrialType.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/TrialType.js +79 -0
- package/dist/es/models/licensing/v4/config/ValueType.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/ValueType.js +85 -0
- package/dist/es/models/licensing/v4/config/Violation.d.ts +102 -0
- package/dist/es/models/licensing/v4/config/Violation.js +398 -0
- package/dist/es/models/licensing/v4/error/AppMessage.d.ts +117 -0
- package/dist/es/models/licensing/v4/error/AppMessage.js +464 -0
- package/dist/es/models/licensing/v4/error/ErrorResponse.d.ts +52 -0
- package/dist/es/models/licensing/v4/error/ErrorResponse.js +331 -0
- package/dist/es/models/licensing/v4/error/SchemaValidationError.d.ts +108 -0
- package/dist/es/models/licensing/v4/error/SchemaValidationError.js +440 -0
- package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +76 -0
- package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.js +350 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +52 -0
- package/dist/es/models/prism/v4/config/TaskReference.js +279 -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 +172 -0
- package/dist/lib/ApiClient.js +1262 -0
- package/dist/lib/Paginable.d.ts +95 -0
- package/dist/lib/Paginable.js +287 -0
- package/dist/lib/apis/enduserlicenseagreement-endpoints.d.ts +41 -0
- package/dist/lib/apis/enduserlicenseagreement-endpoints.js +141 -0
- package/dist/lib/apis/licensekeys-endpoints.d.ts +91 -0
- package/dist/lib/apis/licensekeys-endpoints.js +283 -0
- package/dist/lib/apis/licenses-endpoints.d.ts +206 -0
- package/dist/lib/apis/licenses-endpoints.js +480 -0
- package/dist/lib/index.d.ts +230 -0
- package/dist/lib/index.js +916 -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/licensing/v4/agreements/Acceptance.d.ts +81 -0
- package/dist/lib/models/licensing/v4/agreements/Acceptance.js +314 -0
- package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.d.ts +99 -0
- package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.js +365 -0
- package/dist/lib/models/licensing/v4/agreements/EndUser.d.ts +110 -0
- package/dist/lib/models/licensing/v4/agreements/EndUser.js +420 -0
- package/dist/lib/models/licensing/v4/agreements/Eula.d.ts +115 -0
- package/dist/lib/models/licensing/v4/agreements/Eula.js +441 -0
- package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +99 -0
- package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.js +343 -0
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyApiResponse.d.ts +103 -0
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyApiResponse.js +347 -0
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.d.ts +137 -0
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.js +360 -0
- package/dist/lib/models/licensing/v4/config/Allowance.d.ts +70 -0
- package/dist/lib/models/licensing/v4/config/Allowance.js +371 -0
- package/dist/lib/models/licensing/v4/config/AllowanceDetail.d.ts +86 -0
- package/dist/lib/models/licensing/v4/config/AllowanceDetail.js +390 -0
- package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.d.ts +10 -0
- package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.js +152 -0
- package/dist/lib/models/licensing/v4/config/AllowanceProjection.d.ts +56 -0
- package/dist/lib/models/licensing/v4/config/AllowanceProjection.js +320 -0
- package/dist/lib/models/licensing/v4/config/AssignLicenseKeysApiResponse.d.ts +102 -0
- package/dist/lib/models/licensing/v4/config/AssignLicenseKeysApiResponse.js +365 -0
- package/dist/lib/models/licensing/v4/config/AssociationType.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/AssociationType.js +85 -0
- package/dist/lib/models/licensing/v4/config/BaseClusterInfo.d.ts +37 -0
- package/dist/lib/models/licensing/v4/config/BaseClusterInfo.js +271 -0
- package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.d.ts +82 -0
- package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.js +423 -0
- package/dist/lib/models/licensing/v4/config/BillingPlan.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/BillingPlan.js +91 -0
- package/dist/lib/models/licensing/v4/config/CapacityViolation.d.ts +85 -0
- package/dist/lib/models/licensing/v4/config/CapacityViolation.js +382 -0
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMapping.d.ts +30 -0
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMapping.js +269 -0
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.d.ts +10 -0
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.js +151 -0
- package/dist/lib/models/licensing/v4/config/ClusterType.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ClusterType.js +91 -0
- package/dist/lib/models/licensing/v4/config/Compliance.d.ts +78 -0
- package/dist/lib/models/licensing/v4/config/Compliance.js +371 -0
- package/dist/lib/models/licensing/v4/config/ComplianceProjection.d.ts +72 -0
- package/dist/lib/models/licensing/v4/config/ComplianceProjection.js +320 -0
- package/dist/lib/models/licensing/v4/config/Consumption.d.ts +64 -0
- package/dist/lib/models/licensing/v4/config/Consumption.js +315 -0
- package/dist/lib/models/licensing/v4/config/ConsumptionProjection.d.ts +10 -0
- package/dist/lib/models/licensing/v4/config/ConsumptionProjection.js +150 -0
- package/dist/lib/models/licensing/v4/config/ConsumptionType.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ConsumptionType.js +85 -0
- package/dist/lib/models/licensing/v4/config/DeleteLicenseKeyApiResponse.d.ts +98 -0
- package/dist/lib/models/licensing/v4/config/DeleteLicenseKeyApiResponse.js +345 -0
- package/dist/lib/models/licensing/v4/config/DryRunCheck.d.ts +72 -0
- package/dist/lib/models/licensing/v4/config/DryRunCheck.js +325 -0
- package/dist/lib/models/licensing/v4/config/DryRunStatus.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/DryRunStatus.js +86 -0
- package/dist/lib/models/licensing/v4/config/DryRunValidationResult.d.ts +68 -0
- package/dist/lib/models/licensing/v4/config/DryRunValidationResult.js +297 -0
- package/dist/lib/models/licensing/v4/config/EnforcementActions.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/EnforcementActions.js +139 -0
- package/dist/lib/models/licensing/v4/config/EnforcementLevel.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/EnforcementLevel.js +85 -0
- package/dist/lib/models/licensing/v4/config/EnforcementPolicy.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/EnforcementPolicy.js +85 -0
- package/dist/lib/models/licensing/v4/config/Entitlement.d.ts +98 -0
- package/dist/lib/models/licensing/v4/config/Entitlement.js +450 -0
- package/dist/lib/models/licensing/v4/config/EntitlementDetail.d.ts +131 -0
- package/dist/lib/models/licensing/v4/config/EntitlementDetail.js +534 -0
- package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.d.ts +10 -0
- package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.js +155 -0
- package/dist/lib/models/licensing/v4/config/EntitlementProjection.d.ts +66 -0
- package/dist/lib/models/licensing/v4/config/EntitlementProjection.js +338 -0
- package/dist/lib/models/licensing/v4/config/ExpiredLicense.d.ts +65 -0
- package/dist/lib/models/licensing/v4/config/ExpiredLicense.js +396 -0
- package/dist/lib/models/licensing/v4/config/Feature.d.ts +104 -0
- package/dist/lib/models/licensing/v4/config/Feature.js +512 -0
- package/dist/lib/models/licensing/v4/config/FeatureDetail.d.ts +76 -0
- package/dist/lib/models/licensing/v4/config/FeatureDetail.js +359 -0
- package/dist/lib/models/licensing/v4/config/FeatureProjection.d.ts +10 -0
- package/dist/lib/models/licensing/v4/config/FeatureProjection.js +152 -0
- package/dist/lib/models/licensing/v4/config/FeatureViolation.d.ts +31 -0
- package/dist/lib/models/licensing/v4/config/FeatureViolation.js +278 -0
- package/dist/lib/models/licensing/v4/config/GetLicenseKeyApiResponse.d.ts +99 -0
- package/dist/lib/models/licensing/v4/config/GetLicenseKeyApiResponse.js +343 -0
- package/dist/lib/models/licensing/v4/config/License.d.ts +95 -0
- package/dist/lib/models/licensing/v4/config/License.js +484 -0
- package/dist/lib/models/licensing/v4/config/LicenseCategory.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/LicenseCategory.js +295 -0
- package/dist/lib/models/licensing/v4/config/LicenseClass.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/LicenseClass.js +91 -0
- package/dist/lib/models/licensing/v4/config/LicenseKey.d.ts +181 -0
- package/dist/lib/models/licensing/v4/config/LicenseKey.js +707 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssignment.d.ts +71 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssignment.js +329 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssignmentSpec.d.ts +75 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssignmentSpec.js +296 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssociation.d.ts +104 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssociation.js +403 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssociationProjection.d.ts +16 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssociationProjection.js +164 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssociationSpec.d.ts +71 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssociationSpec.js +296 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyMapping.d.ts +64 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyMapping.js +315 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyProjection.d.ts +91 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeyProjection.js +431 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeySubCategory.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeySubCategory.js +85 -0
- package/dist/lib/models/licensing/v4/config/LicenseProjection.d.ts +58 -0
- package/dist/lib/models/licensing/v4/config/LicenseProjection.js +374 -0
- package/dist/lib/models/licensing/v4/config/LicenseStateSyncSpec.d.ts +75 -0
- package/dist/lib/models/licensing/v4/config/LicenseStateSyncSpec.js +364 -0
- package/dist/lib/models/licensing/v4/config/LicenseType.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/LicenseType.js +283 -0
- package/dist/lib/models/licensing/v4/config/ListAllowancesApiResponse.d.ts +100 -0
- package/dist/lib/models/licensing/v4/config/ListAllowancesApiResponse.js +370 -0
- package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +100 -0
- package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.js +370 -0
- package/dist/lib/models/licensing/v4/config/ListEntitlementsApiResponse.d.ts +100 -0
- package/dist/lib/models/licensing/v4/config/ListEntitlementsApiResponse.js +370 -0
- package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +100 -0
- package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.js +370 -0
- package/dist/lib/models/licensing/v4/config/ListLicenseKeysApiResponse.d.ts +100 -0
- package/dist/lib/models/licensing/v4/config/ListLicenseKeysApiResponse.js +370 -0
- package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.d.ts +100 -0
- package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.js +370 -0
- package/dist/lib/models/licensing/v4/config/ListRecommendationsApiResponse.d.ts +99 -0
- package/dist/lib/models/licensing/v4/config/ListRecommendationsApiResponse.js +365 -0
- package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.d.ts +99 -0
- package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.js +365 -0
- package/dist/lib/models/licensing/v4/config/ListViolationsApiResponse.d.ts +99 -0
- package/dist/lib/models/licensing/v4/config/ListViolationsApiResponse.js +365 -0
- package/dist/lib/models/licensing/v4/config/LogicalVersion.d.ts +64 -0
- package/dist/lib/models/licensing/v4/config/LogicalVersion.js +312 -0
- package/dist/lib/models/licensing/v4/config/Meter.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/Meter.js +127 -0
- package/dist/lib/models/licensing/v4/config/OperationType.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/OperationType.js +97 -0
- package/dist/lib/models/licensing/v4/config/PortalSetting.d.ts +86 -0
- package/dist/lib/models/licensing/v4/config/PortalSetting.js +359 -0
- package/dist/lib/models/licensing/v4/config/PostPaidCategory.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/PostPaidCategory.js +85 -0
- package/dist/lib/models/licensing/v4/config/PostPaidConfig.d.ts +97 -0
- package/dist/lib/models/licensing/v4/config/PostPaidConfig.js +423 -0
- package/dist/lib/models/licensing/v4/config/ProductName.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ProductName.js +115 -0
- package/dist/lib/models/licensing/v4/config/ReclaimType.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ReclaimType.js +85 -0
- package/dist/lib/models/licensing/v4/config/Recommendation.d.ts +47 -0
- package/dist/lib/models/licensing/v4/config/Recommendation.js +287 -0
- package/dist/lib/models/licensing/v4/config/RecommendationDetail.d.ts +98 -0
- package/dist/lib/models/licensing/v4/config/RecommendationDetail.js +429 -0
- package/dist/lib/models/licensing/v4/config/RecommendationScope.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/RecommendationScope.js +85 -0
- package/dist/lib/models/licensing/v4/config/ResetScope.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ResetScope.js +85 -0
- package/dist/lib/models/licensing/v4/config/Scope.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/Scope.js +91 -0
- package/dist/lib/models/licensing/v4/config/Service.d.ts +117 -0
- package/dist/lib/models/licensing/v4/config/Service.js +482 -0
- package/dist/lib/models/licensing/v4/config/ServiceProjection.d.ts +10 -0
- package/dist/lib/models/licensing/v4/config/ServiceProjection.js +155 -0
- package/dist/lib/models/licensing/v4/config/ServiceViolation.d.ts +63 -0
- package/dist/lib/models/licensing/v4/config/ServiceViolation.js +311 -0
- package/dist/lib/models/licensing/v4/config/ServiceViolationType.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ServiceViolationType.js +91 -0
- package/dist/lib/models/licensing/v4/config/Setting.d.ts +145 -0
- package/dist/lib/models/licensing/v4/config/Setting.js +581 -0
- package/dist/lib/models/licensing/v4/config/Status.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/Status.js +85 -0
- package/dist/lib/models/licensing/v4/config/SubCategory.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/SubCategory.js +85 -0
- package/dist/lib/models/licensing/v4/config/SyncLicenseStateApiResponse.d.ts +99 -0
- package/dist/lib/models/licensing/v4/config/SyncLicenseStateApiResponse.js +343 -0
- package/dist/lib/models/licensing/v4/config/SyncOperationType.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/SyncOperationType.js +121 -0
- package/dist/lib/models/licensing/v4/config/Trial.d.ts +93 -0
- package/dist/lib/models/licensing/v4/config/Trial.js +421 -0
- package/dist/lib/models/licensing/v4/config/TrialCategory.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/TrialCategory.js +79 -0
- package/dist/lib/models/licensing/v4/config/TrialProjection.d.ts +12 -0
- package/dist/lib/models/licensing/v4/config/TrialProjection.js +159 -0
- package/dist/lib/models/licensing/v4/config/TrialStatus.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/TrialStatus.js +85 -0
- package/dist/lib/models/licensing/v4/config/TrialType.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/TrialType.js +79 -0
- package/dist/lib/models/licensing/v4/config/ValueType.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/ValueType.js +85 -0
- package/dist/lib/models/licensing/v4/config/Violation.d.ts +102 -0
- package/dist/lib/models/licensing/v4/config/Violation.js +398 -0
- package/dist/lib/models/licensing/v4/error/AppMessage.d.ts +117 -0
- package/dist/lib/models/licensing/v4/error/AppMessage.js +464 -0
- package/dist/lib/models/licensing/v4/error/ErrorResponse.d.ts +52 -0
- package/dist/lib/models/licensing/v4/error/ErrorResponse.js +331 -0
- package/dist/lib/models/licensing/v4/error/SchemaValidationError.d.ts +108 -0
- package/dist/lib/models/licensing/v4/error/SchemaValidationError.js +440 -0
- package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +76 -0
- package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.js +350 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +52 -0
- package/dist/lib/models/prism/v4/config/TaskReference.js +279 -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,534 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _LicenseCategory = _interopRequireDefault(require("./LicenseCategory"));
|
|
8
|
+
var _LicenseType = _interopRequireDefault(require("./LicenseType"));
|
|
9
|
+
var _Meter = _interopRequireDefault(require("./Meter"));
|
|
10
|
+
var _Scope = _interopRequireDefault(require("./Scope"));
|
|
11
|
+
var _SubCategory = _interopRequireDefault(require("./SubCategory"));
|
|
12
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
13
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
14
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
|
+
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); }
|
|
17
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
18
|
+
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."); }
|
|
19
|
+
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; } }
|
|
20
|
+
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; }
|
|
21
|
+
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; } }
|
|
22
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
23
|
+
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; }
|
|
24
|
+
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; }
|
|
25
|
+
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; }
|
|
26
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
27
|
+
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); } }
|
|
28
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
29
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
30
|
+
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); }
|
|
31
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
32
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
33
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
34
|
+
* Nutanix Licensing APIs
|
|
35
|
+
*
|
|
36
|
+
* OpenAPI spec version: 1.421.1
|
|
37
|
+
*
|
|
38
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
39
|
+
*
|
|
40
|
+
* Open API Dev Platform Codegen version: 17.3.1.9079-RELEASE
|
|
41
|
+
*
|
|
42
|
+
* Do not edit the class manually.
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* The EntitlementDetail model module.
|
|
47
|
+
* @module Ntnx/EntitlementDetail
|
|
48
|
+
* @version 1.421.1
|
|
49
|
+
* @class EntitlementDetail
|
|
50
|
+
*/
|
|
51
|
+
var _EntitlementDetail_brand = /*#__PURE__*/new WeakSet();
|
|
52
|
+
var EntitlementDetail = exports["default"] = /*#__PURE__*/function () {
|
|
53
|
+
/**
|
|
54
|
+
* Constructs a new <code>EntitlementDetail</code>.
|
|
55
|
+
* Model capturing entitlement details.
|
|
56
|
+
* @alias module:Ntnx/EntitlementDetail
|
|
57
|
+
*/
|
|
58
|
+
function EntitlementDetail() {
|
|
59
|
+
_classCallCheck(this, EntitlementDetail);
|
|
60
|
+
/*
|
|
61
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
62
|
+
* @param {Object} obj
|
|
63
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
64
|
+
* Otherwise, just returns the input object.
|
|
65
|
+
*/
|
|
66
|
+
_classPrivateMethodInitSpec(this, _EntitlementDetail_brand);
|
|
67
|
+
this.$objectType = "licensing.v4.config.EntitlementDetail";
|
|
68
|
+
/** @type {object<string, any>} */
|
|
69
|
+
this.$reserved = {
|
|
70
|
+
'$fv': "v4.r2"
|
|
71
|
+
};
|
|
72
|
+
/** @type {object<string, any>} */
|
|
73
|
+
this.$unknownFields = {};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Constructs a <code>EntitlementDetail</code> from a plain JavaScript object, optionally creating a new instance.
|
|
78
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
79
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
80
|
+
* @param {module:Ntnx/EntitlementDetail} obj Optional instance to populate.
|
|
81
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
82
|
+
* @return {module:Ntnx/EntitlementDetail} The populated <code>EntitlementDetail</code> instance.
|
|
83
|
+
*/
|
|
84
|
+
return _createClass(EntitlementDetail, [{
|
|
85
|
+
key: "getName",
|
|
86
|
+
value:
|
|
87
|
+
/**
|
|
88
|
+
* Returns Indicates the name of the license. Possible values could be NCI Pro, NCM Ultimate.
|
|
89
|
+
* @return {string}
|
|
90
|
+
*/
|
|
91
|
+
function getName() {
|
|
92
|
+
return this.name;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Sets Indicates the name of the license. Possible values could be NCI Pro, NCM Ultimate.
|
|
97
|
+
* @param {string} name Indicates the name of the license. Possible values could be NCI Pro, NCM Ultimate.
|
|
98
|
+
*/
|
|
99
|
+
}, {
|
|
100
|
+
key: "setName",
|
|
101
|
+
value: function setName(name) {
|
|
102
|
+
this.name = name;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @return {LicenseType}
|
|
107
|
+
*/
|
|
108
|
+
}, {
|
|
109
|
+
key: "getType",
|
|
110
|
+
value: function getType() {
|
|
111
|
+
return this.type;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @param {LicenseType} type
|
|
116
|
+
*/
|
|
117
|
+
}, {
|
|
118
|
+
key: "setType",
|
|
119
|
+
value: function setType(type) {
|
|
120
|
+
this.type = type;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @return {LicenseCategory}
|
|
125
|
+
*/
|
|
126
|
+
}, {
|
|
127
|
+
key: "getCategory",
|
|
128
|
+
value: function getCategory() {
|
|
129
|
+
return this.category;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @param {LicenseCategory} category
|
|
134
|
+
*/
|
|
135
|
+
}, {
|
|
136
|
+
key: "setCategory",
|
|
137
|
+
value: function setCategory(category) {
|
|
138
|
+
this.category = category;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @return {SubCategory}
|
|
143
|
+
*/
|
|
144
|
+
}, {
|
|
145
|
+
key: "getSubCategory",
|
|
146
|
+
value: function getSubCategory() {
|
|
147
|
+
return this.subCategory;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @param {SubCategory} subCategory
|
|
152
|
+
*/
|
|
153
|
+
}, {
|
|
154
|
+
key: "setSubCategory",
|
|
155
|
+
value: function setSubCategory(subCategory) {
|
|
156
|
+
this.subCategory = subCategory;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @return {Meter}
|
|
161
|
+
*/
|
|
162
|
+
}, {
|
|
163
|
+
key: "getMeter",
|
|
164
|
+
value: function getMeter() {
|
|
165
|
+
return this.meter;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @param {Meter} meter
|
|
170
|
+
*/
|
|
171
|
+
}, {
|
|
172
|
+
key: "setMeter",
|
|
173
|
+
value: function setMeter(meter) {
|
|
174
|
+
this.meter = meter;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Returns Attribute for capturing quantity for entitlement.
|
|
179
|
+
* @return {Number}
|
|
180
|
+
*/
|
|
181
|
+
}, {
|
|
182
|
+
key: "getQuantity",
|
|
183
|
+
value: function getQuantity() {
|
|
184
|
+
return this.quantity;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Sets Attribute for capturing quantity for entitlement.
|
|
189
|
+
* @param {Number} quantity Attribute for capturing quantity for entitlement.
|
|
190
|
+
*/
|
|
191
|
+
}, {
|
|
192
|
+
key: "setQuantity",
|
|
193
|
+
value: function setQuantity(quantity) {
|
|
194
|
+
this.quantity = quantity;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Returns Attribute for capturing earliest expiry date across entitlements.
|
|
199
|
+
* @return {Date}
|
|
200
|
+
*/
|
|
201
|
+
}, {
|
|
202
|
+
key: "getEarliestExpiryDate",
|
|
203
|
+
value: function getEarliestExpiryDate() {
|
|
204
|
+
return this.earliestExpiryDate;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Sets Attribute for capturing earliest expiry date across entitlements.
|
|
209
|
+
* @param {Date} earliestExpiryDate Attribute for capturing earliest expiry date across entitlements.
|
|
210
|
+
*/
|
|
211
|
+
}, {
|
|
212
|
+
key: "setEarliestExpiryDate",
|
|
213
|
+
value: function setEarliestExpiryDate(earliestExpiryDate) {
|
|
214
|
+
this.earliestExpiryDate = earliestExpiryDate;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* @return {Scope}
|
|
219
|
+
*/
|
|
220
|
+
}, {
|
|
221
|
+
key: "getScope",
|
|
222
|
+
value: function getScope() {
|
|
223
|
+
return this.scope;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @param {Scope} scope
|
|
228
|
+
*/
|
|
229
|
+
}, {
|
|
230
|
+
key: "setScope",
|
|
231
|
+
value: function setScope(scope) {
|
|
232
|
+
this.scope = scope;
|
|
233
|
+
}
|
|
234
|
+
}, {
|
|
235
|
+
key: "get$Reserved",
|
|
236
|
+
value: function get$Reserved() {
|
|
237
|
+
return this.$reserved;
|
|
238
|
+
}
|
|
239
|
+
}, {
|
|
240
|
+
key: "get$ObjectType",
|
|
241
|
+
value: function get$ObjectType() {
|
|
242
|
+
return this.$objectType;
|
|
243
|
+
}
|
|
244
|
+
}, {
|
|
245
|
+
key: "get$UnknownFields",
|
|
246
|
+
value: function get$UnknownFields() {
|
|
247
|
+
return this.$unknownFields;
|
|
248
|
+
}
|
|
249
|
+
}, {
|
|
250
|
+
key: "toJson",
|
|
251
|
+
value: function toJson(forMutation) {
|
|
252
|
+
if (forMutation === false) {
|
|
253
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
254
|
+
'name': this.getName()
|
|
255
|
+
} : {}), typeof this.getType() !== 'undefined' && this.getType() !== null ? {
|
|
256
|
+
'type': this.getType()
|
|
257
|
+
} : {}), typeof this.getCategory() !== 'undefined' && this.getCategory() !== null ? {
|
|
258
|
+
'category': this.getCategory()
|
|
259
|
+
} : {}), typeof this.getSubCategory() !== 'undefined' && this.getSubCategory() !== null ? {
|
|
260
|
+
'subCategory': this.getSubCategory()
|
|
261
|
+
} : {}), typeof this.getMeter() !== 'undefined' && this.getMeter() !== null ? {
|
|
262
|
+
'meter': this.getMeter()
|
|
263
|
+
} : {}), typeof this.getQuantity() !== 'undefined' && this.getQuantity() !== null ? {
|
|
264
|
+
'quantity': this.getQuantity()
|
|
265
|
+
} : {}), typeof this.getEarliestExpiryDate() !== 'undefined' && this.getEarliestExpiryDate() !== null ? {
|
|
266
|
+
'earliestExpiryDate': _assertClassBrand(_EntitlementDetail_brand, this, _handleDateType).call(this, this.getEarliestExpiryDate(), true)
|
|
267
|
+
} : {}), typeof this.getScope() !== 'undefined' && this.getScope() !== null ? {
|
|
268
|
+
'scope': this.getScope()
|
|
269
|
+
} : {}), {}, {
|
|
270
|
+
'$reserved': this.get$Reserved(),
|
|
271
|
+
'$objectType': this.get$ObjectType(),
|
|
272
|
+
'$unknownFields': this.get$UnknownFields()
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
276
|
+
'name': this.getName()
|
|
277
|
+
} : {}), typeof this.getType() !== 'undefined' && this.getType() !== null ? {
|
|
278
|
+
'type': this.getType()
|
|
279
|
+
} : {}), typeof this.getCategory() !== 'undefined' && this.getCategory() !== null ? {
|
|
280
|
+
'category': this.getCategory()
|
|
281
|
+
} : {}), typeof this.getSubCategory() !== 'undefined' && this.getSubCategory() !== null ? {
|
|
282
|
+
'subCategory': this.getSubCategory()
|
|
283
|
+
} : {}), typeof this.getMeter() !== 'undefined' && this.getMeter() !== null ? {
|
|
284
|
+
'meter': this.getMeter()
|
|
285
|
+
} : {}), typeof this.getQuantity() !== 'undefined' && this.getQuantity() !== null ? {
|
|
286
|
+
'quantity': this.getQuantity()
|
|
287
|
+
} : {}), typeof this.getEarliestExpiryDate() !== 'undefined' && this.getEarliestExpiryDate() !== null ? {
|
|
288
|
+
'earliestExpiryDate': _assertClassBrand(_EntitlementDetail_brand, this, _handleDateType).call(this, this.getEarliestExpiryDate(), true)
|
|
289
|
+
} : {}), typeof this.getScope() !== 'undefined' && this.getScope() !== null ? {
|
|
290
|
+
'scope': this.getScope()
|
|
291
|
+
} : {}), {}, {
|
|
292
|
+
'$reserved': this.get$Reserved(),
|
|
293
|
+
'$objectType': this.get$ObjectType(),
|
|
294
|
+
'$unknownFields': this.get$UnknownFields()
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
}, {
|
|
298
|
+
key: "validate",
|
|
299
|
+
value: function validate(scope, properties) {
|
|
300
|
+
var _this = this;
|
|
301
|
+
var propList = [];
|
|
302
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
303
|
+
//cases validate() and validate(scope)
|
|
304
|
+
propList = [];
|
|
305
|
+
} else if (arguments.length === 1) {
|
|
306
|
+
//case validate(properties)
|
|
307
|
+
propList = arguments[0];
|
|
308
|
+
scope = null;
|
|
309
|
+
} else {
|
|
310
|
+
//case validate(scope, properties)
|
|
311
|
+
propList = arguments[1];
|
|
312
|
+
}
|
|
313
|
+
var res = [];
|
|
314
|
+
var err = null;
|
|
315
|
+
propList.forEach(function (property) {
|
|
316
|
+
err = _this.validateProperty(property, scope);
|
|
317
|
+
if (err) {
|
|
318
|
+
res.push(err);
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
return new Promise(function (resolve, reject) {
|
|
322
|
+
if (res.length !== 0) {
|
|
323
|
+
reject(err);
|
|
324
|
+
} else {
|
|
325
|
+
resolve();
|
|
326
|
+
}
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
}, {
|
|
330
|
+
key: "validateProperty",
|
|
331
|
+
value: function validateProperty(scope, property) {
|
|
332
|
+
if (property === "name") {
|
|
333
|
+
if (typeof this.name === 'undefined' || this.name === null) {
|
|
334
|
+
return new _ValidationError["default"]("name", "undefined or null");
|
|
335
|
+
}
|
|
336
|
+
if (!_ValidationUtils["default"].validateMaxLength(this.name, 64)) {
|
|
337
|
+
return new _ValidationError["default"]("name", "does not satisfy required maxLength constraint: 64");
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
if (property === "type") {
|
|
341
|
+
if (typeof this.type === 'undefined' || this.type === null) {
|
|
342
|
+
return new _ValidationError["default"]("type", "undefined or null");
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
if (property === "category") {
|
|
346
|
+
if (typeof this.category === 'undefined' || this.category === null) {
|
|
347
|
+
return new _ValidationError["default"]("category", "undefined or null");
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
if (property === "subCategory") {
|
|
351
|
+
if (typeof this.subCategory === 'undefined' || this.subCategory === null) {
|
|
352
|
+
return new _ValidationError["default"]("subCategory", "undefined or null");
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
if (property === "meter") {
|
|
356
|
+
if (typeof this.meter === 'undefined' || this.meter === null) {
|
|
357
|
+
return new _ValidationError["default"]("meter", "undefined or null");
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
if (property === "quantity") {
|
|
361
|
+
if (typeof this.quantity === 'undefined' || this.quantity === null) {
|
|
362
|
+
return new _ValidationError["default"]("quantity", "undefined or null");
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
if (property === "earliestExpiryDate") {
|
|
366
|
+
if (typeof this.earliestExpiryDate === 'undefined' || this.earliestExpiryDate === null) {
|
|
367
|
+
return new _ValidationError["default"]("earliestExpiryDate", "undefined or null");
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
if (property === "scope") {
|
|
371
|
+
if (typeof this.scope === 'undefined' || this.scope === null) {
|
|
372
|
+
return new _ValidationError["default"]("scope", "undefined or null");
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
if (property === "$reserved") {
|
|
376
|
+
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
377
|
+
return new _ValidationError["default"]("$reserved", "undefined or null");
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
if (property === "$objectType") {
|
|
381
|
+
if (typeof this.$objectType === 'undefined' || this.$objectType === null) {
|
|
382
|
+
return new _ValidationError["default"]("$objectType", "undefined or null");
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
if (property === "$unknownFields") {
|
|
386
|
+
if (typeof this.$unknownFields === 'undefined' || this.$unknownFields === null) {
|
|
387
|
+
return new _ValidationError["default"]("$unknownFields", "undefined or null");
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
391
|
+
}
|
|
392
|
+
}], [{
|
|
393
|
+
key: "constructFromObject",
|
|
394
|
+
value: function constructFromObject(data) {
|
|
395
|
+
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
396
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
397
|
+
var items, item, i, itemArr, discriminator;
|
|
398
|
+
if (data) {
|
|
399
|
+
obj = obj || new EntitlementDetail();
|
|
400
|
+
if (data.hasOwnProperty('name') && data.name !== null && data.name !== undefined) {
|
|
401
|
+
obj.setName(data['name']);
|
|
402
|
+
}
|
|
403
|
+
if (data.hasOwnProperty('type') && data.type !== null && data.type !== undefined) {
|
|
404
|
+
obj.setType(_LicenseType["default"].constructFromObject(data['type']));
|
|
405
|
+
}
|
|
406
|
+
if (data.hasOwnProperty('category') && data.category !== null && data.category !== undefined) {
|
|
407
|
+
obj.setCategory(_LicenseCategory["default"].constructFromObject(data['category']));
|
|
408
|
+
}
|
|
409
|
+
if (data.hasOwnProperty('subCategory') && data.subCategory !== null && data.subCategory !== undefined) {
|
|
410
|
+
obj.setSubCategory(_SubCategory["default"].constructFromObject(data['subCategory']));
|
|
411
|
+
}
|
|
412
|
+
if (data.hasOwnProperty('meter') && data.meter !== null && data.meter !== undefined) {
|
|
413
|
+
obj.setMeter(_Meter["default"].constructFromObject(data['meter']));
|
|
414
|
+
}
|
|
415
|
+
if (data.hasOwnProperty('quantity') && data.quantity !== null && data.quantity !== undefined) {
|
|
416
|
+
obj.setQuantity(data['quantity']);
|
|
417
|
+
}
|
|
418
|
+
if (data.hasOwnProperty('earliestExpiryDate') && data.earliestExpiryDate !== null && data.earliestExpiryDate !== undefined) {
|
|
419
|
+
obj.setEarliestExpiryDate(data['earliestExpiryDate']);
|
|
420
|
+
}
|
|
421
|
+
if (data.hasOwnProperty('scope') && data.scope !== null && data.scope !== undefined) {
|
|
422
|
+
obj.setScope(_Scope["default"].constructFromObject(data['scope']));
|
|
423
|
+
}
|
|
424
|
+
if (data.hasOwnProperty('$reserved')) {
|
|
425
|
+
obj.$reserved = data['$reserved'];
|
|
426
|
+
}
|
|
427
|
+
if (data.hasOwnProperty('$objectType')) {
|
|
428
|
+
obj.$objectType = data['$objectType'];
|
|
429
|
+
}
|
|
430
|
+
if (data.hasOwnProperty('$unknownFields')) {
|
|
431
|
+
obj.$unknownFields = data['$unknownFields'];
|
|
432
|
+
}
|
|
433
|
+
if (!callFromChild) {
|
|
434
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
435
|
+
for (var property in data) {
|
|
436
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
437
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
438
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
439
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
440
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
441
|
+
obj.$unknownFields[property] = data[property];
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
return obj;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Converts a given snake_case string to camelCase.
|
|
451
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
452
|
+
* @returns {string} - The converted string in camelCase format.
|
|
453
|
+
*/
|
|
454
|
+
}, {
|
|
455
|
+
key: "snakeToCamel",
|
|
456
|
+
value: function snakeToCamel(snakeStr) {
|
|
457
|
+
return snakeStr.replace(/(_\w)/g, function (match) {
|
|
458
|
+
return match[1].toUpperCase();
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
}]);
|
|
462
|
+
}();
|
|
463
|
+
/**
|
|
464
|
+
* Indicates the name of the license. Possible values could be NCI Pro, NCM Ultimate.
|
|
465
|
+
* @memberof EntitlementDetail
|
|
466
|
+
*/
|
|
467
|
+
function _toJsonMapType(obj, forMutation) {
|
|
468
|
+
if (obj instanceof Map) {
|
|
469
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
470
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
471
|
+
k = _ref2[0],
|
|
472
|
+
v = _ref2[1];
|
|
473
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
474
|
+
}));
|
|
475
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
476
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
477
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
478
|
+
}));
|
|
479
|
+
}
|
|
480
|
+
return obj;
|
|
481
|
+
}
|
|
482
|
+
/*
|
|
483
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
484
|
+
* @param {Object} obj Object to serialize
|
|
485
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
486
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
487
|
+
*/
|
|
488
|
+
function _handleDateType(obj, isDateOnly) {
|
|
489
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
490
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
491
|
+
}
|
|
492
|
+
return obj;
|
|
493
|
+
}
|
|
494
|
+
EntitlementDetail.prototype.name = undefined;
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* @memberof EntitlementDetail
|
|
498
|
+
*/
|
|
499
|
+
EntitlementDetail.prototype.type = undefined;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @memberof EntitlementDetail
|
|
503
|
+
*/
|
|
504
|
+
EntitlementDetail.prototype.category = undefined;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* @memberof EntitlementDetail
|
|
508
|
+
*/
|
|
509
|
+
EntitlementDetail.prototype.subCategory = undefined;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* @memberof EntitlementDetail
|
|
513
|
+
*/
|
|
514
|
+
EntitlementDetail.prototype.meter = undefined;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Attribute for capturing quantity for entitlement.
|
|
518
|
+
* @memberof EntitlementDetail
|
|
519
|
+
*/
|
|
520
|
+
EntitlementDetail.prototype.quantity = undefined;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Attribute for capturing earliest expiry date across entitlements.
|
|
524
|
+
* @memberof EntitlementDetail
|
|
525
|
+
*/
|
|
526
|
+
EntitlementDetail.prototype.earliestExpiryDate = undefined;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* @memberof EntitlementDetail
|
|
530
|
+
*/
|
|
531
|
+
EntitlementDetail.prototype.scope = undefined;
|
|
532
|
+
EntitlementDetail.prototype.$reserved = undefined;
|
|
533
|
+
EntitlementDetail.prototype.$objectType = undefined;
|
|
534
|
+
EntitlementDetail.prototype.$unknownFields = undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The EntitlementDetailProjection model module.
|
|
3
|
+
* @module Ntnx/EntitlementDetailProjection
|
|
4
|
+
* @version 1.421.1
|
|
5
|
+
* @class EntitlementDetailProjection
|
|
6
|
+
* @extends EntitlementDetail
|
|
7
|
+
*/
|
|
8
|
+
export default class EntitlementDetailProjection extends EntitlementDetail {
|
|
9
|
+
}
|
|
10
|
+
import EntitlementDetail from "./EntitlementDetail";
|