@nutanix-scratch/objects-js-client 4.0.1-beta.1 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/Ntnx-Objects-js-client-prod.js +1 -1
- package/dist/Ntnx-Objects-js-client.js +115 -49
- package/dist/es/ApiClient.d.ts +1 -1
- package/dist/es/ApiClient.js +5 -5
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +3 -3
- package/dist/es/apis/objectstores-endpoints.d.ts +9 -6
- package/dist/es/apis/objectstores-endpoints.js +24 -21
- package/dist/es/apis/stats-endpoints.d.ts +69 -0
- package/dist/es/apis/stats-endpoints.js +154 -0
- package/dist/es/index.d.ts +13 -1
- package/dist/es/index.js +48 -0
- package/dist/es/models/common/v1/config/FQDN.d.ts +1 -1
- package/dist/es/models/common/v1/config/FQDN.js +3 -3
- package/dist/es/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/es/models/common/v1/config/Flag.js +3 -3
- package/dist/es/models/common/v1/config/IPAddress.d.ts +1 -1
- package/dist/es/models/common/v1/config/IPAddress.js +3 -3
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +1 -1
- package/dist/es/models/common/v1/config/IPv4Address.js +3 -3
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +1 -1
- package/dist/es/models/common/v1/config/IPv6Address.js +3 -3
- package/dist/es/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/es/models/common/v1/config/KVPair.js +3 -3
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/es/models/common/v1/config/Message.d.ts +1 -1
- package/dist/es/models/common/v1/config/Message.js +3 -3
- package/dist/es/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/es/models/common/v1/config/Metadata.d.ts +1 -1
- package/dist/es/models/common/v1/config/Metadata.js +3 -3
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +1 -1
- package/dist/es/models/common/v1/config/TenantAwareModel.js +3 -3
- package/dist/es/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiLink.js +3 -3
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +3 -3
- package/dist/es/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
- package/dist/es/models/common/v1/stats/DownSamplingOperator.js +109 -0
- package/dist/es/models/common/v1/stats/TimeIntValuePair.d.ts +64 -0
- package/dist/es/models/common/v1/stats/TimeIntValuePair.js +313 -0
- package/dist/es/models/objects/v4/config/Certificate.d.ts +48 -1
- package/dist/es/models/objects/v4/config/Certificate.js +100 -6
- package/dist/es/models/objects/v4/config/CertificateProjection.d.ts +1 -1
- package/dist/es/models/objects/v4/config/CertificateProjection.js +5 -4
- package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.d.ts +4 -2
- package/dist/es/models/objects/v4/config/CreateCertificateApiResponse.js +5 -5
- package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +1 -1
- package/dist/es/models/objects/v4/config/CreateObjectstoreApiResponse.js +5 -5
- package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +1 -1
- package/dist/es/models/objects/v4/config/DeleteObjectstoreApiResponse.js +5 -5
- package/dist/es/models/objects/v4/config/GetCaApiResponse.d.ts +2 -4
- package/dist/es/models/objects/v4/config/GetCaApiResponse.js +5 -5
- package/dist/es/models/objects/v4/config/GetCertificateApiResponse.d.ts +1 -1
- package/dist/es/models/objects/v4/config/GetCertificateApiResponse.js +5 -5
- package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +4 -2
- package/dist/es/models/objects/v4/config/GetObjectstoreApiResponse.js +5 -5
- package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.d.ts +1 -1
- package/dist/es/models/objects/v4/config/ListCertificatesApiResponse.js +5 -5
- package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +1 -1
- package/dist/es/models/objects/v4/config/ListObjectstoresApiResponse.js +5 -5
- package/dist/es/models/objects/v4/config/ObjectStore.d.ts +1 -1
- package/dist/es/models/objects/v4/config/ObjectStore.js +4 -4
- package/dist/es/models/objects/v4/config/ObjectStoreProjection.d.ts +24 -1
- package/dist/es/models/objects/v4/config/ObjectStoreProjection.js +4 -4
- package/dist/es/models/objects/v4/config/State.js +2 -2
- package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +1 -1
- package/dist/es/models/objects/v4/config/UpdateObjectstoreApiResponse.js +5 -5
- package/dist/es/models/objects/v4/error/AppMessage.d.ts +1 -1
- package/dist/es/models/objects/v4/error/AppMessage.js +4 -4
- package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/es/models/objects/v4/error/ErrorResponse.js +6 -5
- package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/es/models/objects/v4/error/SchemaValidationError.js +4 -4
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +99 -0
- package/dist/es/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +343 -0
- package/dist/es/models/objects/v4/stats/ObjectstoreStats.d.ts +423 -0
- package/dist/es/models/objects/v4/stats/ObjectstoreStats.js +1425 -0
- package/dist/es/models/objects/v4/stats/TimeFloatValuePair.d.ts +64 -0
- package/dist/es/models/objects/v4/stats/TimeFloatValuePair.js +313 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/es/models/prism/v4/config/TaskReference.js +7 -7
- package/dist/es/models/validation/ValidationError.js +2 -2
- package/dist/es/utils/ValidationUtils.js +2 -2
- package/dist/lib/ApiClient.d.ts +1 -1
- package/dist/lib/ApiClient.js +5 -5
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +3 -3
- package/dist/lib/apis/objectstores-endpoints.d.ts +9 -6
- package/dist/lib/apis/objectstores-endpoints.js +24 -21
- package/dist/lib/apis/stats-endpoints.d.ts +69 -0
- package/dist/lib/apis/stats-endpoints.js +154 -0
- package/dist/lib/index.d.ts +13 -1
- package/dist/lib/index.js +48 -0
- package/dist/lib/models/common/v1/config/FQDN.d.ts +1 -1
- package/dist/lib/models/common/v1/config/FQDN.js +3 -3
- package/dist/lib/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Flag.js +3 -3
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +1 -1
- package/dist/lib/models/common/v1/config/IPAddress.js +3 -3
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +1 -1
- package/dist/lib/models/common/v1/config/IPv4Address.js +3 -3
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +1 -1
- package/dist/lib/models/common/v1/config/IPv6Address.js +3 -3
- package/dist/lib/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/lib/models/common/v1/config/KVPair.js +3 -3
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/lib/models/common/v1/config/Message.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Message.js +3 -3
- package/dist/lib/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/lib/models/common/v1/config/Metadata.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Metadata.js +3 -3
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +1 -1
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +3 -3
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiLink.js +3 -3
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +3 -3
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.d.ts +19 -0
- package/dist/lib/models/common/v1/stats/DownSamplingOperator.js +109 -0
- package/dist/lib/models/common/v1/stats/TimeIntValuePair.d.ts +64 -0
- package/dist/lib/models/common/v1/stats/TimeIntValuePair.js +313 -0
- package/dist/lib/models/objects/v4/config/Certificate.d.ts +48 -1
- package/dist/lib/models/objects/v4/config/Certificate.js +100 -6
- package/dist/lib/models/objects/v4/config/CertificateProjection.d.ts +1 -1
- package/dist/lib/models/objects/v4/config/CertificateProjection.js +5 -4
- package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.d.ts +4 -2
- package/dist/lib/models/objects/v4/config/CreateCertificateApiResponse.js +5 -5
- package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.d.ts +1 -1
- package/dist/lib/models/objects/v4/config/CreateObjectstoreApiResponse.js +5 -5
- package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.d.ts +1 -1
- package/dist/lib/models/objects/v4/config/DeleteObjectstoreApiResponse.js +5 -5
- package/dist/lib/models/objects/v4/config/GetCaApiResponse.d.ts +2 -4
- package/dist/lib/models/objects/v4/config/GetCaApiResponse.js +5 -5
- package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.d.ts +1 -1
- package/dist/lib/models/objects/v4/config/GetCertificateApiResponse.js +5 -5
- package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.d.ts +4 -2
- package/dist/lib/models/objects/v4/config/GetObjectstoreApiResponse.js +5 -5
- package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.d.ts +1 -1
- package/dist/lib/models/objects/v4/config/ListCertificatesApiResponse.js +5 -5
- package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.d.ts +1 -1
- package/dist/lib/models/objects/v4/config/ListObjectstoresApiResponse.js +5 -5
- package/dist/lib/models/objects/v4/config/ObjectStore.d.ts +1 -1
- package/dist/lib/models/objects/v4/config/ObjectStore.js +4 -4
- package/dist/lib/models/objects/v4/config/ObjectStoreProjection.d.ts +24 -1
- package/dist/lib/models/objects/v4/config/ObjectStoreProjection.js +4 -4
- package/dist/lib/models/objects/v4/config/State.js +2 -2
- package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.d.ts +1 -1
- package/dist/lib/models/objects/v4/config/UpdateObjectstoreApiResponse.js +5 -5
- package/dist/lib/models/objects/v4/error/AppMessage.d.ts +1 -1
- package/dist/lib/models/objects/v4/error/AppMessage.js +4 -4
- package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/lib/models/objects/v4/error/ErrorResponse.js +6 -5
- package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/lib/models/objects/v4/error/SchemaValidationError.js +4 -4
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.d.ts +99 -0
- package/dist/lib/models/objects/v4/stats/GetObjectstoreStatsApiResponse.js +343 -0
- package/dist/lib/models/objects/v4/stats/ObjectstoreStats.d.ts +423 -0
- package/dist/lib/models/objects/v4/stats/ObjectstoreStats.js +1425 -0
- package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.d.ts +64 -0
- package/dist/lib/models/objects/v4/stats/TimeFloatValuePair.js +313 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/lib/models/prism/v4/config/TaskReference.js +7 -7
- package/dist/lib/models/validation/ValidationError.js +2 -2
- package/dist/lib/utils/ValidationUtils.js +2 -2
- package/package.json +1 -1
|
@@ -40,11 +40,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
41
41
|
* Nutanix Objects Storage Management APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.0.1
|
|
43
|
+
* OpenAPI spec version: 4.0.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version: 16.9.
|
|
47
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,14 +52,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
52
52
|
/**
|
|
53
53
|
* The ListObjectstoresApiResponse model module.
|
|
54
54
|
* @module Ntnx/ListObjectstoresApiResponse
|
|
55
|
-
* @version 4.0.1
|
|
55
|
+
* @version 4.0.1
|
|
56
56
|
* @class ListObjectstoresApiResponse
|
|
57
57
|
*/
|
|
58
58
|
var _ListObjectstoresApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
59
59
|
var ListObjectstoresApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
60
60
|
/**
|
|
61
61
|
* Constructs a new <code>ListObjectstoresApiResponse</code>.
|
|
62
|
-
* REST response for all response codes in API path /objects/v4.0
|
|
62
|
+
* REST response for all response codes in API path /objects/v4.0/config/object-stores Get operation
|
|
63
63
|
* @alias module:Ntnx/ListObjectstoresApiResponse
|
|
64
64
|
*/
|
|
65
65
|
function ListObjectstoresApiResponse() {
|
|
@@ -76,7 +76,7 @@ var ListObjectstoresApiResponse = exports["default"] = /*#__PURE__*/function (_P
|
|
|
76
76
|
_this.$objectType = "objects.v4.config.ListObjectstoresApiResponse";
|
|
77
77
|
/** @type {object<string, any>} */
|
|
78
78
|
_this.$reserved = {
|
|
79
|
-
'$fv': "v4.r0
|
|
79
|
+
'$fv': "v4.r0"
|
|
80
80
|
};
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$unknownFields = {};
|
|
@@ -41,11 +41,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
41
41
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
42
42
|
* Nutanix Objects Storage Management APIs
|
|
43
43
|
*
|
|
44
|
-
* OpenAPI spec version: 4.0.1
|
|
44
|
+
* OpenAPI spec version: 4.0.1
|
|
45
45
|
*
|
|
46
46
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
47
47
|
*
|
|
48
|
-
* Open API Dev Platform Codegen version: 16.9.
|
|
48
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
49
49
|
*
|
|
50
50
|
* Do not edit the class manually.
|
|
51
51
|
*
|
|
@@ -53,7 +53,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
53
53
|
/**
|
|
54
54
|
* The ObjectStore model module.
|
|
55
55
|
* @module Ntnx/ObjectStore
|
|
56
|
-
* @version 4.0.1
|
|
56
|
+
* @version 4.0.1
|
|
57
57
|
* @class ObjectStore
|
|
58
58
|
* @extends ExternalizableAbstractModel
|
|
59
59
|
*
|
|
@@ -83,7 +83,7 @@ var ObjectStore = exports["default"] = /*#__PURE__*/function (_ExternalizableAbs
|
|
|
83
83
|
_this.$objectType = "objects.v4.config.ObjectStore";
|
|
84
84
|
/** @type {object<string, any>} */
|
|
85
85
|
_this.$reserved = {
|
|
86
|
-
'$fv': "v4.r0
|
|
86
|
+
'$fv': "v4.r0"
|
|
87
87
|
};
|
|
88
88
|
/** @type {object<string, any>} */
|
|
89
89
|
_this.$unknownFields = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The ObjectStoreProjection model module.
|
|
3
3
|
* @module Ntnx/ObjectStoreProjection
|
|
4
|
-
* @version 4.0.1
|
|
4
|
+
* @version 4.0.1
|
|
5
5
|
* @class ObjectStoreProjection
|
|
6
6
|
* @extends ObjectStore
|
|
7
7
|
*
|
|
@@ -124,8 +124,31 @@ export default class ObjectStoreProjection extends ObjectStore {
|
|
|
124
124
|
href?: string;
|
|
125
125
|
}[];
|
|
126
126
|
extId?: string;
|
|
127
|
+
alternateIps?: {
|
|
128
|
+
$reserved: any;
|
|
129
|
+
$objectType: string;
|
|
130
|
+
$unknownFields: any;
|
|
131
|
+
ipv6?: {
|
|
132
|
+
$reserved: any;
|
|
133
|
+
$objectType: string;
|
|
134
|
+
$unknownFields: any;
|
|
135
|
+
prefixLength?: number;
|
|
136
|
+
value?: string;
|
|
137
|
+
};
|
|
138
|
+
ipv4?: {
|
|
139
|
+
$reserved: any;
|
|
140
|
+
$objectType: string;
|
|
141
|
+
$unknownFields: any;
|
|
142
|
+
prefixLength?: number;
|
|
143
|
+
value?: string;
|
|
144
|
+
};
|
|
145
|
+
}[];
|
|
146
|
+
shouldGenerate?: boolean;
|
|
127
147
|
alternateFqdns?: {
|
|
128
148
|
$reserved: any;
|
|
149
|
+
/**
|
|
150
|
+
* @return {CertificateProjection[]}
|
|
151
|
+
*/
|
|
129
152
|
$objectType: string;
|
|
130
153
|
$unknownFields: any;
|
|
131
154
|
value?: string;
|
|
@@ -42,11 +42,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
42
42
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
43
43
|
* Nutanix Objects Storage Management APIs
|
|
44
44
|
*
|
|
45
|
-
* OpenAPI spec version: 4.0.1
|
|
45
|
+
* OpenAPI spec version: 4.0.1
|
|
46
46
|
*
|
|
47
47
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
48
48
|
*
|
|
49
|
-
* Open API Dev Platform Codegen version: 16.9.
|
|
49
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
50
50
|
*
|
|
51
51
|
* Do not edit the class manually.
|
|
52
52
|
*
|
|
@@ -54,7 +54,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
54
54
|
/**
|
|
55
55
|
* The ObjectStoreProjection model module.
|
|
56
56
|
* @module Ntnx/ObjectStoreProjection
|
|
57
|
-
* @version 4.0.1
|
|
57
|
+
* @version 4.0.1
|
|
58
58
|
* @class ObjectStoreProjection
|
|
59
59
|
* @extends ObjectStore
|
|
60
60
|
*
|
|
@@ -83,7 +83,7 @@ var ObjectStoreProjection = exports["default"] = /*#__PURE__*/function (_ObjectS
|
|
|
83
83
|
_this.$objectType = "objects.v4.config.ObjectStoreProjection";
|
|
84
84
|
/** @type {object<string, any>} */
|
|
85
85
|
_this.$reserved = {
|
|
86
|
-
'$fv': "v4.r0
|
|
86
|
+
'$fv': "v4.r0"
|
|
87
87
|
};
|
|
88
88
|
/** @type {object<string, any>} */
|
|
89
89
|
_this.$unknownFields = {};
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Objects Storage Management APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.0.1
|
|
14
|
+
* OpenAPI spec version: 4.0.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version: 16.9.
|
|
18
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -39,11 +39,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
39
39
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
40
40
|
* Nutanix Objects Storage Management APIs
|
|
41
41
|
*
|
|
42
|
-
* OpenAPI spec version: 4.0.1
|
|
42
|
+
* OpenAPI spec version: 4.0.1
|
|
43
43
|
*
|
|
44
44
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
45
45
|
*
|
|
46
|
-
* Open API Dev Platform Codegen version: 16.9.
|
|
46
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
47
47
|
*
|
|
48
48
|
* Do not edit the class manually.
|
|
49
49
|
*
|
|
@@ -51,14 +51,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
51
51
|
/**
|
|
52
52
|
* The UpdateObjectstoreApiResponse model module.
|
|
53
53
|
* @module Ntnx/UpdateObjectstoreApiResponse
|
|
54
|
-
* @version 4.0.1
|
|
54
|
+
* @version 4.0.1
|
|
55
55
|
* @class UpdateObjectstoreApiResponse
|
|
56
56
|
*/
|
|
57
57
|
var _UpdateObjectstoreApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
58
58
|
var UpdateObjectstoreApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
59
59
|
/**
|
|
60
60
|
* Constructs a new <code>UpdateObjectstoreApiResponse</code>.
|
|
61
|
-
* REST response for all response codes in API path /objects/v4.0
|
|
61
|
+
* REST response for all response codes in API path /objects/v4.0/config/object-stores/{extId} Put operation
|
|
62
62
|
* @alias module:Ntnx/UpdateObjectstoreApiResponse
|
|
63
63
|
*/
|
|
64
64
|
function UpdateObjectstoreApiResponse() {
|
|
@@ -75,7 +75,7 @@ var UpdateObjectstoreApiResponse = exports["default"] = /*#__PURE__*/function (_
|
|
|
75
75
|
_this.$objectType = "objects.v4.config.UpdateObjectstoreApiResponse";
|
|
76
76
|
/** @type {object<string, any>} */
|
|
77
77
|
_this.$reserved = {
|
|
78
|
-
'$fv': "v4.r0
|
|
78
|
+
'$fv': "v4.r0"
|
|
79
79
|
};
|
|
80
80
|
/** @type {object<string, any>} */
|
|
81
81
|
_this.$unknownFields = {};
|
|
@@ -29,11 +29,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
29
29
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
30
30
|
* Nutanix Objects Storage Management APIs
|
|
31
31
|
*
|
|
32
|
-
* OpenAPI spec version: 4.0.1
|
|
32
|
+
* OpenAPI spec version: 4.0.1
|
|
33
33
|
*
|
|
34
34
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
35
35
|
*
|
|
36
|
-
* Open API Dev Platform Codegen version: 16.9.
|
|
36
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
37
37
|
*
|
|
38
38
|
* Do not edit the class manually.
|
|
39
39
|
*
|
|
@@ -41,7 +41,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
41
41
|
/**
|
|
42
42
|
* The AppMessage model module.
|
|
43
43
|
* @module Ntnx/AppMessage
|
|
44
|
-
* @version 4.0.1
|
|
44
|
+
* @version 4.0.1
|
|
45
45
|
* @class AppMessage
|
|
46
46
|
*/
|
|
47
47
|
var _AppMessage_brand = /*#__PURE__*/new WeakSet();
|
|
@@ -63,7 +63,7 @@ var AppMessage = exports["default"] = /*#__PURE__*/function () {
|
|
|
63
63
|
this.$objectType = "objects.v4.error.AppMessage";
|
|
64
64
|
/** @type {object<string, any>} */
|
|
65
65
|
this.$reserved = {
|
|
66
|
-
'$fv': "v4.r0
|
|
66
|
+
'$fv': "v4.r0"
|
|
67
67
|
};
|
|
68
68
|
/** @type {object<string, any>} */
|
|
69
69
|
this.$unknownFields = {};
|
|
@@ -30,11 +30,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
30
30
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
31
31
|
* Nutanix Objects Storage Management APIs
|
|
32
32
|
*
|
|
33
|
-
* OpenAPI spec version: 4.0.1
|
|
33
|
+
* OpenAPI spec version: 4.0.1
|
|
34
34
|
*
|
|
35
35
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
36
36
|
*
|
|
37
|
-
* Open API Dev Platform Codegen version: 16.9.
|
|
37
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
38
38
|
*
|
|
39
39
|
* Do not edit the class manually.
|
|
40
40
|
*
|
|
@@ -42,7 +42,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
42
42
|
/**
|
|
43
43
|
* The ErrorResponse model module.
|
|
44
44
|
* @module Ntnx/ErrorResponse
|
|
45
|
-
* @version 4.0.1
|
|
45
|
+
* @version 4.0.1
|
|
46
46
|
* @class ErrorResponse
|
|
47
47
|
*/
|
|
48
48
|
var _ErrorResponse_brand = /*#__PURE__*/new WeakSet();
|
|
@@ -64,7 +64,7 @@ var ErrorResponse = exports["default"] = /*#__PURE__*/function () {
|
|
|
64
64
|
this.$objectType = "objects.v4.error.ErrorResponse";
|
|
65
65
|
/** @type {object<string, any>} */
|
|
66
66
|
this.$reserved = {
|
|
67
|
-
'$fv': "v4.r0
|
|
67
|
+
'$fv': "v4.r0"
|
|
68
68
|
};
|
|
69
69
|
/** @type {object<string, any>} */
|
|
70
70
|
this.$unknownFields = {};
|
|
@@ -315,10 +315,11 @@ ErrorResponse.prototype.$unknownFields = undefined;
|
|
|
315
315
|
|
|
316
316
|
// Implement OneOfobjects.v4.config.CreateCertificateApiResponsedata interface:
|
|
317
317
|
// Implement OneOfobjects.v4.config.CreateObjectstoreApiResponsedata interface:
|
|
318
|
+
// Implement OneOfobjects.v4.config.ListCertificatesApiResponsedata interface:
|
|
318
319
|
// Implement OneOfobjects.v4.config.DeleteObjectstoreApiResponsedata interface:
|
|
319
320
|
// Implement OneOfobjects.v4.config.ListObjectstoresApiResponsedata interface:
|
|
321
|
+
// Implement OneOfobjects.v4.stats.GetObjectstoreStatsApiResponsedata interface:
|
|
320
322
|
// Implement OneOfobjects.v4.config.GetObjectstoreApiResponsedata interface:
|
|
321
323
|
// Implement OneOfobjects.v4.config.GetCertificateApiResponsedata interface:
|
|
322
324
|
// Implement OneOfobjects.v4.config.GetCaApiResponsedata interface:
|
|
323
|
-
// Implement OneOfobjects.v4.config.ListCertificatesApiResponsedata interface:
|
|
324
325
|
// Implement OneOfobjects.v4.config.UpdateObjectstoreApiResponsedata interface:
|
|
@@ -29,11 +29,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
29
29
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
30
30
|
* Nutanix Objects Storage Management APIs
|
|
31
31
|
*
|
|
32
|
-
* OpenAPI spec version: 4.0.1
|
|
32
|
+
* OpenAPI spec version: 4.0.1
|
|
33
33
|
*
|
|
34
34
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
35
35
|
*
|
|
36
|
-
* Open API Dev Platform Codegen version: 16.9.
|
|
36
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
37
37
|
*
|
|
38
38
|
* Do not edit the class manually.
|
|
39
39
|
*
|
|
@@ -41,7 +41,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
41
41
|
/**
|
|
42
42
|
* The SchemaValidationError model module.
|
|
43
43
|
* @module Ntnx/SchemaValidationError
|
|
44
|
-
* @version 4.0.1
|
|
44
|
+
* @version 4.0.1
|
|
45
45
|
* @class SchemaValidationError
|
|
46
46
|
*/
|
|
47
47
|
var _SchemaValidationError_brand = /*#__PURE__*/new WeakSet();
|
|
@@ -63,7 +63,7 @@ var SchemaValidationError = exports["default"] = /*#__PURE__*/function () {
|
|
|
63
63
|
this.$objectType = "objects.v4.error.SchemaValidationError";
|
|
64
64
|
/** @type {object<string, any>} */
|
|
65
65
|
this.$reserved = {
|
|
66
|
-
'$fv': "v4.r0
|
|
66
|
+
'$fv': "v4.r0"
|
|
67
67
|
};
|
|
68
68
|
/** @type {object<string, any>} */
|
|
69
69
|
this.$unknownFields = {};
|
|
@@ -27,11 +27,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
27
27
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
28
28
|
* Nutanix Objects Storage Management APIs
|
|
29
29
|
*
|
|
30
|
-
* OpenAPI spec version: 4.0.1
|
|
30
|
+
* OpenAPI spec version: 4.0.1
|
|
31
31
|
*
|
|
32
32
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
33
|
*
|
|
34
|
-
* Open API Dev Platform Codegen version: 16.9.
|
|
34
|
+
* Open API Dev Platform Codegen version: 16.9.1.8738-RELEASE
|
|
35
35
|
*
|
|
36
36
|
* Do not edit the class manually.
|
|
37
37
|
*
|
|
@@ -39,7 +39,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
39
39
|
/**
|
|
40
40
|
* The SchemaValidationErrorMessage model module.
|
|
41
41
|
* @module Ntnx/SchemaValidationErrorMessage
|
|
42
|
-
* @version 4.0.1
|
|
42
|
+
* @version 4.0.1
|
|
43
43
|
* @class SchemaValidationErrorMessage
|
|
44
44
|
*/
|
|
45
45
|
var _SchemaValidationErrorMessage_brand = /*#__PURE__*/new WeakSet();
|
|
@@ -61,7 +61,7 @@ var SchemaValidationErrorMessage = exports["default"] = /*#__PURE__*/function ()
|
|
|
61
61
|
this.$objectType = "objects.v4.error.SchemaValidationErrorMessage";
|
|
62
62
|
/** @type {object<string, any>} */
|
|
63
63
|
this.$reserved = {
|
|
64
|
-
'$fv': "v4.r0
|
|
64
|
+
'$fv': "v4.r0"
|
|
65
65
|
};
|
|
66
66
|
/** @type {object<string, any>} */
|
|
67
67
|
this.$unknownFields = {};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The GetObjectstoreStatsApiResponse model module.
|
|
3
|
+
* @module Ntnx/GetObjectstoreStatsApiResponse
|
|
4
|
+
* @version 4.0.1
|
|
5
|
+
* @class GetObjectstoreStatsApiResponse
|
|
6
|
+
*/
|
|
7
|
+
export default class GetObjectstoreStatsApiResponse extends Paginable {
|
|
8
|
+
/**
|
|
9
|
+
* Constructs a <code>GetObjectstoreStatsApiResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
10
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
11
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
12
|
+
* @param {module:Ntnx/GetObjectstoreStatsApiResponse} obj Optional instance to populate.
|
|
13
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
14
|
+
* @return {module:Ntnx/GetObjectstoreStatsApiResponse} The populated <code>GetObjectstoreStatsApiResponse</code> instance.
|
|
15
|
+
*/
|
|
16
|
+
static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any;
|
|
17
|
+
/**
|
|
18
|
+
* Converts a given snake_case string to camelCase.
|
|
19
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
20
|
+
* @returns {string} - The converted string in camelCase format.
|
|
21
|
+
*/
|
|
22
|
+
static snakeToCamel(snakeStr: string): string;
|
|
23
|
+
$objectType: string;
|
|
24
|
+
/** @type {object<string, any>} */
|
|
25
|
+
$reserved: object;
|
|
26
|
+
/** @type {object<string, any>} */
|
|
27
|
+
$unknownFields: object;
|
|
28
|
+
/**
|
|
29
|
+
* @return {ApiResponseMetadata}
|
|
30
|
+
*/
|
|
31
|
+
getMetadata(): ApiResponseMetadata;
|
|
32
|
+
/**
|
|
33
|
+
* @param {ApiResponseMetadata} metadata
|
|
34
|
+
*/
|
|
35
|
+
setMetadata(metadata: ApiResponseMetadata): void;
|
|
36
|
+
metadata: ApiResponseMetadata;
|
|
37
|
+
/**
|
|
38
|
+
* @return {ObjectstoreStats | ErrorResponse}
|
|
39
|
+
*/
|
|
40
|
+
getData(): ObjectstoreStats | ErrorResponse;
|
|
41
|
+
/**
|
|
42
|
+
* @param {ObjectstoreStats | ErrorResponse} data
|
|
43
|
+
*/
|
|
44
|
+
setData(data: ObjectstoreStats | ErrorResponse): void;
|
|
45
|
+
data: ErrorResponse | ObjectstoreStats;
|
|
46
|
+
get$Reserved(): any;
|
|
47
|
+
get$ObjectType(): string;
|
|
48
|
+
get$UnknownFields(): any;
|
|
49
|
+
toJson(forMutation: any): {
|
|
50
|
+
$reserved: any;
|
|
51
|
+
$objectType: string;
|
|
52
|
+
$unknownFields: any;
|
|
53
|
+
data?: any;
|
|
54
|
+
metadata?: {
|
|
55
|
+
$reserved: any;
|
|
56
|
+
$objectType: string;
|
|
57
|
+
$unknownFields: any;
|
|
58
|
+
extraInfo?: {
|
|
59
|
+
$reserved: any;
|
|
60
|
+
$objectType: string;
|
|
61
|
+
$unknownFields: any;
|
|
62
|
+
value?: any;
|
|
63
|
+
name?: string;
|
|
64
|
+
}[];
|
|
65
|
+
messages?: {
|
|
66
|
+
$reserved: any;
|
|
67
|
+
$objectType: string;
|
|
68
|
+
$unknownFields: any;
|
|
69
|
+
severity?: string;
|
|
70
|
+
locale?: string;
|
|
71
|
+
message?: string;
|
|
72
|
+
code?: string;
|
|
73
|
+
}[];
|
|
74
|
+
totalAvailableResults?: number;
|
|
75
|
+
links?: {
|
|
76
|
+
$reserved: any;
|
|
77
|
+
$objectType: string;
|
|
78
|
+
$unknownFields: any;
|
|
79
|
+
rel?: string;
|
|
80
|
+
href?: string;
|
|
81
|
+
}[];
|
|
82
|
+
flags?: {
|
|
83
|
+
$reserved: any;
|
|
84
|
+
$objectType: string;
|
|
85
|
+
$unknownFields: any;
|
|
86
|
+
value?: boolean;
|
|
87
|
+
name?: string;
|
|
88
|
+
}[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
92
|
+
validateProperty(scope: any, property: any): ValidationError;
|
|
93
|
+
#private;
|
|
94
|
+
}
|
|
95
|
+
import Paginable from "../../../../Paginable";
|
|
96
|
+
import ApiResponseMetadata from "../../../common/v1/response/ApiResponseMetadata";
|
|
97
|
+
import ObjectstoreStats from "./ObjectstoreStats";
|
|
98
|
+
import ErrorResponse from "../error/ErrorResponse";
|
|
99
|
+
import ValidationError from "../../../validation/ValidationError";
|