@gobodo/gobodo-api 0.1.44 → 0.1.45
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 +2 -2
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.js +2 -2
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +2 -2
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.js +2 -2
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +2 -2
- package/dist/api/TagsApi.js +2 -2
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.js +2 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/model/APIClient.js +10 -10
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.js +2 -2
- package/dist/model/Article.js +9 -9
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/Balance.js +28 -28
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +9 -9
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +56 -56
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +9 -9
- package/dist/model/Document.js +9 -9
- package/dist/model/DocumentPart.js +42 -42
- package/dist/model/DocumentPartType.js +9 -9
- package/dist/model/DocumentType.js +18 -18
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +17 -17
- package/dist/model/File.js +14 -14
- package/dist/model/FileAttachmentUploadObject.js +14 -14
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +13 -13
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/Graph.js +9 -9
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphDatabaseService.js +2 -2
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphObject.js +2 -2
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +11 -11
- package/dist/model/GraphObjectType.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +2 -2
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.js +2 -2
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +2 -2
- package/dist/model/GraphSchema.js +2 -2
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +14 -14
- package/dist/model/ImageUploadObject.js +14 -14
- package/dist/model/InputPart.js +12 -12
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +2 -2
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +2 -2
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +16 -16
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +23 -23
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PathPathInner.js +1 -264
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +9 -9
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.js +2 -2
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +10 -10
- package/dist/model/PrivateMessageConversation.js +24 -24
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/ScreenSchema.js +2 -2
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +17 -17
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +9 -9
- package/dist/model/Sort.js +2 -2
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.js +2 -2
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +2 -2
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +16 -16
- package/dist/model/UserDataPayload.js +16 -16
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +16 -16
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +14 -14
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +14 -14
- package/dist/model/VideoUploadObject.js +14 -14
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +0 -165
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +0 -166
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +0 -135
- package/dist/model/Authorization.js +0 -114
- package/dist/model/GraphRelation.js +0 -143
- package/dist/model/GraphRelationObjectObject.js +0 -143
- package/dist/model/TransferObjectObject.js +0 -139
- package/dist/model/Traverse200ResponseInnerInner.js +0 -10
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.45
|
|
19
19
|
* Contact: info@gobodo.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The VideoUploadObject model module.
|
|
28
28
|
* @module model/VideoUploadObject
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.45
|
|
30
30
|
*/
|
|
31
31
|
var VideoUploadObject = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -71,6 +71,9 @@ var VideoUploadObject = /*#__PURE__*/function () {
|
|
|
71
71
|
if (data.hasOwnProperty('fileName')) {
|
|
72
72
|
obj['fileName'] = _ApiClient["default"].convertToType(data['fileName'], 'String');
|
|
73
73
|
}
|
|
74
|
+
if (data.hasOwnProperty('contenttype')) {
|
|
75
|
+
obj['contenttype'] = _ApiClient["default"].convertToType(data['contenttype'], 'String');
|
|
76
|
+
}
|
|
74
77
|
if (data.hasOwnProperty('description')) {
|
|
75
78
|
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
76
79
|
}
|
|
@@ -113,9 +116,6 @@ var VideoUploadObject = /*#__PURE__*/function () {
|
|
|
113
116
|
if (data.hasOwnProperty('hostKey')) {
|
|
114
117
|
obj['hostKey'] = _ApiClient["default"].convertToType(data['hostKey'], 'String');
|
|
115
118
|
}
|
|
116
|
-
if (data.hasOwnProperty('contenttype')) {
|
|
117
|
-
obj['contenttype'] = _ApiClient["default"].convertToType(data['contenttype'], 'String');
|
|
118
|
-
}
|
|
119
119
|
if (data.hasOwnProperty('data')) {
|
|
120
120
|
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
121
121
|
}
|
|
@@ -143,6 +143,10 @@ var VideoUploadObject = /*#__PURE__*/function () {
|
|
|
143
143
|
throw new Error("Expected the field `fileName` to be a primitive type in the JSON string but got " + data['fileName']);
|
|
144
144
|
}
|
|
145
145
|
// ensure the json data is a string
|
|
146
|
+
if (data['contenttype'] && !(typeof data['contenttype'] === 'string' || data['contenttype'] instanceof String)) {
|
|
147
|
+
throw new Error("Expected the field `contenttype` to be a primitive type in the JSON string but got " + data['contenttype']);
|
|
148
|
+
}
|
|
149
|
+
// ensure the json data is a string
|
|
146
150
|
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
147
151
|
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
148
152
|
}
|
|
@@ -158,10 +162,6 @@ var VideoUploadObject = /*#__PURE__*/function () {
|
|
|
158
162
|
if (data['hostKey'] && !(typeof data['hostKey'] === 'string' || data['hostKey'] instanceof String)) {
|
|
159
163
|
throw new Error("Expected the field `hostKey` to be a primitive type in the JSON string but got " + data['hostKey']);
|
|
160
164
|
}
|
|
161
|
-
// ensure the json data is a string
|
|
162
|
-
if (data['contenttype'] && !(typeof data['contenttype'] === 'string' || data['contenttype'] instanceof String)) {
|
|
163
|
-
throw new Error("Expected the field `contenttype` to be a primitive type in the JSON string but got " + data['contenttype']);
|
|
164
|
-
}
|
|
165
165
|
return true;
|
|
166
166
|
}
|
|
167
167
|
}]);
|
|
@@ -187,6 +187,11 @@ VideoUploadObject.prototype['content'] = undefined;
|
|
|
187
187
|
*/
|
|
188
188
|
VideoUploadObject.prototype['fileName'] = undefined;
|
|
189
189
|
|
|
190
|
+
/**
|
|
191
|
+
* @member {String} contenttype
|
|
192
|
+
*/
|
|
193
|
+
VideoUploadObject.prototype['contenttype'] = undefined;
|
|
194
|
+
|
|
190
195
|
/**
|
|
191
196
|
* @member {String} description
|
|
192
197
|
*/
|
|
@@ -257,11 +262,6 @@ VideoUploadObject.prototype['thumbnailImages'] = undefined;
|
|
|
257
262
|
*/
|
|
258
263
|
VideoUploadObject.prototype['hostKey'] = undefined;
|
|
259
264
|
|
|
260
|
-
/**
|
|
261
|
-
* @member {String} contenttype
|
|
262
|
-
*/
|
|
263
|
-
VideoUploadObject.prototype['contenttype'] = undefined;
|
|
264
|
-
|
|
265
265
|
/**
|
|
266
266
|
* @member {Object} data
|
|
267
267
|
*/
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.45
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The ZeusPortalCategory model module.
|
|
29
29
|
* @module model/ZeusPortalCategory
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.45
|
|
31
31
|
*/
|
|
32
32
|
var ZeusPortalCategory = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/package.json
CHANGED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner"));
|
|
9
|
-
var _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner"));
|
|
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 _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
13
|
-
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); }
|
|
14
|
-
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; }
|
|
15
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
|
-
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); } }
|
|
17
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
19
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
20
|
-
* gobodo-api
|
|
21
|
-
* REST Interface for Gobodo API
|
|
22
|
-
*
|
|
23
|
-
* The version of the OpenAPI document: 0.1.38
|
|
24
|
-
* Contact: info@gobodo.io
|
|
25
|
-
*
|
|
26
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27
|
-
* https://openapi-generator.tech
|
|
28
|
-
* Do not edit the class manually.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
/**
|
|
32
|
-
* The ApplicationPaymentAccountResponseFailureExceptionCause model module.
|
|
33
|
-
* @module model/ApplicationPaymentAccountResponseFailureExceptionCause
|
|
34
|
-
* @version 0.1.38
|
|
35
|
-
*/
|
|
36
|
-
var ApplicationPaymentAccountResponseFailureExceptionCause = /*#__PURE__*/function () {
|
|
37
|
-
/**
|
|
38
|
-
* Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionCause</code>.
|
|
39
|
-
* @alias module:model/ApplicationPaymentAccountResponseFailureExceptionCause
|
|
40
|
-
*/
|
|
41
|
-
function ApplicationPaymentAccountResponseFailureExceptionCause() {
|
|
42
|
-
_classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionCause);
|
|
43
|
-
ApplicationPaymentAccountResponseFailureExceptionCause.initialize(this);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Initializes the fields of this object.
|
|
48
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
49
|
-
* Only for internal use.
|
|
50
|
-
*/
|
|
51
|
-
_createClass(ApplicationPaymentAccountResponseFailureExceptionCause, null, [{
|
|
52
|
-
key: "initialize",
|
|
53
|
-
value: function initialize(obj) {}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionCause</code> from a plain JavaScript object, optionally creating a new instance.
|
|
57
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
58
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
59
|
-
* @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCause} obj Optional instance to populate.
|
|
60
|
-
* @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCause} The populated <code>ApplicationPaymentAccountResponseFailureExceptionCause</code> instance.
|
|
61
|
-
*/
|
|
62
|
-
}, {
|
|
63
|
-
key: "constructFromObject",
|
|
64
|
-
value: function constructFromObject(data, obj) {
|
|
65
|
-
if (data) {
|
|
66
|
-
obj = obj || new ApplicationPaymentAccountResponseFailureExceptionCause();
|
|
67
|
-
if (data.hasOwnProperty('stackTrace')) {
|
|
68
|
-
obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"]]);
|
|
69
|
-
}
|
|
70
|
-
if (data.hasOwnProperty('message')) {
|
|
71
|
-
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
|
|
72
|
-
}
|
|
73
|
-
if (data.hasOwnProperty('suppressed')) {
|
|
74
|
-
obj['suppressed'] = _ApiClient["default"].convertToType(data['suppressed'], [_ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"]]);
|
|
75
|
-
}
|
|
76
|
-
if (data.hasOwnProperty('localizedMessage')) {
|
|
77
|
-
obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
return obj;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCause</code>.
|
|
85
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
86
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCause</code>.
|
|
87
|
-
*/
|
|
88
|
-
}, {
|
|
89
|
-
key: "validateJSON",
|
|
90
|
-
value: function validateJSON(data) {
|
|
91
|
-
if (data['stackTrace']) {
|
|
92
|
-
// data not null
|
|
93
|
-
// ensure the json data is an array
|
|
94
|
-
if (!Array.isArray(data['stackTrace'])) {
|
|
95
|
-
throw new Error("Expected the field `stackTrace` to be an array in the JSON data but got " + data['stackTrace']);
|
|
96
|
-
}
|
|
97
|
-
// validate the optional field `stackTrace` (array)
|
|
98
|
-
var _iterator = _createForOfIteratorHelper(data['stackTrace']),
|
|
99
|
-
_step;
|
|
100
|
-
try {
|
|
101
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
102
|
-
var item = _step.value;
|
|
103
|
-
_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"].validateJSON(item);
|
|
104
|
-
}
|
|
105
|
-
} catch (err) {
|
|
106
|
-
_iterator.e(err);
|
|
107
|
-
} finally {
|
|
108
|
-
_iterator.f();
|
|
109
|
-
}
|
|
110
|
-
;
|
|
111
|
-
}
|
|
112
|
-
// ensure the json data is a string
|
|
113
|
-
if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
|
|
114
|
-
throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
|
|
115
|
-
}
|
|
116
|
-
if (data['suppressed']) {
|
|
117
|
-
// data not null
|
|
118
|
-
// ensure the json data is an array
|
|
119
|
-
if (!Array.isArray(data['suppressed'])) {
|
|
120
|
-
throw new Error("Expected the field `suppressed` to be an array in the JSON data but got " + data['suppressed']);
|
|
121
|
-
}
|
|
122
|
-
// validate the optional field `suppressed` (array)
|
|
123
|
-
var _iterator2 = _createForOfIteratorHelper(data['suppressed']),
|
|
124
|
-
_step2;
|
|
125
|
-
try {
|
|
126
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
127
|
-
var _item = _step2.value;
|
|
128
|
-
_ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"].validateJSON(_item);
|
|
129
|
-
}
|
|
130
|
-
} catch (err) {
|
|
131
|
-
_iterator2.e(err);
|
|
132
|
-
} finally {
|
|
133
|
-
_iterator2.f();
|
|
134
|
-
}
|
|
135
|
-
;
|
|
136
|
-
}
|
|
137
|
-
// ensure the json data is a string
|
|
138
|
-
if (data['localizedMessage'] && !(typeof data['localizedMessage'] === 'string' || data['localizedMessage'] instanceof String)) {
|
|
139
|
-
throw new Error("Expected the field `localizedMessage` to be a primitive type in the JSON string but got " + data['localizedMessage']);
|
|
140
|
-
}
|
|
141
|
-
return true;
|
|
142
|
-
}
|
|
143
|
-
}]);
|
|
144
|
-
return ApplicationPaymentAccountResponseFailureExceptionCause;
|
|
145
|
-
}();
|
|
146
|
-
/**
|
|
147
|
-
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
|
|
148
|
-
*/
|
|
149
|
-
ApplicationPaymentAccountResponseFailureExceptionCause.prototype['stackTrace'] = undefined;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @member {String} message
|
|
153
|
-
*/
|
|
154
|
-
ApplicationPaymentAccountResponseFailureExceptionCause.prototype['message'] = undefined;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner>} suppressed
|
|
158
|
-
*/
|
|
159
|
-
ApplicationPaymentAccountResponseFailureExceptionCause.prototype['suppressed'] = undefined;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @member {String} localizedMessage
|
|
163
|
-
*/
|
|
164
|
-
ApplicationPaymentAccountResponseFailureExceptionCause.prototype['localizedMessage'] = undefined;
|
|
165
|
-
var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionCause;
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
-
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); }
|
|
10
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
|
-
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); } }
|
|
12
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
14
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
15
|
-
* gobodo-api
|
|
16
|
-
* REST Interface for Gobodo API
|
|
17
|
-
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.38
|
|
19
|
-
* Contact: info@gobodo.io
|
|
20
|
-
*
|
|
21
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
-
* https://openapi-generator.tech
|
|
23
|
-
* Do not edit the class manually.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
/**
|
|
27
|
-
* The ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner model module.
|
|
28
|
-
* @module model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner
|
|
29
|
-
* @version 0.1.38
|
|
30
|
-
*/
|
|
31
|
-
var ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = /*#__PURE__*/function () {
|
|
32
|
-
/**
|
|
33
|
-
* Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
|
|
34
|
-
* @alias module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner
|
|
35
|
-
*/
|
|
36
|
-
function ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner() {
|
|
37
|
-
_classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner);
|
|
38
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.initialize(this);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Initializes the fields of this object.
|
|
43
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
44
|
-
* Only for internal use.
|
|
45
|
-
*/
|
|
46
|
-
_createClass(ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner, null, [{
|
|
47
|
-
key: "initialize",
|
|
48
|
-
value: function initialize(obj) {}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
52
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
53
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
54
|
-
* @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner} obj Optional instance to populate.
|
|
55
|
-
* @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner} The populated <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code> instance.
|
|
56
|
-
*/
|
|
57
|
-
}, {
|
|
58
|
-
key: "constructFromObject",
|
|
59
|
-
value: function constructFromObject(data, obj) {
|
|
60
|
-
if (data) {
|
|
61
|
-
obj = obj || new ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner();
|
|
62
|
-
if (data.hasOwnProperty('classLoaderName')) {
|
|
63
|
-
obj['classLoaderName'] = _ApiClient["default"].convertToType(data['classLoaderName'], 'String');
|
|
64
|
-
}
|
|
65
|
-
if (data.hasOwnProperty('moduleName')) {
|
|
66
|
-
obj['moduleName'] = _ApiClient["default"].convertToType(data['moduleName'], 'String');
|
|
67
|
-
}
|
|
68
|
-
if (data.hasOwnProperty('moduleVersion')) {
|
|
69
|
-
obj['moduleVersion'] = _ApiClient["default"].convertToType(data['moduleVersion'], 'String');
|
|
70
|
-
}
|
|
71
|
-
if (data.hasOwnProperty('methodName')) {
|
|
72
|
-
obj['methodName'] = _ApiClient["default"].convertToType(data['methodName'], 'String');
|
|
73
|
-
}
|
|
74
|
-
if (data.hasOwnProperty('fileName')) {
|
|
75
|
-
obj['fileName'] = _ApiClient["default"].convertToType(data['fileName'], 'String');
|
|
76
|
-
}
|
|
77
|
-
if (data.hasOwnProperty('lineNumber')) {
|
|
78
|
-
obj['lineNumber'] = _ApiClient["default"].convertToType(data['lineNumber'], 'Number');
|
|
79
|
-
}
|
|
80
|
-
if (data.hasOwnProperty('nativeMethod')) {
|
|
81
|
-
obj['nativeMethod'] = _ApiClient["default"].convertToType(data['nativeMethod'], 'Boolean');
|
|
82
|
-
}
|
|
83
|
-
if (data.hasOwnProperty('className')) {
|
|
84
|
-
obj['className'] = _ApiClient["default"].convertToType(data['className'], 'String');
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
return obj;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
|
|
92
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
93
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
|
|
94
|
-
*/
|
|
95
|
-
}, {
|
|
96
|
-
key: "validateJSON",
|
|
97
|
-
value: function validateJSON(data) {
|
|
98
|
-
// ensure the json data is a string
|
|
99
|
-
if (data['classLoaderName'] && !(typeof data['classLoaderName'] === 'string' || data['classLoaderName'] instanceof String)) {
|
|
100
|
-
throw new Error("Expected the field `classLoaderName` to be a primitive type in the JSON string but got " + data['classLoaderName']);
|
|
101
|
-
}
|
|
102
|
-
// ensure the json data is a string
|
|
103
|
-
if (data['moduleName'] && !(typeof data['moduleName'] === 'string' || data['moduleName'] instanceof String)) {
|
|
104
|
-
throw new Error("Expected the field `moduleName` to be a primitive type in the JSON string but got " + data['moduleName']);
|
|
105
|
-
}
|
|
106
|
-
// ensure the json data is a string
|
|
107
|
-
if (data['moduleVersion'] && !(typeof data['moduleVersion'] === 'string' || data['moduleVersion'] instanceof String)) {
|
|
108
|
-
throw new Error("Expected the field `moduleVersion` to be a primitive type in the JSON string but got " + data['moduleVersion']);
|
|
109
|
-
}
|
|
110
|
-
// ensure the json data is a string
|
|
111
|
-
if (data['methodName'] && !(typeof data['methodName'] === 'string' || data['methodName'] instanceof String)) {
|
|
112
|
-
throw new Error("Expected the field `methodName` to be a primitive type in the JSON string but got " + data['methodName']);
|
|
113
|
-
}
|
|
114
|
-
// ensure the json data is a string
|
|
115
|
-
if (data['fileName'] && !(typeof data['fileName'] === 'string' || data['fileName'] instanceof String)) {
|
|
116
|
-
throw new Error("Expected the field `fileName` to be a primitive type in the JSON string but got " + data['fileName']);
|
|
117
|
-
}
|
|
118
|
-
// ensure the json data is a string
|
|
119
|
-
if (data['className'] && !(typeof data['className'] === 'string' || data['className'] instanceof String)) {
|
|
120
|
-
throw new Error("Expected the field `className` to be a primitive type in the JSON string but got " + data['className']);
|
|
121
|
-
}
|
|
122
|
-
return true;
|
|
123
|
-
}
|
|
124
|
-
}]);
|
|
125
|
-
return ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner;
|
|
126
|
-
}();
|
|
127
|
-
/**
|
|
128
|
-
* @member {String} classLoaderName
|
|
129
|
-
*/
|
|
130
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['classLoaderName'] = undefined;
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @member {String} moduleName
|
|
134
|
-
*/
|
|
135
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['moduleName'] = undefined;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* @member {String} moduleVersion
|
|
139
|
-
*/
|
|
140
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['moduleVersion'] = undefined;
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* @member {String} methodName
|
|
144
|
-
*/
|
|
145
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['methodName'] = undefined;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* @member {String} fileName
|
|
149
|
-
*/
|
|
150
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['fileName'] = undefined;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @member {Number} lineNumber
|
|
154
|
-
*/
|
|
155
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['lineNumber'] = undefined;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @member {Boolean} nativeMethod
|
|
159
|
-
*/
|
|
160
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['nativeMethod'] = undefined;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @member {String} className
|
|
164
|
-
*/
|
|
165
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['className'] = undefined;
|
|
166
|
-
var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner"));
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
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); }
|
|
11
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
12
|
-
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); }
|
|
13
|
-
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; }
|
|
14
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
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); } }
|
|
16
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
19
|
-
* gobodo-api
|
|
20
|
-
* REST Interface for Gobodo API
|
|
21
|
-
*
|
|
22
|
-
* The version of the OpenAPI document: 0.1.38
|
|
23
|
-
* Contact: info@gobodo.io
|
|
24
|
-
*
|
|
25
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
-
* https://openapi-generator.tech
|
|
27
|
-
* Do not edit the class manually.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
/**
|
|
31
|
-
* The ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner model module.
|
|
32
|
-
* @module model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner
|
|
33
|
-
* @version 0.1.38
|
|
34
|
-
*/
|
|
35
|
-
var ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = /*#__PURE__*/function () {
|
|
36
|
-
/**
|
|
37
|
-
* Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code>.
|
|
38
|
-
* @alias module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner
|
|
39
|
-
*/
|
|
40
|
-
function ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner() {
|
|
41
|
-
_classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner);
|
|
42
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.initialize(this);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Initializes the fields of this object.
|
|
47
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
-
* Only for internal use.
|
|
49
|
-
*/
|
|
50
|
-
_createClass(ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner, null, [{
|
|
51
|
-
key: "initialize",
|
|
52
|
-
value: function initialize(obj) {}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
-
* @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner} obj Optional instance to populate.
|
|
59
|
-
* @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner} The populated <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code> instance.
|
|
60
|
-
*/
|
|
61
|
-
}, {
|
|
62
|
-
key: "constructFromObject",
|
|
63
|
-
value: function constructFromObject(data, obj) {
|
|
64
|
-
if (data) {
|
|
65
|
-
obj = obj || new ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner();
|
|
66
|
-
if (data.hasOwnProperty('stackTrace')) {
|
|
67
|
-
obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"]]);
|
|
68
|
-
}
|
|
69
|
-
if (data.hasOwnProperty('message')) {
|
|
70
|
-
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
|
|
71
|
-
}
|
|
72
|
-
if (data.hasOwnProperty('localizedMessage')) {
|
|
73
|
-
obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
return obj;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code>.
|
|
81
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
82
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code>.
|
|
83
|
-
*/
|
|
84
|
-
}, {
|
|
85
|
-
key: "validateJSON",
|
|
86
|
-
value: function validateJSON(data) {
|
|
87
|
-
if (data['stackTrace']) {
|
|
88
|
-
// data not null
|
|
89
|
-
// ensure the json data is an array
|
|
90
|
-
if (!Array.isArray(data['stackTrace'])) {
|
|
91
|
-
throw new Error("Expected the field `stackTrace` to be an array in the JSON data but got " + data['stackTrace']);
|
|
92
|
-
}
|
|
93
|
-
// validate the optional field `stackTrace` (array)
|
|
94
|
-
var _iterator = _createForOfIteratorHelper(data['stackTrace']),
|
|
95
|
-
_step;
|
|
96
|
-
try {
|
|
97
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
98
|
-
var item = _step.value;
|
|
99
|
-
_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"].validateJSON(item);
|
|
100
|
-
}
|
|
101
|
-
} catch (err) {
|
|
102
|
-
_iterator.e(err);
|
|
103
|
-
} finally {
|
|
104
|
-
_iterator.f();
|
|
105
|
-
}
|
|
106
|
-
;
|
|
107
|
-
}
|
|
108
|
-
// ensure the json data is a string
|
|
109
|
-
if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
|
|
110
|
-
throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
|
|
111
|
-
}
|
|
112
|
-
// ensure the json data is a string
|
|
113
|
-
if (data['localizedMessage'] && !(typeof data['localizedMessage'] === 'string' || data['localizedMessage'] instanceof String)) {
|
|
114
|
-
throw new Error("Expected the field `localizedMessage` to be a primitive type in the JSON string but got " + data['localizedMessage']);
|
|
115
|
-
}
|
|
116
|
-
return true;
|
|
117
|
-
}
|
|
118
|
-
}]);
|
|
119
|
-
return ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner;
|
|
120
|
-
}();
|
|
121
|
-
/**
|
|
122
|
-
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
|
|
123
|
-
*/
|
|
124
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.prototype['stackTrace'] = undefined;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* @member {String} message
|
|
128
|
-
*/
|
|
129
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.prototype['message'] = undefined;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @member {String} localizedMessage
|
|
133
|
-
*/
|
|
134
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.prototype['localizedMessage'] = undefined;
|
|
135
|
-
var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner;
|