@nutanix-scratch/objects-js-client 4.0.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +49 -0
- package/README.md +200 -0
- package/dist/Ntnx-Objects-js-client-prod.js +1 -0
- package/dist/Ntnx-Objects-js-client.js +729 -0
- package/dist/es/ApiClient.d.ts +159 -0
- package/dist/es/ApiClient.js +1211 -0
- package/dist/es/Paginable.d.ts +95 -0
- package/dist/es/Paginable.js +287 -0
- package/dist/es/apis/objectstores-endpoints.d.ts +231 -0
- package/dist/es/apis/objectstores-endpoints.js +522 -0
- package/dist/es/index.d.ts +64 -0
- package/dist/es/index.js +252 -0
- package/dist/es/models/common/v1/config/FQDN.d.ts +48 -0
- package/dist/es/models/common/v1/config/FQDN.js +242 -0
- package/dist/es/models/common/v1/config/Flag.d.ts +58 -0
- package/dist/es/models/common/v1/config/Flag.js +275 -0
- package/dist/es/models/common/v1/config/IPAddress.d.ts +61 -0
- package/dist/es/models/common/v1/config/IPAddress.js +291 -0
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +62 -0
- package/dist/es/models/common/v1/config/IPv4Address.js +288 -0
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +62 -0
- package/dist/es/models/common/v1/config/IPv6Address.js +288 -0
- package/dist/es/models/common/v1/config/KVPair.d.ts +62 -0
- package/dist/es/models/common/v1/config/KVPair.js +332 -0
- package/dist/es/models/common/v1/config/Message.d.ts +84 -0
- package/dist/es/models/common/v1/config/Message.js +354 -0
- package/dist/es/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/es/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/es/models/common/v1/config/Metadata.d.ts +98 -0
- package/dist/es/models/common/v1/config/Metadata.js +411 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +50 -0
- package/dist/es/models/common/v1/config/TenantAwareModel.js +243 -0
- package/dist/es/models/common/v1/response/ApiLink.d.ts +62 -0
- package/dist/es/models/common/v1/response/ApiLink.js +280 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +438 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
- package/dist/es/models/objects/v4/error/AppMessage.d.ts +108 -0
- package/dist/es/models/objects/v4/error/AppMessage.js +432 -0
- package/dist/es/models/objects/v4/error/ErrorResponse.d.ts +48 -0
- package/dist/es/models/objects/v4/error/ErrorResponse.js +288 -0
- package/dist/es/models/objects/v4/error/SchemaValidationError.d.ts +98 -0
- package/dist/es/models/objects/v4/error/SchemaValidationError.js +407 -0
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
- package/dist/es/models/objects/v4/error/SchemaValidationErrorMessage.js +318 -0
- package/dist/es/models/objects/v4/operations/Certificate.d.ts +78 -0
- package/dist/es/models/objects/v4/operations/Certificate.js +411 -0
- package/dist/es/models/objects/v4/operations/CertificateApiResponse.d.ts +59 -0
- package/dist/es/models/objects/v4/operations/CertificateApiResponse.js +311 -0
- package/dist/es/models/objects/v4/operations/CertificateListApiResponse.d.ts +59 -0
- package/dist/es/models/objects/v4/operations/CertificateListApiResponse.js +338 -0
- package/dist/es/models/objects/v4/operations/CertificateProjection.d.ts +9 -0
- package/dist/es/models/objects/v4/operations/CertificateProjection.js +131 -0
- package/dist/es/models/objects/v4/operations/Objectstore.d.ts +242 -0
- package/dist/es/models/objects/v4/operations/Objectstore.js +945 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +59 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreApiResponse.js +311 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +59 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreListApiResponse.js +338 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreProjection.d.ts +50 -0
- package/dist/es/models/objects/v4/operations/ObjectstoreProjection.js +298 -0
- package/dist/es/models/objects/v4/operations/StateEnum.d.ts +19 -0
- package/dist/es/models/objects/v4/operations/StateEnum.js +145 -0
- package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +59 -0
- package/dist/es/models/objects/v4/operations/TaskReferenceApiResponse.js +311 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +50 -0
- package/dist/es/models/prism/v4/config/TaskReference.js +247 -0
- package/dist/es/models/validation/ValidationError.d.ts +13 -0
- package/dist/es/models/validation/ValidationError.js +60 -0
- package/dist/es/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/es/models/validation/ValidationScopes.js +38 -0
- package/dist/es/utils/ValidationUtils.d.ts +13 -0
- package/dist/es/utils/ValidationUtils.js +85 -0
- package/dist/lib/ApiClient.d.ts +159 -0
- package/dist/lib/ApiClient.js +1211 -0
- package/dist/lib/Paginable.d.ts +95 -0
- package/dist/lib/Paginable.js +287 -0
- package/dist/lib/apis/objectstores-endpoints.d.ts +231 -0
- package/dist/lib/apis/objectstores-endpoints.js +522 -0
- package/dist/lib/index.d.ts +64 -0
- package/dist/lib/index.js +252 -0
- package/dist/lib/models/common/v1/config/FQDN.d.ts +48 -0
- package/dist/lib/models/common/v1/config/FQDN.js +242 -0
- package/dist/lib/models/common/v1/config/Flag.d.ts +58 -0
- package/dist/lib/models/common/v1/config/Flag.js +275 -0
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +61 -0
- package/dist/lib/models/common/v1/config/IPAddress.js +291 -0
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +62 -0
- package/dist/lib/models/common/v1/config/IPv4Address.js +288 -0
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +62 -0
- package/dist/lib/models/common/v1/config/IPv6Address.js +288 -0
- package/dist/lib/models/common/v1/config/KVPair.d.ts +62 -0
- package/dist/lib/models/common/v1/config/KVPair.js +332 -0
- package/dist/lib/models/common/v1/config/Message.d.ts +84 -0
- package/dist/lib/models/common/v1/config/Message.js +354 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.d.ts +19 -0
- package/dist/lib/models/common/v1/config/MessageSeverity.js +91 -0
- package/dist/lib/models/common/v1/config/Metadata.d.ts +98 -0
- package/dist/lib/models/common/v1/config/Metadata.js +411 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +50 -0
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +243 -0
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +62 -0
- package/dist/lib/models/common/v1/response/ApiLink.js +280 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +98 -0
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +438 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +42 -0
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +270 -0
- package/dist/lib/models/objects/v4/error/AppMessage.d.ts +108 -0
- package/dist/lib/models/objects/v4/error/AppMessage.js +432 -0
- package/dist/lib/models/objects/v4/error/ErrorResponse.d.ts +48 -0
- package/dist/lib/models/objects/v4/error/ErrorResponse.js +288 -0
- package/dist/lib/models/objects/v4/error/SchemaValidationError.d.ts +98 -0
- package/dist/lib/models/objects/v4/error/SchemaValidationError.js +407 -0
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.d.ts +74 -0
- package/dist/lib/models/objects/v4/error/SchemaValidationErrorMessage.js +318 -0
- package/dist/lib/models/objects/v4/operations/Certificate.d.ts +78 -0
- package/dist/lib/models/objects/v4/operations/Certificate.js +411 -0
- package/dist/lib/models/objects/v4/operations/CertificateApiResponse.d.ts +59 -0
- package/dist/lib/models/objects/v4/operations/CertificateApiResponse.js +311 -0
- package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.d.ts +59 -0
- package/dist/lib/models/objects/v4/operations/CertificateListApiResponse.js +338 -0
- package/dist/lib/models/objects/v4/operations/CertificateProjection.d.ts +9 -0
- package/dist/lib/models/objects/v4/operations/CertificateProjection.js +131 -0
- package/dist/lib/models/objects/v4/operations/Objectstore.d.ts +242 -0
- package/dist/lib/models/objects/v4/operations/Objectstore.js +945 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.d.ts +59 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreApiResponse.js +311 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.d.ts +59 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreListApiResponse.js +338 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.d.ts +50 -0
- package/dist/lib/models/objects/v4/operations/ObjectstoreProjection.js +298 -0
- package/dist/lib/models/objects/v4/operations/StateEnum.d.ts +19 -0
- package/dist/lib/models/objects/v4/operations/StateEnum.js +145 -0
- package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.d.ts +59 -0
- package/dist/lib/models/objects/v4/operations/TaskReferenceApiResponse.js +311 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +50 -0
- package/dist/lib/models/prism/v4/config/TaskReference.js +247 -0
- package/dist/lib/models/validation/ValidationError.d.ts +13 -0
- package/dist/lib/models/validation/ValidationError.js +60 -0
- package/dist/lib/models/validation/ValidationScopes.d.ts +9 -0
- package/dist/lib/models/validation/ValidationScopes.js +38 -0
- package/dist/lib/utils/ValidationUtils.d.ts +13 -0
- package/dist/lib/utils/ValidationUtils.js +85 -0
- package/package.json +53 -0
package/dist/es/index.js
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "ApiClient", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _ApiClient.ApiClient;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "ApiLink", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _ApiLink["default"];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "ApiResponseMetadata", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _ApiResponseMetadata["default"];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "AppMessage", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _AppMessage["default"];
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "Certificate", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _Certificate["default"];
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "CertificateApiResponse", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _CertificateApiResponse["default"];
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "CertificateListApiResponse", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _CertificateListApiResponse["default"];
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "CertificateProjection", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function get() {
|
|
51
|
+
return _CertificateProjection["default"];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "ErrorResponse", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function get() {
|
|
57
|
+
return _ErrorResponse["default"];
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "ExternalizableAbstractModel", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function get() {
|
|
63
|
+
return _ExternalizableAbstractModel["default"];
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "FQDN", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _FQDN["default"];
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "Flag", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function get() {
|
|
75
|
+
return _Flag["default"];
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "IPAddress", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function get() {
|
|
81
|
+
return _IPAddress["default"];
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "IPv4Address", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function get() {
|
|
87
|
+
return _IPv4Address["default"];
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "IPv6Address", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _IPv6Address["default"];
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "KVPair", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function get() {
|
|
99
|
+
return _KVPair["default"];
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "Message", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function get() {
|
|
105
|
+
return _Message["default"];
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "MessageSeverity", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function get() {
|
|
111
|
+
return _MessageSeverity["default"];
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "Metadata", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function get() {
|
|
117
|
+
return _Metadata["default"];
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "ObjectStoresApi", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function get() {
|
|
123
|
+
return _objectstoresEndpoints.ObjectStoresApi;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "Objectstore", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function get() {
|
|
129
|
+
return _Objectstore["default"];
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "ObjectstoreApiResponse", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function get() {
|
|
135
|
+
return _ObjectstoreApiResponse["default"];
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "ObjectstoreListApiResponse", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function get() {
|
|
141
|
+
return _ObjectstoreListApiResponse["default"];
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "ObjectstoreProjection", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function get() {
|
|
147
|
+
return _ObjectstoreProjection["default"];
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "SchemaValidationError", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function get() {
|
|
153
|
+
return _SchemaValidationError["default"];
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "SchemaValidationErrorMessage", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function get() {
|
|
159
|
+
return _SchemaValidationErrorMessage["default"];
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(exports, "StateEnum", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function get() {
|
|
165
|
+
return _StateEnum["default"];
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "TaskReference", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function get() {
|
|
171
|
+
return _TaskReference["default"];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
Object.defineProperty(exports, "TaskReferenceApiResponse", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function get() {
|
|
177
|
+
return _TaskReferenceApiResponse["default"];
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "TenantAwareModel", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function get() {
|
|
183
|
+
return _TenantAwareModel["default"];
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
exports["default"] = void 0;
|
|
187
|
+
var _ApiClient = require("./ApiClient");
|
|
188
|
+
var _objectstoresEndpoints = require("./apis/objectstores-endpoints");
|
|
189
|
+
var _FQDN = _interopRequireDefault(require("./models/common/v1/config/FQDN"));
|
|
190
|
+
var _Flag = _interopRequireDefault(require("./models/common/v1/config/Flag"));
|
|
191
|
+
var _IPAddress = _interopRequireDefault(require("./models/common/v1/config/IPAddress"));
|
|
192
|
+
var _IPv4Address = _interopRequireDefault(require("./models/common/v1/config/IPv4Address"));
|
|
193
|
+
var _IPv6Address = _interopRequireDefault(require("./models/common/v1/config/IPv6Address"));
|
|
194
|
+
var _KVPair = _interopRequireDefault(require("./models/common/v1/config/KVPair"));
|
|
195
|
+
var _Message = _interopRequireDefault(require("./models/common/v1/config/Message"));
|
|
196
|
+
var _MessageSeverity = _interopRequireDefault(require("./models/common/v1/config/MessageSeverity"));
|
|
197
|
+
var _Metadata = _interopRequireDefault(require("./models/common/v1/config/Metadata"));
|
|
198
|
+
var _TenantAwareModel = _interopRequireDefault(require("./models/common/v1/config/TenantAwareModel"));
|
|
199
|
+
var _ApiLink = _interopRequireDefault(require("./models/common/v1/response/ApiLink"));
|
|
200
|
+
var _ApiResponseMetadata = _interopRequireDefault(require("./models/common/v1/response/ApiResponseMetadata"));
|
|
201
|
+
var _ExternalizableAbstractModel = _interopRequireDefault(require("./models/common/v1/response/ExternalizableAbstractModel"));
|
|
202
|
+
var _AppMessage = _interopRequireDefault(require("./models/objects/v4/error/AppMessage"));
|
|
203
|
+
var _ErrorResponse = _interopRequireDefault(require("./models/objects/v4/error/ErrorResponse"));
|
|
204
|
+
var _SchemaValidationError = _interopRequireDefault(require("./models/objects/v4/error/SchemaValidationError"));
|
|
205
|
+
var _SchemaValidationErrorMessage = _interopRequireDefault(require("./models/objects/v4/error/SchemaValidationErrorMessage"));
|
|
206
|
+
var _Certificate = _interopRequireDefault(require("./models/objects/v4/operations/Certificate"));
|
|
207
|
+
var _CertificateApiResponse = _interopRequireDefault(require("./models/objects/v4/operations/CertificateApiResponse"));
|
|
208
|
+
var _CertificateListApiResponse = _interopRequireDefault(require("./models/objects/v4/operations/CertificateListApiResponse"));
|
|
209
|
+
var _CertificateProjection = _interopRequireDefault(require("./models/objects/v4/operations/CertificateProjection"));
|
|
210
|
+
var _Objectstore = _interopRequireDefault(require("./models/objects/v4/operations/Objectstore"));
|
|
211
|
+
var _ObjectstoreApiResponse = _interopRequireDefault(require("./models/objects/v4/operations/ObjectstoreApiResponse"));
|
|
212
|
+
var _ObjectstoreListApiResponse = _interopRequireDefault(require("./models/objects/v4/operations/ObjectstoreListApiResponse"));
|
|
213
|
+
var _ObjectstoreProjection = _interopRequireDefault(require("./models/objects/v4/operations/ObjectstoreProjection"));
|
|
214
|
+
var _StateEnum = _interopRequireDefault(require("./models/objects/v4/operations/StateEnum"));
|
|
215
|
+
var _TaskReferenceApiResponse = _interopRequireDefault(require("./models/objects/v4/operations/TaskReferenceApiResponse"));
|
|
216
|
+
var _TaskReference = _interopRequireDefault(require("./models/prism/v4/config/TaskReference"));
|
|
217
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
218
|
+
// Export base files
|
|
219
|
+
// Export APIs
|
|
220
|
+
// Export models
|
|
221
|
+
var _default = exports["default"] = {
|
|
222
|
+
ApiClient: _ApiClient.ApiClient,
|
|
223
|
+
ObjectStoresApi: _objectstoresEndpoints.ObjectStoresApi,
|
|
224
|
+
FQDN: _FQDN["default"],
|
|
225
|
+
Flag: _Flag["default"],
|
|
226
|
+
IPAddress: _IPAddress["default"],
|
|
227
|
+
IPv4Address: _IPv4Address["default"],
|
|
228
|
+
IPv6Address: _IPv6Address["default"],
|
|
229
|
+
KVPair: _KVPair["default"],
|
|
230
|
+
Message: _Message["default"],
|
|
231
|
+
MessageSeverity: _MessageSeverity["default"],
|
|
232
|
+
Metadata: _Metadata["default"],
|
|
233
|
+
TenantAwareModel: _TenantAwareModel["default"],
|
|
234
|
+
ApiLink: _ApiLink["default"],
|
|
235
|
+
ApiResponseMetadata: _ApiResponseMetadata["default"],
|
|
236
|
+
ExternalizableAbstractModel: _ExternalizableAbstractModel["default"],
|
|
237
|
+
AppMessage: _AppMessage["default"],
|
|
238
|
+
ErrorResponse: _ErrorResponse["default"],
|
|
239
|
+
SchemaValidationError: _SchemaValidationError["default"],
|
|
240
|
+
SchemaValidationErrorMessage: _SchemaValidationErrorMessage["default"],
|
|
241
|
+
Certificate: _Certificate["default"],
|
|
242
|
+
CertificateApiResponse: _CertificateApiResponse["default"],
|
|
243
|
+
CertificateListApiResponse: _CertificateListApiResponse["default"],
|
|
244
|
+
CertificateProjection: _CertificateProjection["default"],
|
|
245
|
+
Objectstore: _Objectstore["default"],
|
|
246
|
+
ObjectstoreApiResponse: _ObjectstoreApiResponse["default"],
|
|
247
|
+
ObjectstoreListApiResponse: _ObjectstoreListApiResponse["default"],
|
|
248
|
+
ObjectstoreProjection: _ObjectstoreProjection["default"],
|
|
249
|
+
StateEnum: _StateEnum["default"],
|
|
250
|
+
TaskReferenceApiResponse: _TaskReferenceApiResponse["default"],
|
|
251
|
+
TaskReference: _TaskReference["default"]
|
|
252
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The FQDN model module.
|
|
3
|
+
* @module Ntnx/FQDN
|
|
4
|
+
* @version 4.0.1-alpha-2
|
|
5
|
+
* @class FQDN
|
|
6
|
+
*/
|
|
7
|
+
export default class FQDN {
|
|
8
|
+
/**
|
|
9
|
+
* Constructs a <code>FQDN</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/FQDN} obj Optional instance to populate.
|
|
13
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
14
|
+
* @return {module:Ntnx/FQDN} The populated <code>FQDN</code> instance.
|
|
15
|
+
*/
|
|
16
|
+
static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
|
|
17
|
+
$objectType: string;
|
|
18
|
+
$reserved: {
|
|
19
|
+
$fv: string;
|
|
20
|
+
};
|
|
21
|
+
$unknownFields: {};
|
|
22
|
+
/**
|
|
23
|
+
* @return {}
|
|
24
|
+
*/
|
|
25
|
+
getValue(): any;
|
|
26
|
+
/**
|
|
27
|
+
* @param {} value
|
|
28
|
+
*/
|
|
29
|
+
setValue(value: any): void;
|
|
30
|
+
value: any;
|
|
31
|
+
get$Reserved(): {
|
|
32
|
+
$fv: string;
|
|
33
|
+
};
|
|
34
|
+
get$ObjectType(): string;
|
|
35
|
+
get$UnknownFields(): {};
|
|
36
|
+
toJson(forMutation: any): {
|
|
37
|
+
$reserved: {
|
|
38
|
+
$fv: string;
|
|
39
|
+
};
|
|
40
|
+
$objectType: string;
|
|
41
|
+
$unknownFields: {};
|
|
42
|
+
value?: any;
|
|
43
|
+
};
|
|
44
|
+
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
45
|
+
validateProperty(scope: any, property: any): ValidationError;
|
|
46
|
+
#private;
|
|
47
|
+
}
|
|
48
|
+
import ValidationError from "../../../validation/ValidationError";
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
8
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
12
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
13
|
+
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."); }
|
|
14
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
15
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
16
|
+
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; } }
|
|
17
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18
|
+
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; }
|
|
19
|
+
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; }
|
|
20
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
22
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
23
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
24
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
25
|
+
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); }
|
|
26
|
+
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
27
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } /*
|
|
28
|
+
* Nutanix Objects Storage Management APIs
|
|
29
|
+
*
|
|
30
|
+
* OpenAPI spec version: 4.0.1-alpha-2
|
|
31
|
+
*
|
|
32
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
|
+
*
|
|
34
|
+
* Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
|
|
35
|
+
*
|
|
36
|
+
* Do not edit the class manually.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* The FQDN model module.
|
|
41
|
+
* @module Ntnx/FQDN
|
|
42
|
+
* @version 4.0.1-alpha-2
|
|
43
|
+
* @class FQDN
|
|
44
|
+
*/
|
|
45
|
+
var _FQDN_brand = /*#__PURE__*/new WeakSet();
|
|
46
|
+
var FQDN = exports["default"] = /*#__PURE__*/function () {
|
|
47
|
+
/**
|
|
48
|
+
* Constructs a new <code>FQDN</code>.
|
|
49
|
+
* A fully qualified domain name that specifies its exact location in the tree hierarchy of the Domain Name System.
|
|
50
|
+
* @alias module:Ntnx/FQDN
|
|
51
|
+
*/
|
|
52
|
+
function FQDN() {
|
|
53
|
+
_classCallCheck(this, FQDN);
|
|
54
|
+
/*
|
|
55
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
56
|
+
* @param {Object} obj
|
|
57
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
58
|
+
* Otherwise, just returns the input object.
|
|
59
|
+
*/
|
|
60
|
+
_classPrivateMethodInitSpec(this, _FQDN_brand);
|
|
61
|
+
this.$objectType = "common.v1.config.FQDN";
|
|
62
|
+
this.$reserved = {
|
|
63
|
+
'$fv': "v1.r0.b1"
|
|
64
|
+
};
|
|
65
|
+
this.$unknownFields = {};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Constructs a <code>FQDN</code> from a plain JavaScript object, optionally creating a new instance.
|
|
70
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
71
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
72
|
+
* @param {module:Ntnx/FQDN} obj Optional instance to populate.
|
|
73
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
74
|
+
* @return {module:Ntnx/FQDN} The populated <code>FQDN</code> instance.
|
|
75
|
+
*/
|
|
76
|
+
return _createClass(FQDN, [{
|
|
77
|
+
key: "getValue",
|
|
78
|
+
value:
|
|
79
|
+
/**
|
|
80
|
+
* @return {}
|
|
81
|
+
*/
|
|
82
|
+
function getValue() {
|
|
83
|
+
return this.value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @param {} value
|
|
88
|
+
*/
|
|
89
|
+
}, {
|
|
90
|
+
key: "setValue",
|
|
91
|
+
value: function setValue(value) {
|
|
92
|
+
this.value = value;
|
|
93
|
+
}
|
|
94
|
+
}, {
|
|
95
|
+
key: "get$Reserved",
|
|
96
|
+
value: function get$Reserved() {
|
|
97
|
+
return this.$reserved;
|
|
98
|
+
}
|
|
99
|
+
}, {
|
|
100
|
+
key: "get$ObjectType",
|
|
101
|
+
value: function get$ObjectType() {
|
|
102
|
+
return this.$objectType;
|
|
103
|
+
}
|
|
104
|
+
}, {
|
|
105
|
+
key: "get$UnknownFields",
|
|
106
|
+
value: function get$UnknownFields() {
|
|
107
|
+
return this.$unknownFields;
|
|
108
|
+
}
|
|
109
|
+
}, {
|
|
110
|
+
key: "toJson",
|
|
111
|
+
value: function toJson(forMutation) {
|
|
112
|
+
if (forMutation === false) {
|
|
113
|
+
return _objectSpread(_objectSpread({}, typeof this.getValue() !== 'undefined' && this.getValue() !== null ? {
|
|
114
|
+
'value': this.getValue()
|
|
115
|
+
} : {}), {}, {
|
|
116
|
+
'$reserved': this.get$Reserved(),
|
|
117
|
+
'$objectType': this.get$ObjectType(),
|
|
118
|
+
'$unknownFields': this.get$UnknownFields()
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
return _objectSpread(_objectSpread({}, typeof this.getValue() !== 'undefined' && this.getValue() !== null ? {
|
|
122
|
+
'value': this.getValue()
|
|
123
|
+
} : {}), {}, {
|
|
124
|
+
'$reserved': this.get$Reserved(),
|
|
125
|
+
'$objectType': this.get$ObjectType(),
|
|
126
|
+
'$unknownFields': this.get$UnknownFields()
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
}, {
|
|
130
|
+
key: "validate",
|
|
131
|
+
value: function validate(scope, properties) {
|
|
132
|
+
var _this = this;
|
|
133
|
+
var propList = [];
|
|
134
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
135
|
+
//cases validate() and validate(scope)
|
|
136
|
+
propList = [];
|
|
137
|
+
} else if (arguments.length === 1) {
|
|
138
|
+
//case validate(properties)
|
|
139
|
+
propList = arguments[0];
|
|
140
|
+
scope = null;
|
|
141
|
+
} else {
|
|
142
|
+
//case validate(scope, properties)
|
|
143
|
+
propList = arguments[1];
|
|
144
|
+
}
|
|
145
|
+
var res = [];
|
|
146
|
+
var err = null;
|
|
147
|
+
propList.forEach(function (property) {
|
|
148
|
+
err = _this.validateProperty(property, scope);
|
|
149
|
+
if (err) {
|
|
150
|
+
res.push(err);
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
return new Promise(function (resolve, reject) {
|
|
154
|
+
if (res.length !== 0) {
|
|
155
|
+
reject(err);
|
|
156
|
+
} else {
|
|
157
|
+
resolve();
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
}, {
|
|
162
|
+
key: "validateProperty",
|
|
163
|
+
value: function validateProperty(scope, property) {
|
|
164
|
+
if (property === "value") {
|
|
165
|
+
if (typeof this.value === 'undefined' || this.value === null) {
|
|
166
|
+
return new _ValidationError["default"]("value", "undefined or null");
|
|
167
|
+
}
|
|
168
|
+
if (!_ValidationUtils["default"].validatePattern(this.value, /^(?:[a-z0-9][\\w\\-]*[a-z0-9]*\\.)*(?:(?:(?:[a-z0-9][\\w\\-]*[a-z0-9]*)(?:\\.[a-z0-9]+)?))$/)) {
|
|
169
|
+
return new _ValidationError["default"]("value", "does not satisfy required pattern: /^(?:[a-z0-9][\\w\\-]*[a-z0-9]*\\.)*(?:(?:(?:[a-z0-9][\\w\\-]*[a-z0-9]*)(?:\\.[a-z0-9]+)?))$/");
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
if (property === "$reserved") {
|
|
173
|
+
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
174
|
+
return new _ValidationError["default"]("$reserved", "undefined or null");
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
if (property === "$objectType") {
|
|
178
|
+
if (typeof this.$objectType === 'undefined' || this.$objectType === null) {
|
|
179
|
+
return new _ValidationError["default"]("$objectType", "undefined or null");
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
if (property === "$unknownFields") {
|
|
183
|
+
if (typeof this.$unknownFields === 'undefined' || this.$unknownFields === null) {
|
|
184
|
+
return new _ValidationError["default"]("$unknownFields", "undefined or null");
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
return new _ValidationError["default"](property, "no such property exists");
|
|
188
|
+
}
|
|
189
|
+
}], [{
|
|
190
|
+
key: "constructFromObject",
|
|
191
|
+
value: function constructFromObject(data, obj) {
|
|
192
|
+
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
193
|
+
var items, item, i, itemArr, discriminator;
|
|
194
|
+
if (data) {
|
|
195
|
+
obj = obj || new FQDN();
|
|
196
|
+
if (data.hasOwnProperty('value') && data.value !== null && data.value !== undefined) {
|
|
197
|
+
obj.setValue(data['value']);
|
|
198
|
+
}
|
|
199
|
+
if (data.hasOwnProperty('$reserved')) {
|
|
200
|
+
obj.$reserved = data['$reserved'];
|
|
201
|
+
}
|
|
202
|
+
if (data.hasOwnProperty('$objectType')) {
|
|
203
|
+
obj.$objectType = data['$objectType'];
|
|
204
|
+
}
|
|
205
|
+
if (data.hasOwnProperty('$unknownFields')) {
|
|
206
|
+
obj.$unknownFields = data['$unknownFields'];
|
|
207
|
+
}
|
|
208
|
+
if (!callFromChild) {
|
|
209
|
+
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
210
|
+
for (var property in data) {
|
|
211
|
+
if (!Object.keys(obj).includes(property) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
212
|
+
obj.$unknownFields[property] = data[property];
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return obj;
|
|
218
|
+
}
|
|
219
|
+
}]);
|
|
220
|
+
}();
|
|
221
|
+
/**
|
|
222
|
+
* @memberof FQDN
|
|
223
|
+
*/
|
|
224
|
+
function _toJsonMapType(obj, forMutation) {
|
|
225
|
+
if (obj instanceof Map) {
|
|
226
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
227
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
228
|
+
k = _ref2[0],
|
|
229
|
+
v = _ref2[1];
|
|
230
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
231
|
+
}));
|
|
232
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
233
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
234
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
235
|
+
}));
|
|
236
|
+
}
|
|
237
|
+
return obj;
|
|
238
|
+
}
|
|
239
|
+
FQDN.prototype.value = undefined;
|
|
240
|
+
FQDN.prototype.$reserved = undefined;
|
|
241
|
+
FQDN.prototype.$objectType = undefined;
|
|
242
|
+
FQDN.prototype.$unknownFields = undefined;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Flag model module.
|
|
3
|
+
* @module Ntnx/Flag
|
|
4
|
+
* @version 4.0.1-alpha-2
|
|
5
|
+
* @class Flag
|
|
6
|
+
*/
|
|
7
|
+
export default class Flag {
|
|
8
|
+
/**
|
|
9
|
+
* Constructs a <code>Flag</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/Flag} obj Optional instance to populate.
|
|
13
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
14
|
+
* @return {module:Ntnx/Flag} The populated <code>Flag</code> instance.
|
|
15
|
+
*/
|
|
16
|
+
static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
|
|
17
|
+
$objectType: string;
|
|
18
|
+
$reserved: {
|
|
19
|
+
$fv: string;
|
|
20
|
+
};
|
|
21
|
+
$unknownFields: {};
|
|
22
|
+
/**
|
|
23
|
+
* @return {}
|
|
24
|
+
*/
|
|
25
|
+
getName(): any;
|
|
26
|
+
/**
|
|
27
|
+
* @param {} name
|
|
28
|
+
*/
|
|
29
|
+
setName(name: any): void;
|
|
30
|
+
name: any;
|
|
31
|
+
/**
|
|
32
|
+
* @return {}
|
|
33
|
+
*/
|
|
34
|
+
getValue(): any;
|
|
35
|
+
/**
|
|
36
|
+
* @param {} value
|
|
37
|
+
*/
|
|
38
|
+
setValue(value: any): void;
|
|
39
|
+
value: any;
|
|
40
|
+
get$Reserved(): {
|
|
41
|
+
$fv: string;
|
|
42
|
+
};
|
|
43
|
+
get$ObjectType(): string;
|
|
44
|
+
get$UnknownFields(): {};
|
|
45
|
+
toJson(forMutation: any): {
|
|
46
|
+
$reserved: {
|
|
47
|
+
$fv: string;
|
|
48
|
+
};
|
|
49
|
+
$objectType: string;
|
|
50
|
+
$unknownFields: {};
|
|
51
|
+
value?: any;
|
|
52
|
+
name?: any;
|
|
53
|
+
};
|
|
54
|
+
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
55
|
+
validateProperty(scope: any, property: any): ValidationError;
|
|
56
|
+
#private;
|
|
57
|
+
}
|
|
58
|
+
import ValidationError from "../../../validation/ValidationError";
|