@nutanix-scratch/dataprotection-js-client 4.0.1-alpha.4 → 4.0.1-beta.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.
Files changed (483) hide show
  1. package/README.md +35 -28
  2. package/dist/Ntnx-Dataprotection-js-client-prod.js +1 -11
  3. package/dist/Ntnx-Dataprotection-js-client.js +530 -1501
  4. package/dist/es/ApiClient.d.ts +2 -1
  5. package/dist/es/ApiClient.js +401 -246
  6. package/dist/es/Paginable.d.ts +1 -1
  7. package/dist/es/Paginable.js +17 -19
  8. package/dist/es/apis/protectedresources-endpoints.d.ts +52 -0
  9. package/dist/es/apis/protectedresources-endpoints.js +192 -0
  10. package/dist/es/apis/recoverypoints-endpoints.d.ts +126 -0
  11. package/dist/es/apis/recoverypoints-endpoints.js +394 -0
  12. package/dist/es/index.d.ts +55 -87
  13. package/dist/es/index.js +169 -298
  14. package/dist/es/models/common/v1/config/Flag.d.ts +5 -5
  15. package/dist/es/models/common/v1/config/Flag.js +25 -27
  16. package/dist/es/models/common/v1/config/IPv4Address.d.ts +5 -5
  17. package/dist/es/models/common/v1/config/IPv4Address.js +25 -27
  18. package/dist/es/models/common/v1/config/KVPair.d.ts +5 -5
  19. package/dist/es/models/common/v1/config/KVPair.js +28 -30
  20. package/dist/es/models/common/v1/config/Message.d.ts +5 -5
  21. package/dist/es/models/common/v1/config/Message.js +25 -27
  22. package/dist/es/models/common/v1/config/MessageSeverity.js +9 -10
  23. package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +8 -8
  24. package/dist/es/models/common/v1/config/TenantAwareModel.js +29 -31
  25. package/dist/es/models/common/v1/response/ApiLink.d.ts +5 -5
  26. package/dist/es/models/common/v1/response/ApiLink.js +26 -28
  27. package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +8 -8
  28. package/dist/es/models/common/v1/response/ApiResponseMetadata.js +29 -31
  29. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +5 -5
  30. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +36 -39
  31. package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +2 -14
  32. package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.js +33 -81
  33. package/dist/es/models/dataprotection/v4/common/RecoveryPointStatus.js +3 -4
  34. package/dist/es/models/dataprotection/v4/common/RecoveryPointType.js +3 -4
  35. package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +5 -5
  36. package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.js +31 -31
  37. package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +62 -0
  38. package/dist/es/models/{storage/v4/config/Task.js → dataprotection/v4/config/AmazonS3Bucket.js} +101 -72
  39. package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +62 -0
  40. package/dist/{lib/models/storage/v4/config/Task.js → es/models/dataprotection/v4/config/AzureBlobStorageContainer.js} +101 -72
  41. package/dist/es/models/dataprotection/v4/config/Category.d.ts +17 -11
  42. package/dist/es/models/dataprotection/v4/config/Category.js +33 -29
  43. package/dist/es/models/dataprotection/v4/config/ClusterReference.d.ts +12 -9
  44. package/dist/es/models/dataprotection/v4/config/ClusterReference.js +29 -28
  45. package/dist/es/models/{storage/v4/config/Task.d.ts → dataprotection/v4/config/ComputeChangedRegionsResponse.d.ts} +17 -19
  46. package/dist/es/models/dataprotection/v4/config/ComputeChangedRegionsResponse.js +262 -0
  47. package/dist/{lib/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.d.ts → es/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.d.ts} +12 -12
  48. package/dist/es/models/dataprotection/v4/config/{WitnessApiResponse.js → ComputeChangedRegionsResponseModel.js} +57 -60
  49. package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.d.ts +39 -7
  50. package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.js +123 -42
  51. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +18 -26
  52. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.js +48 -88
  53. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +3 -4
  54. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +15 -22
  55. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +65 -69
  56. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +5 -1
  57. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.js +39 -35
  58. package/dist/es/models/dataprotection/v4/config/{VmRecoveryPointRestoreApiResponse.d.ts → CreateConsistencyGroupApiResponse.d.ts} +12 -12
  59. package/dist/{lib/models/dataprotection/v4/config/ConsistencyGroupApiResponse.js → es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js} +54 -57
  60. package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +5 -5
  61. package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +35 -42
  62. package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +10 -10
  63. package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.js +44 -46
  64. package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +5 -5
  65. package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +35 -38
  66. package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +5 -5
  67. package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +35 -42
  68. package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +12 -9
  69. package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.js +29 -28
  70. package/dist/es/models/dataprotection/v4/config/DiskRecoveryPoint.d.ts +44 -19
  71. package/dist/es/models/dataprotection/v4/config/DiskRecoveryPoint.js +137 -105
  72. package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +5 -5
  73. package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +31 -31
  74. package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +60 -0
  75. package/dist/es/models/dataprotection/v4/config/{SetExpirationTimeSpec.js → ExpirationTimeSpec.js} +51 -50
  76. package/dist/es/models/dataprotection/v4/config/{ConsistencyGroupListApiResponse.d.ts → GetProtectedResourceApiResponse.d.ts} +12 -12
  77. package/dist/{lib/models/dataprotection/v4/config/ProtectedResourceApiResponse.js → es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js} +54 -57
  78. package/dist/{lib/models/dataprotection/v4/config/ConsistencyGroupApiResponse.d.ts → es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts} +12 -12
  79. package/dist/{lib/models/dataprotection/v4/config/RecoveryPointApiResponse.js → es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js} +54 -57
  80. package/dist/es/models/dataprotection/v4/config/HostReference.d.ts +2 -2
  81. package/dist/es/models/dataprotection/v4/config/HostReference.js +34 -34
  82. package/dist/es/models/dataprotection/v4/config/HostType.js +3 -4
  83. package/dist/es/models/dataprotection/v4/config/IpAddress.d.ts +12 -9
  84. package/dist/es/models/dataprotection/v4/config/IpAddress.js +29 -28
  85. package/dist/{lib/models/dataprotection/v4/config/ChangedRegionsListApiResponse.d.ts → es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts} +12 -12
  86. package/dist/{lib/models/dataprotection/v4/config/RecoveryPointListApiResponse.js → es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js} +59 -57
  87. package/dist/es/models/dataprotection/v4/config/LocationReference.d.ts +8 -8
  88. package/dist/es/models/dataprotection/v4/config/LocationReference.js +30 -32
  89. package/dist/es/models/dataprotection/v4/config/{ConsistencyGroupMigrateApiResponse.d.ts → MigrateConsistencyGroupApiResponse.d.ts} +12 -12
  90. package/dist/{lib/models/dataprotection/v4/config/WitnessApiResponse.js → es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js} +57 -60
  91. package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +50 -0
  92. package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.js +245 -0
  93. package/dist/{lib/models/dataprotection/v4/config/HypervisorType.d.ts → es/models/dataprotection/v4/config/ObjectStorageType.d.ts} +6 -6
  94. package/dist/{lib/models/dataprotection/v4/config/HypervisorType.js → es/models/dataprotection/v4/config/ObjectStorageType.js} +26 -27
  95. package/dist/es/models/dataprotection/v4/config/{ValidationSeverity.d.ts → ProtectedEntityType.d.ts} +6 -6
  96. package/dist/{lib/models/dataprotection/v4/config/ProtectedResourceEntityType.js → es/models/dataprotection/v4/config/ProtectedEntityType.js} +21 -22
  97. package/dist/es/models/dataprotection/v4/config/ProtectedResource.d.ts +21 -9
  98. package/dist/es/models/dataprotection/v4/config/ProtectedResource.js +111 -62
  99. package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +5 -5
  100. package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +35 -38
  101. package/dist/es/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +11 -24
  102. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +5 -5
  103. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +35 -38
  104. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +24 -9
  105. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +95 -31
  106. package/dist/es/models/dataprotection/v4/config/RecoveryInfo.d.ts +5 -5
  107. package/dist/es/models/dataprotection/v4/config/RecoveryInfo.js +25 -27
  108. package/dist/es/models/dataprotection/v4/config/RecoveryPoint.d.ts +14 -44
  109. package/dist/es/models/dataprotection/v4/config/RecoveryPoint.js +59 -167
  110. package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +9 -0
  111. package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.js +132 -0
  112. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +5 -5
  113. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +35 -42
  114. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +37 -18
  115. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +114 -91
  116. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +52 -0
  117. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.js +323 -0
  118. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +9 -0
  119. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +129 -0
  120. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +14 -14
  121. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +42 -44
  122. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +5 -5
  123. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +35 -42
  124. package/dist/es/models/dataprotection/v4/config/RedirectionResponse.d.ts +60 -0
  125. package/dist/es/models/dataprotection/v4/config/RedirectionResponse.js +279 -0
  126. package/dist/es/models/dataprotection/v4/config/Region.d.ts +91 -0
  127. package/dist/{lib/models/dataprotection/v4/config/Regions.js → es/models/dataprotection/v4/config/Region.js} +107 -58
  128. package/dist/es/models/dataprotection/v4/config/RegionResponse.d.ts +60 -0
  129. package/dist/es/models/dataprotection/v4/config/{ChangedRegions.js → RegionResponse.js} +58 -58
  130. package/dist/es/models/dataprotection/v4/config/{PowerState.d.ts → RegionType.d.ts} +6 -6
  131. package/dist/es/models/dataprotection/v4/config/{PowerState.js → RegionType.js} +23 -24
  132. package/dist/es/models/dataprotection/v4/config/ReplicationState.d.ts +19 -17
  133. package/dist/es/models/dataprotection/v4/config/ReplicationState.js +72 -66
  134. package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.d.ts +5 -5
  135. package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.js +25 -27
  136. package/dist/{lib/models/dataprotection/v4/config/DataProtectionInfo.d.ts → es/models/dataprotection/v4/config/SiteProtectionInfo.d.ts} +12 -12
  137. package/dist/{lib/models/dataprotection/v4/config/DataProtectionInfo.js → es/models/dataprotection/v4/config/SiteProtectionInfo.js} +45 -47
  138. package/dist/es/models/dataprotection/v4/config/SiteReference.d.ts +5 -5
  139. package/dist/es/models/dataprotection/v4/config/SiteReference.js +25 -27
  140. package/dist/es/models/dataprotection/v4/config/Subnet.d.ts +5 -5
  141. package/dist/es/models/dataprotection/v4/config/Subnet.js +25 -27
  142. package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +5 -5
  143. package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +35 -38
  144. package/dist/{lib/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.d.ts → es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts} +12 -12
  145. package/dist/es/models/dataprotection/v4/config/{VMRecoveryPointListApiResponse.js → UpdateConsistencyGroupApiResponse.js} +57 -60
  146. package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +5 -5
  147. package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +35 -38
  148. package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +77 -0
  149. package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.js +361 -0
  150. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
  151. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.js +403 -0
  152. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +12 -38
  153. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +49 -125
  154. package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +5 -5
  155. package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +29 -29
  156. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +40 -22
  157. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +126 -108
  158. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
  159. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.js +403 -0
  160. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +12 -18
  161. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +49 -53
  162. package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +5 -5
  163. package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.js +27 -31
  164. package/dist/es/models/dataprotection/v4/config/VpcReference.d.ts +13 -10
  165. package/dist/es/models/dataprotection/v4/config/VpcReference.js +30 -29
  166. package/dist/es/models/dataprotection/v4/config/Witness.d.ts +5 -5
  167. package/dist/es/models/dataprotection/v4/config/Witness.js +39 -41
  168. package/dist/es/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +3 -4
  169. package/dist/es/models/dataprotection/v4/error/AppMessage.d.ts +20 -12
  170. package/dist/es/models/dataprotection/v4/error/AppMessage.js +49 -39
  171. package/dist/es/models/dataprotection/v4/error/ErrorResponse.d.ts +5 -5
  172. package/dist/es/models/dataprotection/v4/error/ErrorResponse.js +36 -50
  173. package/dist/es/models/dataprotection/v4/error/SchemaValidationError.d.ts +20 -10
  174. package/dist/es/models/dataprotection/v4/error/SchemaValidationError.js +45 -32
  175. package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +14 -8
  176. package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +37 -30
  177. package/dist/es/models/prism/v4/config/TaskReference.d.ts +5 -5
  178. package/dist/es/models/prism/v4/config/TaskReference.js +27 -32
  179. package/dist/es/models/validation/ValidationError.js +8 -10
  180. package/dist/es/models/validation/ValidationScopes.js +1 -2
  181. package/dist/es/utils/ValidationUtils.js +8 -10
  182. package/dist/lib/ApiClient.d.ts +2 -1
  183. package/dist/lib/ApiClient.js +401 -246
  184. package/dist/lib/Paginable.d.ts +1 -1
  185. package/dist/lib/Paginable.js +17 -19
  186. package/dist/lib/apis/protectedresources-endpoints.d.ts +52 -0
  187. package/dist/lib/apis/protectedresources-endpoints.js +192 -0
  188. package/dist/lib/apis/recoverypoints-endpoints.d.ts +126 -0
  189. package/dist/lib/apis/recoverypoints-endpoints.js +394 -0
  190. package/dist/lib/index.d.ts +55 -87
  191. package/dist/lib/index.js +169 -298
  192. package/dist/lib/models/common/v1/config/Flag.d.ts +5 -5
  193. package/dist/lib/models/common/v1/config/Flag.js +25 -27
  194. package/dist/lib/models/common/v1/config/IPv4Address.d.ts +5 -5
  195. package/dist/lib/models/common/v1/config/IPv4Address.js +25 -27
  196. package/dist/lib/models/common/v1/config/KVPair.d.ts +5 -5
  197. package/dist/lib/models/common/v1/config/KVPair.js +28 -30
  198. package/dist/lib/models/common/v1/config/Message.d.ts +5 -5
  199. package/dist/lib/models/common/v1/config/Message.js +25 -27
  200. package/dist/lib/models/common/v1/config/MessageSeverity.js +9 -10
  201. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +8 -8
  202. package/dist/lib/models/common/v1/config/TenantAwareModel.js +29 -31
  203. package/dist/lib/models/common/v1/response/ApiLink.d.ts +5 -5
  204. package/dist/lib/models/common/v1/response/ApiLink.js +26 -28
  205. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +8 -8
  206. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +29 -31
  207. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +5 -5
  208. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +36 -39
  209. package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +2 -14
  210. package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.js +33 -81
  211. package/dist/lib/models/dataprotection/v4/common/RecoveryPointStatus.js +3 -4
  212. package/dist/lib/models/dataprotection/v4/common/RecoveryPointType.js +3 -4
  213. package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +5 -5
  214. package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.js +31 -31
  215. package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +62 -0
  216. package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.js +283 -0
  217. package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +62 -0
  218. package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.js +283 -0
  219. package/dist/lib/models/dataprotection/v4/config/Category.d.ts +17 -11
  220. package/dist/lib/models/dataprotection/v4/config/Category.js +33 -29
  221. package/dist/lib/models/dataprotection/v4/config/ClusterReference.d.ts +12 -9
  222. package/dist/lib/models/dataprotection/v4/config/ClusterReference.js +29 -28
  223. package/dist/lib/models/{storage/v4/config/Task.d.ts → dataprotection/v4/config/ComputeChangedRegionsResponse.d.ts} +17 -19
  224. package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponse.js +262 -0
  225. package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.d.ts +59 -0
  226. package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.js +311 -0
  227. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.d.ts +39 -7
  228. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.js +123 -42
  229. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +18 -26
  230. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.js +48 -88
  231. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +3 -4
  232. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +15 -22
  233. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +65 -69
  234. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +5 -1
  235. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.js +39 -35
  236. package/dist/{es/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.d.ts → lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts} +12 -12
  237. package/dist/{es/models/dataprotection/v4/config/ConsistencyGroupApiResponse.js → lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js} +54 -57
  238. package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +5 -5
  239. package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +35 -42
  240. package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +10 -10
  241. package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.js +44 -46
  242. package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +5 -5
  243. package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +35 -38
  244. package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +5 -5
  245. package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +35 -42
  246. package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +12 -9
  247. package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.js +29 -28
  248. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPoint.d.ts +44 -19
  249. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPoint.js +137 -105
  250. package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +5 -5
  251. package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +31 -31
  252. package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +60 -0
  253. package/dist/lib/models/dataprotection/v4/config/{SetExpirationTimeSpec.js → ExpirationTimeSpec.js} +51 -50
  254. package/dist/lib/models/dataprotection/v4/config/{ConsistencyGroupListApiResponse.d.ts → GetProtectedResourceApiResponse.d.ts} +12 -12
  255. package/dist/{es/models/dataprotection/v4/config/ProtectedResourceApiResponse.js → lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js} +54 -57
  256. package/dist/{es/models/dataprotection/v4/config/ConsistencyGroupApiResponse.d.ts → lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts} +12 -12
  257. package/dist/{es/models/dataprotection/v4/config/RecoveryPointApiResponse.js → lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js} +54 -57
  258. package/dist/lib/models/dataprotection/v4/config/HostReference.d.ts +2 -2
  259. package/dist/lib/models/dataprotection/v4/config/HostReference.js +34 -34
  260. package/dist/lib/models/dataprotection/v4/config/HostType.js +3 -4
  261. package/dist/lib/models/dataprotection/v4/config/IpAddress.d.ts +12 -9
  262. package/dist/lib/models/dataprotection/v4/config/IpAddress.js +29 -28
  263. package/dist/{es/models/dataprotection/v4/config/ChangedRegionsListApiResponse.d.ts → lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts} +12 -12
  264. package/dist/{es/models/dataprotection/v4/config/RecoveryPointListApiResponse.js → lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js} +59 -57
  265. package/dist/lib/models/dataprotection/v4/config/LocationReference.d.ts +8 -8
  266. package/dist/lib/models/dataprotection/v4/config/LocationReference.js +30 -32
  267. package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +59 -0
  268. package/dist/{es/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.js → lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js} +54 -61
  269. package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +50 -0
  270. package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.js +245 -0
  271. package/dist/{es/models/dataprotection/v4/config/HypervisorType.d.ts → lib/models/dataprotection/v4/config/ObjectStorageType.d.ts} +6 -6
  272. package/dist/{es/models/dataprotection/v4/config/HypervisorType.js → lib/models/dataprotection/v4/config/ObjectStorageType.js} +26 -27
  273. package/dist/lib/models/dataprotection/v4/config/ProtectedEntityType.d.ts +19 -0
  274. package/dist/{es/models/dataprotection/v4/config/ProtectedResourceEntityType.js → lib/models/dataprotection/v4/config/ProtectedEntityType.js} +21 -22
  275. package/dist/lib/models/dataprotection/v4/config/ProtectedResource.d.ts +21 -9
  276. package/dist/lib/models/dataprotection/v4/config/ProtectedResource.js +111 -62
  277. package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +5 -5
  278. package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +35 -38
  279. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +11 -24
  280. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +5 -5
  281. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +35 -38
  282. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +24 -9
  283. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +95 -31
  284. package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.d.ts +5 -5
  285. package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.js +25 -27
  286. package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.d.ts +14 -44
  287. package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.js +59 -167
  288. package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +9 -0
  289. package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.js +132 -0
  290. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +5 -5
  291. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +35 -42
  292. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +37 -18
  293. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +114 -91
  294. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +52 -0
  295. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.js +323 -0
  296. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +9 -0
  297. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +129 -0
  298. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +14 -14
  299. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +42 -44
  300. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +5 -5
  301. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +35 -42
  302. package/dist/lib/models/dataprotection/v4/config/RedirectionResponse.d.ts +60 -0
  303. package/dist/lib/models/dataprotection/v4/config/RedirectionResponse.js +279 -0
  304. package/dist/lib/models/dataprotection/v4/config/Region.d.ts +91 -0
  305. package/dist/{es/models/dataprotection/v4/config/Regions.js → lib/models/dataprotection/v4/config/Region.js} +107 -58
  306. package/dist/lib/models/dataprotection/v4/config/RegionResponse.d.ts +60 -0
  307. package/dist/lib/models/dataprotection/v4/config/{ChangedRegions.js → RegionResponse.js} +58 -58
  308. package/dist/lib/models/dataprotection/v4/config/{PowerState.d.ts → RegionType.d.ts} +6 -6
  309. package/dist/lib/models/dataprotection/v4/config/{PowerState.js → RegionType.js} +23 -24
  310. package/dist/lib/models/dataprotection/v4/config/ReplicationState.d.ts +19 -17
  311. package/dist/lib/models/dataprotection/v4/config/ReplicationState.js +72 -66
  312. package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.d.ts +5 -5
  313. package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.js +25 -27
  314. package/dist/{es/models/dataprotection/v4/config/DataProtectionInfo.d.ts → lib/models/dataprotection/v4/config/SiteProtectionInfo.d.ts} +12 -12
  315. package/dist/{es/models/dataprotection/v4/config/DataProtectionInfo.js → lib/models/dataprotection/v4/config/SiteProtectionInfo.js} +45 -47
  316. package/dist/lib/models/dataprotection/v4/config/SiteReference.d.ts +5 -5
  317. package/dist/lib/models/dataprotection/v4/config/SiteReference.js +25 -27
  318. package/dist/lib/models/dataprotection/v4/config/Subnet.d.ts +5 -5
  319. package/dist/lib/models/dataprotection/v4/config/Subnet.js +25 -27
  320. package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +5 -5
  321. package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +35 -38
  322. package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +59 -0
  323. package/dist/lib/models/dataprotection/v4/config/{VMRecoveryPointListApiResponse.js → UpdateConsistencyGroupApiResponse.js} +57 -60
  324. package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +5 -5
  325. package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +35 -38
  326. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +77 -0
  327. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.js +361 -0
  328. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
  329. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.js +403 -0
  330. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +12 -38
  331. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +49 -125
  332. package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +5 -5
  333. package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +29 -29
  334. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +40 -22
  335. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +126 -108
  336. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
  337. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.js +403 -0
  338. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +12 -18
  339. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +49 -53
  340. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +5 -5
  341. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.js +27 -31
  342. package/dist/lib/models/dataprotection/v4/config/VpcReference.d.ts +13 -10
  343. package/dist/lib/models/dataprotection/v4/config/VpcReference.js +30 -29
  344. package/dist/lib/models/dataprotection/v4/config/Witness.d.ts +5 -5
  345. package/dist/lib/models/dataprotection/v4/config/Witness.js +39 -41
  346. package/dist/lib/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +3 -4
  347. package/dist/lib/models/dataprotection/v4/error/AppMessage.d.ts +20 -12
  348. package/dist/lib/models/dataprotection/v4/error/AppMessage.js +49 -39
  349. package/dist/lib/models/dataprotection/v4/error/ErrorResponse.d.ts +5 -5
  350. package/dist/lib/models/dataprotection/v4/error/ErrorResponse.js +36 -50
  351. package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.d.ts +20 -10
  352. package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.js +45 -32
  353. package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +14 -8
  354. package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +37 -30
  355. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +5 -5
  356. package/dist/lib/models/prism/v4/config/TaskReference.js +27 -32
  357. package/dist/lib/models/validation/ValidationError.js +8 -10
  358. package/dist/lib/models/validation/ValidationScopes.js +1 -2
  359. package/dist/lib/utils/ValidationUtils.js +8 -10
  360. package/package.json +3 -2
  361. package/dist/es/apis/consistencygroup-endpoints.d.ts +0 -98
  362. package/dist/es/apis/consistencygroup-endpoints.js +0 -304
  363. package/dist/es/models/dataprotection/v4/common/VendorSpecificProperty.d.ts +0 -70
  364. package/dist/es/models/dataprotection/v4/common/VendorSpecificProperty.js +0 -286
  365. package/dist/es/models/dataprotection/v4/config/ChangedRegions.d.ts +0 -62
  366. package/dist/es/models/dataprotection/v4/config/ChangedRegionsListApiResponse.js +0 -314
  367. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupListApiResponse.js +0 -341
  368. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.d.ts +0 -67
  369. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.js +0 -285
  370. package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.d.ts +0 -59
  371. package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.js +0 -318
  372. package/dist/es/models/dataprotection/v4/config/Disk.d.ts +0 -62
  373. package/dist/es/models/dataprotection/v4/config/Disk.js +0 -285
  374. package/dist/es/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.js +0 -314
  375. package/dist/es/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.d.ts +0 -59
  376. package/dist/es/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.js +0 -336
  377. package/dist/es/models/dataprotection/v4/config/HardwareArchitecture.d.ts +0 -19
  378. package/dist/es/models/dataprotection/v4/config/HardwareArchitecture.js +0 -86
  379. package/dist/es/models/dataprotection/v4/config/ProtectedResourceApiResponse.d.ts +0 -59
  380. package/dist/es/models/dataprotection/v4/config/ProtectedResourceEntityType.d.ts +0 -19
  381. package/dist/es/models/dataprotection/v4/config/RecoveryPointApiResponse.d.ts +0 -59
  382. package/dist/es/models/dataprotection/v4/config/RecoveryPointListApiResponse.d.ts +0 -59
  383. package/dist/es/models/dataprotection/v4/config/Regions.d.ts +0 -62
  384. package/dist/es/models/dataprotection/v4/config/SetExpirationTimeSpec.d.ts +0 -57
  385. package/dist/es/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.d.ts +0 -59
  386. package/dist/es/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.js +0 -314
  387. package/dist/es/models/dataprotection/v4/config/VMRecoveryPoint.d.ts +0 -49
  388. package/dist/es/models/dataprotection/v4/config/VMRecoveryPoint.js +0 -295
  389. package/dist/es/models/dataprotection/v4/config/VMRecoveryPointApiResponse.d.ts +0 -59
  390. package/dist/es/models/dataprotection/v4/config/VMRecoveryPointApiResponse.js +0 -314
  391. package/dist/es/models/dataprotection/v4/config/VMRecoveryPointListApiResponse.d.ts +0 -59
  392. package/dist/es/models/dataprotection/v4/config/ValidateRecoveryPointResult.d.ts +0 -79
  393. package/dist/es/models/dataprotection/v4/config/ValidateRecoveryPointResult.js +0 -320
  394. package/dist/es/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.d.ts +0 -59
  395. package/dist/es/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.js +0 -336
  396. package/dist/es/models/dataprotection/v4/config/ValidationSeverity.js +0 -86
  397. package/dist/es/models/dataprotection/v4/config/Vm.d.ts +0 -140
  398. package/dist/es/models/dataprotection/v4/config/Vm.js +0 -545
  399. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.d.ts +0 -70
  400. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.js +0 -319
  401. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.js +0 -318
  402. package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPoint.d.ts +0 -98
  403. package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPoint.js +0 -405
  404. package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPointProjection.d.ts +0 -9
  405. package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPointProjection.js +0 -132
  406. package/dist/es/models/dataprotection/v4/config/VolumeGroup.d.ts +0 -62
  407. package/dist/es/models/dataprotection/v4/config/VolumeGroup.js +0 -285
  408. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.d.ts +0 -59
  409. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.js +0 -314
  410. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.d.ts +0 -59
  411. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.js +0 -336
  412. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.d.ts +0 -62
  413. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.js +0 -288
  414. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.d.ts +0 -59
  415. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.js +0 -318
  416. package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.d.ts +0 -98
  417. package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.js +0 -407
  418. package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.d.ts +0 -9
  419. package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.js +0 -132
  420. package/dist/es/models/dataprotection/v4/config/WitnessApiResponse.d.ts +0 -59
  421. package/dist/lib/apis/consistencygroup-endpoints.d.ts +0 -98
  422. package/dist/lib/apis/consistencygroup-endpoints.js +0 -304
  423. package/dist/lib/models/dataprotection/v4/common/VendorSpecificProperty.d.ts +0 -70
  424. package/dist/lib/models/dataprotection/v4/common/VendorSpecificProperty.js +0 -286
  425. package/dist/lib/models/dataprotection/v4/config/ChangedRegions.d.ts +0 -62
  426. package/dist/lib/models/dataprotection/v4/config/ChangedRegionsListApiResponse.js +0 -314
  427. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupListApiResponse.js +0 -341
  428. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.js +0 -318
  429. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.d.ts +0 -67
  430. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.js +0 -285
  431. package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.d.ts +0 -59
  432. package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.js +0 -318
  433. package/dist/lib/models/dataprotection/v4/config/Disk.d.ts +0 -62
  434. package/dist/lib/models/dataprotection/v4/config/Disk.js +0 -285
  435. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.d.ts +0 -59
  436. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.js +0 -314
  437. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.d.ts +0 -59
  438. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.js +0 -336
  439. package/dist/lib/models/dataprotection/v4/config/HardwareArchitecture.d.ts +0 -19
  440. package/dist/lib/models/dataprotection/v4/config/HardwareArchitecture.js +0 -86
  441. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceApiResponse.d.ts +0 -59
  442. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceEntityType.d.ts +0 -19
  443. package/dist/lib/models/dataprotection/v4/config/RecoveryPointApiResponse.d.ts +0 -59
  444. package/dist/lib/models/dataprotection/v4/config/RecoveryPointListApiResponse.d.ts +0 -59
  445. package/dist/lib/models/dataprotection/v4/config/Regions.d.ts +0 -62
  446. package/dist/lib/models/dataprotection/v4/config/SetExpirationTimeSpec.d.ts +0 -57
  447. package/dist/lib/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.d.ts +0 -59
  448. package/dist/lib/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.js +0 -314
  449. package/dist/lib/models/dataprotection/v4/config/VMRecoveryPoint.d.ts +0 -49
  450. package/dist/lib/models/dataprotection/v4/config/VMRecoveryPoint.js +0 -295
  451. package/dist/lib/models/dataprotection/v4/config/VMRecoveryPointApiResponse.d.ts +0 -59
  452. package/dist/lib/models/dataprotection/v4/config/VMRecoveryPointApiResponse.js +0 -314
  453. package/dist/lib/models/dataprotection/v4/config/VMRecoveryPointListApiResponse.d.ts +0 -59
  454. package/dist/lib/models/dataprotection/v4/config/ValidateRecoveryPointResult.d.ts +0 -79
  455. package/dist/lib/models/dataprotection/v4/config/ValidateRecoveryPointResult.js +0 -320
  456. package/dist/lib/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.d.ts +0 -59
  457. package/dist/lib/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.js +0 -336
  458. package/dist/lib/models/dataprotection/v4/config/ValidationSeverity.d.ts +0 -19
  459. package/dist/lib/models/dataprotection/v4/config/ValidationSeverity.js +0 -86
  460. package/dist/lib/models/dataprotection/v4/config/Vm.d.ts +0 -140
  461. package/dist/lib/models/dataprotection/v4/config/Vm.js +0 -545
  462. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.d.ts +0 -70
  463. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.js +0 -319
  464. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.js +0 -318
  465. package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPoint.d.ts +0 -98
  466. package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPoint.js +0 -405
  467. package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPointProjection.d.ts +0 -9
  468. package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPointProjection.js +0 -132
  469. package/dist/lib/models/dataprotection/v4/config/VolumeGroup.d.ts +0 -62
  470. package/dist/lib/models/dataprotection/v4/config/VolumeGroup.js +0 -285
  471. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.d.ts +0 -59
  472. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.js +0 -314
  473. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.d.ts +0 -59
  474. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.js +0 -336
  475. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.d.ts +0 -62
  476. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.js +0 -288
  477. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.d.ts +0 -59
  478. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.js +0 -318
  479. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.d.ts +0 -98
  480. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.js +0 -407
  481. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.d.ts +0 -9
  482. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.js +0 -132
  483. package/dist/lib/models/dataprotection/v4/config/WitnessApiResponse.d.ts +0 -59
@@ -7,7 +7,6 @@ exports["default"] = void 0;
7
7
  var _ApiResponseMetadata = _interopRequireDefault(require("../../../common/v1/response/ApiResponseMetadata"));
8
8
  var _ErrorResponse = _interopRequireDefault(require("../error/ErrorResponse"));
9
9
  var _TaskReference = _interopRequireDefault(require("../../../prism/v4/config/TaskReference"));
10
- var _Task = _interopRequireDefault(require("../../../storage/v4/config/Task"));
11
10
  var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
12
11
  var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
13
12
  var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
@@ -17,67 +16,65 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
17
16
  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."); }
18
17
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
19
18
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
20
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
19
+ 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; } }
21
20
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
22
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
23
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
24
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
21
+ 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); }
22
+ 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; }
23
+ 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
24
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
26
25
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
27
26
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
28
27
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
29
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
30
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
31
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
32
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
28
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
29
+ 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); }
30
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
34
31
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
35
32
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
36
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
37
34
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
36
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
38
37
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
39
38
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
40
- function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } /*
41
- * Nutanix Dataprotection Versioned APIs
42
- *
43
- * OpenAPI spec version: 4.0.1-alpha-4
44
- *
45
- * NOTE: This class is auto generated by the Open API Dev Platform.
46
- *
47
- * Open API Dev Platform Codegen version: 16.8.0.6343-RELEASE
48
- *
49
- * Do not edit the class manually.
50
- *
51
- */
39
+ 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"); } /*
40
+ * Nutanix Dataprotection Versioned APIs
41
+ *
42
+ * OpenAPI spec version: 4.0.1-beta-1
43
+ *
44
+ * NOTE: This class is auto generated by the Open API Dev Platform.
45
+ *
46
+ * Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
47
+ *
48
+ * Do not edit the class manually.
49
+ *
50
+ */
52
51
  /**
53
52
  * The RecoveryPointReplicateApiResponse model module.
54
53
  * @module Ntnx/RecoveryPointReplicateApiResponse
55
- * @version 4.0.1-alpha-4
54
+ * @version 4.0.1-beta-1
56
55
  * @class RecoveryPointReplicateApiResponse
57
56
  */
58
- var _toJsonMapType = /*#__PURE__*/new WeakSet();
59
- var RecoveryPointReplicateApiResponse = /*#__PURE__*/function (_Paginable) {
60
- _inherits(RecoveryPointReplicateApiResponse, _Paginable);
61
- var _super = _createSuper(RecoveryPointReplicateApiResponse);
57
+ var _RecoveryPointReplicateApiResponse_brand = /*#__PURE__*/new WeakSet();
58
+ var RecoveryPointReplicateApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
62
59
  /**
63
60
  * Constructs a new <code>RecoveryPointReplicateApiResponse</code>.
64
- * REST response for all response codes in API path /dataprotection/v4.0.a4/config/recovery-points/{extId}/$actions/replicate Post operation
61
+ * REST response for all response codes in API path /dataprotection/v4.0.b1/config/recovery-points/{extId}/$actions/replicate Post operation
65
62
  * @alias module:Ntnx/RecoveryPointReplicateApiResponse
66
- */
63
+ */
67
64
  function RecoveryPointReplicateApiResponse() {
68
65
  var _this;
69
66
  _classCallCheck(this, RecoveryPointReplicateApiResponse);
70
- _this = _super.call(this);
67
+ _this = _callSuper(this, RecoveryPointReplicateApiResponse);
71
68
  /*
72
69
  * toJson method for a map type which supports map with primitive keys and values of object types
73
70
  * @param {Object} obj
74
71
  * @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
75
72
  * Otherwise, just returns the input object.
76
73
  */
77
- _classPrivateMethodInitSpec(_assertThisInitialized(_this), _toJsonMapType);
74
+ _classPrivateMethodInitSpec(_this, _RecoveryPointReplicateApiResponse_brand);
78
75
  _this.$objectType = "dataprotection.v4.config.RecoveryPointReplicateApiResponse";
79
76
  _this.$reserved = {
80
- '$fqObjectType': "dataprotection.v4.r0.a4.config.RecoveryPointReplicateApiResponse"
77
+ '$fv': "v4.r0.b1"
81
78
  };
82
79
  _this.$unknownFields = {};
83
80
  return _this;
@@ -91,7 +88,8 @@ var RecoveryPointReplicateApiResponse = /*#__PURE__*/function (_Paginable) {
91
88
  * @param callFromChild {Boolean} Flag to recognise calling instance
92
89
  * @return {module:Ntnx/RecoveryPointReplicateApiResponse} The populated <code>RecoveryPointReplicateApiResponse</code> instance.
93
90
  */
94
- _createClass(RecoveryPointReplicateApiResponse, [{
91
+ _inherits(RecoveryPointReplicateApiResponse, _Paginable);
92
+ return _createClass(RecoveryPointReplicateApiResponse, [{
95
93
  key: "getMetadata",
96
94
  value:
97
95
  /**
@@ -151,7 +149,7 @@ var RecoveryPointReplicateApiResponse = /*#__PURE__*/function (_Paginable) {
151
149
  } : {}), typeof this.getData() !== 'undefined' && this.getData() !== null ? {
152
150
  'data': typeof this.getData().toJson !== "undefined" ? this.getData().toJson(false) : Array.isArray(this.getData()) ? this.getData().map(function (item) {
153
151
  return typeof item.toJson !== "undefined" ? item.toJson(false) : item;
154
- }) : _classPrivateMethodGet(this, _toJsonMapType, _toJsonMapType2).call(this, this.getData(), false)
152
+ }) : _assertClassBrand(_RecoveryPointReplicateApiResponse_brand, this, _toJsonMapType).call(this, this.getData(), false)
155
153
  } : {}), {}, {
156
154
  '$reserved': this.get$Reserved(),
157
155
  '$objectType': this.get$ObjectType(),
@@ -163,7 +161,7 @@ var RecoveryPointReplicateApiResponse = /*#__PURE__*/function (_Paginable) {
163
161
  } : {}), typeof this.getData() !== 'undefined' && this.getData() !== null ? {
164
162
  'data': typeof this.getData().toJson !== "undefined" ? this.getData().toJson() : Array.isArray(this.getData()) ? this.getData().map(function (item) {
165
163
  return typeof item.toJson !== "undefined" ? item.toJson() : item;
166
- }) : _classPrivateMethodGet(this, _toJsonMapType, _toJsonMapType2).call(this, this.getData())
164
+ }) : _assertClassBrand(_RecoveryPointReplicateApiResponse_brand, this, _toJsonMapType).call(this, this.getData())
167
165
  } : {}), {}, {
168
166
  '$reserved': this.get$Reserved(),
169
167
  '$objectType': this.get$ObjectType(),
@@ -252,9 +250,6 @@ var RecoveryPointReplicateApiResponse = /*#__PURE__*/function (_Paginable) {
252
250
  discriminator = _typeof(data['data']);
253
251
  }
254
252
  switch (discriminator) {
255
- case 'storage.v4.config.Task':
256
- obj.setData(_Task["default"].constructFromObject(data['data'], undefined));
257
- break;
258
253
  case 'prism.v4.config.TaskReference':
259
254
  obj.setData(_TaskReference["default"].constructFromObject(data['data'], undefined));
260
255
  break;
@@ -286,13 +281,11 @@ var RecoveryPointReplicateApiResponse = /*#__PURE__*/function (_Paginable) {
286
281
  return obj;
287
282
  }
288
283
  }]);
289
- return RecoveryPointReplicateApiResponse;
290
284
  }(_Paginable2["default"]);
291
285
  /**
292
286
  * @memberof RecoveryPointReplicateApiResponse
293
287
  */
294
- exports["default"] = RecoveryPointReplicateApiResponse;
295
- function _toJsonMapType2(obj, forMutation) {
288
+ function _toJsonMapType(obj, forMutation) {
296
289
  if (obj instanceof Map) {
297
290
  return Object.fromEntries(Array.from(obj, function (_ref) {
298
291
  var _ref2 = _slicedToArray(_ref, 2),
@@ -1,43 +1,62 @@
1
1
  /**
2
2
  * The RecoveryPointReplicationSpec model module.
3
3
  * @module Ntnx/RecoveryPointReplicationSpec
4
- * @version 4.0.1-alpha-4
4
+ * @version 4.0.1-beta-1
5
5
  * @class RecoveryPointReplicationSpec
6
6
  */
7
- export default class RecoveryPointReplicationSpec extends DataProtectionSiteReference {
7
+ export default class RecoveryPointReplicationSpec {
8
8
  /**
9
- * Returns Target availability zone reference for the entities to be replicated.
9
+ * Constructs a <code>RecoveryPointReplicationSpec</code> from a plain JavaScript object, optionally creating a new instance.
10
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
11
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
12
+ * @param {module:Ntnx/RecoveryPointReplicationSpec} obj Optional instance to populate.
13
+ * @param callFromChild {Boolean} Flag to recognise calling instance
14
+ * @return {module:Ntnx/RecoveryPointReplicationSpec} The populated <code>RecoveryPointReplicationSpec</code> instance.
15
+ */
16
+ static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
17
+ $objectType: string;
18
+ $reserved: {
19
+ $fv: string;
20
+ };
21
+ $unknownFields: {};
22
+ /**
23
+ * Returns External identifier of the Prism Central.
10
24
  * @return {}
11
25
  */
12
- getTargetAvailabilityZoneId(): any;
26
+ getPcExtId(): any;
13
27
  /**
14
- * Sets Target availability zone reference for the entities to be replicated.
15
- * @param {} targetAvailabilityZoneId Target availability zone reference for the entities to be replicated.
28
+ * Sets External identifier of the Prism Central.
29
+ * @param {} pcExtId External identifier of the Prism Central.
16
30
  */
17
- setTargetAvailabilityZoneId(targetAvailabilityZoneId: any): void;
18
- targetAvailabilityZoneId: any;
31
+ setPcExtId(pcExtId: any): void;
32
+ pcExtId: any;
19
33
  /**
20
- * Returns Details of the Cluster reference in the target availability zone for the entities to be replicated.
34
+ * Returns External identifier of the cluster.
21
35
  * @return {}
22
36
  */
23
- getTargetClusterId(): any;
37
+ getClusterExtId(): any;
24
38
  /**
25
- * Sets Details of the Cluster reference in the target availability zone for the entities to be replicated.
26
- * @param {} targetClusterId Details of the Cluster reference in the target availability zone for the entities to be replicated.
39
+ * Sets External identifier of the cluster.
40
+ * @param {} clusterExtId External identifier of the cluster.
27
41
  */
28
- setTargetClusterId(targetClusterId: any): void;
29
- targetClusterId: any;
42
+ setClusterExtId(clusterExtId: any): void;
43
+ clusterExtId: any;
44
+ get$Reserved(): {
45
+ $fv: string;
46
+ };
47
+ get$ObjectType(): string;
48
+ get$UnknownFields(): {};
30
49
  toJson(forMutation: any): {
31
50
  $reserved: {
32
- $fqObjectType: string;
51
+ $fv: string;
33
52
  };
34
53
  $objectType: string;
35
54
  $unknownFields: {};
36
55
  clusterExtId?: any;
37
56
  pcExtId?: any;
38
- targetClusterId?: any;
39
- targetAvailabilityZoneId?: any;
40
57
  };
58
+ validate(scope: any, properties: any, ...args: any[]): Promise<any>;
59
+ validateProperty(scope: any, property: any): ValidationError;
41
60
  #private;
42
61
  }
43
- import DataProtectionSiteReference from "./DataProtectionSiteReference";
62
+ import ValidationError from "../../../validation/ValidationError";
@@ -4,79 +4,65 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
- var _DataProtectionSiteReference = _interopRequireDefault(require("./DataProtectionSiteReference"));
8
7
  var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
9
8
  var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
10
9
  var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
11
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
13
12
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
14
13
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
15
14
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
16
15
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
17
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
16
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
18
17
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
20
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
18
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21
20
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
22
21
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
24
23
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
26
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
27
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
30
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
31
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
32
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
25
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
34
26
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
35
27
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } /*
36
- * Nutanix Dataprotection Versioned APIs
37
- *
38
- * OpenAPI spec version: 4.0.1-alpha-4
39
- *
40
- * NOTE: This class is auto generated by the Open API Dev Platform.
41
- *
42
- * Open API Dev Platform Codegen version: 16.8.0.6343-RELEASE
43
- *
44
- * Do not edit the class manually.
45
- *
46
- */
28
+ * Nutanix Dataprotection Versioned APIs
29
+ *
30
+ * OpenAPI spec version: 4.0.1-beta-1
31
+ *
32
+ * NOTE: This class is auto generated by the Open API Dev Platform.
33
+ *
34
+ * Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
35
+ *
36
+ * Do not edit the class manually.
37
+ *
38
+ */
47
39
  /**
48
40
  * The RecoveryPointReplicationSpec model module.
49
41
  * @module Ntnx/RecoveryPointReplicationSpec
50
- * @version 4.0.1-alpha-4
42
+ * @version 4.0.1-beta-1
51
43
  * @class RecoveryPointReplicationSpec
52
44
  */
53
- var _toJsonMapType = /*#__PURE__*/new WeakSet();
54
- var RecoveryPointReplicationSpec = /*#__PURE__*/function (_DataProtectionSiteRe) {
55
- _inherits(RecoveryPointReplicationSpec, _DataProtectionSiteRe);
56
- var _super = _createSuper(RecoveryPointReplicationSpec);
45
+ var _RecoveryPointReplicationSpec_brand = /*#__PURE__*/new WeakSet();
46
+ var RecoveryPointReplicationSpec = exports["default"] = /*#__PURE__*/function () {
57
47
  /**
58
48
  * Constructs a new <code>RecoveryPointReplicationSpec</code>.
59
- * External identifier of the cluster and the Prism Central where the Recovery point should be replicated.
49
+ * External identifier of the cluster and the Prism Central where the recovery point should be replicated.
60
50
  * @alias module:Ntnx/RecoveryPointReplicationSpec
61
- * @extends module:Ntnx/DataProtectionSiteReference
62
- */
51
+ */
63
52
  function RecoveryPointReplicationSpec() {
64
- var _this;
65
53
  _classCallCheck(this, RecoveryPointReplicationSpec);
66
- _this = _super.call(this);
67
54
  /*
68
55
  * toJson method for a map type which supports map with primitive keys and values of object types
69
56
  * @param {Object} obj
70
57
  * @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
71
58
  * Otherwise, just returns the input object.
72
59
  */
73
- _classPrivateMethodInitSpec(_assertThisInitialized(_this), _toJsonMapType);
74
- _this.$objectType = "dataprotection.v4.config.RecoveryPointReplicationSpec";
75
- _this.$reserved = {
76
- '$fqObjectType': "dataprotection.v4.r0.a4.config.RecoveryPointReplicationSpec"
60
+ _classPrivateMethodInitSpec(this, _RecoveryPointReplicationSpec_brand);
61
+ this.$objectType = "dataprotection.v4.config.RecoveryPointReplicationSpec";
62
+ this.$reserved = {
63
+ '$fv': "v4.r0.b1"
77
64
  };
78
- _this.$unknownFields = {};
79
- return _this;
65
+ this.$unknownFields = {};
80
66
  }
81
67
 
82
68
  /**
@@ -87,55 +73,66 @@ var RecoveryPointReplicationSpec = /*#__PURE__*/function (_DataProtectionSiteRe)
87
73
  * @param callFromChild {Boolean} Flag to recognise calling instance
88
74
  * @return {module:Ntnx/RecoveryPointReplicationSpec} The populated <code>RecoveryPointReplicationSpec</code> instance.
89
75
  */
90
- _createClass(RecoveryPointReplicationSpec, [{
91
- key: "getTargetAvailabilityZoneId",
76
+ return _createClass(RecoveryPointReplicationSpec, [{
77
+ key: "getPcExtId",
92
78
  value:
93
79
  /**
94
- * Returns Target availability zone reference for the entities to be replicated.
80
+ * Returns External identifier of the Prism Central.
95
81
  * @return {}
96
82
  */
97
- function getTargetAvailabilityZoneId() {
98
- return this.targetAvailabilityZoneId;
83
+ function getPcExtId() {
84
+ return this.pcExtId;
99
85
  }
100
86
 
101
87
  /**
102
- * Sets Target availability zone reference for the entities to be replicated.
103
- * @param {} targetAvailabilityZoneId Target availability zone reference for the entities to be replicated.
88
+ * Sets External identifier of the Prism Central.
89
+ * @param {} pcExtId External identifier of the Prism Central.
104
90
  */
105
91
  }, {
106
- key: "setTargetAvailabilityZoneId",
107
- value: function setTargetAvailabilityZoneId(targetAvailabilityZoneId) {
108
- this.targetAvailabilityZoneId = targetAvailabilityZoneId;
92
+ key: "setPcExtId",
93
+ value: function setPcExtId(pcExtId) {
94
+ this.pcExtId = pcExtId;
109
95
  }
110
96
 
111
97
  /**
112
- * Returns Details of the Cluster reference in the target availability zone for the entities to be replicated.
98
+ * Returns External identifier of the cluster.
113
99
  * @return {}
114
100
  */
115
101
  }, {
116
- key: "getTargetClusterId",
117
- value: function getTargetClusterId() {
118
- return this.targetClusterId;
102
+ key: "getClusterExtId",
103
+ value: function getClusterExtId() {
104
+ return this.clusterExtId;
119
105
  }
120
106
 
121
107
  /**
122
- * Sets Details of the Cluster reference in the target availability zone for the entities to be replicated.
123
- * @param {} targetClusterId Details of the Cluster reference in the target availability zone for the entities to be replicated.
108
+ * Sets External identifier of the cluster.
109
+ * @param {} clusterExtId External identifier of the cluster.
124
110
  */
125
111
  }, {
126
- key: "setTargetClusterId",
127
- value: function setTargetClusterId(targetClusterId) {
128
- this.targetClusterId = targetClusterId;
112
+ key: "setClusterExtId",
113
+ value: function setClusterExtId(clusterExtId) {
114
+ this.clusterExtId = clusterExtId;
115
+ }
116
+ }, {
117
+ key: "get$Reserved",
118
+ value: function get$Reserved() {
119
+ return this.$reserved;
120
+ }
121
+ }, {
122
+ key: "get$ObjectType",
123
+ value: function get$ObjectType() {
124
+ return this.$objectType;
125
+ }
126
+ }, {
127
+ key: "get$UnknownFields",
128
+ value: function get$UnknownFields() {
129
+ return this.$unknownFields;
129
130
  }
130
131
  }, {
131
132
  key: "toJson",
132
133
  value: function toJson(forMutation) {
133
134
  if (forMutation === false) {
134
- return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getTargetAvailabilityZoneId() !== 'undefined' && this.getTargetAvailabilityZoneId() !== null ? {
135
- 'targetAvailabilityZoneId': this.getTargetAvailabilityZoneId()
136
- } : {}), typeof this.getTargetClusterId() !== 'undefined' && this.getTargetClusterId() !== null ? {
137
- 'targetClusterId': this.getTargetClusterId()
138
- } : {}), typeof this.getPcExtId() !== 'undefined' && this.getPcExtId() !== null ? {
135
+ return _objectSpread(_objectSpread(_objectSpread({}, typeof this.getPcExtId() !== 'undefined' && this.getPcExtId() !== null ? {
139
136
  'pcExtId': this.getPcExtId()
140
137
  } : {}), typeof this.getClusterExtId() !== 'undefined' && this.getClusterExtId() !== null ? {
141
138
  'clusterExtId': this.getClusterExtId()
@@ -145,11 +142,7 @@ var RecoveryPointReplicationSpec = /*#__PURE__*/function (_DataProtectionSiteRe)
145
142
  '$unknownFields': this.get$UnknownFields()
146
143
  });
147
144
  }
148
- return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getTargetAvailabilityZoneId() !== 'undefined' && this.getTargetAvailabilityZoneId() !== null ? {
149
- 'targetAvailabilityZoneId': this.getTargetAvailabilityZoneId()
150
- } : {}), typeof this.getTargetClusterId() !== 'undefined' && this.getTargetClusterId() !== null ? {
151
- 'targetClusterId': this.getTargetClusterId()
152
- } : {}), typeof this.getPcExtId() !== 'undefined' && this.getPcExtId() !== null ? {
145
+ return _objectSpread(_objectSpread(_objectSpread({}, typeof this.getPcExtId() !== 'undefined' && this.getPcExtId() !== null ? {
153
146
  'pcExtId': this.getPcExtId()
154
147
  } : {}), typeof this.getClusterExtId() !== 'undefined' && this.getClusterExtId() !== null ? {
155
148
  'clusterExtId': this.getClusterExtId()
@@ -162,7 +155,7 @@ var RecoveryPointReplicationSpec = /*#__PURE__*/function (_DataProtectionSiteRe)
162
155
  }, {
163
156
  key: "validate",
164
157
  value: function validate(scope, properties) {
165
- var _this2 = this;
158
+ var _this = this;
166
159
  var propList = [];
167
160
  if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
168
161
  //cases validate() and validate(scope)
@@ -178,7 +171,7 @@ var RecoveryPointReplicationSpec = /*#__PURE__*/function (_DataProtectionSiteRe)
178
171
  var res = [];
179
172
  var err = null;
180
173
  propList.forEach(function (property) {
181
- err = _this2.validateProperty(property, scope);
174
+ err = _this.validateProperty(property, scope);
182
175
  if (err) {
183
176
  res.push(err);
184
177
  }
@@ -194,14 +187,35 @@ var RecoveryPointReplicationSpec = /*#__PURE__*/function (_DataProtectionSiteRe)
194
187
  }, {
195
188
  key: "validateProperty",
196
189
  value: function validateProperty(scope, property) {
197
- if (property === "targetAvailabilityZoneId") {
198
- if (typeof this.targetAvailabilityZoneId === 'undefined' || this.targetAvailabilityZoneId === null) {
199
- return new _ValidationError["default"]("targetAvailabilityZoneId", "undefined or null");
190
+ if (property === "pcExtId") {
191
+ if (typeof this.pcExtId === 'undefined' || this.pcExtId === null) {
192
+ return new _ValidationError["default"]("pcExtId", "undefined or null");
193
+ }
194
+ if (!_ValidationUtils["default"].validatePattern(this.pcExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
195
+ return new _ValidationError["default"]("pcExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
200
196
  }
201
197
  }
202
- if (property === "targetClusterId") {
203
- if (typeof this.targetClusterId === 'undefined' || this.targetClusterId === null) {
204
- return new _ValidationError["default"]("targetClusterId", "undefined or null");
198
+ if (property === "clusterExtId") {
199
+ if (typeof this.clusterExtId === 'undefined' || this.clusterExtId === null) {
200
+ return new _ValidationError["default"]("clusterExtId", "undefined or null");
201
+ }
202
+ if (!_ValidationUtils["default"].validatePattern(this.clusterExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
203
+ return new _ValidationError["default"]("clusterExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
204
+ }
205
+ }
206
+ if (property === "$reserved") {
207
+ if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
208
+ return new _ValidationError["default"]("$reserved", "undefined or null");
209
+ }
210
+ }
211
+ if (property === "$objectType") {
212
+ if (typeof this.$objectType === 'undefined' || this.$objectType === null) {
213
+ return new _ValidationError["default"]("$objectType", "undefined or null");
214
+ }
215
+ }
216
+ if (property === "$unknownFields") {
217
+ if (typeof this.$unknownFields === 'undefined' || this.$unknownFields === null) {
218
+ return new _ValidationError["default"]("$unknownFields", "undefined or null");
205
219
  }
206
220
  }
207
221
  return new _ValidationError["default"](property, "no such property exists");
@@ -213,12 +227,20 @@ var RecoveryPointReplicationSpec = /*#__PURE__*/function (_DataProtectionSiteRe)
213
227
  var items, item, i, itemArr, discriminator;
214
228
  if (data) {
215
229
  obj = obj || new RecoveryPointReplicationSpec();
216
- _DataProtectionSiteReference["default"].constructFromObject(data, obj, true);
217
- if (data.hasOwnProperty('targetAvailabilityZoneId') && data.targetAvailabilityZoneId !== null && data.targetAvailabilityZoneId !== undefined) {
218
- obj.setTargetAvailabilityZoneId(data['targetAvailabilityZoneId']);
230
+ if (data.hasOwnProperty('pcExtId') && data.pcExtId !== null && data.pcExtId !== undefined) {
231
+ obj.setPcExtId(data['pcExtId']);
232
+ }
233
+ if (data.hasOwnProperty('clusterExtId') && data.clusterExtId !== null && data.clusterExtId !== undefined) {
234
+ obj.setClusterExtId(data['clusterExtId']);
235
+ }
236
+ if (data.hasOwnProperty('$reserved')) {
237
+ obj.$reserved = data['$reserved'];
238
+ }
239
+ if (data.hasOwnProperty('$objectType')) {
240
+ obj.$objectType = data['$objectType'];
219
241
  }
220
- if (data.hasOwnProperty('targetClusterId') && data.targetClusterId !== null && data.targetClusterId !== undefined) {
221
- obj.setTargetClusterId(data['targetClusterId']);
242
+ if (data.hasOwnProperty('$unknownFields')) {
243
+ obj.$unknownFields = data['$unknownFields'];
222
244
  }
223
245
  if (!callFromChild) {
224
246
  obj.$unknownFields = _objectSpread({}, data.$unknownFields);
@@ -232,14 +254,12 @@ var RecoveryPointReplicationSpec = /*#__PURE__*/function (_DataProtectionSiteRe)
232
254
  return obj;
233
255
  }
234
256
  }]);
235
- return RecoveryPointReplicationSpec;
236
- }(_DataProtectionSiteReference["default"]);
257
+ }();
237
258
  /**
238
- * Target availability zone reference for the entities to be replicated.
259
+ * External identifier of the Prism Central.
239
260
  * @memberof RecoveryPointReplicationSpec
240
261
  */
241
- exports["default"] = RecoveryPointReplicationSpec;
242
- function _toJsonMapType2(obj, forMutation) {
262
+ function _toJsonMapType(obj, forMutation) {
243
263
  if (obj instanceof Map) {
244
264
  return Object.fromEntries(Array.from(obj, function (_ref) {
245
265
  var _ref2 = _slicedToArray(_ref, 2),
@@ -254,10 +274,13 @@ function _toJsonMapType2(obj, forMutation) {
254
274
  }
255
275
  return obj;
256
276
  }
257
- RecoveryPointReplicationSpec.prototype.targetAvailabilityZoneId = undefined;
277
+ RecoveryPointReplicationSpec.prototype.pcExtId = undefined;
258
278
 
259
279
  /**
260
- * Details of the Cluster reference in the target availability zone for the entities to be replicated.
280
+ * External identifier of the cluster.
261
281
  * @memberof RecoveryPointReplicationSpec
262
282
  */
263
- RecoveryPointReplicationSpec.prototype.targetClusterId = undefined;
283
+ RecoveryPointReplicationSpec.prototype.clusterExtId = undefined;
284
+ RecoveryPointReplicationSpec.prototype.$reserved = undefined;
285
+ RecoveryPointReplicationSpec.prototype.$objectType = undefined;
286
+ RecoveryPointReplicationSpec.prototype.$unknownFields = undefined;