@nutanix-scratch/objects-js-client 4.0.1 → 4.0.3
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/README.md +31 -18
- package/dist/Ntnx-Objects-js-client-prod.js +1 -1
- package/dist/Ntnx-Objects-js-client.js +289 -283
- package/dist/es/ApiClient.d.ts +35 -7
- package/dist/es/ApiClient.js +862 -684
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +144 -183
- package/dist/es/apis/objectstores-endpoints.d.ts +5 -69
- package/dist/es/apis/objectstores-endpoints.js +406 -479
- package/dist/es/apis/stats-endpoints.d.ts +3 -25
- package/dist/es/apis/stats-endpoints.js +75 -107
- package/dist/es/index.js +120 -120
- package/dist/es/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/es/models/common/v1/config/FQDN.js +141 -180
- package/dist/es/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/es/models/common/v1/config/Flag.js +170 -211
- package/dist/es/models/common/v1/config/IPAddress.d.ts +2 -20
- package/dist/es/models/common/v1/config/IPAddress.js +170 -217
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/es/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/es/models/common/v1/config/KVPair.js +225 -270
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/es/models/common/v1/config/Message.d.ts +2 -10
- package/dist/es/models/common/v1/config/Message.js +213 -258
- package/dist/es/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/es/models/common/v1/config/Metadata.d.ts +2 -11
- package/dist/es/models/common/v1/config/Metadata.js +261 -308
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +5 -10
- package/dist/es/models/common/v1/config/TenantAwareModel.js +138 -178
- package/dist/es/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/es/models/common/v1/response/ApiLink.js +165 -206
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +155 -203
- package/dist/es/models/common/v1/stats/DownSamplingOperator.js +7 -9
- package/dist/es/models/common/v1/stats/TimeIntValuePair.d.ts +2 -8
- package/dist/es/models/common/v1/stats/TimeIntValuePair.js +165 -206
- package/dist/es/models/objects/v4/config/Certificate.d.ts +1 -58
- package/dist/es/models/objects/v4/config/Certificate.js +319 -381
- package/dist/es/models/objects/v4/config/CertificateProjection.d.ts +1 -1
- package/dist/es/models/objects/v4/config/CertificateProjection.js +73 -102
- package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.d.ts +2 -45
- package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.js +185 -240
- package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.js +185 -240
- package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.js +185 -240
- package/dist/es/models/objects/v4/config/GetCaApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/GetCaApiResponse.js +185 -240
- package/dist/es/models/objects/v4/config/GetCertificateApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/GetCertificateApiResponse.js +185 -240
- package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +2 -45
- package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.js +185 -240
- package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.js +211 -266
- package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.js +211 -266
- package/dist/es/models/objects/v4/config/ObjectStore.d.ts +1 -96
- package/dist/es/models/objects/v4/config/ObjectStore.js +628 -711
- package/dist/es/models/objects/v4/config/ObjectStoreProjection.d.ts +1 -152
- package/dist/es/models/objects/v4/config/ObjectStoreProjection.js +221 -238
- package/dist/es/models/objects/v4/config/State.js +7 -9
- package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.js +185 -240
- package/dist/es/models/objects/v4/error/AppMessage.d.ts +5 -15
- package/dist/es/models/objects/v4/error/AppMessage.js +264 -313
- package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/es/models/objects/v4/error/ErrorResponse.js +174 -217
- package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/es/models/objects/v4/error/SchemaValidationError.js +248 -299
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +190 -233
- package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +2 -43
- package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +185 -240
- package/dist/es/models/objects/v4/stats/ObjectstoreStats.d.ts +1 -169
- package/dist/es/models/objects/v4/stats/ObjectstoreStats.js +957 -1129
- package/dist/es/models/objects/v4/stats/TimeFloatValuePair.d.ts +2 -8
- package/dist/es/models/objects/v4/stats/TimeFloatValuePair.js +165 -206
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +5 -10
- package/dist/es/models/prism/v4/config/TaskReference.js +143 -182
- package/dist/es/models/validation/ValidationError.js +26 -42
- package/dist/es/models/validation/ValidationScopes.js +3 -3
- package/dist/es/utils/ValidationUtils.js +39 -69
- package/dist/lib/ApiClient.d.ts +35 -7
- package/dist/lib/ApiClient.js +862 -684
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +144 -183
- package/dist/lib/apis/objectstores-endpoints.d.ts +5 -69
- package/dist/lib/apis/objectstores-endpoints.js +406 -479
- package/dist/lib/apis/stats-endpoints.d.ts +3 -25
- package/dist/lib/apis/stats-endpoints.js +75 -107
- package/dist/lib/index.js +120 -120
- package/dist/lib/models/common/v1/config/FQDN.d.ts +2 -7
- package/dist/lib/models/common/v1/config/FQDN.js +141 -180
- package/dist/lib/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/lib/models/common/v1/config/Flag.js +170 -211
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +2 -20
- package/dist/lib/models/common/v1/config/IPAddress.js +170 -217
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/lib/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/lib/models/common/v1/config/KVPair.js +225 -270
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/lib/models/common/v1/config/Message.d.ts +2 -10
- package/dist/lib/models/common/v1/config/Message.js +213 -258
- package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/lib/models/common/v1/config/Metadata.d.ts +2 -11
- package/dist/lib/models/common/v1/config/Metadata.js +261 -308
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +5 -10
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +138 -178
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/lib/models/common/v1/response/ApiLink.js +165 -206
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +155 -203
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +7 -9
- package/dist/lib/models/common/v1/stats/TimeIntValuePair.d.ts +2 -8
- package/dist/lib/models/common/v1/stats/TimeIntValuePair.js +165 -206
- package/dist/lib/models/objects/v4/config/Certificate.d.ts +1 -58
- package/dist/lib/models/objects/v4/config/Certificate.js +319 -381
- package/dist/lib/models/objects/v4/config/CertificateProjection.d.ts +1 -1
- package/dist/lib/models/objects/v4/config/CertificateProjection.js +73 -102
- package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.d.ts +2 -45
- package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.js +185 -240
- package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.js +185 -240
- package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.js +185 -240
- package/dist/lib/models/objects/v4/config/GetCaApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/GetCaApiResponse.js +185 -240
- package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.js +185 -240
- package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +2 -45
- package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.js +185 -240
- package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.js +211 -266
- package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.js +211 -266
- package/dist/lib/models/objects/v4/config/ObjectStore.d.ts +1 -96
- package/dist/lib/models/objects/v4/config/ObjectStore.js +628 -711
- package/dist/lib/models/objects/v4/config/ObjectStoreProjection.d.ts +1 -152
- package/dist/lib/models/objects/v4/config/ObjectStoreProjection.js +221 -238
- package/dist/lib/models/objects/v4/config/State.js +7 -9
- package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.js +185 -240
- package/dist/lib/models/objects/v4/error/AppMessage.d.ts +5 -15
- package/dist/lib/models/objects/v4/error/AppMessage.js +264 -313
- package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/lib/models/objects/v4/error/ErrorResponse.js +174 -217
- package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/lib/models/objects/v4/error/SchemaValidationError.js +248 -299
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +190 -233
- package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +2 -43
- package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +185 -240
- package/dist/lib/models/objects/v4/stats/ObjectstoreStats.d.ts +1 -169
- package/dist/lib/models/objects/v4/stats/ObjectstoreStats.js +957 -1129
- package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.d.ts +2 -8
- package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.js +165 -206
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +5 -10
- package/dist/lib/models/prism/v4/config/TaskReference.js +143 -182
- package/dist/lib/models/validation/ValidationError.js +26 -42
- package/dist/lib/models/validation/ValidationScopes.js +3 -3
- package/dist/lib/utils/ValidationUtils.js +39 -69
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/config/TenantAwareModel"));
|
|
8
8
|
var _ApiLink = _interopRequireDefault(require("../../../common/v1/response/ApiLink"));
|
|
9
9
|
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
@@ -12,38 +12,16 @@ var _TimeFloatValuePair = _interopRequireDefault(require("./TimeFloatValuePair")
|
|
|
12
12
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
13
13
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
14
14
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
15
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? 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); }
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
38
16
|
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
39
17
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
40
18
|
* Nutanix Objects Storage Management APIs
|
|
41
19
|
*
|
|
42
|
-
* OpenAPI spec version: 4.0.
|
|
20
|
+
* OpenAPI spec version: 4.0.3
|
|
43
21
|
*
|
|
44
22
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
45
23
|
*
|
|
46
|
-
* Open API Dev Platform Codegen version:
|
|
24
|
+
* Open API Dev Platform Codegen version: 17.5.1.10573-RELEASE
|
|
47
25
|
*
|
|
48
26
|
* Do not edit the class manually.
|
|
49
27
|
*
|
|
@@ -51,36 +29,33 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
51
29
|
/**
|
|
52
30
|
* The ObjectstoreStats model module.
|
|
53
31
|
* @module Ntnx/ObjectstoreStats
|
|
54
|
-
* @version 4.0.
|
|
32
|
+
* @version 4.0.3
|
|
55
33
|
* @class ObjectstoreStats
|
|
56
34
|
* @extends ExternalizableAbstractModel
|
|
57
35
|
*/
|
|
58
36
|
var _ObjectstoreStats_brand = /*#__PURE__*/new WeakSet();
|
|
59
|
-
|
|
37
|
+
class ObjectstoreStats extends _ExternalizableAbstractModel.default {
|
|
60
38
|
/**
|
|
61
39
|
* Constructs a new <code>ObjectstoreStats</code>.
|
|
62
40
|
* @alias module:Ntnx/ObjectstoreStats
|
|
63
41
|
* @extends module:Ntnx/ExternalizableAbstractModel
|
|
64
42
|
*/
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
_classCallCheck(this, ObjectstoreStats);
|
|
68
|
-
_this = _callSuper(this, ObjectstoreStats);
|
|
43
|
+
constructor() {
|
|
44
|
+
super();
|
|
69
45
|
/*
|
|
70
46
|
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
71
47
|
* @param {Object} obj
|
|
72
48
|
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
73
49
|
* Otherwise, just returns the input object.
|
|
74
50
|
*/
|
|
75
|
-
_classPrivateMethodInitSpec(
|
|
76
|
-
|
|
51
|
+
_classPrivateMethodInitSpec(this, _ObjectstoreStats_brand);
|
|
52
|
+
this.$objectType = "objects.v4.stats.ObjectstoreStats";
|
|
77
53
|
/** @type {object<string, any>} */
|
|
78
|
-
|
|
54
|
+
this.$reserved = {
|
|
79
55
|
'$fv': "v4.r0"
|
|
80
56
|
};
|
|
81
57
|
/** @type {object<string, any>} */
|
|
82
|
-
|
|
83
|
-
return _this;
|
|
58
|
+
this.$unknownFields = {};
|
|
84
59
|
}
|
|
85
60
|
|
|
86
61
|
/**
|
|
@@ -91,1177 +66,1030 @@ var ObjectstoreStats = exports["default"] = /*#__PURE__*/function (_Externalizab
|
|
|
91
66
|
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
92
67
|
* @return {module:Ntnx/ObjectstoreStats} The populated <code>ObjectstoreStats</code> instance.
|
|
93
68
|
*/
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
69
|
+
static constructFromObject(data, obj = null, callFromChild = false) {
|
|
70
|
+
let items, item, i, itemArr, discriminator;
|
|
71
|
+
if (data) {
|
|
72
|
+
obj = obj || new ObjectstoreStats();
|
|
73
|
+
_ExternalizableAbstractModel.default.constructFromObject(data, obj, true);
|
|
74
|
+
if (data.hasOwnProperty('objectCount') && data.objectCount !== null && data.objectCount !== undefined) {
|
|
75
|
+
itemArr = [];
|
|
76
|
+
items = data.objectCount;
|
|
77
|
+
for (i = 0; i < items.length; i++) {
|
|
78
|
+
item = _TimeIntValuePair.default.constructFromObject(items[i], undefined);
|
|
79
|
+
itemArr.push(item);
|
|
80
|
+
}
|
|
81
|
+
obj.setObjectCount(itemArr);
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('bucketCount') && data.bucketCount !== null && data.bucketCount !== undefined) {
|
|
84
|
+
itemArr = [];
|
|
85
|
+
items = data.bucketCount;
|
|
86
|
+
for (i = 0; i < items.length; i++) {
|
|
87
|
+
item = _TimeIntValuePair.default.constructFromObject(items[i], undefined);
|
|
88
|
+
itemArr.push(item);
|
|
89
|
+
}
|
|
90
|
+
obj.setBucketCount(itemArr);
|
|
91
|
+
}
|
|
92
|
+
if (data.hasOwnProperty('storageUsageBytes') && data.storageUsageBytes !== null && data.storageUsageBytes !== undefined) {
|
|
93
|
+
itemArr = [];
|
|
94
|
+
items = data.storageUsageBytes;
|
|
95
|
+
for (i = 0; i < items.length; i++) {
|
|
96
|
+
item = _TimeIntValuePair.default.constructFromObject(items[i], undefined);
|
|
97
|
+
itemArr.push(item);
|
|
98
|
+
}
|
|
99
|
+
obj.setStorageUsageBytes(itemArr);
|
|
100
|
+
}
|
|
101
|
+
if (data.hasOwnProperty('inboundBytesPerSecond') && data.inboundBytesPerSecond !== null && data.inboundBytesPerSecond !== undefined) {
|
|
102
|
+
itemArr = [];
|
|
103
|
+
items = data.inboundBytesPerSecond;
|
|
104
|
+
for (i = 0; i < items.length; i++) {
|
|
105
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
106
|
+
itemArr.push(item);
|
|
107
|
+
}
|
|
108
|
+
obj.setInboundBytesPerSecond(itemArr);
|
|
109
|
+
}
|
|
110
|
+
if (data.hasOwnProperty('outboundBytesPerSecond') && data.outboundBytesPerSecond !== null && data.outboundBytesPerSecond !== undefined) {
|
|
111
|
+
itemArr = [];
|
|
112
|
+
items = data.outboundBytesPerSecond;
|
|
113
|
+
for (i = 0; i < items.length; i++) {
|
|
114
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
115
|
+
itemArr.push(item);
|
|
116
|
+
}
|
|
117
|
+
obj.setOutboundBytesPerSecond(itemArr);
|
|
118
|
+
}
|
|
119
|
+
if (data.hasOwnProperty('getRequestThroughputBytesPerSecond') && data.getRequestThroughputBytesPerSecond !== null && data.getRequestThroughputBytesPerSecond !== undefined) {
|
|
120
|
+
itemArr = [];
|
|
121
|
+
items = data.getRequestThroughputBytesPerSecond;
|
|
122
|
+
for (i = 0; i < items.length; i++) {
|
|
123
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
124
|
+
itemArr.push(item);
|
|
125
|
+
}
|
|
126
|
+
obj.setGetRequestThroughputBytesPerSecond(itemArr);
|
|
127
|
+
}
|
|
128
|
+
if (data.hasOwnProperty('putRequestThroughputBytesPerSecond') && data.putRequestThroughputBytesPerSecond !== null && data.putRequestThroughputBytesPerSecond !== undefined) {
|
|
129
|
+
itemArr = [];
|
|
130
|
+
items = data.putRequestThroughputBytesPerSecond;
|
|
131
|
+
for (i = 0; i < items.length; i++) {
|
|
132
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
133
|
+
itemArr.push(item);
|
|
134
|
+
}
|
|
135
|
+
obj.setPutRequestThroughputBytesPerSecond(itemArr);
|
|
136
|
+
}
|
|
137
|
+
if (data.hasOwnProperty('postRequestsPerSecond') && data.postRequestsPerSecond !== null && data.postRequestsPerSecond !== undefined) {
|
|
138
|
+
itemArr = [];
|
|
139
|
+
items = data.postRequestsPerSecond;
|
|
140
|
+
for (i = 0; i < items.length; i++) {
|
|
141
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
142
|
+
itemArr.push(item);
|
|
143
|
+
}
|
|
144
|
+
obj.setPostRequestsPerSecond(itemArr);
|
|
145
|
+
}
|
|
146
|
+
if (data.hasOwnProperty('headRequestsPerSecond') && data.headRequestsPerSecond !== null && data.headRequestsPerSecond !== undefined) {
|
|
147
|
+
itemArr = [];
|
|
148
|
+
items = data.headRequestsPerSecond;
|
|
149
|
+
for (i = 0; i < items.length; i++) {
|
|
150
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
151
|
+
itemArr.push(item);
|
|
152
|
+
}
|
|
153
|
+
obj.setHeadRequestsPerSecond(itemArr);
|
|
154
|
+
}
|
|
155
|
+
if (data.hasOwnProperty('getRequestsPerSecond') && data.getRequestsPerSecond !== null && data.getRequestsPerSecond !== undefined) {
|
|
156
|
+
itemArr = [];
|
|
157
|
+
items = data.getRequestsPerSecond;
|
|
158
|
+
for (i = 0; i < items.length; i++) {
|
|
159
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
160
|
+
itemArr.push(item);
|
|
161
|
+
}
|
|
162
|
+
obj.setGetRequestsPerSecond(itemArr);
|
|
163
|
+
}
|
|
164
|
+
if (data.hasOwnProperty('putRequestsPerSecond') && data.putRequestsPerSecond !== null && data.putRequestsPerSecond !== undefined) {
|
|
165
|
+
itemArr = [];
|
|
166
|
+
items = data.putRequestsPerSecond;
|
|
167
|
+
for (i = 0; i < items.length; i++) {
|
|
168
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
169
|
+
itemArr.push(item);
|
|
170
|
+
}
|
|
171
|
+
obj.setPutRequestsPerSecond(itemArr);
|
|
172
|
+
}
|
|
173
|
+
if (data.hasOwnProperty('deleteRequestsPerSecond') && data.deleteRequestsPerSecond !== null && data.deleteRequestsPerSecond !== undefined) {
|
|
174
|
+
itemArr = [];
|
|
175
|
+
items = data.deleteRequestsPerSecond;
|
|
176
|
+
for (i = 0; i < items.length; i++) {
|
|
177
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
178
|
+
itemArr.push(item);
|
|
179
|
+
}
|
|
180
|
+
obj.setDeleteRequestsPerSecond(itemArr);
|
|
181
|
+
}
|
|
182
|
+
if (data.hasOwnProperty('objectOperationsPerSecond') && data.objectOperationsPerSecond !== null && data.objectOperationsPerSecond !== undefined) {
|
|
183
|
+
itemArr = [];
|
|
184
|
+
items = data.objectOperationsPerSecond;
|
|
185
|
+
for (i = 0; i < items.length; i++) {
|
|
186
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
187
|
+
itemArr.push(item);
|
|
188
|
+
}
|
|
189
|
+
obj.setObjectOperationsPerSecond(itemArr);
|
|
190
|
+
}
|
|
191
|
+
if (data.hasOwnProperty('getObjectTtfbMsecs') && data.getObjectTtfbMsecs !== null && data.getObjectTtfbMsecs !== undefined) {
|
|
192
|
+
itemArr = [];
|
|
193
|
+
items = data.getObjectTtfbMsecs;
|
|
194
|
+
for (i = 0; i < items.length; i++) {
|
|
195
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
196
|
+
itemArr.push(item);
|
|
197
|
+
}
|
|
198
|
+
obj.setGetObjectTtfbMsecs(itemArr);
|
|
199
|
+
}
|
|
200
|
+
if (data.hasOwnProperty('getBucketOperationsPerSecond') && data.getBucketOperationsPerSecond !== null && data.getBucketOperationsPerSecond !== undefined) {
|
|
201
|
+
itemArr = [];
|
|
202
|
+
items = data.getBucketOperationsPerSecond;
|
|
203
|
+
for (i = 0; i < items.length; i++) {
|
|
204
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
205
|
+
itemArr.push(item);
|
|
206
|
+
}
|
|
207
|
+
obj.setGetBucketOperationsPerSecond(itemArr);
|
|
208
|
+
}
|
|
209
|
+
if (data.hasOwnProperty('listMultipartUploadsOperationsPerSecond') && data.listMultipartUploadsOperationsPerSecond !== null && data.listMultipartUploadsOperationsPerSecond !== undefined) {
|
|
210
|
+
itemArr = [];
|
|
211
|
+
items = data.listMultipartUploadsOperationsPerSecond;
|
|
212
|
+
for (i = 0; i < items.length; i++) {
|
|
213
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
214
|
+
itemArr.push(item);
|
|
215
|
+
}
|
|
216
|
+
obj.setListMultipartUploadsOperationsPerSecond(itemArr);
|
|
217
|
+
}
|
|
218
|
+
if (data.hasOwnProperty('multipartUploadStartOperationsPerSecond') && data.multipartUploadStartOperationsPerSecond !== null && data.multipartUploadStartOperationsPerSecond !== undefined) {
|
|
219
|
+
itemArr = [];
|
|
220
|
+
items = data.multipartUploadStartOperationsPerSecond;
|
|
221
|
+
for (i = 0; i < items.length; i++) {
|
|
222
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
223
|
+
itemArr.push(item);
|
|
224
|
+
}
|
|
225
|
+
obj.setMultipartUploadStartOperationsPerSecond(itemArr);
|
|
226
|
+
}
|
|
227
|
+
if (data.hasOwnProperty('selectObjectContentOperationsPerSecond') && data.selectObjectContentOperationsPerSecond !== null && data.selectObjectContentOperationsPerSecond !== undefined) {
|
|
228
|
+
itemArr = [];
|
|
229
|
+
items = data.selectObjectContentOperationsPerSecond;
|
|
230
|
+
for (i = 0; i < items.length; i++) {
|
|
231
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
232
|
+
itemArr.push(item);
|
|
233
|
+
}
|
|
234
|
+
obj.setSelectObjectContentOperationsPerSecond(itemArr);
|
|
235
|
+
}
|
|
236
|
+
if (data.hasOwnProperty('nfsReadRequestsPerSecond') && data.nfsReadRequestsPerSecond !== null && data.nfsReadRequestsPerSecond !== undefined) {
|
|
237
|
+
itemArr = [];
|
|
238
|
+
items = data.nfsReadRequestsPerSecond;
|
|
239
|
+
for (i = 0; i < items.length; i++) {
|
|
240
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
241
|
+
itemArr.push(item);
|
|
242
|
+
}
|
|
243
|
+
obj.setNfsReadRequestsPerSecond(itemArr);
|
|
244
|
+
}
|
|
245
|
+
if (data.hasOwnProperty('nfsWriteRequestsPerSecond') && data.nfsWriteRequestsPerSecond !== null && data.nfsWriteRequestsPerSecond !== undefined) {
|
|
246
|
+
itemArr = [];
|
|
247
|
+
items = data.nfsWriteRequestsPerSecond;
|
|
248
|
+
for (i = 0; i < items.length; i++) {
|
|
249
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
250
|
+
itemArr.push(item);
|
|
251
|
+
}
|
|
252
|
+
obj.setNfsWriteRequestsPerSecond(itemArr);
|
|
253
|
+
}
|
|
254
|
+
if (data.hasOwnProperty('nfsReadThroughputBytesPerSecond') && data.nfsReadThroughputBytesPerSecond !== null && data.nfsReadThroughputBytesPerSecond !== undefined) {
|
|
255
|
+
itemArr = [];
|
|
256
|
+
items = data.nfsReadThroughputBytesPerSecond;
|
|
257
|
+
for (i = 0; i < items.length; i++) {
|
|
258
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
259
|
+
itemArr.push(item);
|
|
260
|
+
}
|
|
261
|
+
obj.setNfsReadThroughputBytesPerSecond(itemArr);
|
|
262
|
+
}
|
|
263
|
+
if (data.hasOwnProperty('nfsWriteThroughputBytesPerSecond') && data.nfsWriteThroughputBytesPerSecond !== null && data.nfsWriteThroughputBytesPerSecond !== undefined) {
|
|
264
|
+
itemArr = [];
|
|
265
|
+
items = data.nfsWriteThroughputBytesPerSecond;
|
|
266
|
+
for (i = 0; i < items.length; i++) {
|
|
267
|
+
item = _TimeFloatValuePair.default.constructFromObject(items[i], undefined);
|
|
268
|
+
itemArr.push(item);
|
|
269
|
+
}
|
|
270
|
+
obj.setNfsWriteThroughputBytesPerSecond(itemArr);
|
|
271
|
+
}
|
|
272
|
+
if (!callFromChild) {
|
|
273
|
+
obj.$unknownFields = {
|
|
274
|
+
...data.$unknownFields
|
|
275
|
+
};
|
|
276
|
+
for (const property in data) {
|
|
277
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
278
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
279
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
280
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
281
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
282
|
+
obj.$unknownFields[property] = data[property];
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
104
286
|
}
|
|
287
|
+
return obj;
|
|
288
|
+
}
|
|
105
289
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
290
|
+
/**
|
|
291
|
+
* Converts a given snake_case string to camelCase.
|
|
292
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
293
|
+
* @returns {string} - The converted string in camelCase format.
|
|
294
|
+
*/
|
|
295
|
+
static snakeToCamel(snakeStr) {
|
|
296
|
+
return snakeStr.replace(/(_\w)/g, match => match[1].toUpperCase());
|
|
297
|
+
}
|
|
115
298
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
return this.bucketCount;
|
|
124
|
-
}
|
|
299
|
+
/**
|
|
300
|
+
* Returns Number of Objects in the Object store. This stat is updated every 10 minutes. It includes the count of the incomplete multipart uploads.
|
|
301
|
+
* @return {TimeIntValuePair[]}
|
|
302
|
+
*/
|
|
303
|
+
getObjectCount() {
|
|
304
|
+
return this.objectCount;
|
|
305
|
+
}
|
|
125
306
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
this.bucketCount = bucketCount;
|
|
134
|
-
}
|
|
307
|
+
/**
|
|
308
|
+
* Sets Number of Objects in the Object store. This stat is updated every 10 minutes. It includes the count of the incomplete multipart uploads.
|
|
309
|
+
* @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.
|
|
310
|
+
*/
|
|
311
|
+
setObjectCount(objectCount) {
|
|
312
|
+
this.objectCount = objectCount;
|
|
313
|
+
}
|
|
135
314
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
return this.storageUsageBytes;
|
|
144
|
-
}
|
|
315
|
+
/**
|
|
316
|
+
* Returns Number of Buckets in the Object store. This stat is updated every 10 minutes.
|
|
317
|
+
* @return {TimeIntValuePair[]}
|
|
318
|
+
*/
|
|
319
|
+
getBucketCount() {
|
|
320
|
+
return this.bucketCount;
|
|
321
|
+
}
|
|
145
322
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
this.storageUsageBytes = storageUsageBytes;
|
|
154
|
-
}
|
|
323
|
+
/**
|
|
324
|
+
* Sets Number of Buckets in the Object store. This stat is updated every 10 minutes.
|
|
325
|
+
* @param {TimeIntValuePair[]} bucketCount Number of Buckets in the Object store. This stat is updated every 10 minutes.
|
|
326
|
+
*/
|
|
327
|
+
setBucketCount(bucketCount) {
|
|
328
|
+
this.bucketCount = bucketCount;
|
|
329
|
+
}
|
|
155
330
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
return this.inboundBytesPerSecond;
|
|
164
|
-
}
|
|
331
|
+
/**
|
|
332
|
+
* 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.
|
|
333
|
+
* @return {TimeIntValuePair[]}
|
|
334
|
+
*/
|
|
335
|
+
getStorageUsageBytes() {
|
|
336
|
+
return this.storageUsageBytes;
|
|
337
|
+
}
|
|
165
338
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
this.inboundBytesPerSecond = inboundBytesPerSecond;
|
|
174
|
-
}
|
|
339
|
+
/**
|
|
340
|
+
* 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.
|
|
341
|
+
* @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.
|
|
342
|
+
*/
|
|
343
|
+
setStorageUsageBytes(storageUsageBytes) {
|
|
344
|
+
this.storageUsageBytes = storageUsageBytes;
|
|
345
|
+
}
|
|
175
346
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
return this.outboundBytesPerSecond;
|
|
184
|
-
}
|
|
347
|
+
/**
|
|
348
|
+
* Returns Number of bytes written per second to the Object store from operations on the Objects and Buckets.
|
|
349
|
+
* @return {TimeFloatValuePair[]}
|
|
350
|
+
*/
|
|
351
|
+
getInboundBytesPerSecond() {
|
|
352
|
+
return this.inboundBytesPerSecond;
|
|
353
|
+
}
|
|
185
354
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
this.outboundBytesPerSecond = outboundBytesPerSecond;
|
|
194
|
-
}
|
|
355
|
+
/**
|
|
356
|
+
* Sets Number of bytes written per second to the Object store from operations on the Objects and Buckets.
|
|
357
|
+
* @param {TimeFloatValuePair[]} inboundBytesPerSecond Number of bytes written per second to the Object store from operations on the Objects and Buckets.
|
|
358
|
+
*/
|
|
359
|
+
setInboundBytesPerSecond(inboundBytesPerSecond) {
|
|
360
|
+
this.inboundBytesPerSecond = inboundBytesPerSecond;
|
|
361
|
+
}
|
|
195
362
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
return this.getRequestThroughputBytesPerSecond;
|
|
204
|
-
}
|
|
363
|
+
/**
|
|
364
|
+
* Returns Number of bytes read per second from the Object store from operations on the Objects and Buckets.
|
|
365
|
+
* @return {TimeFloatValuePair[]}
|
|
366
|
+
*/
|
|
367
|
+
getOutboundBytesPerSecond() {
|
|
368
|
+
return this.outboundBytesPerSecond;
|
|
369
|
+
}
|
|
205
370
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
this.getRequestThroughputBytesPerSecond = getRequestThroughputBytesPerSecond;
|
|
214
|
-
}
|
|
371
|
+
/**
|
|
372
|
+
* Sets Number of bytes read per second from the Object store from operations on the Objects and Buckets.
|
|
373
|
+
* @param {TimeFloatValuePair[]} outboundBytesPerSecond Number of bytes read per second from the Object store from operations on the Objects and Buckets.
|
|
374
|
+
*/
|
|
375
|
+
setOutboundBytesPerSecond(outboundBytesPerSecond) {
|
|
376
|
+
this.outboundBytesPerSecond = outboundBytesPerSecond;
|
|
377
|
+
}
|
|
215
378
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
return this.putRequestThroughputBytesPerSecond;
|
|
224
|
-
}
|
|
379
|
+
/**
|
|
380
|
+
* Returns Throughput of HTTP GET requests in bytes per second.
|
|
381
|
+
* @return {TimeFloatValuePair[]}
|
|
382
|
+
*/
|
|
383
|
+
getGetRequestThroughputBytesPerSecond() {
|
|
384
|
+
return this.getRequestThroughputBytesPerSecond;
|
|
385
|
+
}
|
|
225
386
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
this.putRequestThroughputBytesPerSecond = putRequestThroughputBytesPerSecond;
|
|
234
|
-
}
|
|
387
|
+
/**
|
|
388
|
+
* Sets Throughput of HTTP GET requests in bytes per second.
|
|
389
|
+
* @param {TimeFloatValuePair[]} getRequestThroughputBytesPerSecond Throughput of HTTP GET requests in bytes per second.
|
|
390
|
+
*/
|
|
391
|
+
setGetRequestThroughputBytesPerSecond(getRequestThroughputBytesPerSecond) {
|
|
392
|
+
this.getRequestThroughputBytesPerSecond = getRequestThroughputBytesPerSecond;
|
|
393
|
+
}
|
|
235
394
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
return this.postRequestsPerSecond;
|
|
244
|
-
}
|
|
395
|
+
/**
|
|
396
|
+
* Returns Throughput of HTTP PUT requests in bytes per second.
|
|
397
|
+
* @return {TimeFloatValuePair[]}
|
|
398
|
+
*/
|
|
399
|
+
getPutRequestThroughputBytesPerSecond() {
|
|
400
|
+
return this.putRequestThroughputBytesPerSecond;
|
|
401
|
+
}
|
|
245
402
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
this.postRequestsPerSecond = postRequestsPerSecond;
|
|
254
|
-
}
|
|
403
|
+
/**
|
|
404
|
+
* Sets Throughput of HTTP PUT requests in bytes per second.
|
|
405
|
+
* @param {TimeFloatValuePair[]} putRequestThroughputBytesPerSecond Throughput of HTTP PUT requests in bytes per second.
|
|
406
|
+
*/
|
|
407
|
+
setPutRequestThroughputBytesPerSecond(putRequestThroughputBytesPerSecond) {
|
|
408
|
+
this.putRequestThroughputBytesPerSecond = putRequestThroughputBytesPerSecond;
|
|
409
|
+
}
|
|
255
410
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
return this.headRequestsPerSecond;
|
|
264
|
-
}
|
|
411
|
+
/**
|
|
412
|
+
* Returns Number of HTTP POST requests per second on the Objects and Buckets of the Object store.
|
|
413
|
+
* @return {TimeFloatValuePair[]}
|
|
414
|
+
*/
|
|
415
|
+
getPostRequestsPerSecond() {
|
|
416
|
+
return this.postRequestsPerSecond;
|
|
417
|
+
}
|
|
265
418
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
this.headRequestsPerSecond = headRequestsPerSecond;
|
|
274
|
-
}
|
|
419
|
+
/**
|
|
420
|
+
* Sets Number of HTTP POST requests per second on the Objects and Buckets of the Object store.
|
|
421
|
+
* @param {TimeFloatValuePair[]} postRequestsPerSecond Number of HTTP POST requests per second on the Objects and Buckets of the Object store.
|
|
422
|
+
*/
|
|
423
|
+
setPostRequestsPerSecond(postRequestsPerSecond) {
|
|
424
|
+
this.postRequestsPerSecond = postRequestsPerSecond;
|
|
425
|
+
}
|
|
275
426
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
return this.getRequestsPerSecond;
|
|
284
|
-
}
|
|
427
|
+
/**
|
|
428
|
+
* Returns Number of HTTP HEAD requests per second on the Objects and Buckets of the Object store.
|
|
429
|
+
* @return {TimeFloatValuePair[]}
|
|
430
|
+
*/
|
|
431
|
+
getHeadRequestsPerSecond() {
|
|
432
|
+
return this.headRequestsPerSecond;
|
|
433
|
+
}
|
|
285
434
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
this.getRequestsPerSecond = getRequestsPerSecond;
|
|
294
|
-
}
|
|
435
|
+
/**
|
|
436
|
+
* Sets Number of HTTP HEAD requests per second on the Objects and Buckets of the Object store.
|
|
437
|
+
* @param {TimeFloatValuePair[]} headRequestsPerSecond Number of HTTP HEAD requests per second on the Objects and Buckets of the Object store.
|
|
438
|
+
*/
|
|
439
|
+
setHeadRequestsPerSecond(headRequestsPerSecond) {
|
|
440
|
+
this.headRequestsPerSecond = headRequestsPerSecond;
|
|
441
|
+
}
|
|
295
442
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
return this.putRequestsPerSecond;
|
|
304
|
-
}
|
|
443
|
+
/**
|
|
444
|
+
* Returns Number of HTTP GET requests per second on the Objects and Buckets of the Object store.
|
|
445
|
+
* @return {TimeFloatValuePair[]}
|
|
446
|
+
*/
|
|
447
|
+
getGetRequestsPerSecond() {
|
|
448
|
+
return this.getRequestsPerSecond;
|
|
449
|
+
}
|
|
305
450
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
this.putRequestsPerSecond = putRequestsPerSecond;
|
|
314
|
-
}
|
|
451
|
+
/**
|
|
452
|
+
* Sets Number of HTTP GET requests per second on the Objects and Buckets of the Object store.
|
|
453
|
+
* @param {TimeFloatValuePair[]} getRequestsPerSecond Number of HTTP GET requests per second on the Objects and Buckets of the Object store.
|
|
454
|
+
*/
|
|
455
|
+
setGetRequestsPerSecond(getRequestsPerSecond) {
|
|
456
|
+
this.getRequestsPerSecond = getRequestsPerSecond;
|
|
457
|
+
}
|
|
315
458
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
return this.deleteRequestsPerSecond;
|
|
324
|
-
}
|
|
459
|
+
/**
|
|
460
|
+
* Returns Number of HTTP PUT requests per second on the Objects and Buckets of the Object store.
|
|
461
|
+
* @return {TimeFloatValuePair[]}
|
|
462
|
+
*/
|
|
463
|
+
getPutRequestsPerSecond() {
|
|
464
|
+
return this.putRequestsPerSecond;
|
|
465
|
+
}
|
|
325
466
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
this.deleteRequestsPerSecond = deleteRequestsPerSecond;
|
|
334
|
-
}
|
|
467
|
+
/**
|
|
468
|
+
* Sets Number of HTTP PUT requests per second on the Objects and Buckets of the Object store.
|
|
469
|
+
* @param {TimeFloatValuePair[]} putRequestsPerSecond Number of HTTP PUT requests per second on the Objects and Buckets of the Object store.
|
|
470
|
+
*/
|
|
471
|
+
setPutRequestsPerSecond(putRequestsPerSecond) {
|
|
472
|
+
this.putRequestsPerSecond = putRequestsPerSecond;
|
|
473
|
+
}
|
|
335
474
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
return this.objectOperationsPerSecond;
|
|
344
|
-
}
|
|
475
|
+
/**
|
|
476
|
+
* Returns Number of HTTP DELETE requests per second on the Objects and Buckets of the Object store.
|
|
477
|
+
* @return {TimeFloatValuePair[]}
|
|
478
|
+
*/
|
|
479
|
+
getDeleteRequestsPerSecond() {
|
|
480
|
+
return this.deleteRequestsPerSecond;
|
|
481
|
+
}
|
|
345
482
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
this.objectOperationsPerSecond = objectOperationsPerSecond;
|
|
354
|
-
}
|
|
483
|
+
/**
|
|
484
|
+
* Sets Number of HTTP DELETE requests per second on the Objects and Buckets of the Object store.
|
|
485
|
+
* @param {TimeFloatValuePair[]} deleteRequestsPerSecond Number of HTTP DELETE requests per second on the Objects and Buckets of the Object store.
|
|
486
|
+
*/
|
|
487
|
+
setDeleteRequestsPerSecond(deleteRequestsPerSecond) {
|
|
488
|
+
this.deleteRequestsPerSecond = deleteRequestsPerSecond;
|
|
489
|
+
}
|
|
355
490
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
return this.getObjectTtfbMsecs;
|
|
364
|
-
}
|
|
491
|
+
/**
|
|
492
|
+
* Returns Number of operations per second on the objects of the Object store.
|
|
493
|
+
* @return {TimeFloatValuePair[]}
|
|
494
|
+
*/
|
|
495
|
+
getObjectOperationsPerSecond() {
|
|
496
|
+
return this.objectOperationsPerSecond;
|
|
497
|
+
}
|
|
365
498
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
this.getObjectTtfbMsecs = getObjectTtfbMsecs;
|
|
374
|
-
}
|
|
499
|
+
/**
|
|
500
|
+
* Sets Number of operations per second on the objects of the Object store.
|
|
501
|
+
* @param {TimeFloatValuePair[]} objectOperationsPerSecond Number of operations per second on the objects of the Object store.
|
|
502
|
+
*/
|
|
503
|
+
setObjectOperationsPerSecond(objectOperationsPerSecond) {
|
|
504
|
+
this.objectOperationsPerSecond = objectOperationsPerSecond;
|
|
505
|
+
}
|
|
375
506
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
return this.getBucketOperationsPerSecond;
|
|
384
|
-
}
|
|
507
|
+
/**
|
|
508
|
+
* Returns Time to the first byte in milliseconds for Get Object requests.
|
|
509
|
+
* @return {TimeFloatValuePair[]}
|
|
510
|
+
*/
|
|
511
|
+
getGetObjectTtfbMsecs() {
|
|
512
|
+
return this.getObjectTtfbMsecs;
|
|
513
|
+
}
|
|
385
514
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
this.getBucketOperationsPerSecond = getBucketOperationsPerSecond;
|
|
394
|
-
}
|
|
515
|
+
/**
|
|
516
|
+
* Sets Time to the first byte in milliseconds for Get Object requests.
|
|
517
|
+
* @param {TimeFloatValuePair[]} getObjectTtfbMsecs Time to the first byte in milliseconds for Get Object requests.
|
|
518
|
+
*/
|
|
519
|
+
setGetObjectTtfbMsecs(getObjectTtfbMsecs) {
|
|
520
|
+
this.getObjectTtfbMsecs = getObjectTtfbMsecs;
|
|
521
|
+
}
|
|
395
522
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
return this.listMultipartUploadsOperationsPerSecond;
|
|
404
|
-
}
|
|
523
|
+
/**
|
|
524
|
+
* Returns Number of GetBucket operations per second.
|
|
525
|
+
* @return {TimeFloatValuePair[]}
|
|
526
|
+
*/
|
|
527
|
+
getGetBucketOperationsPerSecond() {
|
|
528
|
+
return this.getBucketOperationsPerSecond;
|
|
529
|
+
}
|
|
405
530
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
this.listMultipartUploadsOperationsPerSecond = listMultipartUploadsOperationsPerSecond;
|
|
414
|
-
}
|
|
531
|
+
/**
|
|
532
|
+
* Sets Number of GetBucket operations per second.
|
|
533
|
+
* @param {TimeFloatValuePair[]} getBucketOperationsPerSecond Number of GetBucket operations per second.
|
|
534
|
+
*/
|
|
535
|
+
setGetBucketOperationsPerSecond(getBucketOperationsPerSecond) {
|
|
536
|
+
this.getBucketOperationsPerSecond = getBucketOperationsPerSecond;
|
|
537
|
+
}
|
|
415
538
|
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
return this.multipartUploadStartOperationsPerSecond;
|
|
424
|
-
}
|
|
539
|
+
/**
|
|
540
|
+
* Returns The number of ListMultipartUploads operations per second.
|
|
541
|
+
* @return {TimeFloatValuePair[]}
|
|
542
|
+
*/
|
|
543
|
+
getListMultipartUploadsOperationsPerSecond() {
|
|
544
|
+
return this.listMultipartUploadsOperationsPerSecond;
|
|
545
|
+
}
|
|
425
546
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
this.multipartUploadStartOperationsPerSecond = multipartUploadStartOperationsPerSecond;
|
|
434
|
-
}
|
|
547
|
+
/**
|
|
548
|
+
* Sets The number of ListMultipartUploads operations per second.
|
|
549
|
+
* @param {TimeFloatValuePair[]} listMultipartUploadsOperationsPerSecond The number of ListMultipartUploads operations per second.
|
|
550
|
+
*/
|
|
551
|
+
setListMultipartUploadsOperationsPerSecond(listMultipartUploadsOperationsPerSecond) {
|
|
552
|
+
this.listMultipartUploadsOperationsPerSecond = listMultipartUploadsOperationsPerSecond;
|
|
553
|
+
}
|
|
435
554
|
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
return this.selectObjectContentOperationsPerSecond;
|
|
444
|
-
}
|
|
555
|
+
/**
|
|
556
|
+
* Returns The number of CreateMultipartUpload operations per second.
|
|
557
|
+
* @return {TimeFloatValuePair[]}
|
|
558
|
+
*/
|
|
559
|
+
getMultipartUploadStartOperationsPerSecond() {
|
|
560
|
+
return this.multipartUploadStartOperationsPerSecond;
|
|
561
|
+
}
|
|
445
562
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
this.selectObjectContentOperationsPerSecond = selectObjectContentOperationsPerSecond;
|
|
454
|
-
}
|
|
563
|
+
/**
|
|
564
|
+
* Sets The number of CreateMultipartUpload operations per second.
|
|
565
|
+
* @param {TimeFloatValuePair[]} multipartUploadStartOperationsPerSecond The number of CreateMultipartUpload operations per second.
|
|
566
|
+
*/
|
|
567
|
+
setMultipartUploadStartOperationsPerSecond(multipartUploadStartOperationsPerSecond) {
|
|
568
|
+
this.multipartUploadStartOperationsPerSecond = multipartUploadStartOperationsPerSecond;
|
|
569
|
+
}
|
|
455
570
|
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
return this.nfsReadRequestsPerSecond;
|
|
464
|
-
}
|
|
571
|
+
/**
|
|
572
|
+
* Returns The number of SelectObjectContent operations per second.
|
|
573
|
+
* @return {TimeFloatValuePair[]}
|
|
574
|
+
*/
|
|
575
|
+
getSelectObjectContentOperationsPerSecond() {
|
|
576
|
+
return this.selectObjectContentOperationsPerSecond;
|
|
577
|
+
}
|
|
465
578
|
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
this.nfsReadRequestsPerSecond = nfsReadRequestsPerSecond;
|
|
474
|
-
}
|
|
579
|
+
/**
|
|
580
|
+
* Sets The number of SelectObjectContent operations per second.
|
|
581
|
+
* @param {TimeFloatValuePair[]} selectObjectContentOperationsPerSecond The number of SelectObjectContent operations per second.
|
|
582
|
+
*/
|
|
583
|
+
setSelectObjectContentOperationsPerSecond(selectObjectContentOperationsPerSecond) {
|
|
584
|
+
this.selectObjectContentOperationsPerSecond = selectObjectContentOperationsPerSecond;
|
|
585
|
+
}
|
|
475
586
|
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
return this.nfsWriteRequestsPerSecond;
|
|
484
|
-
}
|
|
587
|
+
/**
|
|
588
|
+
* Returns Number of Network File System (NFS) read requests per second on the objects of the Object store.
|
|
589
|
+
* @return {TimeFloatValuePair[]}
|
|
590
|
+
*/
|
|
591
|
+
getNfsReadRequestsPerSecond() {
|
|
592
|
+
return this.nfsReadRequestsPerSecond;
|
|
593
|
+
}
|
|
485
594
|
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
this.nfsWriteRequestsPerSecond = nfsWriteRequestsPerSecond;
|
|
494
|
-
}
|
|
595
|
+
/**
|
|
596
|
+
* Sets Number of Network File System (NFS) read requests per second on the objects of the Object store.
|
|
597
|
+
* @param {TimeFloatValuePair[]} nfsReadRequestsPerSecond Number of Network File System (NFS) read requests per second on the objects of the Object store.
|
|
598
|
+
*/
|
|
599
|
+
setNfsReadRequestsPerSecond(nfsReadRequestsPerSecond) {
|
|
600
|
+
this.nfsReadRequestsPerSecond = nfsReadRequestsPerSecond;
|
|
601
|
+
}
|
|
495
602
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
return this.nfsReadThroughputBytesPerSecond;
|
|
504
|
-
}
|
|
603
|
+
/**
|
|
604
|
+
* Returns Number of Network File System (NFS) write requests per second on the objects of the Object store.
|
|
605
|
+
* @return {TimeFloatValuePair[]}
|
|
606
|
+
*/
|
|
607
|
+
getNfsWriteRequestsPerSecond() {
|
|
608
|
+
return this.nfsWriteRequestsPerSecond;
|
|
609
|
+
}
|
|
505
610
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
this.nfsReadThroughputBytesPerSecond = nfsReadThroughputBytesPerSecond;
|
|
514
|
-
}
|
|
611
|
+
/**
|
|
612
|
+
* Sets Number of Network File System (NFS) write requests per second on the objects of the Object store.
|
|
613
|
+
* @param {TimeFloatValuePair[]} nfsWriteRequestsPerSecond Number of Network File System (NFS) write requests per second on the objects of the Object store.
|
|
614
|
+
*/
|
|
615
|
+
setNfsWriteRequestsPerSecond(nfsWriteRequestsPerSecond) {
|
|
616
|
+
this.nfsWriteRequestsPerSecond = nfsWriteRequestsPerSecond;
|
|
617
|
+
}
|
|
515
618
|
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
return this.nfsWriteThroughputBytesPerSecond;
|
|
524
|
-
}
|
|
619
|
+
/**
|
|
620
|
+
* Returns Throughput of Network File System (NFS) read operations in bytes per second on the objects of the Object store.
|
|
621
|
+
* @return {TimeFloatValuePair[]}
|
|
622
|
+
*/
|
|
623
|
+
getNfsReadThroughputBytesPerSecond() {
|
|
624
|
+
return this.nfsReadThroughputBytesPerSecond;
|
|
625
|
+
}
|
|
525
626
|
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
'
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
} : {}),
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
'
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
} : {}),
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
'
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
} : {}),
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
'getObjectTtfbMsecs': this.getGetObjectTtfbMsecs().map(
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
} : {}),
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
'
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
} : {}),
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
'
|
|
617
|
-
|
|
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 ? {
|
|
627
|
+
/**
|
|
628
|
+
* Sets Throughput of Network File System (NFS) read operations in bytes per second on the objects of the Object store.
|
|
629
|
+
* @param {TimeFloatValuePair[]} nfsReadThroughputBytesPerSecond Throughput of Network File System (NFS) read operations in bytes per second on the objects of the Object store.
|
|
630
|
+
*/
|
|
631
|
+
setNfsReadThroughputBytesPerSecond(nfsReadThroughputBytesPerSecond) {
|
|
632
|
+
this.nfsReadThroughputBytesPerSecond = nfsReadThroughputBytesPerSecond;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Returns Throughput of Network File System (NFS) write operations in bytes per second on the objects of the Object store.
|
|
637
|
+
* @return {TimeFloatValuePair[]}
|
|
638
|
+
*/
|
|
639
|
+
getNfsWriteThroughputBytesPerSecond() {
|
|
640
|
+
return this.nfsWriteThroughputBytesPerSecond;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* Sets Throughput of Network File System (NFS) write operations in bytes per second on the objects of the Object store.
|
|
645
|
+
* @param {TimeFloatValuePair[]} nfsWriteThroughputBytesPerSecond Throughput of Network File System (NFS) write operations in bytes per second on the objects of the Object store.
|
|
646
|
+
*/
|
|
647
|
+
setNfsWriteThroughputBytesPerSecond(nfsWriteThroughputBytesPerSecond) {
|
|
648
|
+
this.nfsWriteThroughputBytesPerSecond = nfsWriteThroughputBytesPerSecond;
|
|
649
|
+
}
|
|
650
|
+
toJson(forMutation) {
|
|
651
|
+
if (forMutation === false) {
|
|
652
|
+
return {
|
|
653
|
+
...(typeof this.getObjectCount() !== 'undefined' && this.getObjectCount() !== null ? {
|
|
654
|
+
'objectCount': this.getObjectCount().map(item => item.toJson(false))
|
|
655
|
+
} : {}),
|
|
656
|
+
...(typeof this.getBucketCount() !== 'undefined' && this.getBucketCount() !== null ? {
|
|
657
|
+
'bucketCount': this.getBucketCount().map(item => item.toJson(false))
|
|
658
|
+
} : {}),
|
|
659
|
+
...(typeof this.getStorageUsageBytes() !== 'undefined' && this.getStorageUsageBytes() !== null ? {
|
|
660
|
+
'storageUsageBytes': this.getStorageUsageBytes().map(item => item.toJson(false))
|
|
661
|
+
} : {}),
|
|
662
|
+
...(typeof this.getInboundBytesPerSecond() !== 'undefined' && this.getInboundBytesPerSecond() !== null ? {
|
|
663
|
+
'inboundBytesPerSecond': this.getInboundBytesPerSecond().map(item => item.toJson(false))
|
|
664
|
+
} : {}),
|
|
665
|
+
...(typeof this.getOutboundBytesPerSecond() !== 'undefined' && this.getOutboundBytesPerSecond() !== null ? {
|
|
666
|
+
'outboundBytesPerSecond': this.getOutboundBytesPerSecond().map(item => item.toJson(false))
|
|
667
|
+
} : {}),
|
|
668
|
+
...(typeof this.getGetRequestThroughputBytesPerSecond() !== 'undefined' && this.getGetRequestThroughputBytesPerSecond() !== null ? {
|
|
669
|
+
'getRequestThroughputBytesPerSecond': this.getGetRequestThroughputBytesPerSecond().map(item => item.toJson(false))
|
|
670
|
+
} : {}),
|
|
671
|
+
...(typeof this.getPutRequestThroughputBytesPerSecond() !== 'undefined' && this.getPutRequestThroughputBytesPerSecond() !== null ? {
|
|
672
|
+
'putRequestThroughputBytesPerSecond': this.getPutRequestThroughputBytesPerSecond().map(item => item.toJson(false))
|
|
673
|
+
} : {}),
|
|
674
|
+
...(typeof this.getPostRequestsPerSecond() !== 'undefined' && this.getPostRequestsPerSecond() !== null ? {
|
|
675
|
+
'postRequestsPerSecond': this.getPostRequestsPerSecond().map(item => item.toJson(false))
|
|
676
|
+
} : {}),
|
|
677
|
+
...(typeof this.getHeadRequestsPerSecond() !== 'undefined' && this.getHeadRequestsPerSecond() !== null ? {
|
|
678
|
+
'headRequestsPerSecond': this.getHeadRequestsPerSecond().map(item => item.toJson(false))
|
|
679
|
+
} : {}),
|
|
680
|
+
...(typeof this.getGetRequestsPerSecond() !== 'undefined' && this.getGetRequestsPerSecond() !== null ? {
|
|
681
|
+
'getRequestsPerSecond': this.getGetRequestsPerSecond().map(item => item.toJson(false))
|
|
682
|
+
} : {}),
|
|
683
|
+
...(typeof this.getPutRequestsPerSecond() !== 'undefined' && this.getPutRequestsPerSecond() !== null ? {
|
|
684
|
+
'putRequestsPerSecond': this.getPutRequestsPerSecond().map(item => item.toJson(false))
|
|
685
|
+
} : {}),
|
|
686
|
+
...(typeof this.getDeleteRequestsPerSecond() !== 'undefined' && this.getDeleteRequestsPerSecond() !== null ? {
|
|
687
|
+
'deleteRequestsPerSecond': this.getDeleteRequestsPerSecond().map(item => item.toJson(false))
|
|
688
|
+
} : {}),
|
|
689
|
+
...(typeof this.getObjectOperationsPerSecond() !== 'undefined' && this.getObjectOperationsPerSecond() !== null ? {
|
|
690
|
+
'objectOperationsPerSecond': this.getObjectOperationsPerSecond().map(item => item.toJson(false))
|
|
691
|
+
} : {}),
|
|
692
|
+
...(typeof this.getGetObjectTtfbMsecs() !== 'undefined' && this.getGetObjectTtfbMsecs() !== null ? {
|
|
693
|
+
'getObjectTtfbMsecs': this.getGetObjectTtfbMsecs().map(item => item.toJson(false))
|
|
694
|
+
} : {}),
|
|
695
|
+
...(typeof this.getGetBucketOperationsPerSecond() !== 'undefined' && this.getGetBucketOperationsPerSecond() !== null ? {
|
|
696
|
+
'getBucketOperationsPerSecond': this.getGetBucketOperationsPerSecond().map(item => item.toJson(false))
|
|
697
|
+
} : {}),
|
|
698
|
+
...(typeof this.getListMultipartUploadsOperationsPerSecond() !== 'undefined' && this.getListMultipartUploadsOperationsPerSecond() !== null ? {
|
|
699
|
+
'listMultipartUploadsOperationsPerSecond': this.getListMultipartUploadsOperationsPerSecond().map(item => item.toJson(false))
|
|
700
|
+
} : {}),
|
|
701
|
+
...(typeof this.getMultipartUploadStartOperationsPerSecond() !== 'undefined' && this.getMultipartUploadStartOperationsPerSecond() !== null ? {
|
|
702
|
+
'multipartUploadStartOperationsPerSecond': this.getMultipartUploadStartOperationsPerSecond().map(item => item.toJson(false))
|
|
703
|
+
} : {}),
|
|
704
|
+
...(typeof this.getSelectObjectContentOperationsPerSecond() !== 'undefined' && this.getSelectObjectContentOperationsPerSecond() !== null ? {
|
|
705
|
+
'selectObjectContentOperationsPerSecond': this.getSelectObjectContentOperationsPerSecond().map(item => item.toJson(false))
|
|
706
|
+
} : {}),
|
|
707
|
+
...(typeof this.getNfsReadRequestsPerSecond() !== 'undefined' && this.getNfsReadRequestsPerSecond() !== null ? {
|
|
708
|
+
'nfsReadRequestsPerSecond': this.getNfsReadRequestsPerSecond().map(item => item.toJson(false))
|
|
709
|
+
} : {}),
|
|
710
|
+
...(typeof this.getNfsWriteRequestsPerSecond() !== 'undefined' && this.getNfsWriteRequestsPerSecond() !== null ? {
|
|
711
|
+
'nfsWriteRequestsPerSecond': this.getNfsWriteRequestsPerSecond().map(item => item.toJson(false))
|
|
712
|
+
} : {}),
|
|
713
|
+
...(typeof this.getNfsReadThroughputBytesPerSecond() !== 'undefined' && this.getNfsReadThroughputBytesPerSecond() !== null ? {
|
|
714
|
+
'nfsReadThroughputBytesPerSecond': this.getNfsReadThroughputBytesPerSecond().map(item => item.toJson(false))
|
|
715
|
+
} : {}),
|
|
716
|
+
...(typeof this.getNfsWriteThroughputBytesPerSecond() !== 'undefined' && this.getNfsWriteThroughputBytesPerSecond() !== null ? {
|
|
717
|
+
'nfsWriteThroughputBytesPerSecond': this.getNfsWriteThroughputBytesPerSecond().map(item => item.toJson(false))
|
|
718
|
+
} : {}),
|
|
719
|
+
...(typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
628
720
|
'extId': this.getExtId()
|
|
629
|
-
} : {}),
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
721
|
+
} : {}),
|
|
722
|
+
...(typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
723
|
+
'links': this.getLinks().map(item => item.toJson(false))
|
|
724
|
+
} : {}),
|
|
725
|
+
...(typeof this.getTenantId() !== 'undefined' && this.getTenantId() !== null ? {
|
|
634
726
|
'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
|
-
} : {}), {}, {
|
|
727
|
+
} : {}),
|
|
730
728
|
'$reserved': this.get$Reserved(),
|
|
731
729
|
'$objectType': this.get$ObjectType(),
|
|
732
|
-
|
|
733
|
-
|
|
730
|
+
...(typeof this.get$UnknownFields() !== 'undefined' && this.get$UnknownFields() !== null ? this.get$UnknownFields() : {}),
|
|
731
|
+
'$unknownFields': {}
|
|
732
|
+
};
|
|
733
|
+
}
|
|
734
|
+
return {
|
|
735
|
+
...(typeof this.getObjectCount() !== 'undefined' && this.getObjectCount() !== null ? {
|
|
736
|
+
'objectCount': this.getObjectCount().map(item => item.toJson(false))
|
|
737
|
+
} : {}),
|
|
738
|
+
...(typeof this.getBucketCount() !== 'undefined' && this.getBucketCount() !== null ? {
|
|
739
|
+
'bucketCount': this.getBucketCount().map(item => item.toJson(false))
|
|
740
|
+
} : {}),
|
|
741
|
+
...(typeof this.getStorageUsageBytes() !== 'undefined' && this.getStorageUsageBytes() !== null ? {
|
|
742
|
+
'storageUsageBytes': this.getStorageUsageBytes().map(item => item.toJson(false))
|
|
743
|
+
} : {}),
|
|
744
|
+
...(typeof this.getInboundBytesPerSecond() !== 'undefined' && this.getInboundBytesPerSecond() !== null ? {
|
|
745
|
+
'inboundBytesPerSecond': this.getInboundBytesPerSecond().map(item => item.toJson(false))
|
|
746
|
+
} : {}),
|
|
747
|
+
...(typeof this.getOutboundBytesPerSecond() !== 'undefined' && this.getOutboundBytesPerSecond() !== null ? {
|
|
748
|
+
'outboundBytesPerSecond': this.getOutboundBytesPerSecond().map(item => item.toJson(false))
|
|
749
|
+
} : {}),
|
|
750
|
+
...(typeof this.getGetRequestThroughputBytesPerSecond() !== 'undefined' && this.getGetRequestThroughputBytesPerSecond() !== null ? {
|
|
751
|
+
'getRequestThroughputBytesPerSecond': this.getGetRequestThroughputBytesPerSecond().map(item => item.toJson(false))
|
|
752
|
+
} : {}),
|
|
753
|
+
...(typeof this.getPutRequestThroughputBytesPerSecond() !== 'undefined' && this.getPutRequestThroughputBytesPerSecond() !== null ? {
|
|
754
|
+
'putRequestThroughputBytesPerSecond': this.getPutRequestThroughputBytesPerSecond().map(item => item.toJson(false))
|
|
755
|
+
} : {}),
|
|
756
|
+
...(typeof this.getPostRequestsPerSecond() !== 'undefined' && this.getPostRequestsPerSecond() !== null ? {
|
|
757
|
+
'postRequestsPerSecond': this.getPostRequestsPerSecond().map(item => item.toJson(false))
|
|
758
|
+
} : {}),
|
|
759
|
+
...(typeof this.getHeadRequestsPerSecond() !== 'undefined' && this.getHeadRequestsPerSecond() !== null ? {
|
|
760
|
+
'headRequestsPerSecond': this.getHeadRequestsPerSecond().map(item => item.toJson(false))
|
|
761
|
+
} : {}),
|
|
762
|
+
...(typeof this.getGetRequestsPerSecond() !== 'undefined' && this.getGetRequestsPerSecond() !== null ? {
|
|
763
|
+
'getRequestsPerSecond': this.getGetRequestsPerSecond().map(item => item.toJson(false))
|
|
764
|
+
} : {}),
|
|
765
|
+
...(typeof this.getPutRequestsPerSecond() !== 'undefined' && this.getPutRequestsPerSecond() !== null ? {
|
|
766
|
+
'putRequestsPerSecond': this.getPutRequestsPerSecond().map(item => item.toJson(false))
|
|
767
|
+
} : {}),
|
|
768
|
+
...(typeof this.getDeleteRequestsPerSecond() !== 'undefined' && this.getDeleteRequestsPerSecond() !== null ? {
|
|
769
|
+
'deleteRequestsPerSecond': this.getDeleteRequestsPerSecond().map(item => item.toJson(false))
|
|
770
|
+
} : {}),
|
|
771
|
+
...(typeof this.getObjectOperationsPerSecond() !== 'undefined' && this.getObjectOperationsPerSecond() !== null ? {
|
|
772
|
+
'objectOperationsPerSecond': this.getObjectOperationsPerSecond().map(item => item.toJson(false))
|
|
773
|
+
} : {}),
|
|
774
|
+
...(typeof this.getGetObjectTtfbMsecs() !== 'undefined' && this.getGetObjectTtfbMsecs() !== null ? {
|
|
775
|
+
'getObjectTtfbMsecs': this.getGetObjectTtfbMsecs().map(item => item.toJson(false))
|
|
776
|
+
} : {}),
|
|
777
|
+
...(typeof this.getGetBucketOperationsPerSecond() !== 'undefined' && this.getGetBucketOperationsPerSecond() !== null ? {
|
|
778
|
+
'getBucketOperationsPerSecond': this.getGetBucketOperationsPerSecond().map(item => item.toJson(false))
|
|
779
|
+
} : {}),
|
|
780
|
+
...(typeof this.getListMultipartUploadsOperationsPerSecond() !== 'undefined' && this.getListMultipartUploadsOperationsPerSecond() !== null ? {
|
|
781
|
+
'listMultipartUploadsOperationsPerSecond': this.getListMultipartUploadsOperationsPerSecond().map(item => item.toJson(false))
|
|
782
|
+
} : {}),
|
|
783
|
+
...(typeof this.getMultipartUploadStartOperationsPerSecond() !== 'undefined' && this.getMultipartUploadStartOperationsPerSecond() !== null ? {
|
|
784
|
+
'multipartUploadStartOperationsPerSecond': this.getMultipartUploadStartOperationsPerSecond().map(item => item.toJson(false))
|
|
785
|
+
} : {}),
|
|
786
|
+
...(typeof this.getSelectObjectContentOperationsPerSecond() !== 'undefined' && this.getSelectObjectContentOperationsPerSecond() !== null ? {
|
|
787
|
+
'selectObjectContentOperationsPerSecond': this.getSelectObjectContentOperationsPerSecond().map(item => item.toJson(false))
|
|
788
|
+
} : {}),
|
|
789
|
+
...(typeof this.getNfsReadRequestsPerSecond() !== 'undefined' && this.getNfsReadRequestsPerSecond() !== null ? {
|
|
790
|
+
'nfsReadRequestsPerSecond': this.getNfsReadRequestsPerSecond().map(item => item.toJson(false))
|
|
791
|
+
} : {}),
|
|
792
|
+
...(typeof this.getNfsWriteRequestsPerSecond() !== 'undefined' && this.getNfsWriteRequestsPerSecond() !== null ? {
|
|
793
|
+
'nfsWriteRequestsPerSecond': this.getNfsWriteRequestsPerSecond().map(item => item.toJson(false))
|
|
794
|
+
} : {}),
|
|
795
|
+
...(typeof this.getNfsReadThroughputBytesPerSecond() !== 'undefined' && this.getNfsReadThroughputBytesPerSecond() !== null ? {
|
|
796
|
+
'nfsReadThroughputBytesPerSecond': this.getNfsReadThroughputBytesPerSecond().map(item => item.toJson(false))
|
|
797
|
+
} : {}),
|
|
798
|
+
...(typeof this.getNfsWriteThroughputBytesPerSecond() !== 'undefined' && this.getNfsWriteThroughputBytesPerSecond() !== null ? {
|
|
799
|
+
'nfsWriteThroughputBytesPerSecond': this.getNfsWriteThroughputBytesPerSecond().map(item => item.toJson(false))
|
|
800
|
+
} : {}),
|
|
801
|
+
'$reserved': this.get$Reserved(),
|
|
802
|
+
'$objectType': this.get$ObjectType(),
|
|
803
|
+
...(typeof this.get$UnknownFields() !== 'undefined' && this.get$UnknownFields() !== null ? this.get$UnknownFields() : {}),
|
|
804
|
+
'$unknownFields': {}
|
|
805
|
+
};
|
|
806
|
+
}
|
|
807
|
+
validate(scope, properties) {
|
|
808
|
+
let propList = [];
|
|
809
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes.default) {
|
|
810
|
+
//cases validate() and validate(scope)
|
|
811
|
+
propList = [];
|
|
812
|
+
} else if (arguments.length === 1) {
|
|
813
|
+
//case validate(properties)
|
|
814
|
+
propList = arguments[0];
|
|
815
|
+
scope = null;
|
|
816
|
+
} else {
|
|
817
|
+
//case validate(scope, properties)
|
|
818
|
+
propList = arguments[1];
|
|
734
819
|
}
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
scope = null;
|
|
820
|
+
let res = [];
|
|
821
|
+
let err = null;
|
|
822
|
+
propList.forEach(property => {
|
|
823
|
+
err = this.validateProperty(property, scope);
|
|
824
|
+
if (err) {
|
|
825
|
+
res.push(err);
|
|
826
|
+
}
|
|
827
|
+
});
|
|
828
|
+
return new Promise(function (resolve, reject) {
|
|
829
|
+
if (res.length !== 0) {
|
|
830
|
+
reject(err);
|
|
747
831
|
} else {
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
resolve();
|
|
764
|
-
}
|
|
765
|
-
});
|
|
832
|
+
resolve();
|
|
833
|
+
}
|
|
834
|
+
});
|
|
835
|
+
}
|
|
836
|
+
validateProperty(scope, property) {
|
|
837
|
+
if (property === "objectCount") {
|
|
838
|
+
if (typeof this.objectCount === 'undefined' || this.objectCount === null) {
|
|
839
|
+
return new _ValidationError.default("objectCount", "undefined or null");
|
|
840
|
+
}
|
|
841
|
+
if (!_ValidationUtils.default.validateMaxItems(this.objectCount, 150)) {
|
|
842
|
+
return new _ValidationError.default("objectCount", "does not satisfy required maxItems constraint: 150");
|
|
843
|
+
}
|
|
844
|
+
if (!_ValidationUtils.default.validateMinItems(this.objectCount, 1)) {
|
|
845
|
+
return new _ValidationError.default("objectCount", "does not satisfy required minItems constraint: 1");
|
|
846
|
+
}
|
|
766
847
|
}
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
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
|
-
}
|
|
848
|
+
if (property === "bucketCount") {
|
|
849
|
+
if (typeof this.bucketCount === 'undefined' || this.bucketCount === null) {
|
|
850
|
+
return new _ValidationError.default("bucketCount", "undefined or null");
|
|
780
851
|
}
|
|
781
|
-
if (
|
|
782
|
-
|
|
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
|
-
}
|
|
852
|
+
if (!_ValidationUtils.default.validateMaxItems(this.bucketCount, 150)) {
|
|
853
|
+
return new _ValidationError.default("bucketCount", "does not satisfy required maxItems constraint: 150");
|
|
791
854
|
}
|
|
792
|
-
if (
|
|
793
|
-
|
|
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
|
-
}
|
|
855
|
+
if (!_ValidationUtils.default.validateMinItems(this.bucketCount, 1)) {
|
|
856
|
+
return new _ValidationError.default("bucketCount", "does not satisfy required minItems constraint: 1");
|
|
802
857
|
}
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
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
|
-
}
|
|
858
|
+
}
|
|
859
|
+
if (property === "storageUsageBytes") {
|
|
860
|
+
if (typeof this.storageUsageBytes === 'undefined' || this.storageUsageBytes === null) {
|
|
861
|
+
return new _ValidationError.default("storageUsageBytes", "undefined or null");
|
|
813
862
|
}
|
|
814
|
-
if (
|
|
815
|
-
|
|
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
|
-
}
|
|
863
|
+
if (!_ValidationUtils.default.validateMaxItems(this.storageUsageBytes, 150)) {
|
|
864
|
+
return new _ValidationError.default("storageUsageBytes", "does not satisfy required maxItems constraint: 150");
|
|
824
865
|
}
|
|
825
|
-
if (
|
|
826
|
-
|
|
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
|
-
}
|
|
866
|
+
if (!_ValidationUtils.default.validateMinItems(this.storageUsageBytes, 1)) {
|
|
867
|
+
return new _ValidationError.default("storageUsageBytes", "does not satisfy required minItems constraint: 1");
|
|
835
868
|
}
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
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
|
-
}
|
|
869
|
+
}
|
|
870
|
+
if (property === "inboundBytesPerSecond") {
|
|
871
|
+
if (typeof this.inboundBytesPerSecond === 'undefined' || this.inboundBytesPerSecond === null) {
|
|
872
|
+
return new _ValidationError.default("inboundBytesPerSecond", "undefined or null");
|
|
846
873
|
}
|
|
847
|
-
if (
|
|
848
|
-
|
|
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
|
-
}
|
|
874
|
+
if (!_ValidationUtils.default.validateMaxItems(this.inboundBytesPerSecond, 150)) {
|
|
875
|
+
return new _ValidationError.default("inboundBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
857
876
|
}
|
|
858
|
-
if (
|
|
859
|
-
|
|
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
|
-
}
|
|
877
|
+
if (!_ValidationUtils.default.validateMinItems(this.inboundBytesPerSecond, 1)) {
|
|
878
|
+
return new _ValidationError.default("inboundBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
868
879
|
}
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
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
|
-
}
|
|
880
|
+
}
|
|
881
|
+
if (property === "outboundBytesPerSecond") {
|
|
882
|
+
if (typeof this.outboundBytesPerSecond === 'undefined' || this.outboundBytesPerSecond === null) {
|
|
883
|
+
return new _ValidationError.default("outboundBytesPerSecond", "undefined or null");
|
|
879
884
|
}
|
|
880
|
-
if (
|
|
881
|
-
|
|
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
|
-
}
|
|
885
|
+
if (!_ValidationUtils.default.validateMaxItems(this.outboundBytesPerSecond, 150)) {
|
|
886
|
+
return new _ValidationError.default("outboundBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
890
887
|
}
|
|
891
|
-
if (
|
|
892
|
-
|
|
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
|
-
}
|
|
888
|
+
if (!_ValidationUtils.default.validateMinItems(this.outboundBytesPerSecond, 1)) {
|
|
889
|
+
return new _ValidationError.default("outboundBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
901
890
|
}
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
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
|
-
}
|
|
891
|
+
}
|
|
892
|
+
if (property === "getRequestThroughputBytesPerSecond") {
|
|
893
|
+
if (typeof this.getRequestThroughputBytesPerSecond === 'undefined' || this.getRequestThroughputBytesPerSecond === null) {
|
|
894
|
+
return new _ValidationError.default("getRequestThroughputBytesPerSecond", "undefined or null");
|
|
912
895
|
}
|
|
913
|
-
if (
|
|
914
|
-
|
|
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
|
-
}
|
|
896
|
+
if (!_ValidationUtils.default.validateMaxItems(this.getRequestThroughputBytesPerSecond, 150)) {
|
|
897
|
+
return new _ValidationError.default("getRequestThroughputBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
923
898
|
}
|
|
924
|
-
if (
|
|
925
|
-
|
|
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
|
-
}
|
|
899
|
+
if (!_ValidationUtils.default.validateMinItems(this.getRequestThroughputBytesPerSecond, 1)) {
|
|
900
|
+
return new _ValidationError.default("getRequestThroughputBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
934
901
|
}
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
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
|
-
}
|
|
902
|
+
}
|
|
903
|
+
if (property === "putRequestThroughputBytesPerSecond") {
|
|
904
|
+
if (typeof this.putRequestThroughputBytesPerSecond === 'undefined' || this.putRequestThroughputBytesPerSecond === null) {
|
|
905
|
+
return new _ValidationError.default("putRequestThroughputBytesPerSecond", "undefined or null");
|
|
945
906
|
}
|
|
946
|
-
if (
|
|
947
|
-
|
|
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
|
-
}
|
|
907
|
+
if (!_ValidationUtils.default.validateMaxItems(this.putRequestThroughputBytesPerSecond, 150)) {
|
|
908
|
+
return new _ValidationError.default("putRequestThroughputBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
956
909
|
}
|
|
957
|
-
if (
|
|
958
|
-
|
|
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
|
-
}
|
|
910
|
+
if (!_ValidationUtils.default.validateMinItems(this.putRequestThroughputBytesPerSecond, 1)) {
|
|
911
|
+
return new _ValidationError.default("putRequestThroughputBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
967
912
|
}
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
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
|
-
}
|
|
913
|
+
}
|
|
914
|
+
if (property === "postRequestsPerSecond") {
|
|
915
|
+
if (typeof this.postRequestsPerSecond === 'undefined' || this.postRequestsPerSecond === null) {
|
|
916
|
+
return new _ValidationError.default("postRequestsPerSecond", "undefined or null");
|
|
978
917
|
}
|
|
979
|
-
if (
|
|
980
|
-
|
|
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
|
-
}
|
|
918
|
+
if (!_ValidationUtils.default.validateMaxItems(this.postRequestsPerSecond, 150)) {
|
|
919
|
+
return new _ValidationError.default("postRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
989
920
|
}
|
|
990
|
-
if (
|
|
991
|
-
|
|
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
|
-
}
|
|
921
|
+
if (!_ValidationUtils.default.validateMinItems(this.postRequestsPerSecond, 1)) {
|
|
922
|
+
return new _ValidationError.default("postRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1000
923
|
}
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
924
|
+
}
|
|
925
|
+
if (property === "headRequestsPerSecond") {
|
|
926
|
+
if (typeof this.headRequestsPerSecond === 'undefined' || this.headRequestsPerSecond === null) {
|
|
927
|
+
return new _ValidationError.default("headRequestsPerSecond", "undefined or null");
|
|
928
|
+
}
|
|
929
|
+
if (!_ValidationUtils.default.validateMaxItems(this.headRequestsPerSecond, 150)) {
|
|
930
|
+
return new _ValidationError.default("headRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
931
|
+
}
|
|
932
|
+
if (!_ValidationUtils.default.validateMinItems(this.headRequestsPerSecond, 1)) {
|
|
933
|
+
return new _ValidationError.default("headRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1011
934
|
}
|
|
1012
|
-
return new _ValidationError["default"](property, "no such property exists");
|
|
1013
935
|
}
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
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
|
-
}
|
|
936
|
+
if (property === "getRequestsPerSecond") {
|
|
937
|
+
if (typeof this.getRequestsPerSecond === 'undefined' || this.getRequestsPerSecond === null) {
|
|
938
|
+
return new _ValidationError.default("getRequestsPerSecond", "undefined or null");
|
|
939
|
+
}
|
|
940
|
+
if (!_ValidationUtils.default.validateMaxItems(this.getRequestsPerSecond, 150)) {
|
|
941
|
+
return new _ValidationError.default("getRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
942
|
+
}
|
|
943
|
+
if (!_ValidationUtils.default.validateMinItems(this.getRequestsPerSecond, 1)) {
|
|
944
|
+
return new _ValidationError.default("getRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1233
945
|
}
|
|
1234
|
-
return obj;
|
|
1235
946
|
}
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
947
|
+
if (property === "putRequestsPerSecond") {
|
|
948
|
+
if (typeof this.putRequestsPerSecond === 'undefined' || this.putRequestsPerSecond === null) {
|
|
949
|
+
return new _ValidationError.default("putRequestsPerSecond", "undefined or null");
|
|
950
|
+
}
|
|
951
|
+
if (!_ValidationUtils.default.validateMaxItems(this.putRequestsPerSecond, 150)) {
|
|
952
|
+
return new _ValidationError.default("putRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
953
|
+
}
|
|
954
|
+
if (!_ValidationUtils.default.validateMinItems(this.putRequestsPerSecond, 1)) {
|
|
955
|
+
return new _ValidationError.default("putRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
if (property === "deleteRequestsPerSecond") {
|
|
959
|
+
if (typeof this.deleteRequestsPerSecond === 'undefined' || this.deleteRequestsPerSecond === null) {
|
|
960
|
+
return new _ValidationError.default("deleteRequestsPerSecond", "undefined or null");
|
|
961
|
+
}
|
|
962
|
+
if (!_ValidationUtils.default.validateMaxItems(this.deleteRequestsPerSecond, 150)) {
|
|
963
|
+
return new _ValidationError.default("deleteRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
964
|
+
}
|
|
965
|
+
if (!_ValidationUtils.default.validateMinItems(this.deleteRequestsPerSecond, 1)) {
|
|
966
|
+
return new _ValidationError.default("deleteRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
if (property === "objectOperationsPerSecond") {
|
|
970
|
+
if (typeof this.objectOperationsPerSecond === 'undefined' || this.objectOperationsPerSecond === null) {
|
|
971
|
+
return new _ValidationError.default("objectOperationsPerSecond", "undefined or null");
|
|
972
|
+
}
|
|
973
|
+
if (!_ValidationUtils.default.validateMaxItems(this.objectOperationsPerSecond, 150)) {
|
|
974
|
+
return new _ValidationError.default("objectOperationsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
975
|
+
}
|
|
976
|
+
if (!_ValidationUtils.default.validateMinItems(this.objectOperationsPerSecond, 1)) {
|
|
977
|
+
return new _ValidationError.default("objectOperationsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
if (property === "getObjectTtfbMsecs") {
|
|
981
|
+
if (typeof this.getObjectTtfbMsecs === 'undefined' || this.getObjectTtfbMsecs === null) {
|
|
982
|
+
return new _ValidationError.default("getObjectTtfbMsecs", "undefined or null");
|
|
983
|
+
}
|
|
984
|
+
if (!_ValidationUtils.default.validateMaxItems(this.getObjectTtfbMsecs, 150)) {
|
|
985
|
+
return new _ValidationError.default("getObjectTtfbMsecs", "does not satisfy required maxItems constraint: 150");
|
|
986
|
+
}
|
|
987
|
+
if (!_ValidationUtils.default.validateMinItems(this.getObjectTtfbMsecs, 1)) {
|
|
988
|
+
return new _ValidationError.default("getObjectTtfbMsecs", "does not satisfy required minItems constraint: 1");
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
if (property === "getBucketOperationsPerSecond") {
|
|
992
|
+
if (typeof this.getBucketOperationsPerSecond === 'undefined' || this.getBucketOperationsPerSecond === null) {
|
|
993
|
+
return new _ValidationError.default("getBucketOperationsPerSecond", "undefined or null");
|
|
994
|
+
}
|
|
995
|
+
if (!_ValidationUtils.default.validateMaxItems(this.getBucketOperationsPerSecond, 150)) {
|
|
996
|
+
return new _ValidationError.default("getBucketOperationsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
997
|
+
}
|
|
998
|
+
if (!_ValidationUtils.default.validateMinItems(this.getBucketOperationsPerSecond, 1)) {
|
|
999
|
+
return new _ValidationError.default("getBucketOperationsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
if (property === "listMultipartUploadsOperationsPerSecond") {
|
|
1003
|
+
if (typeof this.listMultipartUploadsOperationsPerSecond === 'undefined' || this.listMultipartUploadsOperationsPerSecond === null) {
|
|
1004
|
+
return new _ValidationError.default("listMultipartUploadsOperationsPerSecond", "undefined or null");
|
|
1005
|
+
}
|
|
1006
|
+
if (!_ValidationUtils.default.validateMaxItems(this.listMultipartUploadsOperationsPerSecond, 150)) {
|
|
1007
|
+
return new _ValidationError.default("listMultipartUploadsOperationsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
1008
|
+
}
|
|
1009
|
+
if (!_ValidationUtils.default.validateMinItems(this.listMultipartUploadsOperationsPerSecond, 1)) {
|
|
1010
|
+
return new _ValidationError.default("listMultipartUploadsOperationsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
if (property === "multipartUploadStartOperationsPerSecond") {
|
|
1014
|
+
if (typeof this.multipartUploadStartOperationsPerSecond === 'undefined' || this.multipartUploadStartOperationsPerSecond === null) {
|
|
1015
|
+
return new _ValidationError.default("multipartUploadStartOperationsPerSecond", "undefined or null");
|
|
1016
|
+
}
|
|
1017
|
+
if (!_ValidationUtils.default.validateMaxItems(this.multipartUploadStartOperationsPerSecond, 150)) {
|
|
1018
|
+
return new _ValidationError.default("multipartUploadStartOperationsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
1019
|
+
}
|
|
1020
|
+
if (!_ValidationUtils.default.validateMinItems(this.multipartUploadStartOperationsPerSecond, 1)) {
|
|
1021
|
+
return new _ValidationError.default("multipartUploadStartOperationsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1022
|
+
}
|
|
1248
1023
|
}
|
|
1249
|
-
|
|
1250
|
-
|
|
1024
|
+
if (property === "selectObjectContentOperationsPerSecond") {
|
|
1025
|
+
if (typeof this.selectObjectContentOperationsPerSecond === 'undefined' || this.selectObjectContentOperationsPerSecond === null) {
|
|
1026
|
+
return new _ValidationError.default("selectObjectContentOperationsPerSecond", "undefined or null");
|
|
1027
|
+
}
|
|
1028
|
+
if (!_ValidationUtils.default.validateMaxItems(this.selectObjectContentOperationsPerSecond, 150)) {
|
|
1029
|
+
return new _ValidationError.default("selectObjectContentOperationsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
1030
|
+
}
|
|
1031
|
+
if (!_ValidationUtils.default.validateMinItems(this.selectObjectContentOperationsPerSecond, 1)) {
|
|
1032
|
+
return new _ValidationError.default("selectObjectContentOperationsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
if (property === "nfsReadRequestsPerSecond") {
|
|
1036
|
+
if (typeof this.nfsReadRequestsPerSecond === 'undefined' || this.nfsReadRequestsPerSecond === null) {
|
|
1037
|
+
return new _ValidationError.default("nfsReadRequestsPerSecond", "undefined or null");
|
|
1038
|
+
}
|
|
1039
|
+
if (!_ValidationUtils.default.validateMaxItems(this.nfsReadRequestsPerSecond, 150)) {
|
|
1040
|
+
return new _ValidationError.default("nfsReadRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
1041
|
+
}
|
|
1042
|
+
if (!_ValidationUtils.default.validateMinItems(this.nfsReadRequestsPerSecond, 1)) {
|
|
1043
|
+
return new _ValidationError.default("nfsReadRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
if (property === "nfsWriteRequestsPerSecond") {
|
|
1047
|
+
if (typeof this.nfsWriteRequestsPerSecond === 'undefined' || this.nfsWriteRequestsPerSecond === null) {
|
|
1048
|
+
return new _ValidationError.default("nfsWriteRequestsPerSecond", "undefined or null");
|
|
1049
|
+
}
|
|
1050
|
+
if (!_ValidationUtils.default.validateMaxItems(this.nfsWriteRequestsPerSecond, 150)) {
|
|
1051
|
+
return new _ValidationError.default("nfsWriteRequestsPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
1052
|
+
}
|
|
1053
|
+
if (!_ValidationUtils.default.validateMinItems(this.nfsWriteRequestsPerSecond, 1)) {
|
|
1054
|
+
return new _ValidationError.default("nfsWriteRequestsPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
if (property === "nfsReadThroughputBytesPerSecond") {
|
|
1058
|
+
if (typeof this.nfsReadThroughputBytesPerSecond === 'undefined' || this.nfsReadThroughputBytesPerSecond === null) {
|
|
1059
|
+
return new _ValidationError.default("nfsReadThroughputBytesPerSecond", "undefined or null");
|
|
1060
|
+
}
|
|
1061
|
+
if (!_ValidationUtils.default.validateMaxItems(this.nfsReadThroughputBytesPerSecond, 150)) {
|
|
1062
|
+
return new _ValidationError.default("nfsReadThroughputBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
1063
|
+
}
|
|
1064
|
+
if (!_ValidationUtils.default.validateMinItems(this.nfsReadThroughputBytesPerSecond, 1)) {
|
|
1065
|
+
return new _ValidationError.default("nfsReadThroughputBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
if (property === "nfsWriteThroughputBytesPerSecond") {
|
|
1069
|
+
if (typeof this.nfsWriteThroughputBytesPerSecond === 'undefined' || this.nfsWriteThroughputBytesPerSecond === null) {
|
|
1070
|
+
return new _ValidationError.default("nfsWriteThroughputBytesPerSecond", "undefined or null");
|
|
1071
|
+
}
|
|
1072
|
+
if (!_ValidationUtils.default.validateMaxItems(this.nfsWriteThroughputBytesPerSecond, 150)) {
|
|
1073
|
+
return new _ValidationError.default("nfsWriteThroughputBytesPerSecond", "does not satisfy required maxItems constraint: 150");
|
|
1074
|
+
}
|
|
1075
|
+
if (!_ValidationUtils.default.validateMinItems(this.nfsWriteThroughputBytesPerSecond, 1)) {
|
|
1076
|
+
return new _ValidationError.default("nfsWriteThroughputBytesPerSecond", "does not satisfy required minItems constraint: 1");
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
return new _ValidationError.default(property, "no such property exists");
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1251
1083
|
/**
|
|
1252
1084
|
* Number of Objects in the Object store. This stat is updated every 10 minutes. It includes the count of the incomplete multipart uploads.
|
|
1253
1085
|
* @memberof ObjectstoreStats
|
|
1254
1086
|
*/
|
|
1087
|
+
exports.default = ObjectstoreStats;
|
|
1255
1088
|
function _toJsonMapType(obj, forMutation) {
|
|
1256
1089
|
if (obj instanceof Map) {
|
|
1257
|
-
return Object.fromEntries(Array.from(obj,
|
|
1258
|
-
|
|
1259
|
-
|
|
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) {
|
|
1090
|
+
return Object.fromEntries(Array.from(obj, ([k, v]) => [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v]));
|
|
1091
|
+
} else if (typeof obj === 'object' && obj != null && obj.constructor === Object) {
|
|
1092
|
+
return Object.fromEntries(Array.from(Object.entries(obj), entry => {
|
|
1265
1093
|
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
1266
1094
|
}));
|
|
1267
1095
|
}
|
|
@@ -1411,15 +1239,15 @@ ObjectstoreStats.prototype.nfsWriteThroughputBytesPerSecond = undefined;
|
|
|
1411
1239
|
* A globally unique identifier of an instance that is suitable for external consumption.
|
|
1412
1240
|
* @memberof ObjectstoreStats
|
|
1413
1241
|
*/
|
|
1414
|
-
_ExternalizableAbstractModel
|
|
1242
|
+
_ExternalizableAbstractModel.default.prototype.extId = undefined;
|
|
1415
1243
|
/**
|
|
1416
1244
|
* 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
1245
|
* @memberof ObjectstoreStats
|
|
1418
1246
|
*/
|
|
1419
|
-
_ExternalizableAbstractModel
|
|
1247
|
+
_ExternalizableAbstractModel.default.prototype.links = undefined;
|
|
1420
1248
|
/**
|
|
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
|
|
1249
|
+
* 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
1250
|
* @memberof ObjectstoreStats
|
|
1423
1251
|
*/
|
|
1424
|
-
_TenantAwareModel
|
|
1252
|
+
_TenantAwareModel.default.prototype.tenantId = undefined;
|
|
1425
1253
|
// Implement OneOfobjects.v4.stats.GetObjectstoreStatsApiResponsedata interface:
|