@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
@@ -1,341 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ApiResponseMetadata = _interopRequireDefault(require("../../../common/v1/response/ApiResponseMetadata"));
8
- var _ConsistencyGroup = _interopRequireDefault(require("./ConsistencyGroup"));
9
- var _ConsistencyGroupProjection = _interopRequireDefault(require("./ConsistencyGroupProjection"));
10
- var _ErrorResponse = _interopRequireDefault(require("../error/ErrorResponse"));
11
- var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
12
- var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
13
- var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
14
- var _Paginable2 = _interopRequireDefault(require("../../../../Paginable"));
15
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
17
- 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
- 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
- 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; } }
21
- 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; }
25
- 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
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
27
- 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
- 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); }; }
34
- 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
- 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; } }
37
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
38
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
39
- 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
- */
52
- /**
53
- * The ConsistencyGroupListApiResponse model module.
54
- * @module Ntnx/ConsistencyGroupListApiResponse
55
- * @version 4.0.1-alpha-4
56
- * @class ConsistencyGroupListApiResponse
57
- */
58
- var _toJsonMapType = /*#__PURE__*/new WeakSet();
59
- var ConsistencyGroupListApiResponse = /*#__PURE__*/function (_Paginable) {
60
- _inherits(ConsistencyGroupListApiResponse, _Paginable);
61
- var _super = _createSuper(ConsistencyGroupListApiResponse);
62
- /**
63
- * Constructs a new <code>ConsistencyGroupListApiResponse</code>.
64
- * REST response for all response codes in API path /dataprotection/v4.0.a4/config/consistency-groups Get operation
65
- * @alias module:Ntnx/ConsistencyGroupListApiResponse
66
- */
67
- function ConsistencyGroupListApiResponse() {
68
- var _this;
69
- _classCallCheck(this, ConsistencyGroupListApiResponse);
70
- _this = _super.call(this);
71
- /*
72
- * toJson method for a map type which supports map with primitive keys and values of object types
73
- * @param {Object} obj
74
- * @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
75
- * Otherwise, just returns the input object.
76
- */
77
- _classPrivateMethodInitSpec(_assertThisInitialized(_this), _toJsonMapType);
78
- _this.$objectType = "dataprotection.v4.config.ConsistencyGroupListApiResponse";
79
- _this.$reserved = {
80
- '$fqObjectType': "dataprotection.v4.r0.a4.config.ConsistencyGroupListApiResponse"
81
- };
82
- _this.$unknownFields = {};
83
- return _this;
84
- }
85
-
86
- /**
87
- * Constructs a <code>ConsistencyGroupListApiResponse</code> from a plain JavaScript object, optionally creating a new instance.
88
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
89
- * @param {Object} data The plain JavaScript object bearing properties of interest.
90
- * @param {module:Ntnx/ConsistencyGroupListApiResponse} obj Optional instance to populate.
91
- * @param callFromChild {Boolean} Flag to recognise calling instance
92
- * @return {module:Ntnx/ConsistencyGroupListApiResponse} The populated <code>ConsistencyGroupListApiResponse</code> instance.
93
- */
94
- _createClass(ConsistencyGroupListApiResponse, [{
95
- key: "getMetadata",
96
- value:
97
- /**
98
- * @return {}
99
- */
100
- function getMetadata() {
101
- return this.metadata;
102
- }
103
-
104
- /**
105
- * @param {} metadata
106
- */
107
- }, {
108
- key: "setMetadata",
109
- value: function setMetadata(metadata) {
110
- this.metadata = metadata;
111
- }
112
-
113
- /**
114
- * @return {}
115
- */
116
- }, {
117
- key: "getData",
118
- value: function getData() {
119
- return this.data;
120
- }
121
-
122
- /**
123
- * @param {} data
124
- */
125
- }, {
126
- key: "setData",
127
- value: function setData(data) {
128
- this.data = data;
129
- }
130
- }, {
131
- key: "get$Reserved",
132
- value: function get$Reserved() {
133
- return this.$reserved;
134
- }
135
- }, {
136
- key: "get$ObjectType",
137
- value: function get$ObjectType() {
138
- return this.$objectType;
139
- }
140
- }, {
141
- key: "get$UnknownFields",
142
- value: function get$UnknownFields() {
143
- return this.$unknownFields;
144
- }
145
- }, {
146
- key: "toJson",
147
- value: function toJson(forMutation) {
148
- if (forMutation === false) {
149
- return _objectSpread(_objectSpread(_objectSpread({}, typeof this.getMetadata() !== 'undefined' && this.getMetadata() !== null ? {
150
- 'metadata': this.getMetadata().toJson(false)
151
- } : {}), typeof this.getData() !== 'undefined' && this.getData() !== null ? {
152
- 'data': typeof this.getData().toJson !== "undefined" ? this.getData().toJson(false) : Array.isArray(this.getData()) ? this.getData().map(function (item) {
153
- return typeof item.toJson !== "undefined" ? item.toJson(false) : item;
154
- }) : _classPrivateMethodGet(this, _toJsonMapType, _toJsonMapType2).call(this, this.getData(), false)
155
- } : {}), {}, {
156
- '$reserved': this.get$Reserved(),
157
- '$objectType': this.get$ObjectType(),
158
- '$unknownFields': this.get$UnknownFields()
159
- });
160
- }
161
- return _objectSpread(_objectSpread(_objectSpread({}, typeof this.getMetadata() !== 'undefined' && this.getMetadata() !== null ? {
162
- 'metadata': this.getMetadata().toJson(false)
163
- } : {}), typeof this.getData() !== 'undefined' && this.getData() !== null ? {
164
- 'data': typeof this.getData().toJson !== "undefined" ? this.getData().toJson() : Array.isArray(this.getData()) ? this.getData().map(function (item) {
165
- return typeof item.toJson !== "undefined" ? item.toJson() : item;
166
- }) : _classPrivateMethodGet(this, _toJsonMapType, _toJsonMapType2).call(this, this.getData())
167
- } : {}), {}, {
168
- '$reserved': this.get$Reserved(),
169
- '$objectType': this.get$ObjectType(),
170
- '$unknownFields': this.get$UnknownFields()
171
- });
172
- }
173
- }, {
174
- key: "validate",
175
- value: function validate(scope, properties) {
176
- var _this2 = this;
177
- var propList = [];
178
- if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
179
- //cases validate() and validate(scope)
180
- propList = [];
181
- } else if (arguments.length === 1) {
182
- //case validate(properties)
183
- propList = arguments[0];
184
- scope = null;
185
- } else {
186
- //case validate(scope, properties)
187
- propList = arguments[1];
188
- }
189
- var res = [];
190
- var err = null;
191
- propList.forEach(function (property) {
192
- err = _this2.validateProperty(property, scope);
193
- if (err) {
194
- res.push(err);
195
- }
196
- });
197
- return new Promise(function (resolve, reject) {
198
- if (res.length !== 0) {
199
- reject(err);
200
- } else {
201
- resolve();
202
- }
203
- });
204
- }
205
- }, {
206
- key: "validateProperty",
207
- value: function validateProperty(scope, property) {
208
- if (property === "metadata") {
209
- if (typeof this.metadata === 'undefined' || this.metadata === null) {
210
- return new _ValidationError["default"]("metadata", "undefined or null");
211
- }
212
- }
213
- if (property === "data") {
214
- if (typeof this.data === 'undefined' || this.data === null) {
215
- return new _ValidationError["default"]("data", "undefined or null");
216
- }
217
- }
218
- if (property === "$reserved") {
219
- if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
220
- return new _ValidationError["default"]("$reserved", "undefined or null");
221
- }
222
- }
223
- if (property === "$objectType") {
224
- if (typeof this.$objectType === 'undefined' || this.$objectType === null) {
225
- return new _ValidationError["default"]("$objectType", "undefined or null");
226
- }
227
- }
228
- if (property === "$unknownFields") {
229
- if (typeof this.$unknownFields === 'undefined' || this.$unknownFields === null) {
230
- return new _ValidationError["default"]("$unknownFields", "undefined or null");
231
- }
232
- }
233
- return new _ValidationError["default"](property, "no such property exists");
234
- }
235
- }], [{
236
- key: "constructFromObject",
237
- value: function constructFromObject(data, obj) {
238
- var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
239
- var items, item, i, itemArr, discriminator;
240
- if (data) {
241
- obj = obj || new ConsistencyGroupListApiResponse();
242
- if (data.hasOwnProperty('metadata')) {
243
- _Paginable2["default"].constructFromObject(data['metadata'], obj);
244
- }
245
- if (data.hasOwnProperty('metadata') && data.metadata !== null && data.metadata !== undefined) {
246
- obj.setMetadata(_ApiResponseMetadata["default"].constructFromObject(data['metadata']));
247
- }
248
- if (data.hasOwnProperty('data') && data.data !== null && data.data !== undefined) {
249
- if (Array.isArray(data['data'])) {
250
- if (data['data'].length === 0) {
251
- obj.setData([]);
252
- } else {
253
- itemArr = [];
254
- items = data['data'];
255
- if (items[0].hasOwnProperty('$objectType')) {
256
- discriminator = items[0]['$objectType'];
257
- } else {
258
- discriminator = _typeof(items[0]);
259
- }
260
- for (i = 0; i < items.length; i++) {
261
- switch (discriminator) {
262
- case 'dataprotection.v4.config.ConsistencyGroup':
263
- item = _ConsistencyGroup["default"].constructFromObject(items[i], undefined);
264
- itemArr.push(item);
265
- break;
266
- case 'dataprotection.v4.config.ConsistencyGroupProjection':
267
- item = _ConsistencyGroupProjection["default"].constructFromObject(items[i], undefined);
268
- itemArr.push(item);
269
- break;
270
- default:
271
- throw "Unknown list of type " + discriminator + " in data";
272
- }
273
- }
274
- obj.setData(itemArr);
275
- }
276
- } else {
277
- if (data['data'].hasOwnProperty('$objectType')) {
278
- discriminator = data['data']['$objectType'];
279
- } else {
280
- discriminator = _typeof(data['data']);
281
- }
282
- switch (discriminator) {
283
- case 'dataprotection.v4.error.ErrorResponse':
284
- obj.setData(_ErrorResponse["default"].constructFromObject(data['data'], undefined));
285
- break;
286
- default:
287
- throw "Unknown datatype " + discriminator + " in data";
288
- }
289
- }
290
- }
291
- if (data.hasOwnProperty('$reserved')) {
292
- obj.$reserved = data['$reserved'];
293
- }
294
- if (data.hasOwnProperty('$objectType')) {
295
- obj.$objectType = data['$objectType'];
296
- }
297
- if (data.hasOwnProperty('$unknownFields')) {
298
- obj.$unknownFields = data['$unknownFields'];
299
- }
300
- if (!callFromChild) {
301
- obj.$unknownFields = _objectSpread({}, data.$unknownFields);
302
- for (var property in data) {
303
- if (!Object.keys(obj).includes(property) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
304
- obj.$unknownFields[property] = data[property];
305
- }
306
- }
307
- }
308
- }
309
- return obj;
310
- }
311
- }]);
312
- return ConsistencyGroupListApiResponse;
313
- }(_Paginable2["default"]);
314
- /**
315
- * @memberof ConsistencyGroupListApiResponse
316
- */
317
- exports["default"] = ConsistencyGroupListApiResponse;
318
- function _toJsonMapType2(obj, forMutation) {
319
- if (obj instanceof Map) {
320
- return Object.fromEntries(Array.from(obj, function (_ref) {
321
- var _ref2 = _slicedToArray(_ref, 2),
322
- k = _ref2[0],
323
- v = _ref2[1];
324
- return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
325
- }));
326
- } else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
327
- return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
328
- return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
329
- }));
330
- }
331
- return obj;
332
- }
333
- ConsistencyGroupListApiResponse.prototype.metadata = undefined;
334
-
335
- /**
336
- * @memberof ConsistencyGroupListApiResponse
337
- */
338
- ConsistencyGroupListApiResponse.prototype.data = undefined;
339
- ConsistencyGroupListApiResponse.prototype.$reserved = undefined;
340
- ConsistencyGroupListApiResponse.prototype.$objectType = undefined;
341
- ConsistencyGroupListApiResponse.prototype.$unknownFields = undefined;
@@ -1,67 +0,0 @@
1
- /**
2
- * The ConsistencyGroupRecoveryPointSpec model module.
3
- * @module Ntnx/ConsistencyGroupRecoveryPointSpec
4
- * @version 4.0.1-alpha-4
5
- * @class ConsistencyGroupRecoveryPointSpec
6
- */
7
- export default class ConsistencyGroupRecoveryPointSpec {
8
- /**
9
- * Constructs a <code>ConsistencyGroupRecoveryPointSpec</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/ConsistencyGroupRecoveryPointSpec} obj Optional instance to populate.
13
- * @param callFromChild {Boolean} Flag to recognise calling instance
14
- * @return {module:Ntnx/ConsistencyGroupRecoveryPointSpec} The populated <code>ConsistencyGroupRecoveryPointSpec</code> instance.
15
- */
16
- static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
17
- /**
18
- * Constructs a new <code>ConsistencyGroupRecoveryPointSpec</code>.
19
- * Specification for Create Consistency group Recovery point
20
- * @alias module:Ntnx/ConsistencyGroupRecoveryPointSpec
21
- * @param name {} Name of the Consistency group Recovery point.
22
- */
23
- constructor(name: any);
24
- name: any;
25
- $objectType: string;
26
- $reserved: {
27
- $fqObjectType: string;
28
- };
29
- $unknownFields: {};
30
- /**
31
- * Returns Name of the Consistency group Recovery point.
32
- * @return {}
33
- */
34
- getName(): any;
35
- /**
36
- * Sets Name of the Consistency group Recovery point.
37
- * @param {} name Name of the Consistency group Recovery point.
38
- */
39
- setName(name: any): void;
40
- /**
41
- * @return {}
42
- */
43
- getRecoveryPointType(): any;
44
- /**
45
- * @param {} recoveryPointType
46
- */
47
- setRecoveryPointType(recoveryPointType: any): void;
48
- recoveryPointType: any;
49
- get$Reserved(): {
50
- $fqObjectType: string;
51
- };
52
- get$ObjectType(): string;
53
- get$UnknownFields(): {};
54
- toJson(forMutation: any): {
55
- $reserved: {
56
- $fqObjectType: string;
57
- };
58
- $objectType: string;
59
- $unknownFields: {};
60
- recoveryPointType?: any;
61
- name?: any;
62
- };
63
- validate(scope: any, properties: any, ...args: any[]): any;
64
- validateProperty(scope: any, property: any): ValidationError;
65
- #private;
66
- }
67
- import ValidationError from "../../../validation/ValidationError";