@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.
- package/LICENSE.txt +202 -49
- package/README.md +39 -27
- package/dist/Ntnx-Objects-js-client-prod.js +1 -1
- package/dist/Ntnx-Objects-js-client.js +227 -96
- package/dist/es/ApiClient.d.ts +8 -1
- package/dist/es/ApiClient.js +249 -189
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +9 -9
- package/dist/es/apis/objectstores-endpoints.d.ts +66 -95
- package/dist/es/apis/objectstores-endpoints.js +205 -170
- package/dist/es/apis/stats-endpoints.d.ts +69 -0
- package/dist/es/apis/stats-endpoints.js +154 -0
- package/dist/es/index.d.ts +43 -21
- package/dist/es/index.js +135 -47
- package/dist/es/models/common/v1/config/FQDN.d.ts +24 -20
- package/dist/es/models/common/v1/config/FQDN.js +56 -21
- package/dist/es/models/common/v1/config/Flag.d.ts +32 -26
- package/dist/es/models/common/v1/config/Flag.js +65 -21
- package/dist/es/models/common/v1/config/IPAddress.d.ts +42 -26
- package/dist/es/models/common/v1/config/IPAddress.js +53 -21
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +40 -26
- package/dist/es/models/common/v1/config/IPv4Address.js +64 -23
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +40 -26
- package/dist/es/models/common/v1/config/IPv6Address.js +64 -23
- package/dist/es/models/common/v1/config/KVPair.d.ts +35 -26
- package/dist/es/models/common/v1/config/KVPair.js +70 -24
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +275 -0
- package/dist/es/models/common/v1/config/Message.d.ts +41 -38
- package/dist/es/models/common/v1/config/Message.js +57 -25
- package/dist/es/models/common/v1/config/MessageSeverity.js +7 -7
- package/dist/es/models/common/v1/config/Metadata.d.ts +46 -44
- package/dist/es/models/common/v1/config/Metadata.js +65 -27
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +22 -20
- package/dist/es/models/common/v1/config/TenantAwareModel.js +51 -19
- package/dist/es/models/common/v1/response/ApiLink.d.ts +28 -26
- package/dist/es/models/common/v1/response/ApiLink.js +53 -21
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +71 -27
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +71 -31
- package/dist/es/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
- package/dist/es/models/common/v1/stats/DownSamplingOperator.js +109 -0
- package/dist/es/models/common/v1/stats/TimeIntValuePair.d.ts +64 -0
- package/dist/es/models/common/v1/stats/TimeIntValuePair.js +313 -0
- package/dist/es/models/objects/v4/config/Certificate.d.ts +146 -0
- package/dist/es/models/objects/v4/{operations → config}/Certificate.js +184 -43
- package/dist/es/models/objects/v4/{operations → config}/CertificateProjection.d.ts +2 -1
- package/dist/{lib/models/objects/v4/operations → es/models/objects/v4/config}/CertificateProjection.js +41 -17
- package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.d.ts +101 -0
- package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.js +343 -0
- package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +99 -0
- package/dist/{lib/models/objects/v4/operations/TaskReferenceApiResponse.js → es/models/objects/v4/config/CreateObjectstoreApiResponse.js} +86 -54
- package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +99 -0
- package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.js +343 -0
- package/dist/es/models/objects/v4/config/GetCaApiResponse.d.ts +98 -0
- package/dist/es/models/objects/v4/{operations/TaskReferenceApiResponse.js → config/GetCaApiResponse.js} +88 -57
- package/dist/es/models/objects/v4/config/GetCertificateApiResponse.d.ts +99 -0
- package/dist/es/models/objects/v4/{operations/CertificateApiResponse.js → config/GetCertificateApiResponse.js} +88 -56
- package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +101 -0
- package/dist/{lib/models/objects/v4/operations/ObjectstoreApiResponse.js → es/models/objects/v4/config/GetObjectstoreApiResponse.js} +89 -57
- package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.d.ts +100 -0
- package/dist/es/models/objects/v4/{operations/CertificateListApiResponse.js → config/ListCertificatesApiResponse.js} +89 -57
- package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +100 -0
- package/dist/es/models/objects/v4/{operations/ObjectstoreListApiResponse.js → config/ListObjectstoresApiResponse.js} +92 -60
- package/dist/es/models/objects/v4/config/ObjectStore.d.ts +313 -0
- package/dist/es/models/objects/v4/{operations/Objectstore.js → config/ObjectStore.js} +213 -157
- package/dist/es/models/objects/v4/config/ObjectStoreProjection.d.ts +174 -0
- package/dist/{lib/models/objects/v4/operations/ObjectstoreProjection.js → es/models/objects/v4/config/ObjectStoreProjection.js} +211 -65
- package/dist/es/models/objects/v4/{operations/StateEnum.d.ts → config/State.d.ts} +6 -6
- package/dist/es/models/objects/v4/config/State.js +133 -0
- package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +99 -0
- package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.js +343 -0
- package/dist/es/models/objects/v4/error/AppMessage.d.ts +57 -48
- package/dist/es/models/objects/v4/error/AppMessage.js +61 -29
- package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +23 -19
- package/dist/es/models/objects/v4/error/ErrorResponse.js +62 -25
- package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +53 -43
- package/dist/es/models/objects/v4/error/SchemaValidationError.js +62 -29
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +55 -23
- package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +99 -0
- package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +343 -0
- package/dist/es/models/objects/v4/stats/ObjectstoreStats.d.ts +423 -0
- package/dist/es/models/objects/v4/stats/ObjectstoreStats.js +1425 -0
- package/dist/es/models/objects/v4/stats/TimeFloatValuePair.d.ts +64 -0
- package/dist/es/models/objects/v4/stats/TimeFloatValuePair.js +313 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +22 -20
- package/dist/es/models/prism/v4/config/TaskReference.js +55 -20
- package/dist/es/models/validation/ValidationError.js +5 -5
- package/dist/es/utils/ValidationUtils.js +5 -5
- package/dist/lib/ApiClient.d.ts +8 -1
- package/dist/lib/ApiClient.js +249 -189
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +9 -9
- package/dist/lib/apis/objectstores-endpoints.d.ts +66 -95
- package/dist/lib/apis/objectstores-endpoints.js +205 -170
- package/dist/lib/apis/stats-endpoints.d.ts +69 -0
- package/dist/lib/apis/stats-endpoints.js +154 -0
- package/dist/lib/index.d.ts +43 -21
- package/dist/lib/index.js +135 -47
- package/dist/lib/models/common/v1/config/FQDN.d.ts +24 -20
- package/dist/lib/models/common/v1/config/FQDN.js +56 -21
- package/dist/lib/models/common/v1/config/Flag.d.ts +32 -26
- package/dist/lib/models/common/v1/config/Flag.js +65 -21
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +42 -26
- package/dist/lib/models/common/v1/config/IPAddress.js +53 -21
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +40 -26
- package/dist/lib/models/common/v1/config/IPv4Address.js +64 -23
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +40 -26
- package/dist/lib/models/common/v1/config/IPv6Address.js +64 -23
- package/dist/lib/models/common/v1/config/KVPair.d.ts +35 -26
- package/dist/lib/models/common/v1/config/KVPair.js +70 -24
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +275 -0
- package/dist/lib/models/common/v1/config/Message.d.ts +41 -38
- package/dist/lib/models/common/v1/config/Message.js +57 -25
- package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -7
- package/dist/lib/models/common/v1/config/Metadata.d.ts +46 -44
- package/dist/lib/models/common/v1/config/Metadata.js +65 -27
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +22 -20
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +51 -19
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +28 -26
- package/dist/lib/models/common/v1/response/ApiLink.js +53 -21
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +71 -27
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +71 -31
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +109 -0
- package/dist/lib/models/common/v1/stats/TimeIntValuePair.d.ts +64 -0
- package/dist/lib/models/common/v1/stats/TimeIntValuePair.js +313 -0
- package/dist/lib/models/objects/v4/config/Certificate.d.ts +146 -0
- package/dist/lib/models/objects/v4/{operations → config}/Certificate.js +184 -43
- package/dist/lib/models/objects/v4/{operations → config}/CertificateProjection.d.ts +2 -1
- package/dist/{es/models/objects/v4/operations → lib/models/objects/v4/config}/CertificateProjection.js +41 -17
- package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.d.ts +101 -0
- package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/config/GetCaApiResponse.d.ts +98 -0
- package/dist/lib/models/objects/v4/{operations/CertificateApiResponse.js → config/GetCaApiResponse.js} +88 -57
- package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +101 -0
- package/dist/{es/models/objects/v4/operations/ObjectstoreApiResponse.js → lib/models/objects/v4/config/GetObjectstoreApiResponse.js} +89 -57
- package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.d.ts +100 -0
- package/dist/lib/models/objects/v4/{operations/CertificateListApiResponse.js → config/ListCertificatesApiResponse.js} +89 -57
- package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +100 -0
- package/dist/lib/models/objects/v4/{operations/ObjectstoreListApiResponse.js → config/ListObjectstoresApiResponse.js} +92 -60
- package/dist/lib/models/objects/v4/config/ObjectStore.d.ts +313 -0
- package/dist/lib/models/objects/v4/{operations/Objectstore.js → config/ObjectStore.js} +213 -157
- package/dist/lib/models/objects/v4/config/ObjectStoreProjection.d.ts +174 -0
- package/dist/{es/models/objects/v4/operations/ObjectstoreProjection.js → lib/models/objects/v4/config/ObjectStoreProjection.js} +211 -65
- package/dist/lib/models/objects/v4/{operations/StateEnum.d.ts → config/State.d.ts} +6 -6
- package/dist/lib/models/objects/v4/config/State.js +133 -0
- package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/error/AppMessage.d.ts +57 -48
- package/dist/lib/models/objects/v4/error/AppMessage.js +61 -29
- package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +23 -19
- package/dist/lib/models/objects/v4/error/ErrorResponse.js +62 -25
- package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +53 -43
- package/dist/lib/models/objects/v4/error/SchemaValidationError.js +62 -29
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +55 -23
- package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/stats/ObjectstoreStats.d.ts +423 -0
- package/dist/lib/models/objects/v4/stats/ObjectstoreStats.js +1425 -0
- package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.d.ts +64 -0
- package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.js +313 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +22 -20
- package/dist/lib/models/prism/v4/config/TaskReference.js +55 -20
- package/dist/lib/models/validation/ValidationError.js +5 -5
- package/dist/lib/utils/ValidationUtils.js +5 -5
- package/package.json +1 -1
- package/dist/es/models/objects/v4/operations/Certificate.d.ts +0 -78
- package/dist/es/models/objects/v4/operations/CertificateApiResponse.d.ts +0 -59
- package/dist/es/models/objects/v4/operations/CertificateListApiResponse.d.ts +0 -59
- package/dist/es/models/objects/v4/operations/Objectstore.d.ts +0 -242
- package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +0 -59
- package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +0 -59
- package/dist/es/models/objects/v4/operations/ObjectstoreProjection.d.ts +0 -50
- package/dist/es/models/objects/v4/operations/StateEnum.js +0 -145
- package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +0 -59
- package/dist/lib/models/objects/v4/operations/Certificate.d.ts +0 -78
- package/dist/lib/models/objects/v4/operations/CertificateApiResponse.d.ts +0 -59
- package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.d.ts +0 -59
- package/dist/lib/models/objects/v4/operations/Objectstore.d.ts +0 -242
- package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +0 -59
- package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +0 -59
- package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.d.ts +0 -50
- package/dist/lib/models/objects/v4/operations/StateEnum.js +0 -145
- package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +0 -59
|
@@ -6,106 +6,111 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _IPAddress = _interopRequireDefault(require("../../../common/v1/config/IPAddress"));
|
|
8
8
|
var _Metadata = _interopRequireDefault(require("../../../common/v1/config/Metadata"));
|
|
9
|
+
var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/config/TenantAwareModel"));
|
|
9
10
|
var _ApiLink = _interopRequireDefault(require("../../../common/v1/response/ApiLink"));
|
|
10
11
|
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
11
|
-
var
|
|
12
|
+
var _State = _interopRequireDefault(require("./State"));
|
|
12
13
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
13
14
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
14
15
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
15
|
-
function _interopRequireDefault(
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
17
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
17
|
-
function _slicedToArray(
|
|
18
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
18
19
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19
|
-
function _unsupportedIterableToArray(
|
|
20
|
-
function _arrayLikeToArray(
|
|
20
|
+
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; } }
|
|
21
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
21
22
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
22
|
-
function _arrayWithHoles(
|
|
23
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
23
24
|
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
25
|
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(
|
|
26
|
-
function _classCallCheck(
|
|
27
|
-
function _defineProperties(
|
|
28
|
-
function _createClass(
|
|
26
|
+
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; }
|
|
27
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
28
|
+
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); } }
|
|
29
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
29
30
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
30
31
|
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
32
|
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(
|
|
33
|
-
function _assertThisInitialized(
|
|
33
|
+
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); }
|
|
34
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
34
35
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
35
|
-
function _getPrototypeOf(
|
|
36
|
-
function _inherits(
|
|
37
|
-
function _setPrototypeOf(
|
|
38
|
-
function _classPrivateMethodInitSpec(
|
|
39
|
-
function _checkPrivateRedeclaration(
|
|
36
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
37
|
+
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); }
|
|
38
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
39
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
40
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
41
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
40
42
|
* Nutanix Objects Storage Management APIs
|
|
41
43
|
*
|
|
42
|
-
* OpenAPI spec version: 4.0.1
|
|
44
|
+
* OpenAPI spec version: 4.0.1
|
|
43
45
|
*
|
|
44
46
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
45
47
|
*
|
|
46
|
-
* Open API Dev Platform Codegen version: 16.
|
|
48
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
47
49
|
*
|
|
48
50
|
* Do not edit the class manually.
|
|
49
51
|
*
|
|
50
52
|
*/
|
|
51
53
|
/**
|
|
52
|
-
* The
|
|
53
|
-
* @module Ntnx/
|
|
54
|
-
* @version 4.0.1
|
|
55
|
-
* @class
|
|
54
|
+
* The ObjectStore model module.
|
|
55
|
+
* @module Ntnx/ObjectStore
|
|
56
|
+
* @version 4.0.1
|
|
57
|
+
* @class ObjectStore
|
|
58
|
+
* @extends ExternalizableAbstractModel
|
|
56
59
|
*
|
|
57
|
-
* @param {
|
|
60
|
+
* @param { string } name The name of the Object store.
|
|
58
61
|
*/
|
|
59
|
-
var
|
|
60
|
-
var
|
|
62
|
+
var _ObjectStore_brand = /*#__PURE__*/new WeakSet();
|
|
63
|
+
var ObjectStore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbstra) {
|
|
61
64
|
/**
|
|
62
|
-
* Constructs a new <code>
|
|
63
|
-
* @alias module:Ntnx/
|
|
65
|
+
* Constructs a new <code>ObjectStore</code>.
|
|
66
|
+
* @alias module:Ntnx/ObjectStore
|
|
64
67
|
* @extends module:Ntnx/ExternalizableAbstractModel
|
|
65
68
|
*
|
|
66
|
-
* @param {
|
|
69
|
+
* @param { string } name The name of the Object store.
|
|
67
70
|
*/
|
|
68
|
-
function
|
|
71
|
+
function ObjectStore(name) {
|
|
69
72
|
var _this;
|
|
70
|
-
_classCallCheck(this,
|
|
71
|
-
_this = _callSuper(this,
|
|
73
|
+
_classCallCheck(this, ObjectStore);
|
|
74
|
+
_this = _callSuper(this, ObjectStore);
|
|
72
75
|
/*
|
|
73
76
|
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
74
77
|
* @param {Object} obj
|
|
75
78
|
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
76
79
|
* Otherwise, just returns the input object.
|
|
77
80
|
*/
|
|
78
|
-
_classPrivateMethodInitSpec(_this,
|
|
81
|
+
_classPrivateMethodInitSpec(_this, _ObjectStore_brand);
|
|
79
82
|
_this.name = name;
|
|
80
|
-
_this.$objectType = "objects.v4.
|
|
83
|
+
_this.$objectType = "objects.v4.config.ObjectStore";
|
|
84
|
+
/** @type {object<string, any>} */
|
|
81
85
|
_this.$reserved = {
|
|
82
|
-
'$fv': "v4.r0
|
|
86
|
+
'$fv': "v4.r0"
|
|
83
87
|
};
|
|
88
|
+
/** @type {object<string, any>} */
|
|
84
89
|
_this.$unknownFields = {};
|
|
85
90
|
return _this;
|
|
86
91
|
}
|
|
87
92
|
|
|
88
93
|
/**
|
|
89
|
-
* Constructs a <code>
|
|
94
|
+
* Constructs a <code>ObjectStore</code> from a plain JavaScript object, optionally creating a new instance.
|
|
90
95
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
91
96
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
92
|
-
* @param {module:Ntnx/
|
|
97
|
+
* @param {module:Ntnx/ObjectStore} obj Optional instance to populate.
|
|
93
98
|
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
94
|
-
* @return {module:Ntnx/
|
|
99
|
+
* @return {module:Ntnx/ObjectStore} The populated <code>ObjectStore</code> instance.
|
|
95
100
|
*/
|
|
96
|
-
_inherits(
|
|
97
|
-
return _createClass(
|
|
101
|
+
_inherits(ObjectStore, _ExternalizableAbstra);
|
|
102
|
+
return _createClass(ObjectStore, [{
|
|
98
103
|
key: "getMetadata",
|
|
99
104
|
value:
|
|
100
105
|
/**
|
|
101
|
-
* @return {}
|
|
106
|
+
* @return {Metadata}
|
|
102
107
|
*/
|
|
103
108
|
function getMetadata() {
|
|
104
109
|
return this.metadata;
|
|
105
110
|
}
|
|
106
111
|
|
|
107
112
|
/**
|
|
108
|
-
* @param {} metadata
|
|
113
|
+
* @param {Metadata} metadata
|
|
109
114
|
*/
|
|
110
115
|
}, {
|
|
111
116
|
key: "setMetadata",
|
|
@@ -115,7 +120,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
115
120
|
|
|
116
121
|
/**
|
|
117
122
|
* Returns The name of the Object store.
|
|
118
|
-
* @return {}
|
|
123
|
+
* @return {string}
|
|
119
124
|
*/
|
|
120
125
|
}, {
|
|
121
126
|
key: "getName",
|
|
@@ -125,7 +130,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
125
130
|
|
|
126
131
|
/**
|
|
127
132
|
* Sets The name of the Object store.
|
|
128
|
-
* @param {} name The name of the Object store.
|
|
133
|
+
* @param {string} name The name of the Object store.
|
|
129
134
|
*/
|
|
130
135
|
}, {
|
|
131
136
|
key: "setName",
|
|
@@ -135,7 +140,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
135
140
|
|
|
136
141
|
/**
|
|
137
142
|
* Returns The time when the Object store was created.
|
|
138
|
-
* @return {}
|
|
143
|
+
* @return {Date}
|
|
139
144
|
*/
|
|
140
145
|
}, {
|
|
141
146
|
key: "getCreationTime",
|
|
@@ -145,7 +150,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
145
150
|
|
|
146
151
|
/**
|
|
147
152
|
* Sets The time when the Object store was created.
|
|
148
|
-
* @param {} creationTime The time when the Object store was created.
|
|
153
|
+
* @param {Date} creationTime The time when the Object store was created.
|
|
149
154
|
*/
|
|
150
155
|
}, {
|
|
151
156
|
key: "setCreationTime",
|
|
@@ -155,7 +160,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
155
160
|
|
|
156
161
|
/**
|
|
157
162
|
* Returns The time when the Object store was last updated.
|
|
158
|
-
* @return {}
|
|
163
|
+
* @return {Date}
|
|
159
164
|
*/
|
|
160
165
|
}, {
|
|
161
166
|
key: "getLastUpdateTime",
|
|
@@ -165,7 +170,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
165
170
|
|
|
166
171
|
/**
|
|
167
172
|
* Sets The time when the Object store was last updated.
|
|
168
|
-
* @param {} lastUpdateTime The time when the Object store was last updated.
|
|
173
|
+
* @param {Date} lastUpdateTime The time when the Object store was last updated.
|
|
169
174
|
*/
|
|
170
175
|
}, {
|
|
171
176
|
key: "setLastUpdateTime",
|
|
@@ -175,7 +180,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
175
180
|
|
|
176
181
|
/**
|
|
177
182
|
* Returns A brief description of the Object store.
|
|
178
|
-
* @return {}
|
|
183
|
+
* @return {string}
|
|
179
184
|
*/
|
|
180
185
|
}, {
|
|
181
186
|
key: "getDescription",
|
|
@@ -185,7 +190,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
185
190
|
|
|
186
191
|
/**
|
|
187
192
|
* Sets A brief description of the Object store.
|
|
188
|
-
* @param {} description A brief description of the Object store.
|
|
193
|
+
* @param {string} description A brief description of the Object store.
|
|
189
194
|
*/
|
|
190
195
|
}, {
|
|
191
196
|
key: "setDescription",
|
|
@@ -195,7 +200,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
195
200
|
|
|
196
201
|
/**
|
|
197
202
|
* Returns Object store deployment version.
|
|
198
|
-
* @return {}
|
|
203
|
+
* @return {string}
|
|
199
204
|
*/
|
|
200
205
|
}, {
|
|
201
206
|
key: "getDeploymentVersion",
|
|
@@ -205,7 +210,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
205
210
|
|
|
206
211
|
/**
|
|
207
212
|
* Sets Object store deployment version.
|
|
208
|
-
* @param {} deploymentVersion Object store deployment version.
|
|
213
|
+
* @param {string} deploymentVersion Object store deployment version.
|
|
209
214
|
*/
|
|
210
215
|
}, {
|
|
211
216
|
key: "setDeploymentVersion",
|
|
@@ -215,7 +220,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
215
220
|
|
|
216
221
|
/**
|
|
217
222
|
* 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'.
|
|
218
|
-
* @return {}
|
|
223
|
+
* @return {string}
|
|
219
224
|
*/
|
|
220
225
|
}, {
|
|
221
226
|
key: "getDomain",
|
|
@@ -225,7 +230,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
225
230
|
|
|
226
231
|
/**
|
|
227
232
|
* 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'.
|
|
228
|
-
* @param {} 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'.
|
|
233
|
+
* @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'.
|
|
229
234
|
*/
|
|
230
235
|
}, {
|
|
231
236
|
key: "setDomain",
|
|
@@ -235,7 +240,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
235
240
|
|
|
236
241
|
/**
|
|
237
242
|
* Returns The region in which the Object store is deployed.
|
|
238
|
-
* @return {}
|
|
243
|
+
* @return {string}
|
|
239
244
|
*/
|
|
240
245
|
}, {
|
|
241
246
|
key: "getRegion",
|
|
@@ -245,7 +250,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
245
250
|
|
|
246
251
|
/**
|
|
247
252
|
* Sets The region in which the Object store is deployed.
|
|
248
|
-
* @param {} region The region in which the Object store is deployed.
|
|
253
|
+
* @param {string} region The region in which the Object store is deployed.
|
|
249
254
|
*/
|
|
250
255
|
}, {
|
|
251
256
|
key: "setRegion",
|
|
@@ -257,7 +262,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
257
262
|
* 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.
|
|
258
263
|
* minimum: 1
|
|
259
264
|
* maximum: 1000
|
|
260
|
-
* @return {}
|
|
265
|
+
* @return {Number}
|
|
261
266
|
*/
|
|
262
267
|
}, {
|
|
263
268
|
key: "getNumWorkerNodes",
|
|
@@ -267,7 +272,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
267
272
|
|
|
268
273
|
/**
|
|
269
274
|
* 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.
|
|
270
|
-
* @param {} 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.
|
|
275
|
+
* @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.
|
|
271
276
|
*/
|
|
272
277
|
}, {
|
|
273
278
|
key: "setNumWorkerNodes",
|
|
@@ -277,27 +282,27 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
277
282
|
|
|
278
283
|
/**
|
|
279
284
|
* Returns UUID of the AHV or ESXi cluster.
|
|
280
|
-
* @return {}
|
|
285
|
+
* @return {string}
|
|
281
286
|
*/
|
|
282
287
|
}, {
|
|
283
|
-
key: "
|
|
284
|
-
value: function
|
|
285
|
-
return this.
|
|
288
|
+
key: "getClusterExtId",
|
|
289
|
+
value: function getClusterExtId() {
|
|
290
|
+
return this.clusterExtId;
|
|
286
291
|
}
|
|
287
292
|
|
|
288
293
|
/**
|
|
289
294
|
* Sets UUID of the AHV or ESXi cluster.
|
|
290
|
-
* @param {}
|
|
295
|
+
* @param {string} clusterExtId UUID of the AHV or ESXi cluster.
|
|
291
296
|
*/
|
|
292
297
|
}, {
|
|
293
|
-
key: "
|
|
294
|
-
value: function
|
|
295
|
-
this.
|
|
298
|
+
key: "setClusterExtId",
|
|
299
|
+
value: function setClusterExtId(clusterExtId) {
|
|
300
|
+
this.clusterExtId = clusterExtId;
|
|
296
301
|
}
|
|
297
302
|
|
|
298
303
|
/**
|
|
299
304
|
* 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.
|
|
300
|
-
* @return {}
|
|
305
|
+
* @return {string}
|
|
301
306
|
*/
|
|
302
307
|
}, {
|
|
303
308
|
key: "getStorageNetworkReference",
|
|
@@ -307,7 +312,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
307
312
|
|
|
308
313
|
/**
|
|
309
314
|
* 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.
|
|
310
|
-
* @param {} 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.
|
|
315
|
+
* @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.
|
|
311
316
|
*/
|
|
312
317
|
}, {
|
|
313
318
|
key: "setStorageNetworkReference",
|
|
@@ -316,7 +321,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
316
321
|
}
|
|
317
322
|
|
|
318
323
|
/**
|
|
319
|
-
* @return {}
|
|
324
|
+
* @return {IPAddress}
|
|
320
325
|
*/
|
|
321
326
|
}, {
|
|
322
327
|
key: "getStorageNetworkVip",
|
|
@@ -325,7 +330,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
325
330
|
}
|
|
326
331
|
|
|
327
332
|
/**
|
|
328
|
-
* @param {} storageNetworkVip
|
|
333
|
+
* @param {IPAddress} storageNetworkVip
|
|
329
334
|
*/
|
|
330
335
|
}, {
|
|
331
336
|
key: "setStorageNetworkVip",
|
|
@@ -334,7 +339,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
334
339
|
}
|
|
335
340
|
|
|
336
341
|
/**
|
|
337
|
-
* @return {}
|
|
342
|
+
* @return {IPAddress}
|
|
338
343
|
*/
|
|
339
344
|
}, {
|
|
340
345
|
key: "getStorageNetworkDnsIp",
|
|
@@ -343,7 +348,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
343
348
|
}
|
|
344
349
|
|
|
345
350
|
/**
|
|
346
|
-
* @param {} storageNetworkDnsIp
|
|
351
|
+
* @param {IPAddress} storageNetworkDnsIp
|
|
347
352
|
*/
|
|
348
353
|
}, {
|
|
349
354
|
key: "setStorageNetworkDnsIp",
|
|
@@ -353,7 +358,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
353
358
|
|
|
354
359
|
/**
|
|
355
360
|
* 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.
|
|
356
|
-
* @return {}
|
|
361
|
+
* @return {string}
|
|
357
362
|
*/
|
|
358
363
|
}, {
|
|
359
364
|
key: "getPublicNetworkReference",
|
|
@@ -363,7 +368,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
363
368
|
|
|
364
369
|
/**
|
|
365
370
|
* 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.
|
|
366
|
-
* @param {} 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.
|
|
371
|
+
* @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.
|
|
367
372
|
*/
|
|
368
373
|
}, {
|
|
369
374
|
key: "setPublicNetworkReference",
|
|
@@ -373,7 +378,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
373
378
|
|
|
374
379
|
/**
|
|
375
380
|
* Returns A list of static IP addresses used as public IPs to access the Object store.
|
|
376
|
-
* @return {}
|
|
381
|
+
* @return {IPAddress[]}
|
|
377
382
|
*/
|
|
378
383
|
}, {
|
|
379
384
|
key: "getPublicNetworkIps",
|
|
@@ -383,7 +388,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
383
388
|
|
|
384
389
|
/**
|
|
385
390
|
* Sets A list of static IP addresses used as public IPs to access the Object store.
|
|
386
|
-
* @param {} publicNetworkIps A list of static IP addresses used as public IPs to access the Object store.
|
|
391
|
+
* @param {IPAddress[]} publicNetworkIps A list of static IP addresses used as public IPs to access the Object store.
|
|
387
392
|
*/
|
|
388
393
|
}, {
|
|
389
394
|
key: "setPublicNetworkIps",
|
|
@@ -395,7 +400,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
395
400
|
* Returns Size of the Object store in GiB.
|
|
396
401
|
* minimum: 1
|
|
397
402
|
* maximum: 178814713856
|
|
398
|
-
* @return {}
|
|
403
|
+
* @return {Number}
|
|
399
404
|
*/
|
|
400
405
|
}, {
|
|
401
406
|
key: "getTotalCapacityGiB",
|
|
@@ -405,7 +410,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
405
410
|
|
|
406
411
|
/**
|
|
407
412
|
* Sets Size of the Object store in GiB.
|
|
408
|
-
* @param {} totalCapacityGiB Size of the Object store in GiB.
|
|
413
|
+
* @param {Number} totalCapacityGiB Size of the Object store in GiB.
|
|
409
414
|
*/
|
|
410
415
|
}, {
|
|
411
416
|
key: "setTotalCapacityGiB",
|
|
@@ -414,7 +419,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
414
419
|
}
|
|
415
420
|
|
|
416
421
|
/**
|
|
417
|
-
* @return {}
|
|
422
|
+
* @return {State}
|
|
418
423
|
*/
|
|
419
424
|
}, {
|
|
420
425
|
key: "getState",
|
|
@@ -423,7 +428,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
423
428
|
}
|
|
424
429
|
|
|
425
430
|
/**
|
|
426
|
-
* @param {} state
|
|
431
|
+
* @param {State} state
|
|
427
432
|
*/
|
|
428
433
|
}, {
|
|
429
434
|
key: "setState",
|
|
@@ -432,23 +437,23 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
432
437
|
}
|
|
433
438
|
|
|
434
439
|
/**
|
|
435
|
-
* Returns
|
|
436
|
-
* @return {}
|
|
440
|
+
* Returns A list of the UUIDs of the certificates of an Object store.
|
|
441
|
+
* @return {string[]}
|
|
437
442
|
*/
|
|
438
443
|
}, {
|
|
439
|
-
key: "
|
|
440
|
-
value: function
|
|
441
|
-
return this.
|
|
444
|
+
key: "getCertificateExtIds",
|
|
445
|
+
value: function getCertificateExtIds() {
|
|
446
|
+
return this.certificateExtIds;
|
|
442
447
|
}
|
|
443
448
|
|
|
444
449
|
/**
|
|
445
|
-
* Sets
|
|
446
|
-
* @param {}
|
|
450
|
+
* Sets A list of the UUIDs of the certificates of an Object store.
|
|
451
|
+
* @param {string[]} certificateExtIds A list of the UUIDs of the certificates of an Object store.
|
|
447
452
|
*/
|
|
448
453
|
}, {
|
|
449
|
-
key: "
|
|
450
|
-
value: function
|
|
451
|
-
this.
|
|
454
|
+
key: "setCertificateExtIds",
|
|
455
|
+
value: function setCertificateExtIds(certificateExtIds) {
|
|
456
|
+
this.certificateExtIds = certificateExtIds;
|
|
452
457
|
}
|
|
453
458
|
}, {
|
|
454
459
|
key: "toJson",
|
|
@@ -459,9 +464,9 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
459
464
|
} : {}), typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
460
465
|
'name': this.getName()
|
|
461
466
|
} : {}), typeof this.getCreationTime() !== 'undefined' && this.getCreationTime() !== null ? {
|
|
462
|
-
'creationTime': this.getCreationTime()
|
|
467
|
+
'creationTime': _assertClassBrand(_ObjectStore_brand, this, _handleDateType).call(this, this.getCreationTime(), false)
|
|
463
468
|
} : {}), typeof this.getLastUpdateTime() !== 'undefined' && this.getLastUpdateTime() !== null ? {
|
|
464
|
-
'lastUpdateTime': this.getLastUpdateTime()
|
|
469
|
+
'lastUpdateTime': _assertClassBrand(_ObjectStore_brand, this, _handleDateType).call(this, this.getLastUpdateTime(), false)
|
|
465
470
|
} : {}), typeof this.getDescription() !== 'undefined' && this.getDescription() !== null ? {
|
|
466
471
|
'description': this.getDescription()
|
|
467
472
|
} : {}), typeof this.getDeploymentVersion() !== 'undefined' && this.getDeploymentVersion() !== null ? {
|
|
@@ -472,8 +477,8 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
472
477
|
'region': this.getRegion()
|
|
473
478
|
} : {}), typeof this.getNumWorkerNodes() !== 'undefined' && this.getNumWorkerNodes() !== null ? {
|
|
474
479
|
'numWorkerNodes': this.getNumWorkerNodes()
|
|
475
|
-
} : {}), typeof this.
|
|
476
|
-
'
|
|
480
|
+
} : {}), typeof this.getClusterExtId() !== 'undefined' && this.getClusterExtId() !== null ? {
|
|
481
|
+
'clusterExtId': this.getClusterExtId()
|
|
477
482
|
} : {}), typeof this.getStorageNetworkReference() !== 'undefined' && this.getStorageNetworkReference() !== null ? {
|
|
478
483
|
'storageNetworkReference': this.getStorageNetworkReference()
|
|
479
484
|
} : {}), typeof this.getStorageNetworkVip() !== 'undefined' && this.getStorageNetworkVip() !== null ? {
|
|
@@ -490,8 +495,8 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
490
495
|
'totalCapacityGiB': this.getTotalCapacityGiB()
|
|
491
496
|
} : {}), typeof this.getState() !== 'undefined' && this.getState() !== null ? {
|
|
492
497
|
'state': this.getState()
|
|
493
|
-
} : {}), typeof this.
|
|
494
|
-
'
|
|
498
|
+
} : {}), typeof this.getCertificateExtIds() !== 'undefined' && this.getCertificateExtIds() !== null ? {
|
|
499
|
+
'certificateExtIds': this.getCertificateExtIds()
|
|
495
500
|
} : {}), typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
496
501
|
'extId': this.getExtId()
|
|
497
502
|
} : {}), typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
@@ -506,7 +511,7 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
506
511
|
'$unknownFields': this.get$UnknownFields()
|
|
507
512
|
});
|
|
508
513
|
}
|
|
509
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(
|
|
514
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getMetadata() !== 'undefined' && this.getMetadata() !== null ? {
|
|
510
515
|
'metadata': this.getMetadata().toJson(false)
|
|
511
516
|
} : {}), typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
512
517
|
'name': this.getName()
|
|
@@ -520,8 +525,8 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
520
525
|
'region': this.getRegion()
|
|
521
526
|
} : {}), typeof this.getNumWorkerNodes() !== 'undefined' && this.getNumWorkerNodes() !== null ? {
|
|
522
527
|
'numWorkerNodes': this.getNumWorkerNodes()
|
|
523
|
-
} : {}), typeof this.
|
|
524
|
-
'
|
|
528
|
+
} : {}), typeof this.getClusterExtId() !== 'undefined' && this.getClusterExtId() !== null ? {
|
|
529
|
+
'clusterExtId': this.getClusterExtId()
|
|
525
530
|
} : {}), typeof this.getStorageNetworkReference() !== 'undefined' && this.getStorageNetworkReference() !== null ? {
|
|
526
531
|
'storageNetworkReference': this.getStorageNetworkReference()
|
|
527
532
|
} : {}), typeof this.getStorageNetworkVip() !== 'undefined' && this.getStorageNetworkVip() !== null ? {
|
|
@@ -538,8 +543,6 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
538
543
|
'totalCapacityGiB': this.getTotalCapacityGiB()
|
|
539
544
|
} : {}), typeof this.getState() !== 'undefined' && this.getState() !== null ? {
|
|
540
545
|
'state': this.getState()
|
|
541
|
-
} : {}), typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
542
|
-
'extId': this.getExtId()
|
|
543
546
|
} : {}), {}, {
|
|
544
547
|
'$reserved': this.get$Reserved(),
|
|
545
548
|
'$objectType': this.get$ObjectType(),
|
|
@@ -671,12 +674,12 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
671
674
|
return new _ValidationError["default"]("numWorkerNodes", "does not satisfy required minimum constraint: 1");
|
|
672
675
|
}
|
|
673
676
|
}
|
|
674
|
-
if (property === "
|
|
675
|
-
if (typeof this.
|
|
676
|
-
return new _ValidationError["default"]("
|
|
677
|
+
if (property === "clusterExtId") {
|
|
678
|
+
if (typeof this.clusterExtId === 'undefined' || this.clusterExtId === null) {
|
|
679
|
+
return new _ValidationError["default"]("clusterExtId", "undefined or null");
|
|
677
680
|
}
|
|
678
|
-
if (!_ValidationUtils["default"].validatePattern(this.
|
|
679
|
-
return new _ValidationError["default"]("
|
|
681
|
+
if (!_ValidationUtils["default"].validatePattern(this.clusterExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
682
|
+
return new _ValidationError["default"]("clusterExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
680
683
|
}
|
|
681
684
|
}
|
|
682
685
|
if (property === "storageNetworkReference") {
|
|
@@ -732,23 +735,27 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
732
735
|
return new _ValidationError["default"]("state", "undefined or null");
|
|
733
736
|
}
|
|
734
737
|
}
|
|
735
|
-
if (property === "
|
|
736
|
-
if (typeof this.
|
|
737
|
-
return new _ValidationError["default"]("
|
|
738
|
+
if (property === "certificateExtIds") {
|
|
739
|
+
if (typeof this.certificateExtIds === 'undefined' || this.certificateExtIds === null) {
|
|
740
|
+
return new _ValidationError["default"]("certificateExtIds", "undefined or null");
|
|
738
741
|
}
|
|
739
|
-
if (!_ValidationUtils["default"].
|
|
740
|
-
return new _ValidationError["default"]("
|
|
742
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.certificateExtIds, 100)) {
|
|
743
|
+
return new _ValidationError["default"]("certificateExtIds", "does not satisfy required maxItems constraint: 100");
|
|
744
|
+
}
|
|
745
|
+
if (!_ValidationUtils["default"].validateMinItems(this.certificateExtIds, 1)) {
|
|
746
|
+
return new _ValidationError["default"]("certificateExtIds", "does not satisfy required minItems constraint: 1");
|
|
741
747
|
}
|
|
742
748
|
}
|
|
743
749
|
return new _ValidationError["default"](property, "no such property exists");
|
|
744
750
|
}
|
|
745
751
|
}], [{
|
|
746
752
|
key: "constructFromObject",
|
|
747
|
-
value: function constructFromObject(data
|
|
753
|
+
value: function constructFromObject(data) {
|
|
754
|
+
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
748
755
|
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
749
756
|
var items, item, i, itemArr, discriminator;
|
|
750
757
|
if (data) {
|
|
751
|
-
obj = obj || new
|
|
758
|
+
obj = obj || new ObjectStore();
|
|
752
759
|
_ExternalizableAbstractModel["default"].constructFromObject(data, obj, true);
|
|
753
760
|
if (data.hasOwnProperty('metadata') && data.metadata !== null && data.metadata !== undefined) {
|
|
754
761
|
obj.setMetadata(_Metadata["default"].constructFromObject(data['metadata']));
|
|
@@ -777,8 +784,8 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
777
784
|
if (data.hasOwnProperty('numWorkerNodes') && data.numWorkerNodes !== null && data.numWorkerNodes !== undefined) {
|
|
778
785
|
obj.setNumWorkerNodes(data['numWorkerNodes']);
|
|
779
786
|
}
|
|
780
|
-
if (data.hasOwnProperty('
|
|
781
|
-
obj.
|
|
787
|
+
if (data.hasOwnProperty('clusterExtId') && data.clusterExtId !== null && data.clusterExtId !== undefined) {
|
|
788
|
+
obj.setClusterExtId(data['clusterExtId']);
|
|
782
789
|
}
|
|
783
790
|
if (data.hasOwnProperty('storageNetworkReference') && data.storageNetworkReference !== null && data.storageNetworkReference !== undefined) {
|
|
784
791
|
obj.setStorageNetworkReference(data['storageNetworkReference']);
|
|
@@ -805,15 +812,24 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
805
812
|
obj.setTotalCapacityGiB(data['totalCapacityGiB']);
|
|
806
813
|
}
|
|
807
814
|
if (data.hasOwnProperty('state') && data.state !== null && data.state !== undefined) {
|
|
808
|
-
obj.setState(
|
|
815
|
+
obj.setState(_State["default"].constructFromObject(data['state']));
|
|
809
816
|
}
|
|
810
|
-
if (data.hasOwnProperty('
|
|
811
|
-
|
|
817
|
+
if (data.hasOwnProperty('certificateExtIds') && data.certificateExtIds !== null && data.certificateExtIds !== undefined) {
|
|
818
|
+
itemArr = [];
|
|
819
|
+
items = data.certificateExtIds;
|
|
820
|
+
for (i = 0; i < items.length; i++) {
|
|
821
|
+
itemArr.push(items[i]);
|
|
822
|
+
}
|
|
823
|
+
obj.setCertificateExtIds(itemArr);
|
|
812
824
|
}
|
|
813
825
|
if (!callFromChild) {
|
|
814
826
|
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
815
827
|
for (var property in data) {
|
|
816
|
-
if
|
|
828
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
829
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
830
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
831
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
832
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
817
833
|
obj.$unknownFields[property] = data[property];
|
|
818
834
|
}
|
|
819
835
|
}
|
|
@@ -821,10 +837,23 @@ var Objectstore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
821
837
|
}
|
|
822
838
|
return obj;
|
|
823
839
|
}
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* Converts a given snake_case string to camelCase.
|
|
843
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
844
|
+
* @returns {string} - The converted string in camelCase format.
|
|
845
|
+
*/
|
|
846
|
+
}, {
|
|
847
|
+
key: "snakeToCamel",
|
|
848
|
+
value: function snakeToCamel(snakeStr) {
|
|
849
|
+
return snakeStr.replace(/(_\w)/g, function (match) {
|
|
850
|
+
return match[1].toUpperCase();
|
|
851
|
+
});
|
|
852
|
+
}
|
|
824
853
|
}]);
|
|
825
854
|
}(_ExternalizableAbstractModel["default"]);
|
|
826
855
|
/**
|
|
827
|
-
* @memberof
|
|
856
|
+
* @memberof ObjectStore
|
|
828
857
|
*/
|
|
829
858
|
function _toJsonMapType(obj, forMutation) {
|
|
830
859
|
if (obj instanceof Map) {
|
|
@@ -841,105 +870,132 @@ function _toJsonMapType(obj, forMutation) {
|
|
|
841
870
|
}
|
|
842
871
|
return obj;
|
|
843
872
|
}
|
|
844
|
-
|
|
873
|
+
/*
|
|
874
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
875
|
+
* @param {Object} obj Object to serialize
|
|
876
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
877
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
878
|
+
*/
|
|
879
|
+
function _handleDateType(obj, isDateOnly) {
|
|
880
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
881
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
882
|
+
}
|
|
883
|
+
return obj;
|
|
884
|
+
}
|
|
885
|
+
ObjectStore.prototype.metadata = undefined;
|
|
845
886
|
|
|
846
887
|
/**
|
|
847
888
|
* The name of the Object store.
|
|
848
|
-
* @memberof
|
|
889
|
+
* @memberof ObjectStore
|
|
849
890
|
*/
|
|
850
|
-
|
|
891
|
+
ObjectStore.prototype.name = undefined;
|
|
851
892
|
|
|
852
893
|
/**
|
|
853
894
|
* The time when the Object store was created.
|
|
854
|
-
* @memberof
|
|
895
|
+
* @memberof ObjectStore
|
|
855
896
|
*/
|
|
856
|
-
|
|
897
|
+
ObjectStore.prototype.creationTime = undefined;
|
|
857
898
|
|
|
858
899
|
/**
|
|
859
900
|
* The time when the Object store was last updated.
|
|
860
|
-
* @memberof
|
|
901
|
+
* @memberof ObjectStore
|
|
861
902
|
*/
|
|
862
|
-
|
|
903
|
+
ObjectStore.prototype.lastUpdateTime = undefined;
|
|
863
904
|
|
|
864
905
|
/**
|
|
865
906
|
* A brief description of the Object store.
|
|
866
|
-
* @memberof
|
|
907
|
+
* @memberof ObjectStore
|
|
867
908
|
*/
|
|
868
|
-
|
|
909
|
+
ObjectStore.prototype.description = undefined;
|
|
869
910
|
|
|
870
911
|
/**
|
|
871
912
|
* Object store deployment version.
|
|
872
|
-
* @memberof
|
|
913
|
+
* @memberof ObjectStore
|
|
873
914
|
*/
|
|
874
|
-
|
|
915
|
+
ObjectStore.prototype.deploymentVersion = undefined;
|
|
875
916
|
|
|
876
917
|
/**
|
|
877
918
|
* 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'.
|
|
878
|
-
* @memberof
|
|
919
|
+
* @memberof ObjectStore
|
|
879
920
|
*/
|
|
880
|
-
|
|
921
|
+
ObjectStore.prototype.domain = undefined;
|
|
881
922
|
|
|
882
923
|
/**
|
|
883
924
|
* The region in which the Object store is deployed.
|
|
884
|
-
* @memberof
|
|
925
|
+
* @memberof ObjectStore
|
|
885
926
|
*/
|
|
886
|
-
|
|
927
|
+
ObjectStore.prototype.region = undefined;
|
|
887
928
|
|
|
888
929
|
/**
|
|
889
930
|
* The number of worker nodes (VMs) to be created for the Object store. Each worker node requires 10 vCPUs and 32 GiB of memory.
|
|
890
|
-
* @memberof
|
|
931
|
+
* @memberof ObjectStore
|
|
891
932
|
*/
|
|
892
|
-
|
|
933
|
+
ObjectStore.prototype.numWorkerNodes = undefined;
|
|
893
934
|
|
|
894
935
|
/**
|
|
895
936
|
* UUID of the AHV or ESXi cluster.
|
|
896
|
-
* @memberof
|
|
937
|
+
* @memberof ObjectStore
|
|
897
938
|
*/
|
|
898
|
-
|
|
939
|
+
ObjectStore.prototype.clusterExtId = undefined;
|
|
899
940
|
|
|
900
941
|
/**
|
|
901
942
|
* 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.
|
|
902
|
-
* @memberof
|
|
943
|
+
* @memberof ObjectStore
|
|
903
944
|
*/
|
|
904
|
-
|
|
945
|
+
ObjectStore.prototype.storageNetworkReference = undefined;
|
|
905
946
|
|
|
906
947
|
/**
|
|
907
|
-
* @memberof
|
|
948
|
+
* @memberof ObjectStore
|
|
908
949
|
*/
|
|
909
|
-
|
|
950
|
+
ObjectStore.prototype.storageNetworkVip = undefined;
|
|
910
951
|
|
|
911
952
|
/**
|
|
912
|
-
* @memberof
|
|
953
|
+
* @memberof ObjectStore
|
|
913
954
|
*/
|
|
914
|
-
|
|
955
|
+
ObjectStore.prototype.storageNetworkDnsIp = undefined;
|
|
915
956
|
|
|
916
957
|
/**
|
|
917
958
|
* Public network reference of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.
|
|
918
|
-
* @memberof
|
|
959
|
+
* @memberof ObjectStore
|
|
919
960
|
*/
|
|
920
|
-
|
|
961
|
+
ObjectStore.prototype.publicNetworkReference = undefined;
|
|
921
962
|
|
|
922
963
|
/**
|
|
923
964
|
* A list of static IP addresses used as public IPs to access the Object store.
|
|
924
|
-
* @memberof
|
|
965
|
+
* @memberof ObjectStore
|
|
925
966
|
*/
|
|
926
|
-
|
|
967
|
+
ObjectStore.prototype.publicNetworkIps = undefined;
|
|
927
968
|
|
|
928
969
|
/**
|
|
929
970
|
* Size of the Object store in GiB.
|
|
930
|
-
* @memberof
|
|
971
|
+
* @memberof ObjectStore
|
|
931
972
|
*/
|
|
932
|
-
|
|
973
|
+
ObjectStore.prototype.totalCapacityGiB = undefined;
|
|
933
974
|
|
|
934
975
|
/**
|
|
935
|
-
* @memberof
|
|
976
|
+
* @memberof ObjectStore
|
|
936
977
|
*/
|
|
937
|
-
|
|
978
|
+
ObjectStore.prototype.state = undefined;
|
|
938
979
|
|
|
939
980
|
/**
|
|
940
|
-
*
|
|
941
|
-
* @memberof
|
|
981
|
+
* A list of the UUIDs of the certificates of an Object store.
|
|
982
|
+
* @memberof ObjectStore
|
|
942
983
|
*/
|
|
943
|
-
|
|
984
|
+
ObjectStore.prototype.certificateExtIds = undefined;
|
|
944
985
|
|
|
945
|
-
|
|
986
|
+
/**
|
|
987
|
+
* A globally unique identifier of an instance that is suitable for external consumption.
|
|
988
|
+
* @memberof ObjectStore
|
|
989
|
+
*/
|
|
990
|
+
_ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
991
|
+
/**
|
|
992
|
+
* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
|
|
993
|
+
* @memberof ObjectStore
|
|
994
|
+
*/
|
|
995
|
+
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
996
|
+
/**
|
|
997
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
998
|
+
* @memberof ObjectStore
|
|
999
|
+
*/
|
|
1000
|
+
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
1001
|
+
// Implement OneOfobjects.v4.config.GetObjectstoreApiResponsedata interface:
|