@gobodo/gobodo-api 0.1.14 → 0.1.17
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 +17 -6
- 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 +332 -25
- 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/index.js +42 -14
- package/dist/model/APIClient.js +9 -9
- package/dist/model/ApplicationPaymentAccountResponse.js +116 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +179 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +165 -0
- package/dist/model/{GraphIteratorEntryPartStackTraceInner.js → ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js} +27 -27
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +135 -0
- package/dist/model/Article.js +36 -36
- package/dist/model/Authorization.js +2 -2
- package/dist/model/BankAccountInfo.js +3 -2
- package/dist/model/CardInfo.js +3 -2
- package/dist/model/Comment.js +2 -2
- 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/{CreateCustomerResponse.js → CustomerResponse.js} +22 -22
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +2 -2
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/Document.js +36 -36
- package/dist/model/DocumentPart.js +9 -9
- package/dist/model/DocumentPartType.js +10 -10
- package/dist/model/DocumentType.js +10 -10
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +2 -2
- package/dist/model/File.js +18 -18
- package/dist/model/FileAttachmentUploadObject.js +18 -18
- 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 +2 -2
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphDatabaseService.js +10 -10
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +6 -6
- 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/GraphRelation.js +2 -2
- package/dist/model/GraphRelationObjectObject.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 +21 -21
- package/dist/model/ImageUploadObject.js +21 -21
- 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 +9 -9
- 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 +13 -13
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentIntentInput.js +12 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +4 -8
- package/dist/model/PaymentMethodInput.js +14 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +9 -9
- package/dist/model/PrivateMessageConversation.js +2 -2
- 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 +2 -2
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +9 -9
- package/dist/model/Sort.js +2 -2
- package/dist/model/StatusUpdate.js +2 -2
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.js +16 -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/User.js +9 -9
- package/dist/model/UserDataPayload.js +9 -9
- 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 +9 -9
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +28 -28
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +36 -36
- package/dist/model/VideoUploadObject.js +28 -28
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,165 @@
|
|
|
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.17
|
|
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.17
|
|
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;
|
|
@@ -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.17
|
|
19
19
|
* Contact: info@gobodo.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,18 +24,18 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
/**
|
|
27
|
-
* The
|
|
28
|
-
* @module model/
|
|
29
|
-
* @version 0.1.
|
|
27
|
+
* The ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner model module.
|
|
28
|
+
* @module model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner
|
|
29
|
+
* @version 0.1.17
|
|
30
30
|
*/
|
|
31
|
-
var
|
|
31
|
+
var ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
|
-
* Constructs a new <code>
|
|
34
|
-
* @alias module:model/
|
|
33
|
+
* Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
|
|
34
|
+
* @alias module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner
|
|
35
35
|
*/
|
|
36
|
-
function
|
|
37
|
-
_classCallCheck(this,
|
|
38
|
-
|
|
36
|
+
function ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner() {
|
|
37
|
+
_classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner);
|
|
38
|
+
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.initialize(this);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -43,22 +43,22 @@ var GraphIteratorEntryPartStackTraceInner = /*#__PURE__*/function () {
|
|
|
43
43
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
44
44
|
* Only for internal use.
|
|
45
45
|
*/
|
|
46
|
-
_createClass(
|
|
46
|
+
_createClass(ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner, null, [{
|
|
47
47
|
key: "initialize",
|
|
48
48
|
value: function initialize(obj) {}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Constructs a <code>
|
|
51
|
+
* Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
52
52
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
53
53
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
54
|
-
* @param {module:model/
|
|
55
|
-
* @return {module:model/
|
|
54
|
+
* @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner} The populated <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code> instance.
|
|
56
56
|
*/
|
|
57
57
|
}, {
|
|
58
58
|
key: "constructFromObject",
|
|
59
59
|
value: function constructFromObject(data, obj) {
|
|
60
60
|
if (data) {
|
|
61
|
-
obj = obj || new
|
|
61
|
+
obj = obj || new ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner();
|
|
62
62
|
if (data.hasOwnProperty('classLoaderName')) {
|
|
63
63
|
obj['classLoaderName'] = _ApiClient["default"].convertToType(data['classLoaderName'], 'String');
|
|
64
64
|
}
|
|
@@ -88,9 +88,9 @@ var GraphIteratorEntryPartStackTraceInner = /*#__PURE__*/function () {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
* Validates the JSON data with respect to <code>
|
|
91
|
+
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
|
|
92
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>
|
|
93
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
|
|
94
94
|
*/
|
|
95
95
|
}, {
|
|
96
96
|
key: "validateJSON",
|
|
@@ -122,45 +122,45 @@ var GraphIteratorEntryPartStackTraceInner = /*#__PURE__*/function () {
|
|
|
122
122
|
return true;
|
|
123
123
|
}
|
|
124
124
|
}]);
|
|
125
|
-
return
|
|
125
|
+
return ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner;
|
|
126
126
|
}();
|
|
127
127
|
/**
|
|
128
128
|
* @member {String} classLoaderName
|
|
129
129
|
*/
|
|
130
|
-
|
|
130
|
+
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['classLoaderName'] = undefined;
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* @member {String} moduleName
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['moduleName'] = undefined;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* @member {String} moduleVersion
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['moduleVersion'] = undefined;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* @member {String} methodName
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['methodName'] = undefined;
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* @member {String} fileName
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['fileName'] = undefined;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* @member {Number} lineNumber
|
|
154
154
|
*/
|
|
155
|
-
|
|
155
|
+
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['lineNumber'] = undefined;
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* @member {Boolean} nativeMethod
|
|
159
159
|
*/
|
|
160
|
-
|
|
160
|
+
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['nativeMethod'] = undefined;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* @member {String} className
|
|
164
164
|
*/
|
|
165
|
-
|
|
166
|
-
var _default = exports["default"] =
|
|
165
|
+
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['className'] = undefined;
|
|
166
|
+
var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner;
|
|
@@ -0,0 +1,135 @@
|
|
|
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.17
|
|
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.17
|
|
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;
|
package/dist/model/Article.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
* gobodo-api
|
|
20
20
|
* REST Interface for Gobodo API
|
|
21
21
|
*
|
|
22
|
-
* The version of the OpenAPI document: 0.1.
|
|
22
|
+
* The version of the OpenAPI document: 0.1.17
|
|
23
23
|
* Contact: info@gobodo.io
|
|
24
24
|
*
|
|
25
25
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
30
30
|
/**
|
|
31
31
|
* The Article model module.
|
|
32
32
|
* @module model/Article
|
|
33
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.17
|
|
34
34
|
*/
|
|
35
35
|
var Article = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -63,33 +63,27 @@ var Article = /*#__PURE__*/function () {
|
|
|
63
63
|
value: function constructFromObject(data, obj) {
|
|
64
64
|
if (data) {
|
|
65
65
|
obj = obj || new Article();
|
|
66
|
-
if (data.hasOwnProperty('description')) {
|
|
67
|
-
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
68
|
-
}
|
|
69
66
|
if (data.hasOwnProperty('status')) {
|
|
70
67
|
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
|
|
71
68
|
}
|
|
69
|
+
if (data.hasOwnProperty('description')) {
|
|
70
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
71
|
+
}
|
|
72
72
|
if (data.hasOwnProperty('entrypartarray')) {
|
|
73
73
|
obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
|
|
74
74
|
}
|
|
75
75
|
if (data.hasOwnProperty('expirationdate')) {
|
|
76
76
|
obj['expirationdate'] = _ApiClient["default"].convertToType(data['expirationdate'], 'Date');
|
|
77
77
|
}
|
|
78
|
-
if (data.hasOwnProperty('mainPhoto')) {
|
|
79
|
-
obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
|
|
80
|
-
}
|
|
81
78
|
if (data.hasOwnProperty('documenttype')) {
|
|
82
79
|
obj['documenttype'] = _DocumentType["default"].constructFromObject(data['documenttype']);
|
|
83
80
|
}
|
|
81
|
+
if (data.hasOwnProperty('mainPhoto')) {
|
|
82
|
+
obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
|
|
83
|
+
}
|
|
84
84
|
if (data.hasOwnProperty('filterManager')) {
|
|
85
85
|
obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
|
|
86
86
|
}
|
|
87
|
-
if (data.hasOwnProperty('pagecount')) {
|
|
88
|
-
obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
|
|
89
|
-
}
|
|
90
|
-
if (data.hasOwnProperty('topentrypartarray')) {
|
|
91
|
-
obj['topentrypartarray'] = _GraphIteratorEntryPart["default"].constructFromObject(data['topentrypartarray']);
|
|
92
|
-
}
|
|
93
87
|
if (data.hasOwnProperty('relatedarticles')) {
|
|
94
88
|
obj['relatedarticles'] = _ApiClient["default"].convertToType(data['relatedarticles'], Object);
|
|
95
89
|
}
|
|
@@ -99,6 +93,12 @@ var Article = /*#__PURE__*/function () {
|
|
|
99
93
|
if (data.hasOwnProperty('contributors')) {
|
|
100
94
|
obj['contributors'] = _ApiClient["default"].convertToType(data['contributors'], [_User["default"]]);
|
|
101
95
|
}
|
|
96
|
+
if (data.hasOwnProperty('pagecount')) {
|
|
97
|
+
obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
|
|
98
|
+
}
|
|
99
|
+
if (data.hasOwnProperty('topentrypartarray')) {
|
|
100
|
+
obj['topentrypartarray'] = _GraphIteratorEntryPart["default"].constructFromObject(data['topentrypartarray']);
|
|
101
|
+
}
|
|
102
102
|
if (data.hasOwnProperty('unfilteredSubject')) {
|
|
103
103
|
obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
|
|
104
104
|
}
|
|
@@ -145,15 +145,15 @@ var Article = /*#__PURE__*/function () {
|
|
|
145
145
|
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
146
146
|
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
147
147
|
}
|
|
148
|
-
// ensure the json data is a string
|
|
149
|
-
if (data['mainPhoto'] && !(typeof data['mainPhoto'] === 'string' || data['mainPhoto'] instanceof String)) {
|
|
150
|
-
throw new Error("Expected the field `mainPhoto` to be a primitive type in the JSON string but got " + data['mainPhoto']);
|
|
151
|
-
}
|
|
152
148
|
// validate the optional field `documenttype`
|
|
153
149
|
if (data['documenttype']) {
|
|
154
150
|
// data not null
|
|
155
151
|
_DocumentType["default"].validateJSON(data['documenttype']);
|
|
156
152
|
}
|
|
153
|
+
// ensure the json data is a string
|
|
154
|
+
if (data['mainPhoto'] && !(typeof data['mainPhoto'] === 'string' || data['mainPhoto'] instanceof String)) {
|
|
155
|
+
throw new Error("Expected the field `mainPhoto` to be a primitive type in the JSON string but got " + data['mainPhoto']);
|
|
156
|
+
}
|
|
157
157
|
// validate the optional field `filterManager`
|
|
158
158
|
if (data['filterManager']) {
|
|
159
159
|
// data not null
|
|
@@ -182,14 +182,14 @@ var Article = /*#__PURE__*/function () {
|
|
|
182
182
|
return Article;
|
|
183
183
|
}();
|
|
184
184
|
/**
|
|
185
|
-
* @member {
|
|
185
|
+
* @member {Number} status
|
|
186
186
|
*/
|
|
187
|
-
Article.prototype['
|
|
187
|
+
Article.prototype['status'] = undefined;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
|
-
* @member {
|
|
190
|
+
* @member {String} description
|
|
191
191
|
*/
|
|
192
|
-
Article.prototype['
|
|
192
|
+
Article.prototype['description'] = undefined;
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
195
|
* @member {Object} entrypartarray
|
|
@@ -201,30 +201,20 @@ Article.prototype['entrypartarray'] = undefined;
|
|
|
201
201
|
*/
|
|
202
202
|
Article.prototype['expirationdate'] = undefined;
|
|
203
203
|
|
|
204
|
-
/**
|
|
205
|
-
* @member {String} mainPhoto
|
|
206
|
-
*/
|
|
207
|
-
Article.prototype['mainPhoto'] = undefined;
|
|
208
|
-
|
|
209
204
|
/**
|
|
210
205
|
* @member {module:model/DocumentType} documenttype
|
|
211
206
|
*/
|
|
212
207
|
Article.prototype['documenttype'] = undefined;
|
|
213
208
|
|
|
214
209
|
/**
|
|
215
|
-
* @member {
|
|
216
|
-
*/
|
|
217
|
-
Article.prototype['filterManager'] = undefined;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* @member {Number} pagecount
|
|
210
|
+
* @member {String} mainPhoto
|
|
221
211
|
*/
|
|
222
|
-
Article.prototype['
|
|
212
|
+
Article.prototype['mainPhoto'] = undefined;
|
|
223
213
|
|
|
224
214
|
/**
|
|
225
|
-
* @member {module:model/
|
|
215
|
+
* @member {module:model/FilterManager} filterManager
|
|
226
216
|
*/
|
|
227
|
-
Article.prototype['
|
|
217
|
+
Article.prototype['filterManager'] = undefined;
|
|
228
218
|
|
|
229
219
|
/**
|
|
230
220
|
* @member {Object} relatedarticles
|
|
@@ -241,6 +231,16 @@ Article.prototype['keywords'] = undefined;
|
|
|
241
231
|
*/
|
|
242
232
|
Article.prototype['contributors'] = undefined;
|
|
243
233
|
|
|
234
|
+
/**
|
|
235
|
+
* @member {Number} pagecount
|
|
236
|
+
*/
|
|
237
|
+
Article.prototype['pagecount'] = undefined;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* @member {module:model/GraphIteratorEntryPart} topentrypartarray
|
|
241
|
+
*/
|
|
242
|
+
Article.prototype['topentrypartarray'] = undefined;
|
|
243
|
+
|
|
244
244
|
/**
|
|
245
245
|
* @member {String} unfilteredSubject
|
|
246
246
|
*/
|