@nutanix-scratch/objects-js-client 4.0.1-alpha.2 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/LICENSE.txt +202 -49
  2. package/README.md +39 -27
  3. package/dist/Ntnx-Objects-js-client-prod.js +1 -1
  4. package/dist/Ntnx-Objects-js-client.js +227 -96
  5. package/dist/es/ApiClient.d.ts +8 -1
  6. package/dist/es/ApiClient.js +249 -189
  7. package/dist/es/Paginable.d.ts +1 -1
  8. package/dist/es/Paginable.js +9 -9
  9. package/dist/es/apis/objectstores-endpoints.d.ts +66 -95
  10. package/dist/es/apis/objectstores-endpoints.js +205 -170
  11. package/dist/es/apis/stats-endpoints.d.ts +69 -0
  12. package/dist/es/apis/stats-endpoints.js +154 -0
  13. package/dist/es/index.d.ts +43 -21
  14. package/dist/es/index.js +135 -47
  15. package/dist/es/models/common/v1/config/FQDN.d.ts +24 -20
  16. package/dist/es/models/common/v1/config/FQDN.js +56 -21
  17. package/dist/es/models/common/v1/config/Flag.d.ts +32 -26
  18. package/dist/es/models/common/v1/config/Flag.js +65 -21
  19. package/dist/es/models/common/v1/config/IPAddress.d.ts +42 -26
  20. package/dist/es/models/common/v1/config/IPAddress.js +53 -21
  21. package/dist/es/models/common/v1/config/IPv4Address.d.ts +40 -26
  22. package/dist/es/models/common/v1/config/IPv4Address.js +64 -23
  23. package/dist/es/models/common/v1/config/IPv6Address.d.ts +40 -26
  24. package/dist/es/models/common/v1/config/IPv6Address.js +64 -23
  25. package/dist/es/models/common/v1/config/KVPair.d.ts +35 -26
  26. package/dist/es/models/common/v1/config/KVPair.js +70 -24
  27. package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
  28. package/dist/es/models/common/v1/config/MapOfStringWrapper.js +275 -0
  29. package/dist/es/models/common/v1/config/Message.d.ts +41 -38
  30. package/dist/es/models/common/v1/config/Message.js +57 -25
  31. package/dist/es/models/common/v1/config/MessageSeverity.js +7 -7
  32. package/dist/es/models/common/v1/config/Metadata.d.ts +46 -44
  33. package/dist/es/models/common/v1/config/Metadata.js +65 -27
  34. package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +22 -20
  35. package/dist/es/models/common/v1/config/TenantAwareModel.js +51 -19
  36. package/dist/es/models/common/v1/response/ApiLink.d.ts +28 -26
  37. package/dist/es/models/common/v1/response/ApiLink.js +53 -21
  38. package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
  39. package/dist/es/models/common/v1/response/ApiResponseMetadata.js +71 -27
  40. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
  41. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +71 -31
  42. package/dist/es/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
  43. package/dist/es/models/common/v1/stats/DownSamplingOperator.js +109 -0
  44. package/dist/es/models/common/v1/stats/TimeIntValuePair.d.ts +64 -0
  45. package/dist/es/models/common/v1/stats/TimeIntValuePair.js +313 -0
  46. package/dist/es/models/objects/v4/config/Certificate.d.ts +146 -0
  47. package/dist/es/models/objects/v4/{operations → config}/Certificate.js +184 -43
  48. package/dist/es/models/objects/v4/{operations → config}/CertificateProjection.d.ts +2 -1
  49. package/dist/{lib/models/objects/v4/operations → es/models/objects/v4/config}/CertificateProjection.js +41 -17
  50. package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.d.ts +101 -0
  51. package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.js +343 -0
  52. package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +99 -0
  53. package/dist/{lib/models/objects/v4/operations/TaskReferenceApiResponse.js → es/models/objects/v4/config/CreateObjectstoreApiResponse.js} +86 -54
  54. package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +99 -0
  55. package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.js +343 -0
  56. package/dist/es/models/objects/v4/config/GetCaApiResponse.d.ts +98 -0
  57. package/dist/es/models/objects/v4/{operations/TaskReferenceApiResponse.js → config/GetCaApiResponse.js} +88 -57
  58. package/dist/es/models/objects/v4/config/GetCertificateApiResponse.d.ts +99 -0
  59. package/dist/es/models/objects/v4/{operations/CertificateApiResponse.js → config/GetCertificateApiResponse.js} +88 -56
  60. package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +101 -0
  61. package/dist/{lib/models/objects/v4/operations/ObjectstoreApiResponse.js → es/models/objects/v4/config/GetObjectstoreApiResponse.js} +89 -57
  62. package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.d.ts +100 -0
  63. package/dist/es/models/objects/v4/{operations/CertificateListApiResponse.js → config/ListCertificatesApiResponse.js} +89 -57
  64. package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +100 -0
  65. package/dist/es/models/objects/v4/{operations/ObjectstoreListApiResponse.js → config/ListObjectstoresApiResponse.js} +92 -60
  66. package/dist/es/models/objects/v4/config/ObjectStore.d.ts +313 -0
  67. package/dist/es/models/objects/v4/{operations/Objectstore.js → config/ObjectStore.js} +213 -157
  68. package/dist/es/models/objects/v4/config/ObjectStoreProjection.d.ts +174 -0
  69. package/dist/{lib/models/objects/v4/operations/ObjectstoreProjection.js → es/models/objects/v4/config/ObjectStoreProjection.js} +211 -65
  70. package/dist/es/models/objects/v4/{operations/StateEnum.d.ts → config/State.d.ts} +6 -6
  71. package/dist/es/models/objects/v4/config/State.js +133 -0
  72. package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +99 -0
  73. package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.js +343 -0
  74. package/dist/es/models/objects/v4/error/AppMessage.d.ts +57 -48
  75. package/dist/es/models/objects/v4/error/AppMessage.js +61 -29
  76. package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +23 -19
  77. package/dist/es/models/objects/v4/error/ErrorResponse.js +62 -25
  78. package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +53 -43
  79. package/dist/es/models/objects/v4/error/SchemaValidationError.js +62 -29
  80. package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
  81. package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +55 -23
  82. package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +99 -0
  83. package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +343 -0
  84. package/dist/es/models/objects/v4/stats/ObjectstoreStats.d.ts +423 -0
  85. package/dist/es/models/objects/v4/stats/ObjectstoreStats.js +1425 -0
  86. package/dist/es/models/objects/v4/stats/TimeFloatValuePair.d.ts +64 -0
  87. package/dist/es/models/objects/v4/stats/TimeFloatValuePair.js +313 -0
  88. package/dist/es/models/prism/v4/config/TaskReference.d.ts +22 -20
  89. package/dist/es/models/prism/v4/config/TaskReference.js +55 -20
  90. package/dist/es/models/validation/ValidationError.js +5 -5
  91. package/dist/es/utils/ValidationUtils.js +5 -5
  92. package/dist/lib/ApiClient.d.ts +8 -1
  93. package/dist/lib/ApiClient.js +249 -189
  94. package/dist/lib/Paginable.d.ts +1 -1
  95. package/dist/lib/Paginable.js +9 -9
  96. package/dist/lib/apis/objectstores-endpoints.d.ts +66 -95
  97. package/dist/lib/apis/objectstores-endpoints.js +205 -170
  98. package/dist/lib/apis/stats-endpoints.d.ts +69 -0
  99. package/dist/lib/apis/stats-endpoints.js +154 -0
  100. package/dist/lib/index.d.ts +43 -21
  101. package/dist/lib/index.js +135 -47
  102. package/dist/lib/models/common/v1/config/FQDN.d.ts +24 -20
  103. package/dist/lib/models/common/v1/config/FQDN.js +56 -21
  104. package/dist/lib/models/common/v1/config/Flag.d.ts +32 -26
  105. package/dist/lib/models/common/v1/config/Flag.js +65 -21
  106. package/dist/lib/models/common/v1/config/IPAddress.d.ts +42 -26
  107. package/dist/lib/models/common/v1/config/IPAddress.js +53 -21
  108. package/dist/lib/models/common/v1/config/IPv4Address.d.ts +40 -26
  109. package/dist/lib/models/common/v1/config/IPv4Address.js +64 -23
  110. package/dist/lib/models/common/v1/config/IPv6Address.d.ts +40 -26
  111. package/dist/lib/models/common/v1/config/IPv6Address.js +64 -23
  112. package/dist/lib/models/common/v1/config/KVPair.d.ts +35 -26
  113. package/dist/lib/models/common/v1/config/KVPair.js +70 -24
  114. package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
  115. package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +275 -0
  116. package/dist/lib/models/common/v1/config/Message.d.ts +41 -38
  117. package/dist/lib/models/common/v1/config/Message.js +57 -25
  118. package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -7
  119. package/dist/lib/models/common/v1/config/Metadata.d.ts +46 -44
  120. package/dist/lib/models/common/v1/config/Metadata.js +65 -27
  121. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +22 -20
  122. package/dist/lib/models/common/v1/config/TenantAwareModel.js +51 -19
  123. package/dist/lib/models/common/v1/response/ApiLink.d.ts +28 -26
  124. package/dist/lib/models/common/v1/response/ApiLink.js +53 -21
  125. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
  126. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +71 -27
  127. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
  128. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +71 -31
  129. package/dist/lib/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
  130. package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +109 -0
  131. package/dist/lib/models/common/v1/stats/TimeIntValuePair.d.ts +64 -0
  132. package/dist/lib/models/common/v1/stats/TimeIntValuePair.js +313 -0
  133. package/dist/lib/models/objects/v4/config/Certificate.d.ts +146 -0
  134. package/dist/lib/models/objects/v4/{operations → config}/Certificate.js +184 -43
  135. package/dist/lib/models/objects/v4/{operations → config}/CertificateProjection.d.ts +2 -1
  136. package/dist/{es/models/objects/v4/operations → lib/models/objects/v4/config}/CertificateProjection.js +41 -17
  137. package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.d.ts +101 -0
  138. package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.js +343 -0
  139. package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +99 -0
  140. package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.js +343 -0
  141. package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +99 -0
  142. package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.js +343 -0
  143. package/dist/lib/models/objects/v4/config/GetCaApiResponse.d.ts +98 -0
  144. package/dist/lib/models/objects/v4/{operations/CertificateApiResponse.js → config/GetCaApiResponse.js} +88 -57
  145. package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.d.ts +99 -0
  146. package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.js +343 -0
  147. package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +101 -0
  148. package/dist/{es/models/objects/v4/operations/ObjectstoreApiResponse.js → lib/models/objects/v4/config/GetObjectstoreApiResponse.js} +89 -57
  149. package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.d.ts +100 -0
  150. package/dist/lib/models/objects/v4/{operations/CertificateListApiResponse.js → config/ListCertificatesApiResponse.js} +89 -57
  151. package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +100 -0
  152. package/dist/lib/models/objects/v4/{operations/ObjectstoreListApiResponse.js → config/ListObjectstoresApiResponse.js} +92 -60
  153. package/dist/lib/models/objects/v4/config/ObjectStore.d.ts +313 -0
  154. package/dist/lib/models/objects/v4/{operations/Objectstore.js → config/ObjectStore.js} +213 -157
  155. package/dist/lib/models/objects/v4/config/ObjectStoreProjection.d.ts +174 -0
  156. package/dist/{es/models/objects/v4/operations/ObjectstoreProjection.js → lib/models/objects/v4/config/ObjectStoreProjection.js} +211 -65
  157. package/dist/lib/models/objects/v4/{operations/StateEnum.d.ts → config/State.d.ts} +6 -6
  158. package/dist/lib/models/objects/v4/config/State.js +133 -0
  159. package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +99 -0
  160. package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.js +343 -0
  161. package/dist/lib/models/objects/v4/error/AppMessage.d.ts +57 -48
  162. package/dist/lib/models/objects/v4/error/AppMessage.js +61 -29
  163. package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +23 -19
  164. package/dist/lib/models/objects/v4/error/ErrorResponse.js +62 -25
  165. package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +53 -43
  166. package/dist/lib/models/objects/v4/error/SchemaValidationError.js +62 -29
  167. package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
  168. package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +55 -23
  169. package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +99 -0
  170. package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +343 -0
  171. package/dist/lib/models/objects/v4/stats/ObjectstoreStats.d.ts +423 -0
  172. package/dist/lib/models/objects/v4/stats/ObjectstoreStats.js +1425 -0
  173. package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.d.ts +64 -0
  174. package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.js +313 -0
  175. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +22 -20
  176. package/dist/lib/models/prism/v4/config/TaskReference.js +55 -20
  177. package/dist/lib/models/validation/ValidationError.js +5 -5
  178. package/dist/lib/utils/ValidationUtils.js +5 -5
  179. package/package.json +1 -1
  180. package/dist/es/models/objects/v4/operations/Certificate.d.ts +0 -78
  181. package/dist/es/models/objects/v4/operations/CertificateApiResponse.d.ts +0 -59
  182. package/dist/es/models/objects/v4/operations/CertificateListApiResponse.d.ts +0 -59
  183. package/dist/es/models/objects/v4/operations/Objectstore.d.ts +0 -242
  184. package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +0 -59
  185. package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +0 -59
  186. package/dist/es/models/objects/v4/operations/ObjectstoreProjection.d.ts +0 -50
  187. package/dist/es/models/objects/v4/operations/StateEnum.js +0 -145
  188. package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +0 -59
  189. package/dist/lib/models/objects/v4/operations/Certificate.d.ts +0 -78
  190. package/dist/lib/models/objects/v4/operations/CertificateApiResponse.d.ts +0 -59
  191. package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.d.ts +0 -59
  192. package/dist/lib/models/objects/v4/operations/Objectstore.d.ts +0 -242
  193. package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +0 -59
  194. package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +0 -59
  195. package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.d.ts +0 -50
  196. package/dist/lib/models/objects/v4/operations/StateEnum.js +0 -145
  197. package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +0 -59
@@ -5,103 +5,105 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiResponseMetadata = _interopRequireDefault(require("../../../common/v1/response/ApiResponseMetadata"));
8
+ var _ObjectStore = _interopRequireDefault(require("./ObjectStore"));
9
+ var _ObjectStoreProjection = _interopRequireDefault(require("./ObjectStoreProjection"));
8
10
  var _ErrorResponse = _interopRequireDefault(require("../error/ErrorResponse"));
9
- var _Objectstore = _interopRequireDefault(require("./Objectstore"));
10
- var _ObjectstoreProjection = _interopRequireDefault(require("./ObjectstoreProjection"));
11
11
  var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
12
12
  var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
13
13
  var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
14
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(); }
15
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
16
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
17
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; }
18
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
19
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
20
20
  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
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
22
22
  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); }
23
23
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
24
24
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
25
- function _defineProperty(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; }
25
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
26
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
27
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
28
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
29
29
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
30
30
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
31
31
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
32
- 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); }
33
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
32
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
33
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
34
34
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
35
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
36
- 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); }
37
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
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"); } }
35
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
36
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
37
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
38
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
39
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
40
40
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
41
41
  * Nutanix Objects Storage Management APIs
42
42
  *
43
- * OpenAPI spec version: 4.0.1-alpha-2
43
+ * OpenAPI spec version: 4.0.1
44
44
  *
45
45
  * NOTE: This class is auto generated by the Open API Dev Platform.
46
46
  *
47
- * Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
47
+ * Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
48
48
  *
49
49
  * Do not edit the class manually.
50
50
  *
51
51
  */
52
52
  /**
53
- * The ObjectstoreListApiResponse model module.
54
- * @module Ntnx/ObjectstoreListApiResponse
55
- * @version 4.0.1-alpha-2
56
- * @class ObjectstoreListApiResponse
53
+ * The ListObjectstoresApiResponse model module.
54
+ * @module Ntnx/ListObjectstoresApiResponse
55
+ * @version 4.0.1
56
+ * @class ListObjectstoresApiResponse
57
57
  */
58
- var _ObjectstoreListApiResponse_brand = /*#__PURE__*/new WeakSet();
59
- var ObjectstoreListApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
58
+ var _ListObjectstoresApiResponse_brand = /*#__PURE__*/new WeakSet();
59
+ var ListObjectstoresApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
60
60
  /**
61
- * Constructs a new <code>ObjectstoreListApiResponse</code>.
62
- * REST response for all response codes in API path /objects/v4.0.a2/operations/object-stores Get operation
63
- * @alias module:Ntnx/ObjectstoreListApiResponse
61
+ * Constructs a new <code>ListObjectstoresApiResponse</code>.
62
+ * REST response for all response codes in API path /objects/v4.0/config/object-stores Get operation
63
+ * @alias module:Ntnx/ListObjectstoresApiResponse
64
64
  */
65
- function ObjectstoreListApiResponse() {
65
+ function ListObjectstoresApiResponse() {
66
66
  var _this;
67
- _classCallCheck(this, ObjectstoreListApiResponse);
68
- _this = _callSuper(this, ObjectstoreListApiResponse);
67
+ _classCallCheck(this, ListObjectstoresApiResponse);
68
+ _this = _callSuper(this, ListObjectstoresApiResponse);
69
69
  /*
70
70
  * toJson method for a map type which supports map with primitive keys and values of object types
71
71
  * @param {Object} obj
72
72
  * @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
73
73
  * Otherwise, just returns the input object.
74
74
  */
75
- _classPrivateMethodInitSpec(_this, _ObjectstoreListApiResponse_brand);
76
- _this.$objectType = "objects.v4.operations.ObjectstoreListApiResponse";
75
+ _classPrivateMethodInitSpec(_this, _ListObjectstoresApiResponse_brand);
76
+ _this.$objectType = "objects.v4.config.ListObjectstoresApiResponse";
77
+ /** @type {object<string, any>} */
77
78
  _this.$reserved = {
78
- '$fv': "v4.r0.a2"
79
+ '$fv': "v4.r0"
79
80
  };
81
+ /** @type {object<string, any>} */
80
82
  _this.$unknownFields = {};
81
83
  return _this;
82
84
  }
83
85
 
84
86
  /**
85
- * Constructs a <code>ObjectstoreListApiResponse</code> from a plain JavaScript object, optionally creating a new instance.
87
+ * Constructs a <code>ListObjectstoresApiResponse</code> from a plain JavaScript object, optionally creating a new instance.
86
88
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
87
89
  * @param {Object} data The plain JavaScript object bearing properties of interest.
88
- * @param {module:Ntnx/ObjectstoreListApiResponse} obj Optional instance to populate.
90
+ * @param {module:Ntnx/ListObjectstoresApiResponse} obj Optional instance to populate.
89
91
  * @param callFromChild {Boolean} Flag to recognise calling instance
90
- * @return {module:Ntnx/ObjectstoreListApiResponse} The populated <code>ObjectstoreListApiResponse</code> instance.
92
+ * @return {module:Ntnx/ListObjectstoresApiResponse} The populated <code>ListObjectstoresApiResponse</code> instance.
91
93
  */
92
- _inherits(ObjectstoreListApiResponse, _Paginable);
93
- return _createClass(ObjectstoreListApiResponse, [{
94
+ _inherits(ListObjectstoresApiResponse, _Paginable);
95
+ return _createClass(ListObjectstoresApiResponse, [{
94
96
  key: "getMetadata",
95
97
  value:
96
98
  /**
97
- * @return {}
99
+ * @return {ApiResponseMetadata}
98
100
  */
99
101
  function getMetadata() {
100
102
  return this.metadata;
101
103
  }
102
104
 
103
105
  /**
104
- * @param {} metadata
106
+ * @param {ApiResponseMetadata} metadata
105
107
  */
106
108
  }, {
107
109
  key: "setMetadata",
@@ -110,7 +112,7 @@ var ObjectstoreListApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
110
112
  }
111
113
 
112
114
  /**
113
- * @return {}
115
+ * @return {ObjectStore[] | ErrorResponse | ObjectStoreProjection[]}
114
116
  */
115
117
  }, {
116
118
  key: "getData",
@@ -119,7 +121,7 @@ var ObjectstoreListApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
119
121
  }
120
122
 
121
123
  /**
122
- * @param {} data
124
+ * @param {ObjectStore[] | ErrorResponse | ObjectStoreProjection[]} data
123
125
  */
124
126
  }, {
125
127
  key: "setData",
@@ -150,7 +152,7 @@ var ObjectstoreListApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
150
152
  } : {}), typeof this.getData() !== 'undefined' && this.getData() !== null ? {
151
153
  'data': typeof this.getData().toJson !== "undefined" ? this.getData().toJson(false) : Array.isArray(this.getData()) ? this.getData().map(function (item) {
152
154
  return typeof item.toJson !== "undefined" ? item.toJson(false) : item;
153
- }) : _assertClassBrand(_ObjectstoreListApiResponse_brand, this, _toJsonMapType).call(this, this.getData(), false)
155
+ }) : _assertClassBrand(_ListObjectstoresApiResponse_brand, this, _toJsonMapType).call(this, this.getData(), false)
154
156
  } : {}), {}, {
155
157
  '$reserved': this.get$Reserved(),
156
158
  '$objectType': this.get$ObjectType(),
@@ -162,7 +164,7 @@ var ObjectstoreListApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
162
164
  } : {}), typeof this.getData() !== 'undefined' && this.getData() !== null ? {
163
165
  'data': typeof this.getData().toJson !== "undefined" ? this.getData().toJson() : Array.isArray(this.getData()) ? this.getData().map(function (item) {
164
166
  return typeof item.toJson !== "undefined" ? item.toJson() : item;
165
- }) : _assertClassBrand(_ObjectstoreListApiResponse_brand, this, _toJsonMapType).call(this, this.getData())
167
+ }) : _assertClassBrand(_ListObjectstoresApiResponse_brand, this, _toJsonMapType).call(this, this.getData())
166
168
  } : {}), {}, {
167
169
  '$reserved': this.get$Reserved(),
168
170
  '$objectType': this.get$ObjectType(),
@@ -233,11 +235,12 @@ var ObjectstoreListApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
233
235
  }
234
236
  }], [{
235
237
  key: "constructFromObject",
236
- value: function constructFromObject(data, obj) {
238
+ value: function constructFromObject(data) {
239
+ var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
237
240
  var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
238
241
  var items, item, i, itemArr, discriminator;
239
242
  if (data) {
240
- obj = obj || new ObjectstoreListApiResponse();
243
+ obj = obj || new ListObjectstoresApiResponse();
241
244
  if (data.hasOwnProperty('metadata')) {
242
245
  _Paginable2["default"].constructFromObject(data['metadata'], obj);
243
246
  }
@@ -258,12 +261,12 @@ var ObjectstoreListApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
258
261
  }
259
262
  for (i = 0; i < items.length; i++) {
260
263
  switch (discriminator) {
261
- case 'objects.v4.operations.Objectstore':
262
- item = _Objectstore["default"].constructFromObject(items[i], undefined);
264
+ case 'objects.v4.config.ObjectStore':
265
+ item = _ObjectStore["default"].constructFromObject(items[i], undefined);
263
266
  itemArr.push(item);
264
267
  break;
265
- case 'objects.v4.operations.ObjectstoreProjection':
266
- item = _ObjectstoreProjection["default"].constructFromObject(items[i], undefined);
268
+ case 'objects.v4.config.ObjectStoreProjection':
269
+ item = _ObjectStoreProjection["default"].constructFromObject(items[i], undefined);
267
270
  itemArr.push(item);
268
271
  break;
269
272
  default:
@@ -299,7 +302,11 @@ var ObjectstoreListApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
299
302
  if (!callFromChild) {
300
303
  obj.$unknownFields = _objectSpread({}, data.$unknownFields);
301
304
  for (var property in data) {
302
- if (!Object.keys(obj).includes(property) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
305
+ // Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
306
+ // as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
307
+ // Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
308
+ // If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
309
+ if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
303
310
  obj.$unknownFields[property] = data[property];
304
311
  }
305
312
  }
@@ -307,10 +314,23 @@ var ObjectstoreListApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
307
314
  }
308
315
  return obj;
309
316
  }
317
+
318
+ /**
319
+ * Converts a given snake_case string to camelCase.
320
+ * @param {string} snakeStr - The input string in snake_case format.
321
+ * @returns {string} - The converted string in camelCase format.
322
+ */
323
+ }, {
324
+ key: "snakeToCamel",
325
+ value: function snakeToCamel(snakeStr) {
326
+ return snakeStr.replace(/(_\w)/g, function (match) {
327
+ return match[1].toUpperCase();
328
+ });
329
+ }
310
330
  }]);
311
331
  }(_Paginable2["default"]);
312
332
  /**
313
- * @memberof ObjectstoreListApiResponse
333
+ * @memberof ListObjectstoresApiResponse
314
334
  */
315
335
  function _toJsonMapType(obj, forMutation) {
316
336
  if (obj instanceof Map) {
@@ -327,12 +347,24 @@ function _toJsonMapType(obj, forMutation) {
327
347
  }
328
348
  return obj;
329
349
  }
330
- ObjectstoreListApiResponse.prototype.metadata = undefined;
350
+ /*
351
+ * toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
352
+ * @param {Object} obj Object to serialize
353
+ * @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
354
+ * @returns {Object|string} Returns serialized date object or original input object
355
+ */
356
+ function _handleDateType(obj, isDateOnly) {
357
+ if (obj instanceof Date && isDateOnly !== undefined) {
358
+ return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
359
+ }
360
+ return obj;
361
+ }
362
+ ListObjectstoresApiResponse.prototype.metadata = undefined;
331
363
 
332
364
  /**
333
- * @memberof ObjectstoreListApiResponse
365
+ * @memberof ListObjectstoresApiResponse
334
366
  */
335
- ObjectstoreListApiResponse.prototype.data = undefined;
336
- ObjectstoreListApiResponse.prototype.$reserved = undefined;
337
- ObjectstoreListApiResponse.prototype.$objectType = undefined;
338
- ObjectstoreListApiResponse.prototype.$unknownFields = undefined;
367
+ ListObjectstoresApiResponse.prototype.data = undefined;
368
+ ListObjectstoresApiResponse.prototype.$reserved = undefined;
369
+ ListObjectstoresApiResponse.prototype.$objectType = undefined;
370
+ ListObjectstoresApiResponse.prototype.$unknownFields = undefined;
@@ -0,0 +1,313 @@
1
+ /**
2
+ * The ObjectStore model module.
3
+ * @module Ntnx/ObjectStore
4
+ * @version 4.0.1
5
+ * @class ObjectStore
6
+ * @extends ExternalizableAbstractModel
7
+ *
8
+ * @param { string } name The name of the Object store.
9
+ */
10
+ export default class ObjectStore extends ExternalizableAbstractModel {
11
+ /**
12
+ * Constructs a new <code>ObjectStore</code>.
13
+ * @alias module:Ntnx/ObjectStore
14
+ * @extends module:Ntnx/ExternalizableAbstractModel
15
+ *
16
+ * @param { string } name The name of the Object store.
17
+ */
18
+ constructor(name: string);
19
+ name: string;
20
+ /**
21
+ * @return {Metadata}
22
+ */
23
+ getMetadata(): Metadata;
24
+ /**
25
+ * @param {Metadata} metadata
26
+ */
27
+ setMetadata(metadata: Metadata): void;
28
+ metadata: Metadata;
29
+ /**
30
+ * Returns The name of the Object store.
31
+ * @return {string}
32
+ */
33
+ getName(): string;
34
+ /**
35
+ * Sets The name of the Object store.
36
+ * @param {string} name The name of the Object store.
37
+ */
38
+ setName(name: string): void;
39
+ /**
40
+ * Returns The time when the Object store was created.
41
+ * @return {Date}
42
+ */
43
+ getCreationTime(): Date;
44
+ /**
45
+ * Sets The time when the Object store was created.
46
+ * @param {Date} creationTime The time when the Object store was created.
47
+ */
48
+ setCreationTime(creationTime: Date): void;
49
+ creationTime: Date;
50
+ /**
51
+ * Returns The time when the Object store was last updated.
52
+ * @return {Date}
53
+ */
54
+ getLastUpdateTime(): Date;
55
+ /**
56
+ * Sets The time when the Object store was last updated.
57
+ * @param {Date} lastUpdateTime The time when the Object store was last updated.
58
+ */
59
+ setLastUpdateTime(lastUpdateTime: Date): void;
60
+ lastUpdateTime: Date;
61
+ /**
62
+ * Returns A brief description of the Object store.
63
+ * @return {string}
64
+ */
65
+ getDescription(): string;
66
+ /**
67
+ * Sets A brief description of the Object store.
68
+ * @param {string} description A brief description of the Object store.
69
+ */
70
+ setDescription(description: string): void;
71
+ description: string;
72
+ /**
73
+ * Returns Object store deployment version.
74
+ * @return {string}
75
+ */
76
+ getDeploymentVersion(): string;
77
+ /**
78
+ * Sets Object store deployment version.
79
+ * @param {string} deploymentVersion Object store deployment version.
80
+ */
81
+ setDeploymentVersion(deploymentVersion: string): void;
82
+ deploymentVersion: string;
83
+ /**
84
+ * Returns The DNS domain/subdomain the Object store belongs to. All the Object stores under one Prism Central must have the same domain name. The domain name must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens, or underscores. Each part can be up to 63 characters long. The domain must begin and end with an alphanumeric character. For example - 'objects-0.pc_nutanix.com'.
85
+ * @return {string}
86
+ */
87
+ getDomain(): string;
88
+ /**
89
+ * Sets The DNS domain/subdomain the Object store belongs to. All the Object stores under one Prism Central must have the same domain name. The domain name must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens, or underscores. Each part can be up to 63 characters long. The domain must begin and end with an alphanumeric character. For example - 'objects-0.pc_nutanix.com'.
90
+ * @param {string} domain The DNS domain/subdomain the Object store belongs to. All the Object stores under one Prism Central must have the same domain name. The domain name must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens, or underscores. Each part can be up to 63 characters long. The domain must begin and end with an alphanumeric character. For example - 'objects-0.pc_nutanix.com'.
91
+ */
92
+ setDomain(domain: string): void;
93
+ domain: string;
94
+ /**
95
+ * Returns The region in which the Object store is deployed.
96
+ * @return {string}
97
+ */
98
+ getRegion(): string;
99
+ /**
100
+ * Sets The region in which the Object store is deployed.
101
+ * @param {string} region The region in which the Object store is deployed.
102
+ */
103
+ setRegion(region: string): void;
104
+ region: string;
105
+ /**
106
+ * Returns The number of worker nodes (VMs) to be created for the Object store. Each worker node requires 10 vCPUs and 32 GiB of memory.
107
+ * minimum: 1
108
+ * maximum: 1000
109
+ * @return {Number}
110
+ */
111
+ getNumWorkerNodes(): number;
112
+ /**
113
+ * Sets The number of worker nodes (VMs) to be created for the Object store. Each worker node requires 10 vCPUs and 32 GiB of memory.
114
+ * @param {Number} numWorkerNodes The number of worker nodes (VMs) to be created for the Object store. Each worker node requires 10 vCPUs and 32 GiB of memory.
115
+ */
116
+ setNumWorkerNodes(numWorkerNodes: number): void;
117
+ numWorkerNodes: number;
118
+ /**
119
+ * Returns UUID of the AHV or ESXi cluster.
120
+ * @return {string}
121
+ */
122
+ getClusterExtId(): string;
123
+ /**
124
+ * Sets UUID of the AHV or ESXi cluster.
125
+ * @param {string} clusterExtId UUID of the AHV or ESXi cluster.
126
+ */
127
+ setClusterExtId(clusterExtId: string): void;
128
+ clusterExtId: string;
129
+ /**
130
+ * Returns Reference to the Storage Network of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
131
+ * @return {string}
132
+ */
133
+ getStorageNetworkReference(): string;
134
+ /**
135
+ * Sets Reference to the Storage Network of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
136
+ * @param {string} storageNetworkReference Reference to the Storage Network of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
137
+ */
138
+ setStorageNetworkReference(storageNetworkReference: string): void;
139
+ storageNetworkReference: string;
140
+ /**
141
+ * @return {IPAddress}
142
+ */
143
+ getStorageNetworkVip(): IPAddress;
144
+ /**
145
+ * @param {IPAddress} storageNetworkVip
146
+ */
147
+ setStorageNetworkVip(storageNetworkVip: IPAddress): void;
148
+ storageNetworkVip: IPAddress;
149
+ /**
150
+ * @return {IPAddress}
151
+ */
152
+ getStorageNetworkDnsIp(): IPAddress;
153
+ /**
154
+ * @param {IPAddress} storageNetworkDnsIp
155
+ */
156
+ setStorageNetworkDnsIp(storageNetworkDnsIp: IPAddress): void;
157
+ storageNetworkDnsIp: IPAddress;
158
+ /**
159
+ * Returns Public network reference of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
160
+ * @return {string}
161
+ */
162
+ getPublicNetworkReference(): string;
163
+ /**
164
+ * Sets Public network reference of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
165
+ * @param {string} publicNetworkReference Public network reference of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
166
+ */
167
+ setPublicNetworkReference(publicNetworkReference: string): void;
168
+ publicNetworkReference: string;
169
+ /**
170
+ * Returns A list of static IP addresses used as public IPs to access the Object store.
171
+ * @return {IPAddress[]}
172
+ */
173
+ getPublicNetworkIps(): IPAddress[];
174
+ /**
175
+ * Sets A list of static IP addresses used as public IPs to access the Object store.
176
+ * @param {IPAddress[]} publicNetworkIps A list of static IP addresses used as public IPs to access the Object store.
177
+ */
178
+ setPublicNetworkIps(publicNetworkIps: IPAddress[]): void;
179
+ publicNetworkIps: IPAddress[];
180
+ /**
181
+ * Returns Size of the Object store in GiB.
182
+ * minimum: 1
183
+ * maximum: 178814713856
184
+ * @return {Number}
185
+ */
186
+ getTotalCapacityGiB(): number;
187
+ /**
188
+ * Sets Size of the Object store in GiB.
189
+ * @param {Number} totalCapacityGiB Size of the Object store in GiB.
190
+ */
191
+ setTotalCapacityGiB(totalCapacityGiB: number): void;
192
+ totalCapacityGiB: number;
193
+ /**
194
+ * @return {State}
195
+ */
196
+ getState(): State;
197
+ /**
198
+ * @param {State} state
199
+ */
200
+ setState(state: State): void;
201
+ state: string;
202
+ /**
203
+ * Returns A list of the UUIDs of the certificates of an Object store.
204
+ * @return {string[]}
205
+ */
206
+ getCertificateExtIds(): string[];
207
+ /**
208
+ * Sets A list of the UUIDs of the certificates of an Object store.
209
+ * @param {string[]} certificateExtIds A list of the UUIDs of the certificates of an Object store.
210
+ */
211
+ setCertificateExtIds(certificateExtIds: string[]): void;
212
+ certificateExtIds: string[];
213
+ toJson(forMutation: any): {
214
+ $reserved: any;
215
+ $objectType: string;
216
+ $unknownFields: any;
217
+ tenantId?: string;
218
+ links?: {
219
+ $reserved: any;
220
+ $objectType: string;
221
+ $unknownFields: any;
222
+ rel?: string;
223
+ href?: string;
224
+ }[];
225
+ extId?: string;
226
+ certificateExtIds?: string[];
227
+ state?: string;
228
+ totalCapacityGiB?: number;
229
+ publicNetworkIps?: {
230
+ $reserved: any;
231
+ $objectType: string;
232
+ $unknownFields: any;
233
+ ipv6?: {
234
+ $reserved: any;
235
+ $objectType: string;
236
+ $unknownFields: any;
237
+ prefixLength?: number;
238
+ value?: string;
239
+ };
240
+ ipv4?: {
241
+ $reserved: any;
242
+ $objectType: string;
243
+ $unknownFields: any;
244
+ prefixLength?: number;
245
+ value?: string;
246
+ };
247
+ }[];
248
+ publicNetworkReference?: string;
249
+ storageNetworkDnsIp?: {
250
+ $reserved: any;
251
+ $objectType: string;
252
+ $unknownFields: any;
253
+ ipv6?: {
254
+ $reserved: any;
255
+ $objectType: string;
256
+ $unknownFields: any;
257
+ prefixLength?: number;
258
+ value?: string;
259
+ };
260
+ ipv4?: {
261
+ $reserved: any;
262
+ $objectType: string;
263
+ $unknownFields: any;
264
+ prefixLength?: number;
265
+ value?: string;
266
+ };
267
+ };
268
+ storageNetworkVip?: {
269
+ $reserved: any;
270
+ $objectType: string;
271
+ $unknownFields: any;
272
+ ipv6?: {
273
+ $reserved: any;
274
+ $objectType: string;
275
+ $unknownFields: any;
276
+ prefixLength?: number;
277
+ value?: string;
278
+ };
279
+ ipv4?: {
280
+ $reserved: any;
281
+ $objectType: string;
282
+ $unknownFields: any;
283
+ prefixLength?: number;
284
+ value?: string;
285
+ };
286
+ };
287
+ storageNetworkReference?: string;
288
+ clusterExtId?: string;
289
+ numWorkerNodes?: number;
290
+ region?: string;
291
+ domain?: string;
292
+ deploymentVersion?: string;
293
+ description?: string;
294
+ lastUpdateTime?: any;
295
+ creationTime?: any;
296
+ name?: string;
297
+ metadata?: {
298
+ $reserved: any;
299
+ $objectType: string;
300
+ $unknownFields: any;
301
+ categoryIds?: string[];
302
+ projectName?: string;
303
+ projectReferenceId?: string;
304
+ ownerUserName?: string;
305
+ ownerReferenceId?: string;
306
+ };
307
+ };
308
+ #private;
309
+ }
310
+ import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel";
311
+ import Metadata from "../../../common/v1/config/Metadata";
312
+ import IPAddress from "../../../common/v1/config/IPAddress";
313
+ import State from "./State";