@nutanix-scratch/licensing-js-client 4.0.1 → 4.2.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/README.md +20 -19
- package/dist/Ntnx-Licensing-js-client-prod.js +1 -1
- package/dist/Ntnx-Licensing-js-client.js +265 -166
- package/dist/es/ApiClient.d.ts +7 -1
- package/dist/es/ApiClient.js +16 -25
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +3 -3
- package/dist/es/apis/enduserlicenseagreement-endpoints.d.ts +1 -1
- package/dist/es/apis/enduserlicenseagreement-endpoints.js +5 -5
- package/dist/es/apis/licensekeys-endpoints.d.ts +7 -22
- package/dist/es/apis/licensekeys-endpoints.js +16 -30
- package/dist/es/apis/licenses-endpoints.d.ts +15 -101
- package/dist/es/apis/licenses-endpoints.js +36 -112
- package/dist/es/index.d.ts +27 -9
- package/dist/es/index.js +92 -20
- package/dist/es/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/es/models/common/v1/config/Flag.js +3 -3
- package/dist/es/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/es/models/common/v1/config/KVPair.js +3 -3
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/es/models/common/v1/config/Message.d.ts +1 -1
- package/dist/es/models/common/v1/config/Message.js +3 -3
- package/dist/es/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +4 -4
- package/dist/es/models/common/v1/config/TenantAwareModel.js +7 -7
- package/dist/es/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiLink.js +3 -3
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
- package/dist/es/models/licensing/v4/agreements/Acceptance.d.ts +1 -1
- package/dist/es/models/licensing/v4/agreements/Acceptance.js +4 -4
- package/dist/es/models/licensing/v4/agreements/AddUserApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/agreements/AddUserApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/agreements/EndUser.d.ts +1 -1
- package/dist/es/models/licensing/v4/agreements/EndUser.js +4 -4
- package/dist/es/models/licensing/v4/agreements/Eula.d.ts +1 -1
- package/dist/es/models/licensing/v4/agreements/Eula.js +5 -5
- package/dist/es/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/agreements/GetEulaApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/AddLicenseKeyApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/AddLicenseKeyApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.d.ts +14 -3
- package/dist/es/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.js +4 -4
- package/dist/es/models/licensing/v4/config/Allowance.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Allowance.js +5 -5
- package/dist/es/models/licensing/v4/config/AllowanceDetail.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/AllowanceDetail.js +4 -4
- package/dist/es/models/licensing/v4/config/AllowanceDetailProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/AllowanceDetailProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/AllowanceProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/AllowanceProjection.js +5 -5
- package/dist/es/models/licensing/v4/config/AssignLicenseKeysApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/AssignLicenseKeysApiResponse.js +5 -5
- 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 +1 -1
- package/dist/es/models/licensing/v4/config/BaseClusterInfo.js +5 -5
- package/dist/es/models/licensing/v4/config/BaseLicenseInfo.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/BaseLicenseInfo.js +5 -5
- package/dist/es/models/licensing/v4/config/BillingPlan.js +2 -2
- package/dist/es/models/licensing/v4/config/CapacityViolation.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/CapacityViolation.js +4 -4
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMapping.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMapping.js +4 -4
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/ClusterType.js +2 -2
- package/dist/es/models/licensing/v4/config/Compliance.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Compliance.js +5 -5
- package/dist/es/models/licensing/v4/config/ComplianceProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ComplianceProjection.js +5 -5
- package/dist/es/models/licensing/v4/config/Consumption.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Consumption.js +4 -4
- package/dist/es/models/licensing/v4/config/ConsumptionProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ConsumptionProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/ConsumptionType.js +2 -2
- package/dist/es/models/licensing/v4/config/DeleteLicenseKeyApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/DeleteLicenseKeyApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/DryRunCheck.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/DryRunCheck.js +7 -4
- package/dist/es/models/licensing/v4/config/DryRunStatus.js +2 -2
- package/dist/es/models/licensing/v4/config/DryRunValidationResult.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/DryRunValidationResult.js +4 -4
- package/dist/es/models/licensing/v4/config/EnforcementActions.js +2 -2
- package/dist/es/models/licensing/v4/config/EnforcementLevel.js +2 -2
- package/dist/es/models/licensing/v4/config/EnforcementPolicy.js +2 -2
- package/dist/es/models/licensing/v4/config/Entitlement.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Entitlement.js +5 -5
- package/dist/es/models/licensing/v4/config/EntitlementDetail.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/EntitlementDetail.js +4 -4
- package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/EntitlementProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/EntitlementProjection.js +5 -5
- package/dist/es/models/licensing/v4/config/ExpiredLicense.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ExpiredLicense.js +5 -5
- package/dist/es/models/licensing/v4/config/Feature.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Feature.js +5 -5
- package/dist/es/models/licensing/v4/config/FeatureDetail.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/FeatureDetail.js +4 -4
- package/dist/es/models/licensing/v4/config/FeatureProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/FeatureProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/FeatureViolation.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/FeatureViolation.js +4 -4
- package/dist/es/models/licensing/v4/config/GetLicenseKeyApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/GetLicenseKeyApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/License.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/License.js +5 -5
- package/dist/es/models/licensing/v4/config/LicenseCategory.js +22 -4
- package/dist/es/models/licensing/v4/config/LicenseClass.js +2 -2
- package/dist/es/models/licensing/v4/config/LicenseKey.d.ts +59 -16
- package/dist/es/models/licensing/v4/config/LicenseKey.js +166 -52
- package/dist/{lib/models/licensing/v4/config/LicenseKeyAssignSpec.d.ts → es/models/licensing/v4/config/LicenseKeyAssignment.d.ts} +8 -8
- package/dist/{lib/models/licensing/v4/config/LicenseKeyAssignSpec.js → es/models/licensing/v4/config/LicenseKeyAssignment.js} +27 -27
- 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/{agreements/UpdateEulaApiResponse.js → config/LicenseKeyAssociation.js} +166 -128
- 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 +1 -1
- package/dist/es/models/licensing/v4/config/LicenseKeyMapping.js +4 -4
- package/dist/es/models/licensing/v4/config/LicenseKeyProjection.d.ts +36 -4
- package/dist/es/models/licensing/v4/config/LicenseKeyProjection.js +89 -15
- 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 +1 -1
- package/dist/es/models/licensing/v4/config/LicenseProjection.js +5 -5
- package/dist/es/models/licensing/v4/config/LicenseStateSyncSpec.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/LicenseStateSyncSpec.js +4 -4
- package/dist/es/models/licensing/v4/config/LicenseType.js +22 -4
- package/dist/es/models/licensing/v4/config/ListAllowancesApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListAllowancesApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListEntitlementsApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListEntitlementsApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListLicenseKeysApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListLicenseKeysApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListRecommendationsApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListRecommendationsApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListViolationsApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListViolationsApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/LogicalVersion.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/LogicalVersion.js +4 -4
- package/dist/es/models/licensing/v4/config/Meter.js +10 -4
- package/dist/es/models/licensing/v4/config/OperationType.js +2 -2
- package/dist/es/models/licensing/v4/config/PortalSetting.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/PortalSetting.js +4 -4
- package/dist/es/models/licensing/v4/config/PostPaidCategory.js +2 -2
- package/dist/es/models/licensing/v4/config/PostPaidConfig.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/PostPaidConfig.js +4 -4
- package/dist/es/models/licensing/v4/config/ProductName.js +2 -2
- 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 +1 -1
- package/dist/es/models/licensing/v4/config/Recommendation.js +5 -5
- package/dist/es/models/licensing/v4/config/RecommendationDetail.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/RecommendationDetail.js +4 -4
- package/dist/es/models/licensing/v4/config/RecommendationScope.js +2 -2
- package/dist/es/models/licensing/v4/config/ResetScope.js +2 -2
- package/dist/es/models/licensing/v4/config/Scope.js +2 -2
- package/dist/es/models/licensing/v4/config/Service.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Service.js +4 -4
- package/dist/es/models/licensing/v4/config/ServiceProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ServiceProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/ServiceViolation.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ServiceViolation.js +4 -4
- package/dist/es/models/licensing/v4/config/ServiceViolationType.js +2 -2
- package/dist/es/models/licensing/v4/config/Setting.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Setting.js +5 -5
- package/dist/es/models/licensing/v4/config/Status.js +2 -2
- package/dist/es/models/licensing/v4/config/SubCategory.js +2 -2
- package/dist/es/models/licensing/v4/config/SyncLicenseStateApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/SyncLicenseStateApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/SyncOperationType.js +2 -2
- package/dist/es/models/licensing/v4/config/Trial.d.ts +93 -0
- package/dist/es/models/licensing/v4/config/{ResetLicenseStateApiResponse.js → Trial.js} +194 -138
- 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.js +2 -2
- package/dist/es/models/licensing/v4/config/Violation.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Violation.js +5 -5
- package/dist/es/models/licensing/v4/error/AppMessage.d.ts +4 -4
- package/dist/es/models/licensing/v4/error/AppMessage.js +8 -8
- package/dist/es/models/licensing/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/error/ErrorResponse.js +5 -8
- package/dist/es/models/licensing/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/es/models/licensing/v4/error/SchemaValidationError.js +4 -4
- package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/es/models/prism/v4/config/TaskReference.js +8 -8
- package/dist/es/models/validation/ValidationError.js +2 -2
- package/dist/es/utils/ValidationUtils.js +2 -2
- package/dist/lib/ApiClient.d.ts +7 -1
- package/dist/lib/ApiClient.js +16 -25
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +3 -3
- package/dist/lib/apis/enduserlicenseagreement-endpoints.d.ts +1 -1
- package/dist/lib/apis/enduserlicenseagreement-endpoints.js +5 -5
- package/dist/lib/apis/licensekeys-endpoints.d.ts +7 -22
- package/dist/lib/apis/licensekeys-endpoints.js +16 -30
- package/dist/lib/apis/licenses-endpoints.d.ts +15 -101
- package/dist/lib/apis/licenses-endpoints.js +36 -112
- package/dist/lib/index.d.ts +27 -9
- package/dist/lib/index.js +92 -20
- package/dist/lib/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Flag.js +3 -3
- package/dist/lib/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/lib/models/common/v1/config/KVPair.js +3 -3
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/lib/models/common/v1/config/Message.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Message.js +3 -3
- package/dist/lib/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +4 -4
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +7 -7
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiLink.js +3 -3
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
- package/dist/lib/models/licensing/v4/agreements/Acceptance.d.ts +1 -1
- package/dist/lib/models/licensing/v4/agreements/Acceptance.js +4 -4
- package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/agreements/EndUser.d.ts +1 -1
- package/dist/lib/models/licensing/v4/agreements/EndUser.js +4 -4
- package/dist/lib/models/licensing/v4/agreements/Eula.d.ts +1 -1
- package/dist/lib/models/licensing/v4/agreements/Eula.js +5 -5
- package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.d.ts +14 -3
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.js +4 -4
- package/dist/lib/models/licensing/v4/config/Allowance.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Allowance.js +5 -5
- package/dist/lib/models/licensing/v4/config/AllowanceDetail.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/AllowanceDetail.js +4 -4
- package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/AllowanceProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/AllowanceProjection.js +5 -5
- package/dist/lib/models/licensing/v4/config/AssignLicenseKeysApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/AssignLicenseKeysApiResponse.js +5 -5
- 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 +1 -1
- package/dist/lib/models/licensing/v4/config/BaseClusterInfo.js +5 -5
- package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.js +5 -5
- package/dist/lib/models/licensing/v4/config/BillingPlan.js +2 -2
- package/dist/lib/models/licensing/v4/config/CapacityViolation.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/CapacityViolation.js +4 -4
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMapping.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMapping.js +4 -4
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/ClusterType.js +2 -2
- package/dist/lib/models/licensing/v4/config/Compliance.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Compliance.js +5 -5
- package/dist/lib/models/licensing/v4/config/ComplianceProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ComplianceProjection.js +5 -5
- package/dist/lib/models/licensing/v4/config/Consumption.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Consumption.js +4 -4
- package/dist/lib/models/licensing/v4/config/ConsumptionProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ConsumptionProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/ConsumptionType.js +2 -2
- package/dist/lib/models/licensing/v4/config/DeleteLicenseKeyApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/DeleteLicenseKeyApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/DryRunCheck.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/DryRunCheck.js +7 -4
- package/dist/lib/models/licensing/v4/config/DryRunStatus.js +2 -2
- package/dist/lib/models/licensing/v4/config/DryRunValidationResult.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/DryRunValidationResult.js +4 -4
- package/dist/lib/models/licensing/v4/config/EnforcementActions.js +2 -2
- package/dist/lib/models/licensing/v4/config/EnforcementLevel.js +2 -2
- package/dist/lib/models/licensing/v4/config/EnforcementPolicy.js +2 -2
- package/dist/lib/models/licensing/v4/config/Entitlement.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Entitlement.js +5 -5
- package/dist/lib/models/licensing/v4/config/EntitlementDetail.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/EntitlementDetail.js +4 -4
- package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/EntitlementProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/EntitlementProjection.js +5 -5
- package/dist/lib/models/licensing/v4/config/ExpiredLicense.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ExpiredLicense.js +5 -5
- package/dist/lib/models/licensing/v4/config/Feature.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Feature.js +5 -5
- package/dist/lib/models/licensing/v4/config/FeatureDetail.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/FeatureDetail.js +4 -4
- package/dist/lib/models/licensing/v4/config/FeatureProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/FeatureProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/FeatureViolation.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/FeatureViolation.js +4 -4
- package/dist/lib/models/licensing/v4/config/GetLicenseKeyApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/GetLicenseKeyApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/License.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/License.js +5 -5
- package/dist/lib/models/licensing/v4/config/LicenseCategory.js +22 -4
- package/dist/lib/models/licensing/v4/config/LicenseClass.js +2 -2
- package/dist/lib/models/licensing/v4/config/LicenseKey.d.ts +59 -16
- package/dist/lib/models/licensing/v4/config/LicenseKey.js +166 -52
- package/dist/{es/models/licensing/v4/config/LicenseKeyAssignSpec.d.ts → lib/models/licensing/v4/config/LicenseKeyAssignment.d.ts} +8 -8
- package/dist/{es/models/licensing/v4/config/LicenseKeyAssignSpec.js → lib/models/licensing/v4/config/LicenseKeyAssignment.js} +27 -27
- 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/{agreements/UpdateEulaApiResponse.js → config/LicenseKeyAssociation.js} +166 -128
- 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 +1 -1
- package/dist/lib/models/licensing/v4/config/LicenseKeyMapping.js +4 -4
- package/dist/lib/models/licensing/v4/config/LicenseKeyProjection.d.ts +36 -4
- package/dist/lib/models/licensing/v4/config/LicenseKeyProjection.js +89 -15
- 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 +1 -1
- package/dist/lib/models/licensing/v4/config/LicenseProjection.js +5 -5
- package/dist/lib/models/licensing/v4/config/LicenseStateSyncSpec.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/LicenseStateSyncSpec.js +4 -4
- package/dist/lib/models/licensing/v4/config/LicenseType.js +22 -4
- package/dist/lib/models/licensing/v4/config/ListAllowancesApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListAllowancesApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListEntitlementsApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListEntitlementsApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListLicenseKeysApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListLicenseKeysApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListRecommendationsApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListRecommendationsApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListViolationsApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListViolationsApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/LogicalVersion.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/LogicalVersion.js +4 -4
- package/dist/lib/models/licensing/v4/config/Meter.js +10 -4
- package/dist/lib/models/licensing/v4/config/OperationType.js +2 -2
- package/dist/lib/models/licensing/v4/config/PortalSetting.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/PortalSetting.js +4 -4
- package/dist/lib/models/licensing/v4/config/PostPaidCategory.js +2 -2
- package/dist/lib/models/licensing/v4/config/PostPaidConfig.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/PostPaidConfig.js +4 -4
- package/dist/lib/models/licensing/v4/config/ProductName.js +2 -2
- 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 +1 -1
- package/dist/lib/models/licensing/v4/config/Recommendation.js +5 -5
- package/dist/lib/models/licensing/v4/config/RecommendationDetail.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/RecommendationDetail.js +4 -4
- package/dist/lib/models/licensing/v4/config/RecommendationScope.js +2 -2
- package/dist/lib/models/licensing/v4/config/ResetScope.js +2 -2
- package/dist/lib/models/licensing/v4/config/Scope.js +2 -2
- package/dist/lib/models/licensing/v4/config/Service.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Service.js +4 -4
- package/dist/lib/models/licensing/v4/config/ServiceProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ServiceProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/ServiceViolation.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ServiceViolation.js +4 -4
- package/dist/lib/models/licensing/v4/config/ServiceViolationType.js +2 -2
- package/dist/lib/models/licensing/v4/config/Setting.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Setting.js +5 -5
- package/dist/lib/models/licensing/v4/config/Status.js +2 -2
- package/dist/lib/models/licensing/v4/config/SubCategory.js +2 -2
- package/dist/lib/models/licensing/v4/config/SyncLicenseStateApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/SyncLicenseStateApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/SyncOperationType.js +2 -2
- package/dist/lib/models/licensing/v4/config/Trial.d.ts +93 -0
- package/dist/lib/models/licensing/v4/config/{ResetLicenseStateApiResponse.js → Trial.js} +194 -138
- 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.js +2 -2
- package/dist/lib/models/licensing/v4/config/Violation.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Violation.js +5 -5
- package/dist/lib/models/licensing/v4/error/AppMessage.d.ts +4 -4
- package/dist/lib/models/licensing/v4/error/AppMessage.js +8 -8
- package/dist/lib/models/licensing/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/error/ErrorResponse.js +5 -8
- package/dist/lib/models/licensing/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/lib/models/licensing/v4/error/SchemaValidationError.js +4 -4
- package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/lib/models/prism/v4/config/TaskReference.js +8 -8
- package/dist/lib/models/validation/ValidationError.js +2 -2
- package/dist/lib/utils/ValidationUtils.js +2 -2
- package/package.json +3 -3
- package/dist/es/models/licensing/v4/agreements/UpdateEulaApiResponse.d.ts +0 -101
- package/dist/es/models/licensing/v4/config/ResetLicenseStateApiResponse.d.ts +0 -102
- package/dist/es/models/licensing/v4/config/UpdatePortalSettingApiResponse.d.ts +0 -99
- package/dist/es/models/licensing/v4/config/UpdatePortalSettingApiResponse.js +0 -365
- package/dist/lib/models/licensing/v4/agreements/UpdateEulaApiResponse.d.ts +0 -101
- package/dist/lib/models/licensing/v4/config/ResetLicenseStateApiResponse.d.ts +0 -102
- package/dist/lib/models/licensing/v4/config/UpdatePortalSettingApiResponse.d.ts +0 -99
- package/dist/lib/models/licensing/v4/config/UpdatePortalSettingApiResponse.js +0 -365
|
@@ -8,8 +8,12 @@ var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/confi
|
|
|
8
8
|
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
9
9
|
var _ClusterLicenseKeyMapping = _interopRequireDefault(require("./ClusterLicenseKeyMapping"));
|
|
10
10
|
var _ClusterLicenseKeyMappingProjection = _interopRequireDefault(require("./ClusterLicenseKeyMappingProjection"));
|
|
11
|
+
var _EnforcementPolicy = _interopRequireDefault(require("./EnforcementPolicy"));
|
|
11
12
|
var _LicenseCategory = _interopRequireDefault(require("./LicenseCategory"));
|
|
12
13
|
var _LicenseKey2 = _interopRequireDefault(require("./LicenseKey"));
|
|
14
|
+
var _LicenseKeyAssociation = _interopRequireDefault(require("./LicenseKeyAssociation"));
|
|
15
|
+
var _LicenseKeyAssociationProjection = _interopRequireDefault(require("./LicenseKeyAssociationProjection"));
|
|
16
|
+
var _LicenseKeySubCategory = _interopRequireDefault(require("./LicenseKeySubCategory"));
|
|
13
17
|
var _LicenseType = _interopRequireDefault(require("./LicenseType"));
|
|
14
18
|
var _Meter = _interopRequireDefault(require("./Meter"));
|
|
15
19
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
@@ -43,11 +47,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
43
47
|
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"); } /*
|
|
44
48
|
* Nutanix Licensing APIs
|
|
45
49
|
*
|
|
46
|
-
* OpenAPI spec version: 4.
|
|
50
|
+
* OpenAPI spec version: 4.2.1
|
|
47
51
|
*
|
|
48
52
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
49
53
|
*
|
|
50
|
-
* Open API Dev Platform Codegen version:
|
|
54
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
51
55
|
*
|
|
52
56
|
* Do not edit the class manually.
|
|
53
57
|
*
|
|
@@ -55,7 +59,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
55
59
|
/**
|
|
56
60
|
* The LicenseKeyProjection model module.
|
|
57
61
|
* @module Ntnx/LicenseKeyProjection
|
|
58
|
-
* @version 4.
|
|
62
|
+
* @version 4.2.1
|
|
59
63
|
* @class LicenseKeyProjection
|
|
60
64
|
* @extends LicenseKey
|
|
61
65
|
*/
|
|
@@ -80,7 +84,7 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
80
84
|
_this.$objectType = "licensing.v4.config.LicenseKeyProjection";
|
|
81
85
|
/** @type {object<string, any>} */
|
|
82
86
|
_this.$reserved = {
|
|
83
|
-
'$fv': "v4.
|
|
87
|
+
'$fv': "v4.r2"
|
|
84
88
|
};
|
|
85
89
|
/** @type {object<string, any>} */
|
|
86
90
|
_this.$unknownFields = {};
|
|
@@ -114,14 +118,36 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
114
118
|
value: function setClusterLicenseKeyMappingProjection(clusterLicenseKeyMappingProjection) {
|
|
115
119
|
this.clusterLicenseKeyMappingProjection = clusterLicenseKeyMappingProjection;
|
|
116
120
|
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @return {LicenseKeyAssociationProjection[]}
|
|
124
|
+
*/
|
|
125
|
+
}, {
|
|
126
|
+
key: "getLicenseKeyAssociationProjection",
|
|
127
|
+
value: function getLicenseKeyAssociationProjection() {
|
|
128
|
+
return this.licenseKeyAssociationProjection;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @param {LicenseKeyAssociationProjection[]} licenseKeyAssociationProjection
|
|
133
|
+
*/
|
|
134
|
+
}, {
|
|
135
|
+
key: "setLicenseKeyAssociationProjection",
|
|
136
|
+
value: function setLicenseKeyAssociationProjection(licenseKeyAssociationProjection) {
|
|
137
|
+
this.licenseKeyAssociationProjection = licenseKeyAssociationProjection;
|
|
138
|
+
}
|
|
117
139
|
}, {
|
|
118
140
|
key: "toJson",
|
|
119
141
|
value: function toJson(forMutation) {
|
|
120
142
|
if (forMutation === false) {
|
|
121
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getClusterLicenseKeyMappingProjection() !== 'undefined' && this.getClusterLicenseKeyMappingProjection() !== null ? {
|
|
143
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getClusterLicenseKeyMappingProjection() !== 'undefined' && this.getClusterLicenseKeyMappingProjection() !== null ? {
|
|
122
144
|
'clusterLicenseKeyMappingProjection': this.getClusterLicenseKeyMappingProjection().map(function (item) {
|
|
123
145
|
return item.toJson(false);
|
|
124
146
|
})
|
|
147
|
+
} : {}), typeof this.getLicenseKeyAssociationProjection() !== 'undefined' && this.getLicenseKeyAssociationProjection() !== null ? {
|
|
148
|
+
'licenseKeyAssociationProjection': this.getLicenseKeyAssociationProjection().map(function (item) {
|
|
149
|
+
return item.toJson(false);
|
|
150
|
+
})
|
|
125
151
|
} : {}), typeof this.getKey() !== 'undefined' && this.getKey() !== null ? {
|
|
126
152
|
'key': this.getKey()
|
|
127
153
|
} : {}), typeof this.getValidationDetail() !== 'undefined' && this.getValidationDetail() !== null ? {
|
|
@@ -130,18 +156,26 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
130
156
|
'type': this.getType()
|
|
131
157
|
} : {}), typeof this.getCategory() !== 'undefined' && this.getCategory() !== null ? {
|
|
132
158
|
'category': this.getCategory()
|
|
133
|
-
} : {}), typeof this.
|
|
134
|
-
'
|
|
159
|
+
} : {}), typeof this.getSubCategory() !== 'undefined' && this.getSubCategory() !== null ? {
|
|
160
|
+
'subCategory': this.getSubCategory()
|
|
161
|
+
} : {}), typeof this.getEntitlementExpiryDate() !== 'undefined' && this.getEntitlementExpiryDate() !== null ? {
|
|
162
|
+
'entitlementExpiryDate': _assertClassBrand(_LicenseKeyProjection_brand, this, _handleDateType).call(this, this.getEntitlementExpiryDate(), true)
|
|
135
163
|
} : {}), typeof this.getMeter() !== 'undefined' && this.getMeter() !== null ? {
|
|
136
164
|
'meter': this.getMeter()
|
|
137
165
|
} : {}), typeof this.getQuantity() !== 'undefined' && this.getQuantity() !== null ? {
|
|
138
166
|
'quantity': this.getQuantity()
|
|
139
|
-
} : {}), typeof this.
|
|
140
|
-
'
|
|
167
|
+
} : {}), typeof this.getGroupId() !== 'undefined' && this.getGroupId() !== null ? {
|
|
168
|
+
'groupId': this.getGroupId()
|
|
169
|
+
} : {}), typeof this.getEnforcementPolicy() !== 'undefined' && this.getEnforcementPolicy() !== null ? {
|
|
170
|
+
'enforcementPolicy': this.getEnforcementPolicy()
|
|
141
171
|
} : {}), typeof this.getAssignmentDetails() !== 'undefined' && this.getAssignmentDetails() !== null ? {
|
|
142
172
|
'assignmentDetails': this.getAssignmentDetails().map(function (item) {
|
|
143
173
|
return item.toJson(false);
|
|
144
174
|
})
|
|
175
|
+
} : {}), typeof this.getAssociationDetails() !== 'undefined' && this.getAssociationDetails() !== null ? {
|
|
176
|
+
'associationDetails': this.getAssociationDetails().map(function (item) {
|
|
177
|
+
return item.toJson(false);
|
|
178
|
+
})
|
|
145
179
|
} : {}), typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
146
180
|
'extId': this.getExtId()
|
|
147
181
|
} : {}), typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
@@ -156,10 +190,14 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
156
190
|
'$unknownFields': this.get$UnknownFields()
|
|
157
191
|
});
|
|
158
192
|
}
|
|
159
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getClusterLicenseKeyMappingProjection() !== 'undefined' && this.getClusterLicenseKeyMappingProjection() !== null ? {
|
|
193
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getClusterLicenseKeyMappingProjection() !== 'undefined' && this.getClusterLicenseKeyMappingProjection() !== null ? {
|
|
160
194
|
'clusterLicenseKeyMappingProjection': this.getClusterLicenseKeyMappingProjection().map(function (item) {
|
|
161
195
|
return item.toJson(false);
|
|
162
196
|
})
|
|
197
|
+
} : {}), typeof this.getLicenseKeyAssociationProjection() !== 'undefined' && this.getLicenseKeyAssociationProjection() !== null ? {
|
|
198
|
+
'licenseKeyAssociationProjection': this.getLicenseKeyAssociationProjection().map(function (item) {
|
|
199
|
+
return item.toJson(false);
|
|
200
|
+
})
|
|
163
201
|
} : {}), typeof this.getKey() !== 'undefined' && this.getKey() !== null ? {
|
|
164
202
|
'key': this.getKey()
|
|
165
203
|
} : {}), typeof this.getValidationDetail() !== 'undefined' && this.getValidationDetail() !== null ? {
|
|
@@ -168,8 +206,12 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
168
206
|
'type': this.getType()
|
|
169
207
|
} : {}), typeof this.getCategory() !== 'undefined' && this.getCategory() !== null ? {
|
|
170
208
|
'category': this.getCategory()
|
|
209
|
+
} : {}), typeof this.getSubCategory() !== 'undefined' && this.getSubCategory() !== null ? {
|
|
210
|
+
'subCategory': this.getSubCategory()
|
|
171
211
|
} : {}), typeof this.getMeter() !== 'undefined' && this.getMeter() !== null ? {
|
|
172
212
|
'meter': this.getMeter()
|
|
213
|
+
} : {}), typeof this.getEnforcementPolicy() !== 'undefined' && this.getEnforcementPolicy() !== null ? {
|
|
214
|
+
'enforcementPolicy': this.getEnforcementPolicy()
|
|
173
215
|
} : {}), {}, {
|
|
174
216
|
'$reserved': this.get$Reserved(),
|
|
175
217
|
'$objectType': this.get$ObjectType(),
|
|
@@ -216,6 +258,11 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
216
258
|
return new _ValidationError["default"]("clusterLicenseKeyMappingProjection", "undefined or null");
|
|
217
259
|
}
|
|
218
260
|
}
|
|
261
|
+
if (property === "licenseKeyAssociationProjection") {
|
|
262
|
+
if (typeof this.licenseKeyAssociationProjection === 'undefined' || this.licenseKeyAssociationProjection === null) {
|
|
263
|
+
return new _ValidationError["default"]("licenseKeyAssociationProjection", "undefined or null");
|
|
264
|
+
}
|
|
265
|
+
}
|
|
219
266
|
return new _ValidationError["default"](property, "no such property exists");
|
|
220
267
|
}
|
|
221
268
|
}], [{
|
|
@@ -236,6 +283,15 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
236
283
|
}
|
|
237
284
|
obj.setClusterLicenseKeyMappingProjection(itemArr);
|
|
238
285
|
}
|
|
286
|
+
if (data.hasOwnProperty('licenseKeyAssociationProjection') && data.licenseKeyAssociationProjection !== null && data.licenseKeyAssociationProjection !== undefined) {
|
|
287
|
+
itemArr = [];
|
|
288
|
+
items = data.licenseKeyAssociationProjection;
|
|
289
|
+
for (i = 0; i < items.length; i++) {
|
|
290
|
+
item = _LicenseKeyAssociationProjection["default"].constructFromObject(items[i], undefined);
|
|
291
|
+
itemArr.push(item);
|
|
292
|
+
}
|
|
293
|
+
obj.setLicenseKeyAssociationProjection(itemArr);
|
|
294
|
+
}
|
|
239
295
|
if (!callFromChild) {
|
|
240
296
|
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
241
297
|
for (var property in data) {
|
|
@@ -298,6 +354,11 @@ function _handleDateType(obj, isDateOnly) {
|
|
|
298
354
|
}
|
|
299
355
|
LicenseKeyProjection.prototype.clusterLicenseKeyMappingProjection = undefined;
|
|
300
356
|
|
|
357
|
+
/**
|
|
358
|
+
* @memberof LicenseKeyProjection
|
|
359
|
+
*/
|
|
360
|
+
LicenseKeyProjection.prototype.licenseKeyAssociationProjection = undefined;
|
|
361
|
+
|
|
301
362
|
/**
|
|
302
363
|
* Attribute for capturing license key.
|
|
303
364
|
* @memberof LicenseKeyProjection
|
|
@@ -317,10 +378,14 @@ _LicenseKey2["default"].prototype.type = undefined;
|
|
|
317
378
|
*/
|
|
318
379
|
_LicenseKey2["default"].prototype.category = undefined;
|
|
319
380
|
/**
|
|
320
|
-
* Attribute for capturing license key expiration date.
|
|
321
381
|
* @memberof LicenseKeyProjection
|
|
322
382
|
*/
|
|
323
|
-
_LicenseKey2["default"].prototype.
|
|
383
|
+
_LicenseKey2["default"].prototype.subCategory = undefined;
|
|
384
|
+
/**
|
|
385
|
+
* Attribute for capturing expiry date of the entitlement encoded in license key.
|
|
386
|
+
* @memberof LicenseKeyProjection
|
|
387
|
+
*/
|
|
388
|
+
_LicenseKey2["default"].prototype.entitlementExpiryDate = undefined;
|
|
324
389
|
/**
|
|
325
390
|
* @memberof LicenseKeyProjection
|
|
326
391
|
*/
|
|
@@ -331,15 +396,24 @@ _LicenseKey2["default"].prototype.meter = undefined;
|
|
|
331
396
|
*/
|
|
332
397
|
_LicenseKey2["default"].prototype.quantity = undefined;
|
|
333
398
|
/**
|
|
334
|
-
* Attribute for capturing
|
|
399
|
+
* Attribute for capturing groupId associated with this license key.
|
|
335
400
|
* @memberof LicenseKeyProjection
|
|
336
401
|
*/
|
|
337
|
-
_LicenseKey2["default"].prototype.
|
|
402
|
+
_LicenseKey2["default"].prototype.groupId = undefined;
|
|
403
|
+
/**
|
|
404
|
+
* @memberof LicenseKeyProjection
|
|
405
|
+
*/
|
|
406
|
+
_LicenseKey2["default"].prototype.enforcementPolicy = undefined;
|
|
338
407
|
/**
|
|
339
408
|
* Expansion attribute used for fetching the license key assignment details.
|
|
340
409
|
* @memberof LicenseKeyProjection
|
|
341
410
|
*/
|
|
342
411
|
_LicenseKey2["default"].prototype.assignmentDetails = undefined;
|
|
412
|
+
/**
|
|
413
|
+
* Expansion attribute capturing list of associated keys with details.
|
|
414
|
+
* @memberof LicenseKeyProjection
|
|
415
|
+
*/
|
|
416
|
+
_LicenseKey2["default"].prototype.associationDetails = undefined;
|
|
343
417
|
/**
|
|
344
418
|
* A globally unique identifier of an instance that is suitable for external consumption.
|
|
345
419
|
* @memberof LicenseKeyProjection
|
|
@@ -351,7 +425,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
|
351
425
|
*/
|
|
352
426
|
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
353
427
|
/**
|
|
354
|
-
* 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
|
|
428
|
+
* 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).
|
|
355
429
|
* @memberof LicenseKeyProjection
|
|
356
430
|
*/
|
|
357
431
|
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default LicenseKeySubCategory;
|
|
2
|
+
/**
|
|
3
|
+
* *
|
|
4
|
+
*/
|
|
5
|
+
type LicenseKeySubCategory = string;
|
|
6
|
+
declare namespace LicenseKeySubCategory {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a <code>LicenseKeySubCategory</code> enum value from a JavaScript object name.
|
|
9
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
10
|
+
* @return {LicenseKeySubCategory} The enum <code>LicenseKeySubCategory</code> value.
|
|
11
|
+
*/
|
|
12
|
+
function constructFromObject(obj: any): string;
|
|
13
|
+
/**
|
|
14
|
+
* Validates <code>LicenseKeySubCategory</code> enum value.
|
|
15
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
16
|
+
* @return {null} Throws error for invalid value.
|
|
17
|
+
*/
|
|
18
|
+
function validate(obj: any): null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
8
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
/*
|
|
12
|
+
* Nutanix Licensing APIs
|
|
13
|
+
*
|
|
14
|
+
* OpenAPI spec version: 4.2.1
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
|
+
*
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
|
+
*
|
|
20
|
+
* Do not edit the class manually.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Enum class LicenseKeySubCategory.
|
|
26
|
+
* @enum {string}
|
|
27
|
+
* @readonly
|
|
28
|
+
*/
|
|
29
|
+
var LicenseKeySubCategory = {
|
|
30
|
+
/**
|
|
31
|
+
* Unknown value.
|
|
32
|
+
* @const
|
|
33
|
+
*/
|
|
34
|
+
$UNKNOWN: "$UNKNOWN",
|
|
35
|
+
/**
|
|
36
|
+
* Redacted value.
|
|
37
|
+
* @const
|
|
38
|
+
*/
|
|
39
|
+
$REDACTED: "$REDACTED",
|
|
40
|
+
/**
|
|
41
|
+
* License is a primary license.
|
|
42
|
+
* @const
|
|
43
|
+
*/
|
|
44
|
+
PRIMARY: "PRIMARY",
|
|
45
|
+
/**
|
|
46
|
+
* License is an addon.
|
|
47
|
+
* @const
|
|
48
|
+
*/
|
|
49
|
+
ADDON: "ADDON"
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Returns a <code>LicenseKeySubCategory</code> enum value from a JavaScript object name.
|
|
54
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
55
|
+
* @return {LicenseKeySubCategory} The enum <code>LicenseKeySubCategory</code> value.
|
|
56
|
+
*/
|
|
57
|
+
LicenseKeySubCategory.constructFromObject = function (obj) {
|
|
58
|
+
if (typeof obj === 'string' || obj instanceof String) {
|
|
59
|
+
var enumVal = Object.keys(LicenseKeySubCategory).find(function (key) {
|
|
60
|
+
return LicenseKeySubCategory[key] === obj;
|
|
61
|
+
});
|
|
62
|
+
return enumVal === undefined || enumVal === null ? LicenseKeySubCategory.$UNKNOWN : LicenseKeySubCategory[enumVal];
|
|
63
|
+
} else {
|
|
64
|
+
throw new Error("Received object name is not an instance of String");
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Validates <code>LicenseKeySubCategory</code> enum value.
|
|
70
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
71
|
+
* @return {null} Throws error for invalid value.
|
|
72
|
+
*/
|
|
73
|
+
LicenseKeySubCategory.validate = function (obj) {
|
|
74
|
+
switch (obj) {
|
|
75
|
+
case LicenseKeySubCategory.$UNKNOWN:
|
|
76
|
+
case LicenseKeySubCategory.$REDACTED:
|
|
77
|
+
case LicenseKeySubCategory.PRIMARY:
|
|
78
|
+
case LicenseKeySubCategory.ADDON:
|
|
79
|
+
return;
|
|
80
|
+
default:
|
|
81
|
+
throw new Error("Invalid : must be LicenseKeySubCategory.{ $UNKNOWN|$REDACTED|PRIMARY|ADDON }");
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
Object.freeze(LicenseKeySubCategory);
|
|
85
|
+
var _default = exports["default"] = LicenseKeySubCategory;
|
|
@@ -43,11 +43,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
43
43
|
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"); } /*
|
|
44
44
|
* Nutanix Licensing APIs
|
|
45
45
|
*
|
|
46
|
-
* OpenAPI spec version: 4.
|
|
46
|
+
* OpenAPI spec version: 4.2.1
|
|
47
47
|
*
|
|
48
48
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
49
49
|
*
|
|
50
|
-
* Open API Dev Platform Codegen version:
|
|
50
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
51
51
|
*
|
|
52
52
|
* Do not edit the class manually.
|
|
53
53
|
*
|
|
@@ -55,7 +55,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
55
55
|
/**
|
|
56
56
|
* The LicenseProjection model module.
|
|
57
57
|
* @module Ntnx/LicenseProjection
|
|
58
|
-
* @version 4.
|
|
58
|
+
* @version 4.2.1
|
|
59
59
|
* @class LicenseProjection
|
|
60
60
|
* @extends License
|
|
61
61
|
*/
|
|
@@ -80,7 +80,7 @@ var LicenseProjection = exports["default"] = /*#__PURE__*/function (_License) {
|
|
|
80
80
|
_this.$objectType = "licensing.v4.config.LicenseProjection";
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$reserved = {
|
|
83
|
-
'$fv': "v4.
|
|
83
|
+
'$fv': "v4.r2"
|
|
84
84
|
};
|
|
85
85
|
/** @type {object<string, any>} */
|
|
86
86
|
_this.$unknownFields = {};
|
|
@@ -368,7 +368,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
|
368
368
|
*/
|
|
369
369
|
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
370
370
|
/**
|
|
371
|
-
* 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
|
|
371
|
+
* 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).
|
|
372
372
|
* @memberof LicenseProjection
|
|
373
373
|
*/
|
|
374
374
|
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
@@ -28,11 +28,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
28
28
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
29
29
|
* Nutanix Licensing APIs
|
|
30
30
|
*
|
|
31
|
-
* OpenAPI spec version: 4.
|
|
31
|
+
* OpenAPI spec version: 4.2.1
|
|
32
32
|
*
|
|
33
33
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
34
34
|
*
|
|
35
|
-
* Open API Dev Platform Codegen version:
|
|
35
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
36
36
|
*
|
|
37
37
|
* Do not edit the class manually.
|
|
38
38
|
*
|
|
@@ -40,7 +40,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
/**
|
|
41
41
|
* The LicenseStateSyncSpec model module.
|
|
42
42
|
* @module Ntnx/LicenseStateSyncSpec
|
|
43
|
-
* @version 4.
|
|
43
|
+
* @version 4.2.1
|
|
44
44
|
* @class LicenseStateSyncSpec
|
|
45
45
|
*/
|
|
46
46
|
var _LicenseStateSyncSpec_brand = /*#__PURE__*/new WeakSet();
|
|
@@ -62,7 +62,7 @@ var LicenseStateSyncSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
62
62
|
this.$objectType = "licensing.v4.config.LicenseStateSyncSpec";
|
|
63
63
|
/** @type {object<string, any>} */
|
|
64
64
|
this.$reserved = {
|
|
65
|
-
'$fv': "v4.
|
|
65
|
+
'$fv': "v4.r2"
|
|
66
66
|
};
|
|
67
67
|
/** @type {object<string, any>} */
|
|
68
68
|
this.$unknownFields = {};
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Licensing APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.
|
|
14
|
+
* OpenAPI spec version: 4.2.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -196,7 +196,22 @@ var LicenseType = {
|
|
|
196
196
|
* License type for Nutanix Kubernetes Platform (NKP) Full Stack.
|
|
197
197
|
* @const
|
|
198
198
|
*/
|
|
199
|
-
NKPFS: "NKPFS"
|
|
199
|
+
NKPFS: "NKPFS",
|
|
200
|
+
/**
|
|
201
|
+
* License type for Nutanix Enterprise AI (NAI).
|
|
202
|
+
* @const
|
|
203
|
+
*/
|
|
204
|
+
NAI: "NAI",
|
|
205
|
+
/**
|
|
206
|
+
* License type for Nutanix Enterprise AI and GPT (NAI_GPT).
|
|
207
|
+
* @const
|
|
208
|
+
*/
|
|
209
|
+
NAI_GPT: "NAI_GPT",
|
|
210
|
+
/**
|
|
211
|
+
* License type for Nutanix Data Lens (NDL).
|
|
212
|
+
* @const
|
|
213
|
+
*/
|
|
214
|
+
NDL: "NDL"
|
|
200
215
|
};
|
|
201
216
|
|
|
202
217
|
/**
|
|
@@ -256,9 +271,12 @@ LicenseType.validate = function (obj) {
|
|
|
256
271
|
case LicenseType.NCI_C:
|
|
257
272
|
case LicenseType.NKP:
|
|
258
273
|
case LicenseType.NKPFS:
|
|
274
|
+
case LicenseType.NAI:
|
|
275
|
+
case LicenseType.NAI_GPT:
|
|
276
|
+
case LicenseType.NDL:
|
|
259
277
|
return;
|
|
260
278
|
default:
|
|
261
|
-
throw new Error("Invalid : must be LicenseType.{ $UNKNOWN|$REDACTED|PRISM|CALM|FLOW|OBJECT|AOS|FILE|VDI|ROBO|MINE|NCI|NCM|NCI_D|NDA_PLATFORM|UNIFIED_STORAGE|EUC|OBJECTS|ERA|DRS|NDS|NDA|NDS_PLATFORM|NDB_PLATFORM|NUS|NDB|NCM_CLOUD|EDGE|NO_LICENSE|NCM_EDGE|NCM_EUC|NCI_C|NKP|NKPFS }");
|
|
279
|
+
throw new Error("Invalid : must be LicenseType.{ $UNKNOWN|$REDACTED|PRISM|CALM|FLOW|OBJECT|AOS|FILE|VDI|ROBO|MINE|NCI|NCM|NCI_D|NDA_PLATFORM|UNIFIED_STORAGE|EUC|OBJECTS|ERA|DRS|NDS|NDA|NDS_PLATFORM|NDB_PLATFORM|NUS|NDB|NCM_CLOUD|EDGE|NO_LICENSE|NCM_EDGE|NCM_EUC|NCI_C|NKP|NKPFS|NAI|NAI_GPT|NDL }");
|
|
262
280
|
}
|
|
263
281
|
};
|
|
264
282
|
Object.freeze(LicenseType);
|
|
@@ -40,11 +40,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
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"); } /*
|
|
41
41
|
* Nutanix Licensing APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.
|
|
43
|
+
* OpenAPI spec version: 4.2.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,14 +52,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
52
52
|
/**
|
|
53
53
|
* The ListAllowancesApiResponse model module.
|
|
54
54
|
* @module Ntnx/ListAllowancesApiResponse
|
|
55
|
-
* @version 4.
|
|
55
|
+
* @version 4.2.1
|
|
56
56
|
* @class ListAllowancesApiResponse
|
|
57
57
|
*/
|
|
58
58
|
var _ListAllowancesApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
59
59
|
var ListAllowancesApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
60
60
|
/**
|
|
61
61
|
* Constructs a new <code>ListAllowancesApiResponse</code>.
|
|
62
|
-
* REST response for all response codes in API path /licensing/v4.
|
|
62
|
+
* REST response for all response codes in API path /licensing/v4.2/config/allowances Get operation
|
|
63
63
|
* @alias module:Ntnx/ListAllowancesApiResponse
|
|
64
64
|
*/
|
|
65
65
|
function ListAllowancesApiResponse() {
|
|
@@ -76,7 +76,7 @@ var ListAllowancesApiResponse = exports["default"] = /*#__PURE__*/function (_Pag
|
|
|
76
76
|
_this.$objectType = "licensing.v4.config.ListAllowancesApiResponse";
|
|
77
77
|
/** @type {object<string, any>} */
|
|
78
78
|
_this.$reserved = {
|
|
79
|
-
'$fv': "v4.
|
|
79
|
+
'$fv': "v4.r2"
|
|
80
80
|
};
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$unknownFields = {};
|
|
@@ -40,11 +40,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
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"); } /*
|
|
41
41
|
* Nutanix Licensing APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.
|
|
43
|
+
* OpenAPI spec version: 4.2.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,14 +52,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
52
52
|
/**
|
|
53
53
|
* The ListCompliancesApiResponse model module.
|
|
54
54
|
* @module Ntnx/ListCompliancesApiResponse
|
|
55
|
-
* @version 4.
|
|
55
|
+
* @version 4.2.1
|
|
56
56
|
* @class ListCompliancesApiResponse
|
|
57
57
|
*/
|
|
58
58
|
var _ListCompliancesApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
59
59
|
var ListCompliancesApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
60
60
|
/**
|
|
61
61
|
* Constructs a new <code>ListCompliancesApiResponse</code>.
|
|
62
|
-
* REST response for all response codes in API path /licensing/v4.
|
|
62
|
+
* REST response for all response codes in API path /licensing/v4.2/config/compliances Get operation
|
|
63
63
|
* @alias module:Ntnx/ListCompliancesApiResponse
|
|
64
64
|
*/
|
|
65
65
|
function ListCompliancesApiResponse() {
|
|
@@ -76,7 +76,7 @@ var ListCompliancesApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
|
|
|
76
76
|
_this.$objectType = "licensing.v4.config.ListCompliancesApiResponse";
|
|
77
77
|
/** @type {object<string, any>} */
|
|
78
78
|
_this.$reserved = {
|
|
79
|
-
'$fv': "v4.
|
|
79
|
+
'$fv': "v4.r2"
|
|
80
80
|
};
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$unknownFields = {};
|
|
@@ -40,11 +40,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
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"); } /*
|
|
41
41
|
* Nutanix Licensing APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.
|
|
43
|
+
* OpenAPI spec version: 4.2.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,14 +52,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
52
52
|
/**
|
|
53
53
|
* The ListEntitlementsApiResponse model module.
|
|
54
54
|
* @module Ntnx/ListEntitlementsApiResponse
|
|
55
|
-
* @version 4.
|
|
55
|
+
* @version 4.2.1
|
|
56
56
|
* @class ListEntitlementsApiResponse
|
|
57
57
|
*/
|
|
58
58
|
var _ListEntitlementsApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
59
59
|
var ListEntitlementsApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
60
60
|
/**
|
|
61
61
|
* Constructs a new <code>ListEntitlementsApiResponse</code>.
|
|
62
|
-
* REST response for all response codes in API path /licensing/v4.
|
|
62
|
+
* REST response for all response codes in API path /licensing/v4.2/config/entitlements Get operation
|
|
63
63
|
* @alias module:Ntnx/ListEntitlementsApiResponse
|
|
64
64
|
*/
|
|
65
65
|
function ListEntitlementsApiResponse() {
|
|
@@ -76,7 +76,7 @@ var ListEntitlementsApiResponse = exports["default"] = /*#__PURE__*/function (_P
|
|
|
76
76
|
_this.$objectType = "licensing.v4.config.ListEntitlementsApiResponse";
|
|
77
77
|
/** @type {object<string, any>} */
|
|
78
78
|
_this.$reserved = {
|
|
79
|
-
'$fv': "v4.
|
|
79
|
+
'$fv': "v4.r2"
|
|
80
80
|
};
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$unknownFields = {};
|