@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
|
@@ -0,0 +1,1425 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/config/TenantAwareModel"));
|
|
8
|
+
var _ApiLink = _interopRequireDefault(require("../../../common/v1/response/ApiLink"));
|
|
9
|
+
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
10
|
+
var _TimeIntValuePair = _interopRequireDefault(require("../../../common/v1/stats/TimeIntValuePair"));
|
|
11
|
+
var _TimeFloatValuePair = _interopRequireDefault(require("./TimeFloatValuePair"));
|
|
12
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
13
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
14
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
|
+
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(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
18
|
+
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(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; } }
|
|
20
|
+
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
|
+
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(r) { if (Array.isArray(r)) return r; }
|
|
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
|
+
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(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
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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
|
+
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(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
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
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
|
+
* Nutanix Objects Storage Management APIs
|
|
41
|
+
*
|
|
42
|
+
* OpenAPI spec version: 4.0.1
|
|
43
|
+
*
|
|
44
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
45
|
+
*
|
|
46
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
47
|
+
*
|
|
48
|
+
* Do not edit the class manually.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* The ObjectstoreStats model module.
|
|
53
|
+
* @module Ntnx/ObjectstoreStats
|
|
54
|
+
* @version 4.0.1
|
|
55
|
+
* @class ObjectstoreStats
|
|
56
|
+
* @extends ExternalizableAbstractModel
|
|
57
|
+
*/
|
|
58
|
+
var _ObjectstoreStats_brand = /*#__PURE__*/new WeakSet();
|
|
59
|
+
var ObjectstoreStats = exports["default"] = /*#__PURE__*/function (_ExternalizableAbstra) {
|
|
60
|
+
/**
|
|
61
|
+
* Constructs a new <code>ObjectstoreStats</code>.
|
|
62
|
+
* @alias module:Ntnx/ObjectstoreStats
|
|
63
|
+
* @extends module:Ntnx/ExternalizableAbstractModel
|
|
64
|
+
*/
|
|
65
|
+
function ObjectstoreStats() {
|
|
66
|
+
var _this;
|
|
67
|
+
_classCallCheck(this, ObjectstoreStats);
|
|
68
|
+
_this = _callSuper(this, ObjectstoreStats);
|
|
69
|
+
/*
|
|
70
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
71
|
+
* @param {Object} obj
|
|
72
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
73
|
+
* Otherwise, just returns the input object.
|
|
74
|
+
*/
|
|
75
|
+
_classPrivateMethodInitSpec(_this, _ObjectstoreStats_brand);
|
|
76
|
+
_this.$objectType = "objects.v4.stats.ObjectstoreStats";
|
|
77
|
+
/** @type {object<string, any>} */
|
|
78
|
+
_this.$reserved = {
|
|
79
|
+
'$fv': "v4.r0"
|
|
80
|
+
};
|
|
81
|
+
/** @type {object<string, any>} */
|
|
82
|
+
_this.$unknownFields = {};
|
|
83
|
+
return _this;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Constructs a <code>ObjectstoreStats</code> from a plain JavaScript object, optionally creating a new instance.
|
|
88
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
89
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
90
|
+
* @param {module:Ntnx/ObjectstoreStats} obj Optional instance to populate.
|
|
91
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
92
|
+
* @return {module:Ntnx/ObjectstoreStats} The populated <code>ObjectstoreStats</code> instance.
|
|
93
|
+
*/
|
|
94
|
+
_inherits(ObjectstoreStats, _ExternalizableAbstra);
|
|
95
|
+
return _createClass(ObjectstoreStats, [{
|
|
96
|
+
key: "getObjectCount",
|
|
97
|
+
value:
|
|
98
|
+
/**
|
|
99
|
+
* Returns Number of Objects in the Object store. This stat is updated every 10 minutes. It includes the count of the incomplete multipart uploads.
|
|
100
|
+
* @return {TimeIntValuePair[]}
|
|
101
|
+
*/
|
|
102
|
+
function getObjectCount() {
|
|
103
|
+
return this.objectCount;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Sets Number of Objects in the Object store. This stat is updated every 10 minutes. It includes the count of the incomplete multipart uploads.
|
|
108
|
+
* @param {TimeIntValuePair[]} objectCount Number of Objects in the Object store. This stat is updated every 10 minutes. It includes the count of the incomplete multipart uploads.
|
|
109
|
+
*/
|
|
110
|
+
}, {
|
|
111
|
+
key: "setObjectCount",
|
|
112
|
+
value: function setObjectCount(objectCount) {
|
|
113
|
+
this.objectCount = objectCount;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Returns Number of Buckets in the Object store. This stat is updated every 10 minutes.
|
|
118
|
+
* @return {TimeIntValuePair[]}
|
|
119
|
+
*/
|
|
120
|
+
}, {
|
|
121
|
+
key: "getBucketCount",
|
|
122
|
+
value: function getBucketCount() {
|
|
123
|
+
return this.bucketCount;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Sets Number of Buckets in the Object store. This stat is updated every 10 minutes.
|
|
128
|
+
* @param {TimeIntValuePair[]} bucketCount Number of Buckets in the Object store. This stat is updated every 10 minutes.
|
|
129
|
+
*/
|
|
130
|
+
}, {
|
|
131
|
+
key: "setBucketCount",
|
|
132
|
+
value: function setBucketCount(bucketCount) {
|
|
133
|
+
this.bucketCount = bucketCount;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Returns Total storage in bytes used by the Objects and Buckets. This stat is updated every 10 minutes. It includes the storage used by the incomplete multipart uploads.
|
|
138
|
+
* @return {TimeIntValuePair[]}
|
|
139
|
+
*/
|
|
140
|
+
}, {
|
|
141
|
+
key: "getStorageUsageBytes",
|
|
142
|
+
value: function getStorageUsageBytes() {
|
|
143
|
+
return this.storageUsageBytes;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Sets Total storage in bytes used by the Objects and Buckets. This stat is updated every 10 minutes. It includes the storage used by the incomplete multipart uploads.
|
|
148
|
+
* @param {TimeIntValuePair[]} storageUsageBytes Total storage in bytes used by the Objects and Buckets. This stat is updated every 10 minutes. It includes the storage used by the incomplete multipart uploads.
|
|
149
|
+
*/
|
|
150
|
+
}, {
|
|
151
|
+
key: "setStorageUsageBytes",
|
|
152
|
+
value: function setStorageUsageBytes(storageUsageBytes) {
|
|
153
|
+
this.storageUsageBytes = storageUsageBytes;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Returns Number of bytes written per second to the Object store from operations on the Objects and Buckets.
|
|
158
|
+
* @return {TimeFloatValuePair[]}
|
|
159
|
+
*/
|
|
160
|
+
}, {
|
|
161
|
+
key: "getInboundBytesPerSecond",
|
|
162
|
+
value: function getInboundBytesPerSecond() {
|
|
163
|
+
return this.inboundBytesPerSecond;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Sets Number of bytes written per second to the Object store from operations on the Objects and Buckets.
|
|
168
|
+
* @param {TimeFloatValuePair[]} inboundBytesPerSecond Number of bytes written per second to the Object store from operations on the Objects and Buckets.
|
|
169
|
+
*/
|
|
170
|
+
}, {
|
|
171
|
+
key: "setInboundBytesPerSecond",
|
|
172
|
+
value: function setInboundBytesPerSecond(inboundBytesPerSecond) {
|
|
173
|
+
this.inboundBytesPerSecond = inboundBytesPerSecond;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Returns Number of bytes read per second from the Object store from operations on the Objects and Buckets.
|
|
178
|
+
* @return {TimeFloatValuePair[]}
|
|
179
|
+
*/
|
|
180
|
+
}, {
|
|
181
|
+
key: "getOutboundBytesPerSecond",
|
|
182
|
+
value: function getOutboundBytesPerSecond() {
|
|
183
|
+
return this.outboundBytesPerSecond;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Sets Number of bytes read per second from the Object store from operations on the Objects and Buckets.
|
|
188
|
+
* @param {TimeFloatValuePair[]} outboundBytesPerSecond Number of bytes read per second from the Object store from operations on the Objects and Buckets.
|
|
189
|
+
*/
|
|
190
|
+
}, {
|
|
191
|
+
key: "setOutboundBytesPerSecond",
|
|
192
|
+
value: function setOutboundBytesPerSecond(outboundBytesPerSecond) {
|
|
193
|
+
this.outboundBytesPerSecond = outboundBytesPerSecond;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Returns Throughput of HTTP GET requests in bytes per second.
|
|
198
|
+
* @return {TimeFloatValuePair[]}
|
|
199
|
+
*/
|
|
200
|
+
}, {
|
|
201
|
+
key: "getGetRequestThroughputBytesPerSecond",
|
|
202
|
+
value: function getGetRequestThroughputBytesPerSecond() {
|
|
203
|
+
return this.getRequestThroughputBytesPerSecond;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Sets Throughput of HTTP GET requests in bytes per second.
|
|
208
|
+
* @param {TimeFloatValuePair[]} getRequestThroughputBytesPerSecond Throughput of HTTP GET requests in bytes per second.
|
|
209
|
+
*/
|
|
210
|
+
}, {
|
|
211
|
+
key: "setGetRequestThroughputBytesPerSecond",
|
|
212
|
+
value: function setGetRequestThroughputBytesPerSecond(getRequestThroughputBytesPerSecond) {
|
|
213
|
+
this.getRequestThroughputBytesPerSecond = getRequestThroughputBytesPerSecond;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Returns Throughput of HTTP PUT requests in bytes per second.
|
|
218
|
+
* @return {TimeFloatValuePair[]}
|
|
219
|
+
*/
|
|
220
|
+
}, {
|
|
221
|
+
key: "getPutRequestThroughputBytesPerSecond",
|
|
222
|
+
value: function getPutRequestThroughputBytesPerSecond() {
|
|
223
|
+
return this.putRequestThroughputBytesPerSecond;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Sets Throughput of HTTP PUT requests in bytes per second.
|
|
228
|
+
* @param {TimeFloatValuePair[]} putRequestThroughputBytesPerSecond Throughput of HTTP PUT requests in bytes per second.
|
|
229
|
+
*/
|
|
230
|
+
}, {
|
|
231
|
+
key: "setPutRequestThroughputBytesPerSecond",
|
|
232
|
+
value: function setPutRequestThroughputBytesPerSecond(putRequestThroughputBytesPerSecond) {
|
|
233
|
+
this.putRequestThroughputBytesPerSecond = putRequestThroughputBytesPerSecond;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Returns Number of HTTP POST requests per second on the Objects and Buckets of the Object store.
|
|
238
|
+
* @return {TimeFloatValuePair[]}
|
|
239
|
+
*/
|
|
240
|
+
}, {
|
|
241
|
+
key: "getPostRequestsPerSecond",
|
|
242
|
+
value: function getPostRequestsPerSecond() {
|
|
243
|
+
return this.postRequestsPerSecond;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Sets Number of HTTP POST requests per second on the Objects and Buckets of the Object store.
|
|
248
|
+
* @param {TimeFloatValuePair[]} postRequestsPerSecond Number of HTTP POST requests per second on the Objects and Buckets of the Object store.
|
|
249
|
+
*/
|
|
250
|
+
}, {
|
|
251
|
+
key: "setPostRequestsPerSecond",
|
|
252
|
+
value: function setPostRequestsPerSecond(postRequestsPerSecond) {
|
|
253
|
+
this.postRequestsPerSecond = postRequestsPerSecond;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Returns Number of HTTP HEAD requests per second on the Objects and Buckets of the Object store.
|
|
258
|
+
* @return {TimeFloatValuePair[]}
|
|
259
|
+
*/
|
|
260
|
+
}, {
|
|
261
|
+
key: "getHeadRequestsPerSecond",
|
|
262
|
+
value: function getHeadRequestsPerSecond() {
|
|
263
|
+
return this.headRequestsPerSecond;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Sets Number of HTTP HEAD requests per second on the Objects and Buckets of the Object store.
|
|
268
|
+
* @param {TimeFloatValuePair[]} headRequestsPerSecond Number of HTTP HEAD requests per second on the Objects and Buckets of the Object store.
|
|
269
|
+
*/
|
|
270
|
+
}, {
|
|
271
|
+
key: "setHeadRequestsPerSecond",
|
|
272
|
+
value: function setHeadRequestsPerSecond(headRequestsPerSecond) {
|
|
273
|
+
this.headRequestsPerSecond = headRequestsPerSecond;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Returns Number of HTTP GET requests per second on the Objects and Buckets of the Object store.
|
|
278
|
+
* @return {TimeFloatValuePair[]}
|
|
279
|
+
*/
|
|
280
|
+
}, {
|
|
281
|
+
key: "getGetRequestsPerSecond",
|
|
282
|
+
value: function getGetRequestsPerSecond() {
|
|
283
|
+
return this.getRequestsPerSecond;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Sets Number of HTTP GET requests per second on the Objects and Buckets of the Object store.
|
|
288
|
+
* @param {TimeFloatValuePair[]} getRequestsPerSecond Number of HTTP GET requests per second on the Objects and Buckets of the Object store.
|
|
289
|
+
*/
|
|
290
|
+
}, {
|
|
291
|
+
key: "setGetRequestsPerSecond",
|
|
292
|
+
value: function setGetRequestsPerSecond(getRequestsPerSecond) {
|
|
293
|
+
this.getRequestsPerSecond = getRequestsPerSecond;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Returns Number of HTTP PUT requests per second on the Objects and Buckets of the Object store.
|
|
298
|
+
* @return {TimeFloatValuePair[]}
|
|
299
|
+
*/
|
|
300
|
+
}, {
|
|
301
|
+
key: "getPutRequestsPerSecond",
|
|
302
|
+
value: function getPutRequestsPerSecond() {
|
|
303
|
+
return this.putRequestsPerSecond;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Sets Number of HTTP PUT requests per second on the Objects and Buckets of the Object store.
|
|
308
|
+
* @param {TimeFloatValuePair[]} putRequestsPerSecond Number of HTTP PUT requests per second on the Objects and Buckets of the Object store.
|
|
309
|
+
*/
|
|
310
|
+
}, {
|
|
311
|
+
key: "setPutRequestsPerSecond",
|
|
312
|
+
value: function setPutRequestsPerSecond(putRequestsPerSecond) {
|
|
313
|
+
this.putRequestsPerSecond = putRequestsPerSecond;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Returns Number of HTTP DELETE requests per second on the Objects and Buckets of the Object store.
|
|
318
|
+
* @return {TimeFloatValuePair[]}
|
|
319
|
+
*/
|
|
320
|
+
}, {
|
|
321
|
+
key: "getDeleteRequestsPerSecond",
|
|
322
|
+
value: function getDeleteRequestsPerSecond() {
|
|
323
|
+
return this.deleteRequestsPerSecond;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Sets Number of HTTP DELETE requests per second on the Objects and Buckets of the Object store.
|
|
328
|
+
* @param {TimeFloatValuePair[]} deleteRequestsPerSecond Number of HTTP DELETE requests per second on the Objects and Buckets of the Object store.
|
|
329
|
+
*/
|
|
330
|
+
}, {
|
|
331
|
+
key: "setDeleteRequestsPerSecond",
|
|
332
|
+
value: function setDeleteRequestsPerSecond(deleteRequestsPerSecond) {
|
|
333
|
+
this.deleteRequestsPerSecond = deleteRequestsPerSecond;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Returns Number of operations per second on the objects of the Object store.
|
|
338
|
+
* @return {TimeFloatValuePair[]}
|
|
339
|
+
*/
|
|
340
|
+
}, {
|
|
341
|
+
key: "getObjectOperationsPerSecond",
|
|
342
|
+
value: function getObjectOperationsPerSecond() {
|
|
343
|
+
return this.objectOperationsPerSecond;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Sets Number of operations per second on the objects of the Object store.
|
|
348
|
+
* @param {TimeFloatValuePair[]} objectOperationsPerSecond Number of operations per second on the objects of the Object store.
|
|
349
|
+
*/
|
|
350
|
+
}, {
|
|
351
|
+
key: "setObjectOperationsPerSecond",
|
|
352
|
+
value: function setObjectOperationsPerSecond(objectOperationsPerSecond) {
|
|
353
|
+
this.objectOperationsPerSecond = objectOperationsPerSecond;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Returns Time to the first byte in milliseconds for Get Object requests.
|
|
358
|
+
* @return {TimeFloatValuePair[]}
|
|
359
|
+
*/
|
|
360
|
+
}, {
|
|
361
|
+
key: "getGetObjectTtfbMsecs",
|
|
362
|
+
value: function getGetObjectTtfbMsecs() {
|
|
363
|
+
return this.getObjectTtfbMsecs;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Sets Time to the first byte in milliseconds for Get Object requests.
|
|
368
|
+
* @param {TimeFloatValuePair[]} getObjectTtfbMsecs Time to the first byte in milliseconds for Get Object requests.
|
|
369
|
+
*/
|
|
370
|
+
}, {
|
|
371
|
+
key: "setGetObjectTtfbMsecs",
|
|
372
|
+
value: function setGetObjectTtfbMsecs(getObjectTtfbMsecs) {
|
|
373
|
+
this.getObjectTtfbMsecs = getObjectTtfbMsecs;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Returns Number of GetBucket operations per second.
|
|
378
|
+
* @return {TimeFloatValuePair[]}
|
|
379
|
+
*/
|
|
380
|
+
}, {
|
|
381
|
+
key: "getGetBucketOperationsPerSecond",
|
|
382
|
+
value: function getGetBucketOperationsPerSecond() {
|
|
383
|
+
return this.getBucketOperationsPerSecond;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Sets Number of GetBucket operations per second.
|
|
388
|
+
* @param {TimeFloatValuePair[]} getBucketOperationsPerSecond Number of GetBucket operations per second.
|
|
389
|
+
*/
|
|
390
|
+
}, {
|
|
391
|
+
key: "setGetBucketOperationsPerSecond",
|
|
392
|
+
value: function setGetBucketOperationsPerSecond(getBucketOperationsPerSecond) {
|
|
393
|
+
this.getBucketOperationsPerSecond = getBucketOperationsPerSecond;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Returns The number of ListMultipartUploads operations per second.
|
|
398
|
+
* @return {TimeFloatValuePair[]}
|
|
399
|
+
*/
|
|
400
|
+
}, {
|
|
401
|
+
key: "getListMultipartUploadsOperationsPerSecond",
|
|
402
|
+
value: function getListMultipartUploadsOperationsPerSecond() {
|
|
403
|
+
return this.listMultipartUploadsOperationsPerSecond;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Sets The number of ListMultipartUploads operations per second.
|
|
408
|
+
* @param {TimeFloatValuePair[]} listMultipartUploadsOperationsPerSecond The number of ListMultipartUploads operations per second.
|
|
409
|
+
*/
|
|
410
|
+
}, {
|
|
411
|
+
key: "setListMultipartUploadsOperationsPerSecond",
|
|
412
|
+
value: function setListMultipartUploadsOperationsPerSecond(listMultipartUploadsOperationsPerSecond) {
|
|
413
|
+
this.listMultipartUploadsOperationsPerSecond = listMultipartUploadsOperationsPerSecond;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Returns The number of CreateMultipartUpload operations per second.
|
|
418
|
+
* @return {TimeFloatValuePair[]}
|
|
419
|
+
*/
|
|
420
|
+
}, {
|
|
421
|
+
key: "getMultipartUploadStartOperationsPerSecond",
|
|
422
|
+
value: function getMultipartUploadStartOperationsPerSecond() {
|
|
423
|
+
return this.multipartUploadStartOperationsPerSecond;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Sets The number of CreateMultipartUpload operations per second.
|
|
428
|
+
* @param {TimeFloatValuePair[]} multipartUploadStartOperationsPerSecond The number of CreateMultipartUpload operations per second.
|
|
429
|
+
*/
|
|
430
|
+
}, {
|
|
431
|
+
key: "setMultipartUploadStartOperationsPerSecond",
|
|
432
|
+
value: function setMultipartUploadStartOperationsPerSecond(multipartUploadStartOperationsPerSecond) {
|
|
433
|
+
this.multipartUploadStartOperationsPerSecond = multipartUploadStartOperationsPerSecond;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* Returns The number of SelectObjectContent operations per second.
|
|
438
|
+
* @return {TimeFloatValuePair[]}
|
|
439
|
+
*/
|
|
440
|
+
}, {
|
|
441
|
+
key: "getSelectObjectContentOperationsPerSecond",
|
|
442
|
+
value: function getSelectObjectContentOperationsPerSecond() {
|
|
443
|
+
return this.selectObjectContentOperationsPerSecond;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Sets The number of SelectObjectContent operations per second.
|
|
448
|
+
* @param {TimeFloatValuePair[]} selectObjectContentOperationsPerSecond The number of SelectObjectContent operations per second.
|
|
449
|
+
*/
|
|
450
|
+
}, {
|
|
451
|
+
key: "setSelectObjectContentOperationsPerSecond",
|
|
452
|
+
value: function setSelectObjectContentOperationsPerSecond(selectObjectContentOperationsPerSecond) {
|
|
453
|
+
this.selectObjectContentOperationsPerSecond = selectObjectContentOperationsPerSecond;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Returns Number of Network File System (NFS) read requests per second on the objects of the Object store.
|
|
458
|
+
* @return {TimeFloatValuePair[]}
|
|
459
|
+
*/
|
|
460
|
+
}, {
|
|
461
|
+
key: "getNfsReadRequestsPerSecond",
|
|
462
|
+
value: function getNfsReadRequestsPerSecond() {
|
|
463
|
+
return this.nfsReadRequestsPerSecond;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Sets Number of Network File System (NFS) read requests per second on the objects of the Object store.
|
|
468
|
+
* @param {TimeFloatValuePair[]} nfsReadRequestsPerSecond Number of Network File System (NFS) read requests per second on the objects of the Object store.
|
|
469
|
+
*/
|
|
470
|
+
}, {
|
|
471
|
+
key: "setNfsReadRequestsPerSecond",
|
|
472
|
+
value: function setNfsReadRequestsPerSecond(nfsReadRequestsPerSecond) {
|
|
473
|
+
this.nfsReadRequestsPerSecond = nfsReadRequestsPerSecond;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Returns Number of Network File System (NFS) write requests per second on the objects of the Object store.
|
|
478
|
+
* @return {TimeFloatValuePair[]}
|
|
479
|
+
*/
|
|
480
|
+
}, {
|
|
481
|
+
key: "getNfsWriteRequestsPerSecond",
|
|
482
|
+
value: function getNfsWriteRequestsPerSecond() {
|
|
483
|
+
return this.nfsWriteRequestsPerSecond;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Sets Number of Network File System (NFS) write requests per second on the objects of the Object store.
|
|
488
|
+
* @param {TimeFloatValuePair[]} nfsWriteRequestsPerSecond Number of Network File System (NFS) write requests per second on the objects of the Object store.
|
|
489
|
+
*/
|
|
490
|
+
}, {
|
|
491
|
+
key: "setNfsWriteRequestsPerSecond",
|
|
492
|
+
value: function setNfsWriteRequestsPerSecond(nfsWriteRequestsPerSecond) {
|
|
493
|
+
this.nfsWriteRequestsPerSecond = nfsWriteRequestsPerSecond;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Returns Throughput of Network File System (NFS) read operations in bytes per second on the objects of the Object store.
|
|
498
|
+
* @return {TimeFloatValuePair[]}
|
|
499
|
+
*/
|
|
500
|
+
}, {
|
|
501
|
+
key: "getNfsReadThroughputBytesPerSecond",
|
|
502
|
+
value: function getNfsReadThroughputBytesPerSecond() {
|
|
503
|
+
return this.nfsReadThroughputBytesPerSecond;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Sets Throughput of Network File System (NFS) read operations in bytes per second on the objects of the Object store.
|
|
508
|
+
* @param {TimeFloatValuePair[]} nfsReadThroughputBytesPerSecond Throughput of Network File System (NFS) read operations in bytes per second on the objects of the Object store.
|
|
509
|
+
*/
|
|
510
|
+
}, {
|
|
511
|
+
key: "setNfsReadThroughputBytesPerSecond",
|
|
512
|
+
value: function setNfsReadThroughputBytesPerSecond(nfsReadThroughputBytesPerSecond) {
|
|
513
|
+
this.nfsReadThroughputBytesPerSecond = nfsReadThroughputBytesPerSecond;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Returns Throughput of Network File System (NFS) write operations in bytes per second on the objects of the Object store.
|
|
518
|
+
* @return {TimeFloatValuePair[]}
|
|
519
|
+
*/
|
|
520
|
+
}, {
|
|
521
|
+
key: "getNfsWriteThroughputBytesPerSecond",
|
|
522
|
+
value: function getNfsWriteThroughputBytesPerSecond() {
|
|
523
|
+
return this.nfsWriteThroughputBytesPerSecond;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Sets Throughput of Network File System (NFS) write operations in bytes per second on the objects of the Object store.
|
|
528
|
+
* @param {TimeFloatValuePair[]} nfsWriteThroughputBytesPerSecond Throughput of Network File System (NFS) write operations in bytes per second on the objects of the Object store.
|
|
529
|
+
*/
|
|
530
|
+
}, {
|
|
531
|
+
key: "setNfsWriteThroughputBytesPerSecond",
|
|
532
|
+
value: function setNfsWriteThroughputBytesPerSecond(nfsWriteThroughputBytesPerSecond) {
|
|
533
|
+
this.nfsWriteThroughputBytesPerSecond = nfsWriteThroughputBytesPerSecond;
|
|
534
|
+
}
|
|
535
|
+
}, {
|
|
536
|
+
key: "toJson",
|
|
537
|
+
value: function toJson(forMutation) {
|
|
538
|
+
if (forMutation === false) {
|
|
539
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getObjectCount() !== 'undefined' && this.getObjectCount() !== null ? {
|
|
540
|
+
'objectCount': this.getObjectCount().map(function (item) {
|
|
541
|
+
return item.toJson(false);
|
|
542
|
+
})
|
|
543
|
+
} : {}), typeof this.getBucketCount() !== 'undefined' && this.getBucketCount() !== null ? {
|
|
544
|
+
'bucketCount': this.getBucketCount().map(function (item) {
|
|
545
|
+
return item.toJson(false);
|
|
546
|
+
})
|
|
547
|
+
} : {}), typeof this.getStorageUsageBytes() !== 'undefined' && this.getStorageUsageBytes() !== null ? {
|
|
548
|
+
'storageUsageBytes': this.getStorageUsageBytes().map(function (item) {
|
|
549
|
+
return item.toJson(false);
|
|
550
|
+
})
|
|
551
|
+
} : {}), typeof this.getInboundBytesPerSecond() !== 'undefined' && this.getInboundBytesPerSecond() !== null ? {
|
|
552
|
+
'inboundBytesPerSecond': this.getInboundBytesPerSecond().map(function (item) {
|
|
553
|
+
return item.toJson(false);
|
|
554
|
+
})
|
|
555
|
+
} : {}), typeof this.getOutboundBytesPerSecond() !== 'undefined' && this.getOutboundBytesPerSecond() !== null ? {
|
|
556
|
+
'outboundBytesPerSecond': this.getOutboundBytesPerSecond().map(function (item) {
|
|
557
|
+
return item.toJson(false);
|
|
558
|
+
})
|
|
559
|
+
} : {}), typeof this.getGetRequestThroughputBytesPerSecond() !== 'undefined' && this.getGetRequestThroughputBytesPerSecond() !== null ? {
|
|
560
|
+
'getRequestThroughputBytesPerSecond': this.getGetRequestThroughputBytesPerSecond().map(function (item) {
|
|
561
|
+
return item.toJson(false);
|
|
562
|
+
})
|
|
563
|
+
} : {}), typeof this.getPutRequestThroughputBytesPerSecond() !== 'undefined' && this.getPutRequestThroughputBytesPerSecond() !== null ? {
|
|
564
|
+
'putRequestThroughputBytesPerSecond': this.getPutRequestThroughputBytesPerSecond().map(function (item) {
|
|
565
|
+
return item.toJson(false);
|
|
566
|
+
})
|
|
567
|
+
} : {}), typeof this.getPostRequestsPerSecond() !== 'undefined' && this.getPostRequestsPerSecond() !== null ? {
|
|
568
|
+
'postRequestsPerSecond': this.getPostRequestsPerSecond().map(function (item) {
|
|
569
|
+
return item.toJson(false);
|
|
570
|
+
})
|
|
571
|
+
} : {}), typeof this.getHeadRequestsPerSecond() !== 'undefined' && this.getHeadRequestsPerSecond() !== null ? {
|
|
572
|
+
'headRequestsPerSecond': this.getHeadRequestsPerSecond().map(function (item) {
|
|
573
|
+
return item.toJson(false);
|
|
574
|
+
})
|
|
575
|
+
} : {}), typeof this.getGetRequestsPerSecond() !== 'undefined' && this.getGetRequestsPerSecond() !== null ? {
|
|
576
|
+
'getRequestsPerSecond': this.getGetRequestsPerSecond().map(function (item) {
|
|
577
|
+
return item.toJson(false);
|
|
578
|
+
})
|
|
579
|
+
} : {}), typeof this.getPutRequestsPerSecond() !== 'undefined' && this.getPutRequestsPerSecond() !== null ? {
|
|
580
|
+
'putRequestsPerSecond': this.getPutRequestsPerSecond().map(function (item) {
|
|
581
|
+
return item.toJson(false);
|
|
582
|
+
})
|
|
583
|
+
} : {}), typeof this.getDeleteRequestsPerSecond() !== 'undefined' && this.getDeleteRequestsPerSecond() !== null ? {
|
|
584
|
+
'deleteRequestsPerSecond': this.getDeleteRequestsPerSecond().map(function (item) {
|
|
585
|
+
return item.toJson(false);
|
|
586
|
+
})
|
|
587
|
+
} : {}), typeof this.getObjectOperationsPerSecond() !== 'undefined' && this.getObjectOperationsPerSecond() !== null ? {
|
|
588
|
+
'objectOperationsPerSecond': this.getObjectOperationsPerSecond().map(function (item) {
|
|
589
|
+
return item.toJson(false);
|
|
590
|
+
})
|
|
591
|
+
} : {}), typeof this.getGetObjectTtfbMsecs() !== 'undefined' && this.getGetObjectTtfbMsecs() !== null ? {
|
|
592
|
+
'getObjectTtfbMsecs': this.getGetObjectTtfbMsecs().map(function (item) {
|
|
593
|
+
return item.toJson(false);
|
|
594
|
+
})
|
|
595
|
+
} : {}), typeof this.getGetBucketOperationsPerSecond() !== 'undefined' && this.getGetBucketOperationsPerSecond() !== null ? {
|
|
596
|
+
'getBucketOperationsPerSecond': this.getGetBucketOperationsPerSecond().map(function (item) {
|
|
597
|
+
return item.toJson(false);
|
|
598
|
+
})
|
|
599
|
+
} : {}), typeof this.getListMultipartUploadsOperationsPerSecond() !== 'undefined' && this.getListMultipartUploadsOperationsPerSecond() !== null ? {
|
|
600
|
+
'listMultipartUploadsOperationsPerSecond': this.getListMultipartUploadsOperationsPerSecond().map(function (item) {
|
|
601
|
+
return item.toJson(false);
|
|
602
|
+
})
|
|
603
|
+
} : {}), typeof this.getMultipartUploadStartOperationsPerSecond() !== 'undefined' && this.getMultipartUploadStartOperationsPerSecond() !== null ? {
|
|
604
|
+
'multipartUploadStartOperationsPerSecond': this.getMultipartUploadStartOperationsPerSecond().map(function (item) {
|
|
605
|
+
return item.toJson(false);
|
|
606
|
+
})
|
|
607
|
+
} : {}), typeof this.getSelectObjectContentOperationsPerSecond() !== 'undefined' && this.getSelectObjectContentOperationsPerSecond() !== null ? {
|
|
608
|
+
'selectObjectContentOperationsPerSecond': this.getSelectObjectContentOperationsPerSecond().map(function (item) {
|
|
609
|
+
return item.toJson(false);
|
|
610
|
+
})
|
|
611
|
+
} : {}), typeof this.getNfsReadRequestsPerSecond() !== 'undefined' && this.getNfsReadRequestsPerSecond() !== null ? {
|
|
612
|
+
'nfsReadRequestsPerSecond': this.getNfsReadRequestsPerSecond().map(function (item) {
|
|
613
|
+
return item.toJson(false);
|
|
614
|
+
})
|
|
615
|
+
} : {}), typeof this.getNfsWriteRequestsPerSecond() !== 'undefined' && this.getNfsWriteRequestsPerSecond() !== null ? {
|
|
616
|
+
'nfsWriteRequestsPerSecond': this.getNfsWriteRequestsPerSecond().map(function (item) {
|
|
617
|
+
return item.toJson(false);
|
|
618
|
+
})
|
|
619
|
+
} : {}), typeof this.getNfsReadThroughputBytesPerSecond() !== 'undefined' && this.getNfsReadThroughputBytesPerSecond() !== null ? {
|
|
620
|
+
'nfsReadThroughputBytesPerSecond': this.getNfsReadThroughputBytesPerSecond().map(function (item) {
|
|
621
|
+
return item.toJson(false);
|
|
622
|
+
})
|
|
623
|
+
} : {}), typeof this.getNfsWriteThroughputBytesPerSecond() !== 'undefined' && this.getNfsWriteThroughputBytesPerSecond() !== null ? {
|
|
624
|
+
'nfsWriteThroughputBytesPerSecond': this.getNfsWriteThroughputBytesPerSecond().map(function (item) {
|
|
625
|
+
return item.toJson(false);
|
|
626
|
+
})
|
|
627
|
+
} : {}), typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
628
|
+
'extId': this.getExtId()
|
|
629
|
+
} : {}), typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
630
|
+
'links': this.getLinks().map(function (item) {
|
|
631
|
+
return item.toJson(false);
|
|
632
|
+
})
|
|
633
|
+
} : {}), typeof this.getTenantId() !== 'undefined' && this.getTenantId() !== null ? {
|
|
634
|
+
'tenantId': this.getTenantId()
|
|
635
|
+
} : {}), {}, {
|
|
636
|
+
'$reserved': this.get$Reserved(),
|
|
637
|
+
'$objectType': this.get$ObjectType(),
|
|
638
|
+
'$unknownFields': this.get$UnknownFields()
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getObjectCount() !== 'undefined' && this.getObjectCount() !== null ? {
|
|
642
|
+
'objectCount': this.getObjectCount().map(function (item) {
|
|
643
|
+
return item.toJson(false);
|
|
644
|
+
})
|
|
645
|
+
} : {}), typeof this.getBucketCount() !== 'undefined' && this.getBucketCount() !== null ? {
|
|
646
|
+
'bucketCount': this.getBucketCount().map(function (item) {
|
|
647
|
+
return item.toJson(false);
|
|
648
|
+
})
|
|
649
|
+
} : {}), typeof this.getStorageUsageBytes() !== 'undefined' && this.getStorageUsageBytes() !== null ? {
|
|
650
|
+
'storageUsageBytes': this.getStorageUsageBytes().map(function (item) {
|
|
651
|
+
return item.toJson(false);
|
|
652
|
+
})
|
|
653
|
+
} : {}), typeof this.getInboundBytesPerSecond() !== 'undefined' && this.getInboundBytesPerSecond() !== null ? {
|
|
654
|
+
'inboundBytesPerSecond': this.getInboundBytesPerSecond().map(function (item) {
|
|
655
|
+
return item.toJson(false);
|
|
656
|
+
})
|
|
657
|
+
} : {}), typeof this.getOutboundBytesPerSecond() !== 'undefined' && this.getOutboundBytesPerSecond() !== null ? {
|
|
658
|
+
'outboundBytesPerSecond': this.getOutboundBytesPerSecond().map(function (item) {
|
|
659
|
+
return item.toJson(false);
|
|
660
|
+
})
|
|
661
|
+
} : {}), typeof this.getGetRequestThroughputBytesPerSecond() !== 'undefined' && this.getGetRequestThroughputBytesPerSecond() !== null ? {
|
|
662
|
+
'getRequestThroughputBytesPerSecond': this.getGetRequestThroughputBytesPerSecond().map(function (item) {
|
|
663
|
+
return item.toJson(false);
|
|
664
|
+
})
|
|
665
|
+
} : {}), typeof this.getPutRequestThroughputBytesPerSecond() !== 'undefined' && this.getPutRequestThroughputBytesPerSecond() !== null ? {
|
|
666
|
+
'putRequestThroughputBytesPerSecond': this.getPutRequestThroughputBytesPerSecond().map(function (item) {
|
|
667
|
+
return item.toJson(false);
|
|
668
|
+
})
|
|
669
|
+
} : {}), typeof this.getPostRequestsPerSecond() !== 'undefined' && this.getPostRequestsPerSecond() !== null ? {
|
|
670
|
+
'postRequestsPerSecond': this.getPostRequestsPerSecond().map(function (item) {
|
|
671
|
+
return item.toJson(false);
|
|
672
|
+
})
|
|
673
|
+
} : {}), typeof this.getHeadRequestsPerSecond() !== 'undefined' && this.getHeadRequestsPerSecond() !== null ? {
|
|
674
|
+
'headRequestsPerSecond': this.getHeadRequestsPerSecond().map(function (item) {
|
|
675
|
+
return item.toJson(false);
|
|
676
|
+
})
|
|
677
|
+
} : {}), typeof this.getGetRequestsPerSecond() !== 'undefined' && this.getGetRequestsPerSecond() !== null ? {
|
|
678
|
+
'getRequestsPerSecond': this.getGetRequestsPerSecond().map(function (item) {
|
|
679
|
+
return item.toJson(false);
|
|
680
|
+
})
|
|
681
|
+
} : {}), typeof this.getPutRequestsPerSecond() !== 'undefined' && this.getPutRequestsPerSecond() !== null ? {
|
|
682
|
+
'putRequestsPerSecond': this.getPutRequestsPerSecond().map(function (item) {
|
|
683
|
+
return item.toJson(false);
|
|
684
|
+
})
|
|
685
|
+
} : {}), typeof this.getDeleteRequestsPerSecond() !== 'undefined' && this.getDeleteRequestsPerSecond() !== null ? {
|
|
686
|
+
'deleteRequestsPerSecond': this.getDeleteRequestsPerSecond().map(function (item) {
|
|
687
|
+
return item.toJson(false);
|
|
688
|
+
})
|
|
689
|
+
} : {}), typeof this.getObjectOperationsPerSecond() !== 'undefined' && this.getObjectOperationsPerSecond() !== null ? {
|
|
690
|
+
'objectOperationsPerSecond': this.getObjectOperationsPerSecond().map(function (item) {
|
|
691
|
+
return item.toJson(false);
|
|
692
|
+
})
|
|
693
|
+
} : {}), typeof this.getGetObjectTtfbMsecs() !== 'undefined' && this.getGetObjectTtfbMsecs() !== null ? {
|
|
694
|
+
'getObjectTtfbMsecs': this.getGetObjectTtfbMsecs().map(function (item) {
|
|
695
|
+
return item.toJson(false);
|
|
696
|
+
})
|
|
697
|
+
} : {}), typeof this.getGetBucketOperationsPerSecond() !== 'undefined' && this.getGetBucketOperationsPerSecond() !== null ? {
|
|
698
|
+
'getBucketOperationsPerSecond': this.getGetBucketOperationsPerSecond().map(function (item) {
|
|
699
|
+
return item.toJson(false);
|
|
700
|
+
})
|
|
701
|
+
} : {}), typeof this.getListMultipartUploadsOperationsPerSecond() !== 'undefined' && this.getListMultipartUploadsOperationsPerSecond() !== null ? {
|
|
702
|
+
'listMultipartUploadsOperationsPerSecond': this.getListMultipartUploadsOperationsPerSecond().map(function (item) {
|
|
703
|
+
return item.toJson(false);
|
|
704
|
+
})
|
|
705
|
+
} : {}), typeof this.getMultipartUploadStartOperationsPerSecond() !== 'undefined' && this.getMultipartUploadStartOperationsPerSecond() !== null ? {
|
|
706
|
+
'multipartUploadStartOperationsPerSecond': this.getMultipartUploadStartOperationsPerSecond().map(function (item) {
|
|
707
|
+
return item.toJson(false);
|
|
708
|
+
})
|
|
709
|
+
} : {}), typeof this.getSelectObjectContentOperationsPerSecond() !== 'undefined' && this.getSelectObjectContentOperationsPerSecond() !== null ? {
|
|
710
|
+
'selectObjectContentOperationsPerSecond': this.getSelectObjectContentOperationsPerSecond().map(function (item) {
|
|
711
|
+
return item.toJson(false);
|
|
712
|
+
})
|
|
713
|
+
} : {}), typeof this.getNfsReadRequestsPerSecond() !== 'undefined' && this.getNfsReadRequestsPerSecond() !== null ? {
|
|
714
|
+
'nfsReadRequestsPerSecond': this.getNfsReadRequestsPerSecond().map(function (item) {
|
|
715
|
+
return item.toJson(false);
|
|
716
|
+
})
|
|
717
|
+
} : {}), typeof this.getNfsWriteRequestsPerSecond() !== 'undefined' && this.getNfsWriteRequestsPerSecond() !== null ? {
|
|
718
|
+
'nfsWriteRequestsPerSecond': this.getNfsWriteRequestsPerSecond().map(function (item) {
|
|
719
|
+
return item.toJson(false);
|
|
720
|
+
})
|
|
721
|
+
} : {}), typeof this.getNfsReadThroughputBytesPerSecond() !== 'undefined' && this.getNfsReadThroughputBytesPerSecond() !== null ? {
|
|
722
|
+
'nfsReadThroughputBytesPerSecond': this.getNfsReadThroughputBytesPerSecond().map(function (item) {
|
|
723
|
+
return item.toJson(false);
|
|
724
|
+
})
|
|
725
|
+
} : {}), typeof this.getNfsWriteThroughputBytesPerSecond() !== 'undefined' && this.getNfsWriteThroughputBytesPerSecond() !== null ? {
|
|
726
|
+
'nfsWriteThroughputBytesPerSecond': this.getNfsWriteThroughputBytesPerSecond().map(function (item) {
|
|
727
|
+
return item.toJson(false);
|
|
728
|
+
})
|
|
729
|
+
} : {}), {}, {
|
|
730
|
+
'$reserved': this.get$Reserved(),
|
|
731
|
+
'$objectType': this.get$ObjectType(),
|
|
732
|
+
'$unknownFields': this.get$UnknownFields()
|
|
733
|
+
});
|
|
734
|
+
}
|
|
735
|
+
}, {
|
|
736
|
+
key: "validate",
|
|
737
|
+
value: function validate(scope, properties) {
|
|
738
|
+
var _this2 = this;
|
|
739
|
+
var propList = [];
|
|
740
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
741
|
+
//cases validate() and validate(scope)
|
|
742
|
+
propList = [];
|
|
743
|
+
} else if (arguments.length === 1) {
|
|
744
|
+
//case validate(properties)
|
|
745
|
+
propList = arguments[0];
|
|
746
|
+
scope = null;
|
|
747
|
+
} else {
|
|
748
|
+
//case validate(scope, properties)
|
|
749
|
+
propList = arguments[1];
|
|
750
|
+
}
|
|
751
|
+
var res = [];
|
|
752
|
+
var err = null;
|
|
753
|
+
propList.forEach(function (property) {
|
|
754
|
+
err = _this2.validateProperty(property, scope);
|
|
755
|
+
if (err) {
|
|
756
|
+
res.push(err);
|
|
757
|
+
}
|
|
758
|
+
});
|
|
759
|
+
return new Promise(function (resolve, reject) {
|
|
760
|
+
if (res.length !== 0) {
|
|
761
|
+
reject(err);
|
|
762
|
+
} else {
|
|
763
|
+
resolve();
|
|
764
|
+
}
|
|
765
|
+
});
|
|
766
|
+
}
|
|
767
|
+
}, {
|
|
768
|
+
key: "validateProperty",
|
|
769
|
+
value: function validateProperty(scope, property) {
|
|
770
|
+
if (property === "objectCount") {
|
|
771
|
+
if (typeof this.objectCount === 'undefined' || this.objectCount === null) {
|
|
772
|
+
return new _ValidationError["default"]("objectCount", "undefined or null");
|
|
773
|
+
}
|
|
774
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.objectCount, 150)) {
|
|
775
|
+
return new _ValidationError["default"]("objectCount", "does not satisfy required maxItems constraint: 150");
|
|
776
|
+
}
|
|
777
|
+
if (!_ValidationUtils["default"].validateMinItems(this.objectCount, 1)) {
|
|
778
|
+
return new _ValidationError["default"]("objectCount", "does not satisfy required minItems constraint: 1");
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
if (property === "bucketCount") {
|
|
782
|
+
if (typeof this.bucketCount === 'undefined' || this.bucketCount === null) {
|
|
783
|
+
return new _ValidationError["default"]("bucketCount", "undefined or null");
|
|
784
|
+
}
|
|
785
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.bucketCount, 150)) {
|
|
786
|
+
return new _ValidationError["default"]("bucketCount", "does not satisfy required maxItems constraint: 150");
|
|
787
|
+
}
|
|
788
|
+
if (!_ValidationUtils["default"].validateMinItems(this.bucketCount, 1)) {
|
|
789
|
+
return new _ValidationError["default"]("bucketCount", "does not satisfy required minItems constraint: 1");
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
if (property === "storageUsageBytes") {
|
|
793
|
+
if (typeof this.storageUsageBytes === 'undefined' || this.storageUsageBytes === null) {
|
|
794
|
+
return new _ValidationError["default"]("storageUsageBytes", "undefined or null");
|
|
795
|
+
}
|
|
796
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.storageUsageBytes, 150)) {
|
|
797
|
+
return new _ValidationError["default"]("storageUsageBytes", "does not satisfy required maxItems constraint: 150");
|
|
798
|
+
}
|
|
799
|
+
if (!_ValidationUtils["default"].validateMinItems(this.storageUsageBytes, 1)) {
|
|
800
|
+
return new _ValidationError["default"]("storageUsageBytes", "does not satisfy required minItems constraint: 1");
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
if (property === "inboundBytesPerSecond") {
|
|
804
|
+
if (typeof this.inboundBytesPerSecond === 'undefined' || this.inboundBytesPerSecond === null) {
|
|
805
|
+
return new _ValidationError["default"]("inboundBytesPerSecond", "undefined or null");
|
|
806
|
+
}
|
|
807
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.inboundBytesPerSecond, 150)) {
|
|
808
|
+
return new _ValidationError["default"]("inboundBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
809
|
+
}
|
|
810
|
+
if (!_ValidationUtils["default"].validateMinItems(this.inboundBytesPerSecond, 1)) {
|
|
811
|
+
return new _ValidationError["default"]("inboundBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
if (property === "outboundBytesPerSecond") {
|
|
815
|
+
if (typeof this.outboundBytesPerSecond === 'undefined' || this.outboundBytesPerSecond === null) {
|
|
816
|
+
return new _ValidationError["default"]("outboundBytesPerSecond", "undefined or null");
|
|
817
|
+
}
|
|
818
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.outboundBytesPerSecond, 150)) {
|
|
819
|
+
return new _ValidationError["default"]("outboundBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
820
|
+
}
|
|
821
|
+
if (!_ValidationUtils["default"].validateMinItems(this.outboundBytesPerSecond, 1)) {
|
|
822
|
+
return new _ValidationError["default"]("outboundBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
if (property === "getRequestThroughputBytesPerSecond") {
|
|
826
|
+
if (typeof this.getRequestThroughputBytesPerSecond === 'undefined' || this.getRequestThroughputBytesPerSecond === null) {
|
|
827
|
+
return new _ValidationError["default"]("getRequestThroughputBytesPerSecond", "undefined or null");
|
|
828
|
+
}
|
|
829
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.getRequestThroughputBytesPerSecond, 150)) {
|
|
830
|
+
return new _ValidationError["default"]("getRequestThroughputBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
831
|
+
}
|
|
832
|
+
if (!_ValidationUtils["default"].validateMinItems(this.getRequestThroughputBytesPerSecond, 1)) {
|
|
833
|
+
return new _ValidationError["default"]("getRequestThroughputBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
if (property === "putRequestThroughputBytesPerSecond") {
|
|
837
|
+
if (typeof this.putRequestThroughputBytesPerSecond === 'undefined' || this.putRequestThroughputBytesPerSecond === null) {
|
|
838
|
+
return new _ValidationError["default"]("putRequestThroughputBytesPerSecond", "undefined or null");
|
|
839
|
+
}
|
|
840
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.putRequestThroughputBytesPerSecond, 150)) {
|
|
841
|
+
return new _ValidationError["default"]("putRequestThroughputBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
842
|
+
}
|
|
843
|
+
if (!_ValidationUtils["default"].validateMinItems(this.putRequestThroughputBytesPerSecond, 1)) {
|
|
844
|
+
return new _ValidationError["default"]("putRequestThroughputBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
if (property === "postRequestsPerSecond") {
|
|
848
|
+
if (typeof this.postRequestsPerSecond === 'undefined' || this.postRequestsPerSecond === null) {
|
|
849
|
+
return new _ValidationError["default"]("postRequestsPerSecond", "undefined or null");
|
|
850
|
+
}
|
|
851
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.postRequestsPerSecond, 150)) {
|
|
852
|
+
return new _ValidationError["default"]("postRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
853
|
+
}
|
|
854
|
+
if (!_ValidationUtils["default"].validateMinItems(this.postRequestsPerSecond, 1)) {
|
|
855
|
+
return new _ValidationError["default"]("postRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
if (property === "headRequestsPerSecond") {
|
|
859
|
+
if (typeof this.headRequestsPerSecond === 'undefined' || this.headRequestsPerSecond === null) {
|
|
860
|
+
return new _ValidationError["default"]("headRequestsPerSecond", "undefined or null");
|
|
861
|
+
}
|
|
862
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.headRequestsPerSecond, 150)) {
|
|
863
|
+
return new _ValidationError["default"]("headRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
864
|
+
}
|
|
865
|
+
if (!_ValidationUtils["default"].validateMinItems(this.headRequestsPerSecond, 1)) {
|
|
866
|
+
return new _ValidationError["default"]("headRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
if (property === "getRequestsPerSecond") {
|
|
870
|
+
if (typeof this.getRequestsPerSecond === 'undefined' || this.getRequestsPerSecond === null) {
|
|
871
|
+
return new _ValidationError["default"]("getRequestsPerSecond", "undefined or null");
|
|
872
|
+
}
|
|
873
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.getRequestsPerSecond, 150)) {
|
|
874
|
+
return new _ValidationError["default"]("getRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
875
|
+
}
|
|
876
|
+
if (!_ValidationUtils["default"].validateMinItems(this.getRequestsPerSecond, 1)) {
|
|
877
|
+
return new _ValidationError["default"]("getRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
if (property === "putRequestsPerSecond") {
|
|
881
|
+
if (typeof this.putRequestsPerSecond === 'undefined' || this.putRequestsPerSecond === null) {
|
|
882
|
+
return new _ValidationError["default"]("putRequestsPerSecond", "undefined or null");
|
|
883
|
+
}
|
|
884
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.putRequestsPerSecond, 150)) {
|
|
885
|
+
return new _ValidationError["default"]("putRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
886
|
+
}
|
|
887
|
+
if (!_ValidationUtils["default"].validateMinItems(this.putRequestsPerSecond, 1)) {
|
|
888
|
+
return new _ValidationError["default"]("putRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
if (property === "deleteRequestsPerSecond") {
|
|
892
|
+
if (typeof this.deleteRequestsPerSecond === 'undefined' || this.deleteRequestsPerSecond === null) {
|
|
893
|
+
return new _ValidationError["default"]("deleteRequestsPerSecond", "undefined or null");
|
|
894
|
+
}
|
|
895
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.deleteRequestsPerSecond, 150)) {
|
|
896
|
+
return new _ValidationError["default"]("deleteRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
897
|
+
}
|
|
898
|
+
if (!_ValidationUtils["default"].validateMinItems(this.deleteRequestsPerSecond, 1)) {
|
|
899
|
+
return new _ValidationError["default"]("deleteRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
if (property === "objectOperationsPerSecond") {
|
|
903
|
+
if (typeof this.objectOperationsPerSecond === 'undefined' || this.objectOperationsPerSecond === null) {
|
|
904
|
+
return new _ValidationError["default"]("objectOperationsPerSecond", "undefined or null");
|
|
905
|
+
}
|
|
906
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.objectOperationsPerSecond, 150)) {
|
|
907
|
+
return new _ValidationError["default"]("objectOperationsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
908
|
+
}
|
|
909
|
+
if (!_ValidationUtils["default"].validateMinItems(this.objectOperationsPerSecond, 1)) {
|
|
910
|
+
return new _ValidationError["default"]("objectOperationsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
if (property === "getObjectTtfbMsecs") {
|
|
914
|
+
if (typeof this.getObjectTtfbMsecs === 'undefined' || this.getObjectTtfbMsecs === null) {
|
|
915
|
+
return new _ValidationError["default"]("getObjectTtfbMsecs", "undefined or null");
|
|
916
|
+
}
|
|
917
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.getObjectTtfbMsecs, 150)) {
|
|
918
|
+
return new _ValidationError["default"]("getObjectTtfbMsecs", "does not satisfy required maxItems constraint: 150");
|
|
919
|
+
}
|
|
920
|
+
if (!_ValidationUtils["default"].validateMinItems(this.getObjectTtfbMsecs, 1)) {
|
|
921
|
+
return new _ValidationError["default"]("getObjectTtfbMsecs", "does not satisfy required minItems constraint: 1");
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
if (property === "getBucketOperationsPerSecond") {
|
|
925
|
+
if (typeof this.getBucketOperationsPerSecond === 'undefined' || this.getBucketOperationsPerSecond === null) {
|
|
926
|
+
return new _ValidationError["default"]("getBucketOperationsPerSecond", "undefined or null");
|
|
927
|
+
}
|
|
928
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.getBucketOperationsPerSecond, 150)) {
|
|
929
|
+
return new _ValidationError["default"]("getBucketOperationsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
930
|
+
}
|
|
931
|
+
if (!_ValidationUtils["default"].validateMinItems(this.getBucketOperationsPerSecond, 1)) {
|
|
932
|
+
return new _ValidationError["default"]("getBucketOperationsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
if (property === "listMultipartUploadsOperationsPerSecond") {
|
|
936
|
+
if (typeof this.listMultipartUploadsOperationsPerSecond === 'undefined' || this.listMultipartUploadsOperationsPerSecond === null) {
|
|
937
|
+
return new _ValidationError["default"]("listMultipartUploadsOperationsPerSecond", "undefined or null");
|
|
938
|
+
}
|
|
939
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.listMultipartUploadsOperationsPerSecond, 150)) {
|
|
940
|
+
return new _ValidationError["default"]("listMultipartUploadsOperationsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
941
|
+
}
|
|
942
|
+
if (!_ValidationUtils["default"].validateMinItems(this.listMultipartUploadsOperationsPerSecond, 1)) {
|
|
943
|
+
return new _ValidationError["default"]("listMultipartUploadsOperationsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
if (property === "multipartUploadStartOperationsPerSecond") {
|
|
947
|
+
if (typeof this.multipartUploadStartOperationsPerSecond === 'undefined' || this.multipartUploadStartOperationsPerSecond === null) {
|
|
948
|
+
return new _ValidationError["default"]("multipartUploadStartOperationsPerSecond", "undefined or null");
|
|
949
|
+
}
|
|
950
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.multipartUploadStartOperationsPerSecond, 150)) {
|
|
951
|
+
return new _ValidationError["default"]("multipartUploadStartOperationsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
952
|
+
}
|
|
953
|
+
if (!_ValidationUtils["default"].validateMinItems(this.multipartUploadStartOperationsPerSecond, 1)) {
|
|
954
|
+
return new _ValidationError["default"]("multipartUploadStartOperationsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
if (property === "selectObjectContentOperationsPerSecond") {
|
|
958
|
+
if (typeof this.selectObjectContentOperationsPerSecond === 'undefined' || this.selectObjectContentOperationsPerSecond === null) {
|
|
959
|
+
return new _ValidationError["default"]("selectObjectContentOperationsPerSecond", "undefined or null");
|
|
960
|
+
}
|
|
961
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.selectObjectContentOperationsPerSecond, 150)) {
|
|
962
|
+
return new _ValidationError["default"]("selectObjectContentOperationsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
963
|
+
}
|
|
964
|
+
if (!_ValidationUtils["default"].validateMinItems(this.selectObjectContentOperationsPerSecond, 1)) {
|
|
965
|
+
return new _ValidationError["default"]("selectObjectContentOperationsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
if (property === "nfsReadRequestsPerSecond") {
|
|
969
|
+
if (typeof this.nfsReadRequestsPerSecond === 'undefined' || this.nfsReadRequestsPerSecond === null) {
|
|
970
|
+
return new _ValidationError["default"]("nfsReadRequestsPerSecond", "undefined or null");
|
|
971
|
+
}
|
|
972
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.nfsReadRequestsPerSecond, 150)) {
|
|
973
|
+
return new _ValidationError["default"]("nfsReadRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
974
|
+
}
|
|
975
|
+
if (!_ValidationUtils["default"].validateMinItems(this.nfsReadRequestsPerSecond, 1)) {
|
|
976
|
+
return new _ValidationError["default"]("nfsReadRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
if (property === "nfsWriteRequestsPerSecond") {
|
|
980
|
+
if (typeof this.nfsWriteRequestsPerSecond === 'undefined' || this.nfsWriteRequestsPerSecond === null) {
|
|
981
|
+
return new _ValidationError["default"]("nfsWriteRequestsPerSecond", "undefined or null");
|
|
982
|
+
}
|
|
983
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.nfsWriteRequestsPerSecond, 150)) {
|
|
984
|
+
return new _ValidationError["default"]("nfsWriteRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
985
|
+
}
|
|
986
|
+
if (!_ValidationUtils["default"].validateMinItems(this.nfsWriteRequestsPerSecond, 1)) {
|
|
987
|
+
return new _ValidationError["default"]("nfsWriteRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
if (property === "nfsReadThroughputBytesPerSecond") {
|
|
991
|
+
if (typeof this.nfsReadThroughputBytesPerSecond === 'undefined' || this.nfsReadThroughputBytesPerSecond === null) {
|
|
992
|
+
return new _ValidationError["default"]("nfsReadThroughputBytesPerSecond", "undefined or null");
|
|
993
|
+
}
|
|
994
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.nfsReadThroughputBytesPerSecond, 150)) {
|
|
995
|
+
return new _ValidationError["default"]("nfsReadThroughputBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
996
|
+
}
|
|
997
|
+
if (!_ValidationUtils["default"].validateMinItems(this.nfsReadThroughputBytesPerSecond, 1)) {
|
|
998
|
+
return new _ValidationError["default"]("nfsReadThroughputBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
if (property === "nfsWriteThroughputBytesPerSecond") {
|
|
1002
|
+
if (typeof this.nfsWriteThroughputBytesPerSecond === 'undefined' || this.nfsWriteThroughputBytesPerSecond === null) {
|
|
1003
|
+
return new _ValidationError["default"]("nfsWriteThroughputBytesPerSecond", "undefined or null");
|
|
1004
|
+
}
|
|
1005
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.nfsWriteThroughputBytesPerSecond, 150)) {
|
|
1006
|
+
return new _ValidationError["default"]("nfsWriteThroughputBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
1007
|
+
}
|
|
1008
|
+
if (!_ValidationUtils["default"].validateMinItems(this.nfsWriteThroughputBytesPerSecond, 1)) {
|
|
1009
|
+
return new _ValidationError["default"]("nfsWriteThroughputBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
1013
|
+
}
|
|
1014
|
+
}], [{
|
|
1015
|
+
key: "constructFromObject",
|
|
1016
|
+
value: function constructFromObject(data) {
|
|
1017
|
+
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
1018
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
1019
|
+
var items, item, i, itemArr, discriminator;
|
|
1020
|
+
if (data) {
|
|
1021
|
+
obj = obj || new ObjectstoreStats();
|
|
1022
|
+
_ExternalizableAbstractModel["default"].constructFromObject(data, obj, true);
|
|
1023
|
+
if (data.hasOwnProperty('objectCount') && data.objectCount !== null && data.objectCount !== undefined) {
|
|
1024
|
+
itemArr = [];
|
|
1025
|
+
items = data.objectCount;
|
|
1026
|
+
for (i = 0; i < items.length; i++) {
|
|
1027
|
+
item = _TimeIntValuePair["default"].constructFromObject(items[i], undefined);
|
|
1028
|
+
itemArr.push(item);
|
|
1029
|
+
}
|
|
1030
|
+
obj.setObjectCount(itemArr);
|
|
1031
|
+
}
|
|
1032
|
+
if (data.hasOwnProperty('bucketCount') && data.bucketCount !== null && data.bucketCount !== undefined) {
|
|
1033
|
+
itemArr = [];
|
|
1034
|
+
items = data.bucketCount;
|
|
1035
|
+
for (i = 0; i < items.length; i++) {
|
|
1036
|
+
item = _TimeIntValuePair["default"].constructFromObject(items[i], undefined);
|
|
1037
|
+
itemArr.push(item);
|
|
1038
|
+
}
|
|
1039
|
+
obj.setBucketCount(itemArr);
|
|
1040
|
+
}
|
|
1041
|
+
if (data.hasOwnProperty('storageUsageBytes') && data.storageUsageBytes !== null && data.storageUsageBytes !== undefined) {
|
|
1042
|
+
itemArr = [];
|
|
1043
|
+
items = data.storageUsageBytes;
|
|
1044
|
+
for (i = 0; i < items.length; i++) {
|
|
1045
|
+
item = _TimeIntValuePair["default"].constructFromObject(items[i], undefined);
|
|
1046
|
+
itemArr.push(item);
|
|
1047
|
+
}
|
|
1048
|
+
obj.setStorageUsageBytes(itemArr);
|
|
1049
|
+
}
|
|
1050
|
+
if (data.hasOwnProperty('inboundBytesPerSecond') && data.inboundBytesPerSecond !== null && data.inboundBytesPerSecond !== undefined) {
|
|
1051
|
+
itemArr = [];
|
|
1052
|
+
items = data.inboundBytesPerSecond;
|
|
1053
|
+
for (i = 0; i < items.length; i++) {
|
|
1054
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1055
|
+
itemArr.push(item);
|
|
1056
|
+
}
|
|
1057
|
+
obj.setInboundBytesPerSecond(itemArr);
|
|
1058
|
+
}
|
|
1059
|
+
if (data.hasOwnProperty('outboundBytesPerSecond') && data.outboundBytesPerSecond !== null && data.outboundBytesPerSecond !== undefined) {
|
|
1060
|
+
itemArr = [];
|
|
1061
|
+
items = data.outboundBytesPerSecond;
|
|
1062
|
+
for (i = 0; i < items.length; i++) {
|
|
1063
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1064
|
+
itemArr.push(item);
|
|
1065
|
+
}
|
|
1066
|
+
obj.setOutboundBytesPerSecond(itemArr);
|
|
1067
|
+
}
|
|
1068
|
+
if (data.hasOwnProperty('getRequestThroughputBytesPerSecond') && data.getRequestThroughputBytesPerSecond !== null && data.getRequestThroughputBytesPerSecond !== undefined) {
|
|
1069
|
+
itemArr = [];
|
|
1070
|
+
items = data.getRequestThroughputBytesPerSecond;
|
|
1071
|
+
for (i = 0; i < items.length; i++) {
|
|
1072
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1073
|
+
itemArr.push(item);
|
|
1074
|
+
}
|
|
1075
|
+
obj.setGetRequestThroughputBytesPerSecond(itemArr);
|
|
1076
|
+
}
|
|
1077
|
+
if (data.hasOwnProperty('putRequestThroughputBytesPerSecond') && data.putRequestThroughputBytesPerSecond !== null && data.putRequestThroughputBytesPerSecond !== undefined) {
|
|
1078
|
+
itemArr = [];
|
|
1079
|
+
items = data.putRequestThroughputBytesPerSecond;
|
|
1080
|
+
for (i = 0; i < items.length; i++) {
|
|
1081
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1082
|
+
itemArr.push(item);
|
|
1083
|
+
}
|
|
1084
|
+
obj.setPutRequestThroughputBytesPerSecond(itemArr);
|
|
1085
|
+
}
|
|
1086
|
+
if (data.hasOwnProperty('postRequestsPerSecond') && data.postRequestsPerSecond !== null && data.postRequestsPerSecond !== undefined) {
|
|
1087
|
+
itemArr = [];
|
|
1088
|
+
items = data.postRequestsPerSecond;
|
|
1089
|
+
for (i = 0; i < items.length; i++) {
|
|
1090
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1091
|
+
itemArr.push(item);
|
|
1092
|
+
}
|
|
1093
|
+
obj.setPostRequestsPerSecond(itemArr);
|
|
1094
|
+
}
|
|
1095
|
+
if (data.hasOwnProperty('headRequestsPerSecond') && data.headRequestsPerSecond !== null && data.headRequestsPerSecond !== undefined) {
|
|
1096
|
+
itemArr = [];
|
|
1097
|
+
items = data.headRequestsPerSecond;
|
|
1098
|
+
for (i = 0; i < items.length; i++) {
|
|
1099
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1100
|
+
itemArr.push(item);
|
|
1101
|
+
}
|
|
1102
|
+
obj.setHeadRequestsPerSecond(itemArr);
|
|
1103
|
+
}
|
|
1104
|
+
if (data.hasOwnProperty('getRequestsPerSecond') && data.getRequestsPerSecond !== null && data.getRequestsPerSecond !== undefined) {
|
|
1105
|
+
itemArr = [];
|
|
1106
|
+
items = data.getRequestsPerSecond;
|
|
1107
|
+
for (i = 0; i < items.length; i++) {
|
|
1108
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1109
|
+
itemArr.push(item);
|
|
1110
|
+
}
|
|
1111
|
+
obj.setGetRequestsPerSecond(itemArr);
|
|
1112
|
+
}
|
|
1113
|
+
if (data.hasOwnProperty('putRequestsPerSecond') && data.putRequestsPerSecond !== null && data.putRequestsPerSecond !== undefined) {
|
|
1114
|
+
itemArr = [];
|
|
1115
|
+
items = data.putRequestsPerSecond;
|
|
1116
|
+
for (i = 0; i < items.length; i++) {
|
|
1117
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1118
|
+
itemArr.push(item);
|
|
1119
|
+
}
|
|
1120
|
+
obj.setPutRequestsPerSecond(itemArr);
|
|
1121
|
+
}
|
|
1122
|
+
if (data.hasOwnProperty('deleteRequestsPerSecond') && data.deleteRequestsPerSecond !== null && data.deleteRequestsPerSecond !== undefined) {
|
|
1123
|
+
itemArr = [];
|
|
1124
|
+
items = data.deleteRequestsPerSecond;
|
|
1125
|
+
for (i = 0; i < items.length; i++) {
|
|
1126
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1127
|
+
itemArr.push(item);
|
|
1128
|
+
}
|
|
1129
|
+
obj.setDeleteRequestsPerSecond(itemArr);
|
|
1130
|
+
}
|
|
1131
|
+
if (data.hasOwnProperty('objectOperationsPerSecond') && data.objectOperationsPerSecond !== null && data.objectOperationsPerSecond !== undefined) {
|
|
1132
|
+
itemArr = [];
|
|
1133
|
+
items = data.objectOperationsPerSecond;
|
|
1134
|
+
for (i = 0; i < items.length; i++) {
|
|
1135
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1136
|
+
itemArr.push(item);
|
|
1137
|
+
}
|
|
1138
|
+
obj.setObjectOperationsPerSecond(itemArr);
|
|
1139
|
+
}
|
|
1140
|
+
if (data.hasOwnProperty('getObjectTtfbMsecs') && data.getObjectTtfbMsecs !== null && data.getObjectTtfbMsecs !== undefined) {
|
|
1141
|
+
itemArr = [];
|
|
1142
|
+
items = data.getObjectTtfbMsecs;
|
|
1143
|
+
for (i = 0; i < items.length; i++) {
|
|
1144
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1145
|
+
itemArr.push(item);
|
|
1146
|
+
}
|
|
1147
|
+
obj.setGetObjectTtfbMsecs(itemArr);
|
|
1148
|
+
}
|
|
1149
|
+
if (data.hasOwnProperty('getBucketOperationsPerSecond') && data.getBucketOperationsPerSecond !== null && data.getBucketOperationsPerSecond !== undefined) {
|
|
1150
|
+
itemArr = [];
|
|
1151
|
+
items = data.getBucketOperationsPerSecond;
|
|
1152
|
+
for (i = 0; i < items.length; i++) {
|
|
1153
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1154
|
+
itemArr.push(item);
|
|
1155
|
+
}
|
|
1156
|
+
obj.setGetBucketOperationsPerSecond(itemArr);
|
|
1157
|
+
}
|
|
1158
|
+
if (data.hasOwnProperty('listMultipartUploadsOperationsPerSecond') && data.listMultipartUploadsOperationsPerSecond !== null && data.listMultipartUploadsOperationsPerSecond !== undefined) {
|
|
1159
|
+
itemArr = [];
|
|
1160
|
+
items = data.listMultipartUploadsOperationsPerSecond;
|
|
1161
|
+
for (i = 0; i < items.length; i++) {
|
|
1162
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1163
|
+
itemArr.push(item);
|
|
1164
|
+
}
|
|
1165
|
+
obj.setListMultipartUploadsOperationsPerSecond(itemArr);
|
|
1166
|
+
}
|
|
1167
|
+
if (data.hasOwnProperty('multipartUploadStartOperationsPerSecond') && data.multipartUploadStartOperationsPerSecond !== null && data.multipartUploadStartOperationsPerSecond !== undefined) {
|
|
1168
|
+
itemArr = [];
|
|
1169
|
+
items = data.multipartUploadStartOperationsPerSecond;
|
|
1170
|
+
for (i = 0; i < items.length; i++) {
|
|
1171
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1172
|
+
itemArr.push(item);
|
|
1173
|
+
}
|
|
1174
|
+
obj.setMultipartUploadStartOperationsPerSecond(itemArr);
|
|
1175
|
+
}
|
|
1176
|
+
if (data.hasOwnProperty('selectObjectContentOperationsPerSecond') && data.selectObjectContentOperationsPerSecond !== null && data.selectObjectContentOperationsPerSecond !== undefined) {
|
|
1177
|
+
itemArr = [];
|
|
1178
|
+
items = data.selectObjectContentOperationsPerSecond;
|
|
1179
|
+
for (i = 0; i < items.length; i++) {
|
|
1180
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1181
|
+
itemArr.push(item);
|
|
1182
|
+
}
|
|
1183
|
+
obj.setSelectObjectContentOperationsPerSecond(itemArr);
|
|
1184
|
+
}
|
|
1185
|
+
if (data.hasOwnProperty('nfsReadRequestsPerSecond') && data.nfsReadRequestsPerSecond !== null && data.nfsReadRequestsPerSecond !== undefined) {
|
|
1186
|
+
itemArr = [];
|
|
1187
|
+
items = data.nfsReadRequestsPerSecond;
|
|
1188
|
+
for (i = 0; i < items.length; i++) {
|
|
1189
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1190
|
+
itemArr.push(item);
|
|
1191
|
+
}
|
|
1192
|
+
obj.setNfsReadRequestsPerSecond(itemArr);
|
|
1193
|
+
}
|
|
1194
|
+
if (data.hasOwnProperty('nfsWriteRequestsPerSecond') && data.nfsWriteRequestsPerSecond !== null && data.nfsWriteRequestsPerSecond !== undefined) {
|
|
1195
|
+
itemArr = [];
|
|
1196
|
+
items = data.nfsWriteRequestsPerSecond;
|
|
1197
|
+
for (i = 0; i < items.length; i++) {
|
|
1198
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1199
|
+
itemArr.push(item);
|
|
1200
|
+
}
|
|
1201
|
+
obj.setNfsWriteRequestsPerSecond(itemArr);
|
|
1202
|
+
}
|
|
1203
|
+
if (data.hasOwnProperty('nfsReadThroughputBytesPerSecond') && data.nfsReadThroughputBytesPerSecond !== null && data.nfsReadThroughputBytesPerSecond !== undefined) {
|
|
1204
|
+
itemArr = [];
|
|
1205
|
+
items = data.nfsReadThroughputBytesPerSecond;
|
|
1206
|
+
for (i = 0; i < items.length; i++) {
|
|
1207
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1208
|
+
itemArr.push(item);
|
|
1209
|
+
}
|
|
1210
|
+
obj.setNfsReadThroughputBytesPerSecond(itemArr);
|
|
1211
|
+
}
|
|
1212
|
+
if (data.hasOwnProperty('nfsWriteThroughputBytesPerSecond') && data.nfsWriteThroughputBytesPerSecond !== null && data.nfsWriteThroughputBytesPerSecond !== undefined) {
|
|
1213
|
+
itemArr = [];
|
|
1214
|
+
items = data.nfsWriteThroughputBytesPerSecond;
|
|
1215
|
+
for (i = 0; i < items.length; i++) {
|
|
1216
|
+
item = _TimeFloatValuePair["default"].constructFromObject(items[i], undefined);
|
|
1217
|
+
itemArr.push(item);
|
|
1218
|
+
}
|
|
1219
|
+
obj.setNfsWriteThroughputBytesPerSecond(itemArr);
|
|
1220
|
+
}
|
|
1221
|
+
if (!callFromChild) {
|
|
1222
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
1223
|
+
for (var property in data) {
|
|
1224
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
1225
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
1226
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
1227
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
1228
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
1229
|
+
obj.$unknownFields[property] = data[property];
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
return obj;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* Converts a given snake_case string to camelCase.
|
|
1239
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
1240
|
+
* @returns {string} - The converted string in camelCase format.
|
|
1241
|
+
*/
|
|
1242
|
+
}, {
|
|
1243
|
+
key: "snakeToCamel",
|
|
1244
|
+
value: function snakeToCamel(snakeStr) {
|
|
1245
|
+
return snakeStr.replace(/(_\w)/g, function (match) {
|
|
1246
|
+
return match[1].toUpperCase();
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
}]);
|
|
1250
|
+
}(_ExternalizableAbstractModel["default"]);
|
|
1251
|
+
/**
|
|
1252
|
+
* Number of Objects in the Object store. This stat is updated every 10 minutes. It includes the count of the incomplete multipart uploads.
|
|
1253
|
+
* @memberof ObjectstoreStats
|
|
1254
|
+
*/
|
|
1255
|
+
function _toJsonMapType(obj, forMutation) {
|
|
1256
|
+
if (obj instanceof Map) {
|
|
1257
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
1258
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
1259
|
+
k = _ref2[0],
|
|
1260
|
+
v = _ref2[1];
|
|
1261
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
1262
|
+
}));
|
|
1263
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
1264
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
1265
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
1266
|
+
}));
|
|
1267
|
+
}
|
|
1268
|
+
return obj;
|
|
1269
|
+
}
|
|
1270
|
+
/*
|
|
1271
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
1272
|
+
* @param {Object} obj Object to serialize
|
|
1273
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
1274
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
1275
|
+
*/
|
|
1276
|
+
function _handleDateType(obj, isDateOnly) {
|
|
1277
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
1278
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
1279
|
+
}
|
|
1280
|
+
return obj;
|
|
1281
|
+
}
|
|
1282
|
+
ObjectstoreStats.prototype.objectCount = undefined;
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* Number of Buckets in the Object store. This stat is updated every 10 minutes.
|
|
1286
|
+
* @memberof ObjectstoreStats
|
|
1287
|
+
*/
|
|
1288
|
+
ObjectstoreStats.prototype.bucketCount = undefined;
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* Total storage in bytes used by the Objects and Buckets. This stat is updated every 10 minutes. It includes the storage used by the incomplete multipart uploads.
|
|
1292
|
+
* @memberof ObjectstoreStats
|
|
1293
|
+
*/
|
|
1294
|
+
ObjectstoreStats.prototype.storageUsageBytes = undefined;
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* Number of bytes written per second to the Object store from operations on the Objects and Buckets.
|
|
1298
|
+
* @memberof ObjectstoreStats
|
|
1299
|
+
*/
|
|
1300
|
+
ObjectstoreStats.prototype.inboundBytesPerSecond = undefined;
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* Number of bytes read per second from the Object store from operations on the Objects and Buckets.
|
|
1304
|
+
* @memberof ObjectstoreStats
|
|
1305
|
+
*/
|
|
1306
|
+
ObjectstoreStats.prototype.outboundBytesPerSecond = undefined;
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* Throughput of HTTP GET requests in bytes per second.
|
|
1310
|
+
* @memberof ObjectstoreStats
|
|
1311
|
+
*/
|
|
1312
|
+
ObjectstoreStats.prototype.getRequestThroughputBytesPerSecond = undefined;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Throughput of HTTP PUT requests in bytes per second.
|
|
1316
|
+
* @memberof ObjectstoreStats
|
|
1317
|
+
*/
|
|
1318
|
+
ObjectstoreStats.prototype.putRequestThroughputBytesPerSecond = undefined;
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* Number of HTTP POST requests per second on the Objects and Buckets of the Object store.
|
|
1322
|
+
* @memberof ObjectstoreStats
|
|
1323
|
+
*/
|
|
1324
|
+
ObjectstoreStats.prototype.postRequestsPerSecond = undefined;
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* Number of HTTP HEAD requests per second on the Objects and Buckets of the Object store.
|
|
1328
|
+
* @memberof ObjectstoreStats
|
|
1329
|
+
*/
|
|
1330
|
+
ObjectstoreStats.prototype.headRequestsPerSecond = undefined;
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* Number of HTTP GET requests per second on the Objects and Buckets of the Object store.
|
|
1334
|
+
* @memberof ObjectstoreStats
|
|
1335
|
+
*/
|
|
1336
|
+
ObjectstoreStats.prototype.getRequestsPerSecond = undefined;
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* Number of HTTP PUT requests per second on the Objects and Buckets of the Object store.
|
|
1340
|
+
* @memberof ObjectstoreStats
|
|
1341
|
+
*/
|
|
1342
|
+
ObjectstoreStats.prototype.putRequestsPerSecond = undefined;
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* Number of HTTP DELETE requests per second on the Objects and Buckets of the Object store.
|
|
1346
|
+
* @memberof ObjectstoreStats
|
|
1347
|
+
*/
|
|
1348
|
+
ObjectstoreStats.prototype.deleteRequestsPerSecond = undefined;
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Number of operations per second on the objects of the Object store.
|
|
1352
|
+
* @memberof ObjectstoreStats
|
|
1353
|
+
*/
|
|
1354
|
+
ObjectstoreStats.prototype.objectOperationsPerSecond = undefined;
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* Time to the first byte in milliseconds for Get Object requests.
|
|
1358
|
+
* @memberof ObjectstoreStats
|
|
1359
|
+
*/
|
|
1360
|
+
ObjectstoreStats.prototype.getObjectTtfbMsecs = undefined;
|
|
1361
|
+
|
|
1362
|
+
/**
|
|
1363
|
+
* Number of GetBucket operations per second.
|
|
1364
|
+
* @memberof ObjectstoreStats
|
|
1365
|
+
*/
|
|
1366
|
+
ObjectstoreStats.prototype.getBucketOperationsPerSecond = undefined;
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* The number of ListMultipartUploads operations per second.
|
|
1370
|
+
* @memberof ObjectstoreStats
|
|
1371
|
+
*/
|
|
1372
|
+
ObjectstoreStats.prototype.listMultipartUploadsOperationsPerSecond = undefined;
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* The number of CreateMultipartUpload operations per second.
|
|
1376
|
+
* @memberof ObjectstoreStats
|
|
1377
|
+
*/
|
|
1378
|
+
ObjectstoreStats.prototype.multipartUploadStartOperationsPerSecond = undefined;
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* The number of SelectObjectContent operations per second.
|
|
1382
|
+
* @memberof ObjectstoreStats
|
|
1383
|
+
*/
|
|
1384
|
+
ObjectstoreStats.prototype.selectObjectContentOperationsPerSecond = undefined;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* Number of Network File System (NFS) read requests per second on the objects of the Object store.
|
|
1388
|
+
* @memberof ObjectstoreStats
|
|
1389
|
+
*/
|
|
1390
|
+
ObjectstoreStats.prototype.nfsReadRequestsPerSecond = undefined;
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* Number of Network File System (NFS) write requests per second on the objects of the Object store.
|
|
1394
|
+
* @memberof ObjectstoreStats
|
|
1395
|
+
*/
|
|
1396
|
+
ObjectstoreStats.prototype.nfsWriteRequestsPerSecond = undefined;
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* Throughput of Network File System (NFS) read operations in bytes per second on the objects of the Object store.
|
|
1400
|
+
* @memberof ObjectstoreStats
|
|
1401
|
+
*/
|
|
1402
|
+
ObjectstoreStats.prototype.nfsReadThroughputBytesPerSecond = undefined;
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* Throughput of Network File System (NFS) write operations in bytes per second on the objects of the Object store.
|
|
1406
|
+
* @memberof ObjectstoreStats
|
|
1407
|
+
*/
|
|
1408
|
+
ObjectstoreStats.prototype.nfsWriteThroughputBytesPerSecond = undefined;
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* A globally unique identifier of an instance that is suitable for external consumption.
|
|
1412
|
+
* @memberof ObjectstoreStats
|
|
1413
|
+
*/
|
|
1414
|
+
_ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
1415
|
+
/**
|
|
1416
|
+
* 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.
|
|
1417
|
+
* @memberof ObjectstoreStats
|
|
1418
|
+
*/
|
|
1419
|
+
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
1420
|
+
/**
|
|
1421
|
+
* 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).
|
|
1422
|
+
* @memberof ObjectstoreStats
|
|
1423
|
+
*/
|
|
1424
|
+
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
1425
|
+
// Implement OneOfobjects.v4.stats.GetObjectstoreStatsApiResponsedata interface:
|