@gobodo/gobodo-api-promise 0.1.34
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 +794 -0
- package/dist/ApiClient.js +720 -0
- package/dist/api/ActionTypesApi.js +113 -0
- package/dist/api/AdCampaignsApi.js +500 -0
- package/dist/api/AdManagementApi.js +722 -0
- package/dist/api/AdminDataManagementApi.js +111 -0
- package/dist/api/AdsApi.js +384 -0
- package/dist/api/AttachmentsApi.js +465 -0
- package/dist/api/AuthenticationApi.js +418 -0
- package/dist/api/CategoriesApi.js +451 -0
- package/dist/api/CommentsApi.js +520 -0
- package/dist/api/ContentManagementApi.js +1491 -0
- package/dist/api/ConversationsApi.js +559 -0
- package/dist/api/DataSheetImportsApi.js +1066 -0
- package/dist/api/DefaultApi.js +696 -0
- package/dist/api/DocumentsApi.js +807 -0
- package/dist/api/EntryPartsApi.js +847 -0
- package/dist/api/FacebookApi.js +88 -0
- package/dist/api/FieldsApi.js +243 -0
- package/dist/api/FilesApi.js +116 -0
- package/dist/api/FormsApi.js +1136 -0
- package/dist/api/FunctionsApi.js +111 -0
- package/dist/api/GeocodeApi.js +340 -0
- package/dist/api/GoogleApi.js +88 -0
- package/dist/api/GraphActionsApi.js +674 -0
- package/dist/api/GraphObjectTypesApi.js +527 -0
- package/dist/api/GraphObjectsApi.js +4026 -0
- package/dist/api/GraphRelationshipTypesApi.js +1055 -0
- package/dist/api/GraphRelationshipsApi.js +1921 -0
- package/dist/api/GraphSchemasApi.js +459 -0
- package/dist/api/GraphTraversalApi.js +415 -0
- package/dist/api/GraphsApi.js +716 -0
- package/dist/api/GroupsApi.js +731 -0
- package/dist/api/IAMApi.js +268 -0
- package/dist/api/ImagesApi.js +535 -0
- package/dist/api/InvitesApi.js +339 -0
- package/dist/api/LikesApi.js +785 -0
- package/dist/api/LinkedINApi.js +88 -0
- package/dist/api/LiveMeetingsApi.js +175 -0
- package/dist/api/MeetingEventsApi.js +358 -0
- package/dist/api/PagesApi.js +605 -0
- package/dist/api/PostsApi.js +330 -0
- package/dist/api/PrivateMessagesApi.js +965 -0
- package/dist/api/PublicationsApi.js +103 -0
- package/dist/api/ScreensApi.js +224 -0
- package/dist/api/SocialIntegrationApi.js +214 -0
- package/dist/api/StripeAccountsApi.js +2309 -0
- package/dist/api/TagsApi.js +111 -0
- package/dist/api/TemplatesApi.js +224 -0
- package/dist/api/ThemeMappingsApi.js +219 -0
- package/dist/api/TransactionsApi.js +161 -0
- package/dist/api/TwitterApi.js +88 -0
- package/dist/api/UserTagsApi.js +592 -0
- package/dist/api/UsersApi.js +591 -0
- package/dist/api/UtilsApi.js +80 -0
- package/dist/api/VideosApi.js +709 -0
- package/dist/index.js +1301 -0
- package/dist/model/APIClient.js +354 -0
- package/dist/model/AccountSessionInput.js +222 -0
- package/dist/model/AccountSessionResponse.js +171 -0
- package/dist/model/ApplicationPaymentAccountResponse.js +185 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +265 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +234 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +303 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +187 -0
- package/dist/model/Article.js +668 -0
- package/dist/model/Authorization.js +166 -0
- package/dist/model/Balance.js +267 -0
- package/dist/model/BalanceDetails.js +164 -0
- package/dist/model/BalanceResponse.js +139 -0
- package/dist/model/BankAccountInfo.js +232 -0
- package/dist/model/CardInfo.js +213 -0
- package/dist/model/Comment.js +495 -0
- package/dist/model/Coordinates.js +129 -0
- package/dist/model/CreateAccountResponse.js +233 -0
- package/dist/model/CreateStripeAccountInput.js +216 -0
- package/dist/model/CreateStripeCustomerInput.js +195 -0
- package/dist/model/CustomerResponse.js +168 -0
- package/dist/model/DataObject.js +129 -0
- package/dist/model/DataSheetImport.js +732 -0
- package/dist/model/DataSheetImportPrivacySettings.js +154 -0
- package/dist/model/DataSheetImportSummary.js +206 -0
- package/dist/model/Document.js +743 -0
- package/dist/model/DocumentPart.js +612 -0
- package/dist/model/DocumentPartType.js +358 -0
- package/dist/model/DocumentType.js +458 -0
- package/dist/model/FieldMapping.js +185 -0
- package/dist/model/Fields.js +737 -0
- package/dist/model/File.js +341 -0
- package/dist/model/FileAttachmentUploadObject.js +341 -0
- package/dist/model/Filter.js +137 -0
- package/dist/model/FilterManager.js +154 -0
- package/dist/model/Form.js +393 -0
- package/dist/model/FormSection.js +304 -0
- package/dist/model/FormSubmission.js +238 -0
- package/dist/model/Geocode.js +191 -0
- package/dist/model/GeocodePayload.js +141 -0
- package/dist/model/GeolocationInput.js +216 -0
- package/dist/model/Graph.js +499 -0
- package/dist/model/GraphAction.js +298 -0
- package/dist/model/GraphDatabaseService.js +254 -0
- package/dist/model/GraphGeocode.js +282 -0
- package/dist/model/GraphIteratorEntryPart.js +129 -0
- package/dist/model/GraphObject.js +454 -0
- package/dist/model/GraphObjectPayload.js +430 -0
- package/dist/model/GraphObjectSchema.js +545 -0
- package/dist/model/GraphObjectType.js +626 -0
- package/dist/model/GraphObjectTypeSchema.js +645 -0
- package/dist/model/GraphOwner.js +158 -0
- package/dist/model/GraphRelationObjectObject.js +273 -0
- package/dist/model/GraphRelationship.js +301 -0
- package/dist/model/GraphRelationshipPayload.js +214 -0
- package/dist/model/GraphRelationshipType.js +675 -0
- package/dist/model/GraphSchema.js +645 -0
- package/dist/model/GraphTraversalInput.js +1125 -0
- package/dist/model/Image.js +449 -0
- package/dist/model/ImageUploadObject.js +449 -0
- package/dist/model/InputPart.js +191 -0
- package/dist/model/InputPartMediaType.js +214 -0
- package/dist/model/Link.js +305 -0
- package/dist/model/LiveStreamInfo.js +167 -0
- package/dist/model/MeetingEvent.js +591 -0
- package/dist/model/MeetingEventTimezone.js +187 -0
- package/dist/model/MeetingInfo.js +220 -0
- package/dist/model/Member.js +525 -0
- package/dist/model/MemberGroupCategory.js +237 -0
- package/dist/model/MemberList.js +96 -0
- package/dist/model/MessageGroup.js +160 -0
- package/dist/model/MultipartBody.js +133 -0
- package/dist/model/Objecttype.js +615 -0
- package/dist/model/Page.js +370 -0
- package/dist/model/PageSchema.js +482 -0
- package/dist/model/Pageable.js +235 -0
- package/dist/model/Path.js +110 -0
- package/dist/model/PaymentAccountObject.js +209 -0
- package/dist/model/PaymentIntentInput.js +214 -0
- package/dist/model/PaymentIntentResponse.js +137 -0
- package/dist/model/PaymentMethod.js +319 -0
- package/dist/model/PaymentMethodInput.js +291 -0
- package/dist/model/PaymentMethodResponse.js +139 -0
- package/dist/model/PaymentMethodsResponse.js +158 -0
- package/dist/model/Payout.js +313 -0
- package/dist/model/PayoutInput.js +347 -0
- package/dist/model/PayoutResponse.js +142 -0
- package/dist/model/Post.js +368 -0
- package/dist/model/PrivateMessage.js +494 -0
- package/dist/model/PrivateMessageConversation.js +520 -0
- package/dist/model/PrivateMessageConversationSchema.js +268 -0
- package/dist/model/Profile.js +191 -0
- package/dist/model/Profiletype.js +210 -0
- package/dist/model/PropertyContainer.js +162 -0
- package/dist/model/PurgeDataDefaultResponseValue.js +151 -0
- package/dist/model/RelationshipMapping.js +264 -0
- package/dist/model/ScreenSchema.js +834 -0
- package/dist/model/SimulcastInfo.js +175 -0
- package/dist/model/SkinField.js +737 -0
- package/dist/model/SocialGroup.js +602 -0
- package/dist/model/SocialGroupType.js +327 -0
- package/dist/model/Sort.js +154 -0
- package/dist/model/SourceTypes.js +154 -0
- package/dist/model/StatusUpdate.js +312 -0
- package/dist/model/StreetAddress.js +224 -0
- package/dist/model/StripeAccount.js +272 -0
- package/dist/model/StripeCustomerAccount.js +212 -0
- package/dist/model/Template.js +272 -0
- package/dist/model/TemplateSchema.js +300 -0
- package/dist/model/ThemeMapping.js +245 -0
- package/dist/model/ThemeMappingPayload.js +239 -0
- package/dist/model/Transaction.js +137 -0
- package/dist/model/Transfer.js +286 -0
- package/dist/model/TransferInput.js +288 -0
- package/dist/model/TransferResponse.js +173 -0
- package/dist/model/TransferResponsePaymentMethodDetails.js +286 -0
- package/dist/model/TraversalRelationResponse.js +176 -0
- package/dist/model/User.js +525 -0
- package/dist/model/UserDataPayload.js +525 -0
- package/dist/model/UserDomain.js +191 -0
- package/dist/model/UserInvite.js +404 -0
- package/dist/model/UserInviteInput.js +245 -0
- package/dist/model/UserSchema.js +525 -0
- package/dist/model/UserTag.js +246 -0
- package/dist/model/Userid.js +133 -0
- package/dist/model/Video.js +632 -0
- package/dist/model/VideoLiveUrl.js +137 -0
- package/dist/model/VideoSchema.js +717 -0
- package/dist/model/VideoUploadObject.js +632 -0
- package/dist/model/ZeusPortalCategory.js +434 -0
- package/package.json +46 -0
|
@@ -0,0 +1,668 @@
|
|
|
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 _DocumentType = _interopRequireDefault(require("./DocumentType"));
|
|
9
|
+
var _FilterManager = _interopRequireDefault(require("./FilterManager"));
|
|
10
|
+
var _GraphIteratorEntryPart = _interopRequireDefault(require("./GraphIteratorEntryPart"));
|
|
11
|
+
var _User = _interopRequireDefault(require("./User"));
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
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); }
|
|
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
18
|
+
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); } /**
|
|
19
|
+
* gobodo-api
|
|
20
|
+
* REST Interface for Gobodo API
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 0.1.34
|
|
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 Article model module.
|
|
32
|
+
* @module model/Article
|
|
33
|
+
* @version 0.1.34
|
|
34
|
+
*/
|
|
35
|
+
var Article = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>Article</code>.
|
|
38
|
+
* @alias module:model/Article
|
|
39
|
+
*/
|
|
40
|
+
function Article() {
|
|
41
|
+
_classCallCheck(this, Article);
|
|
42
|
+
Article.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(Article, [{
|
|
51
|
+
key: "getStatus",
|
|
52
|
+
value:
|
|
53
|
+
/**
|
|
54
|
+
* @return {Number}
|
|
55
|
+
*/
|
|
56
|
+
function getStatus() {
|
|
57
|
+
return this.status;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @param {Number} status
|
|
62
|
+
*/
|
|
63
|
+
}, {
|
|
64
|
+
key: "setStatus",
|
|
65
|
+
value: function setStatus(status) {
|
|
66
|
+
this['status'] = status;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @return {String}
|
|
70
|
+
*/
|
|
71
|
+
}, {
|
|
72
|
+
key: "getDescription",
|
|
73
|
+
value: function getDescription() {
|
|
74
|
+
return this.description;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @param {String} description
|
|
79
|
+
*/
|
|
80
|
+
}, {
|
|
81
|
+
key: "setDescription",
|
|
82
|
+
value: function setDescription(description) {
|
|
83
|
+
this['description'] = description;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @return {String}
|
|
87
|
+
*/
|
|
88
|
+
}, {
|
|
89
|
+
key: "getUnfilteredSubject",
|
|
90
|
+
value: function getUnfilteredSubject() {
|
|
91
|
+
return this.unfilteredSubject;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @param {String} unfilteredSubject
|
|
96
|
+
*/
|
|
97
|
+
}, {
|
|
98
|
+
key: "setUnfilteredSubject",
|
|
99
|
+
value: function setUnfilteredSubject(unfilteredSubject) {
|
|
100
|
+
this['unfilteredSubject'] = unfilteredSubject;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* @return {Date}
|
|
104
|
+
*/
|
|
105
|
+
}, {
|
|
106
|
+
key: "getExpirationdate",
|
|
107
|
+
value: function getExpirationdate() {
|
|
108
|
+
return this.expirationdate;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @param {Date} expirationdate
|
|
113
|
+
*/
|
|
114
|
+
}, {
|
|
115
|
+
key: "setExpirationdate",
|
|
116
|
+
value: function setExpirationdate(expirationdate) {
|
|
117
|
+
this['expirationdate'] = expirationdate;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @return {Number}
|
|
121
|
+
*/
|
|
122
|
+
}, {
|
|
123
|
+
key: "getPagecount",
|
|
124
|
+
value: function getPagecount() {
|
|
125
|
+
return this.pagecount;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @param {Number} pagecount
|
|
130
|
+
*/
|
|
131
|
+
}, {
|
|
132
|
+
key: "setPagecount",
|
|
133
|
+
value: function setPagecount(pagecount) {
|
|
134
|
+
this['pagecount'] = pagecount;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* @return {module:model/DocumentType}
|
|
138
|
+
*/
|
|
139
|
+
}, {
|
|
140
|
+
key: "getDocumenttype",
|
|
141
|
+
value: function getDocumenttype() {
|
|
142
|
+
return this.documenttype;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @param {module:model/DocumentType} documenttype
|
|
147
|
+
*/
|
|
148
|
+
}, {
|
|
149
|
+
key: "setDocumenttype",
|
|
150
|
+
value: function setDocumenttype(documenttype) {
|
|
151
|
+
this['documenttype'] = documenttype;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* @return {module:model/GraphIteratorEntryPart}
|
|
155
|
+
*/
|
|
156
|
+
}, {
|
|
157
|
+
key: "getTopentrypartarray",
|
|
158
|
+
value: function getTopentrypartarray() {
|
|
159
|
+
return this.topentrypartarray;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @param {module:model/GraphIteratorEntryPart} topentrypartarray
|
|
164
|
+
*/
|
|
165
|
+
}, {
|
|
166
|
+
key: "setTopentrypartarray",
|
|
167
|
+
value: function setTopentrypartarray(topentrypartarray) {
|
|
168
|
+
this['topentrypartarray'] = topentrypartarray;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* @return {Object}
|
|
172
|
+
*/
|
|
173
|
+
}, {
|
|
174
|
+
key: "getRelatedarticles",
|
|
175
|
+
value: function getRelatedarticles() {
|
|
176
|
+
return this.relatedarticles;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @param {Object} relatedarticles
|
|
181
|
+
*/
|
|
182
|
+
}, {
|
|
183
|
+
key: "setRelatedarticles",
|
|
184
|
+
value: function setRelatedarticles(relatedarticles) {
|
|
185
|
+
this['relatedarticles'] = relatedarticles;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* @return {Object}
|
|
189
|
+
*/
|
|
190
|
+
}, {
|
|
191
|
+
key: "getKeywords",
|
|
192
|
+
value: function getKeywords() {
|
|
193
|
+
return this.keywords;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @param {Object} keywords
|
|
198
|
+
*/
|
|
199
|
+
}, {
|
|
200
|
+
key: "setKeywords",
|
|
201
|
+
value: function setKeywords(keywords) {
|
|
202
|
+
this['keywords'] = keywords;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* @return {Array.<module:model/User>}
|
|
206
|
+
*/
|
|
207
|
+
}, {
|
|
208
|
+
key: "getContributors",
|
|
209
|
+
value: function getContributors() {
|
|
210
|
+
return this.contributors;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @param {Array.<module:model/User>} contributors
|
|
215
|
+
*/
|
|
216
|
+
}, {
|
|
217
|
+
key: "setContributors",
|
|
218
|
+
value: function setContributors(contributors) {
|
|
219
|
+
this['contributors'] = contributors;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* @return {module:model/FilterManager}
|
|
223
|
+
*/
|
|
224
|
+
}, {
|
|
225
|
+
key: "getFilterManager",
|
|
226
|
+
value: function getFilterManager() {
|
|
227
|
+
return this.filterManager;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @param {module:model/FilterManager} filterManager
|
|
232
|
+
*/
|
|
233
|
+
}, {
|
|
234
|
+
key: "setFilterManager",
|
|
235
|
+
value: function setFilterManager(filterManager) {
|
|
236
|
+
this['filterManager'] = filterManager;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* @return {Object}
|
|
240
|
+
*/
|
|
241
|
+
}, {
|
|
242
|
+
key: "getEntrypartarray",
|
|
243
|
+
value: function getEntrypartarray() {
|
|
244
|
+
return this.entrypartarray;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @param {Object} entrypartarray
|
|
249
|
+
*/
|
|
250
|
+
}, {
|
|
251
|
+
key: "setEntrypartarray",
|
|
252
|
+
value: function setEntrypartarray(entrypartarray) {
|
|
253
|
+
this['entrypartarray'] = entrypartarray;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* @return {String}
|
|
257
|
+
*/
|
|
258
|
+
}, {
|
|
259
|
+
key: "getMainPhoto",
|
|
260
|
+
value: function getMainPhoto() {
|
|
261
|
+
return this.mainPhoto;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @param {String} mainPhoto
|
|
266
|
+
*/
|
|
267
|
+
}, {
|
|
268
|
+
key: "setMainPhoto",
|
|
269
|
+
value: function setMainPhoto(mainPhoto) {
|
|
270
|
+
this['mainPhoto'] = mainPhoto;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* @return {String}
|
|
274
|
+
*/
|
|
275
|
+
}, {
|
|
276
|
+
key: "getBody",
|
|
277
|
+
value: function getBody() {
|
|
278
|
+
return this.body;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* @param {String} body
|
|
283
|
+
*/
|
|
284
|
+
}, {
|
|
285
|
+
key: "setBody",
|
|
286
|
+
value: function setBody(body) {
|
|
287
|
+
this['body'] = body;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* @return {Date}
|
|
291
|
+
*/
|
|
292
|
+
}, {
|
|
293
|
+
key: "getCreationdate",
|
|
294
|
+
value: function getCreationdate() {
|
|
295
|
+
return this.creationdate;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* @param {Date} creationdate
|
|
300
|
+
*/
|
|
301
|
+
}, {
|
|
302
|
+
key: "setCreationdate",
|
|
303
|
+
value: function setCreationdate(creationdate) {
|
|
304
|
+
this['creationdate'] = creationdate;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* @return {String}
|
|
308
|
+
*/
|
|
309
|
+
}, {
|
|
310
|
+
key: "getSubject",
|
|
311
|
+
value: function getSubject() {
|
|
312
|
+
return this.subject;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* @param {String} subject
|
|
317
|
+
*/
|
|
318
|
+
}, {
|
|
319
|
+
key: "setSubject",
|
|
320
|
+
value: function setSubject(subject) {
|
|
321
|
+
this['subject'] = subject;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* @return {Date}
|
|
325
|
+
*/
|
|
326
|
+
}, {
|
|
327
|
+
key: "getModificationdate",
|
|
328
|
+
value: function getModificationdate() {
|
|
329
|
+
return this.modificationdate;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* @param {Date} modificationdate
|
|
334
|
+
*/
|
|
335
|
+
}, {
|
|
336
|
+
key: "setModificationdate",
|
|
337
|
+
value: function setModificationdate(modificationdate) {
|
|
338
|
+
this['modificationdate'] = modificationdate;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* @return {Number}
|
|
342
|
+
*/
|
|
343
|
+
}, {
|
|
344
|
+
key: "getCreatorid",
|
|
345
|
+
value: function getCreatorid() {
|
|
346
|
+
return this.creatorid;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* @param {Number} creatorid
|
|
351
|
+
*/
|
|
352
|
+
}, {
|
|
353
|
+
key: "setCreatorid",
|
|
354
|
+
value: function setCreatorid(creatorid) {
|
|
355
|
+
this['creatorid'] = creatorid;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* @return {Number}
|
|
359
|
+
*/
|
|
360
|
+
}, {
|
|
361
|
+
key: "getModifier",
|
|
362
|
+
value: function getModifier() {
|
|
363
|
+
return this.modifier;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* @param {Number} modifier
|
|
368
|
+
*/
|
|
369
|
+
}, {
|
|
370
|
+
key: "setModifier",
|
|
371
|
+
value: function setModifier(modifier) {
|
|
372
|
+
this['modifier'] = modifier;
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* @return {Object}
|
|
376
|
+
*/
|
|
377
|
+
}, {
|
|
378
|
+
key: "getProperties",
|
|
379
|
+
value: function getProperties() {
|
|
380
|
+
return this.properties;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* @param {Object} properties
|
|
385
|
+
*/
|
|
386
|
+
}, {
|
|
387
|
+
key: "setProperties",
|
|
388
|
+
value: function setProperties(properties) {
|
|
389
|
+
this['properties'] = properties;
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* @return {Object}
|
|
393
|
+
*/
|
|
394
|
+
}, {
|
|
395
|
+
key: "getData",
|
|
396
|
+
value: function getData() {
|
|
397
|
+
return this.data;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @param {Object} data
|
|
402
|
+
*/
|
|
403
|
+
}, {
|
|
404
|
+
key: "setData",
|
|
405
|
+
value: function setData(data) {
|
|
406
|
+
this['data'] = data;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* @return {Number}
|
|
410
|
+
*/
|
|
411
|
+
}, {
|
|
412
|
+
key: "getId",
|
|
413
|
+
value: function getId() {
|
|
414
|
+
return this.id;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @param {Number} id
|
|
419
|
+
*/
|
|
420
|
+
}, {
|
|
421
|
+
key: "setId",
|
|
422
|
+
value: function setId(id) {
|
|
423
|
+
this['id'] = id;
|
|
424
|
+
}
|
|
425
|
+
}], [{
|
|
426
|
+
key: "initialize",
|
|
427
|
+
value: function initialize(obj) {}
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Constructs a <code>Article</code> from a plain JavaScript object, optionally creating a new instance.
|
|
431
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
432
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
433
|
+
* @param {module:model/Article} obj Optional instance to populate.
|
|
434
|
+
* @return {module:model/Article} The populated <code>Article</code> instance.
|
|
435
|
+
*/
|
|
436
|
+
}, {
|
|
437
|
+
key: "constructFromObject",
|
|
438
|
+
value: function constructFromObject(data, obj) {
|
|
439
|
+
if (data) {
|
|
440
|
+
obj = obj || new Article();
|
|
441
|
+
if (data.hasOwnProperty('status')) {
|
|
442
|
+
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
|
|
443
|
+
}
|
|
444
|
+
if (data.hasOwnProperty('description')) {
|
|
445
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
446
|
+
}
|
|
447
|
+
if (data.hasOwnProperty('unfilteredSubject')) {
|
|
448
|
+
obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
|
|
449
|
+
}
|
|
450
|
+
if (data.hasOwnProperty('expirationdate')) {
|
|
451
|
+
obj['expirationdate'] = _ApiClient["default"].convertToType(data['expirationdate'], 'Date');
|
|
452
|
+
}
|
|
453
|
+
if (data.hasOwnProperty('pagecount')) {
|
|
454
|
+
obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
|
|
455
|
+
}
|
|
456
|
+
if (data.hasOwnProperty('documenttype')) {
|
|
457
|
+
obj['documenttype'] = _DocumentType["default"].constructFromObject(data['documenttype']);
|
|
458
|
+
}
|
|
459
|
+
if (data.hasOwnProperty('topentrypartarray')) {
|
|
460
|
+
obj['topentrypartarray'] = _GraphIteratorEntryPart["default"].constructFromObject(data['topentrypartarray']);
|
|
461
|
+
}
|
|
462
|
+
if (data.hasOwnProperty('relatedarticles')) {
|
|
463
|
+
obj['relatedarticles'] = _ApiClient["default"].convertToType(data['relatedarticles'], Object);
|
|
464
|
+
}
|
|
465
|
+
if (data.hasOwnProperty('keywords')) {
|
|
466
|
+
obj['keywords'] = _ApiClient["default"].convertToType(data['keywords'], Object);
|
|
467
|
+
}
|
|
468
|
+
if (data.hasOwnProperty('contributors')) {
|
|
469
|
+
obj['contributors'] = _ApiClient["default"].convertToType(data['contributors'], [_User["default"]]);
|
|
470
|
+
}
|
|
471
|
+
if (data.hasOwnProperty('filterManager')) {
|
|
472
|
+
obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
|
|
473
|
+
}
|
|
474
|
+
if (data.hasOwnProperty('entrypartarray')) {
|
|
475
|
+
obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
|
|
476
|
+
}
|
|
477
|
+
if (data.hasOwnProperty('mainPhoto')) {
|
|
478
|
+
obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
|
|
479
|
+
}
|
|
480
|
+
if (data.hasOwnProperty('body')) {
|
|
481
|
+
obj['body'] = _ApiClient["default"].convertToType(data['body'], 'String');
|
|
482
|
+
}
|
|
483
|
+
if (data.hasOwnProperty('creationdate')) {
|
|
484
|
+
obj['creationdate'] = _ApiClient["default"].convertToType(data['creationdate'], 'Date');
|
|
485
|
+
}
|
|
486
|
+
if (data.hasOwnProperty('subject')) {
|
|
487
|
+
obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
|
|
488
|
+
}
|
|
489
|
+
if (data.hasOwnProperty('modificationdate')) {
|
|
490
|
+
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
491
|
+
}
|
|
492
|
+
if (data.hasOwnProperty('creatorid')) {
|
|
493
|
+
obj['creatorid'] = _ApiClient["default"].convertToType(data['creatorid'], 'Number');
|
|
494
|
+
}
|
|
495
|
+
if (data.hasOwnProperty('modifier')) {
|
|
496
|
+
obj['modifier'] = _ApiClient["default"].convertToType(data['modifier'], 'Number');
|
|
497
|
+
}
|
|
498
|
+
if (data.hasOwnProperty('properties')) {
|
|
499
|
+
obj['properties'] = _ApiClient["default"].convertToType(data['properties'], Object);
|
|
500
|
+
}
|
|
501
|
+
if (data.hasOwnProperty('data')) {
|
|
502
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
503
|
+
}
|
|
504
|
+
if (data.hasOwnProperty('id')) {
|
|
505
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
return obj;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Validates the JSON data with respect to <code>Article</code>.
|
|
513
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
514
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Article</code>.
|
|
515
|
+
*/
|
|
516
|
+
}, {
|
|
517
|
+
key: "validateJSON",
|
|
518
|
+
value: function validateJSON(data) {
|
|
519
|
+
// ensure the json data is a string
|
|
520
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
521
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
522
|
+
}
|
|
523
|
+
// ensure the json data is a string
|
|
524
|
+
if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
|
|
525
|
+
throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
|
|
526
|
+
}
|
|
527
|
+
// validate the optional field `documenttype`
|
|
528
|
+
if (data['documenttype']) {
|
|
529
|
+
// data not null
|
|
530
|
+
_DocumentType["default"].validateJSON(data['documenttype']);
|
|
531
|
+
}
|
|
532
|
+
// validate the optional field `topentrypartarray`
|
|
533
|
+
if (data['topentrypartarray']) {
|
|
534
|
+
// data not null
|
|
535
|
+
_GraphIteratorEntryPart["default"].validateJSON(data['topentrypartarray']);
|
|
536
|
+
}
|
|
537
|
+
// validate the optional field `filterManager`
|
|
538
|
+
if (data['filterManager']) {
|
|
539
|
+
// data not null
|
|
540
|
+
_FilterManager["default"].validateJSON(data['filterManager']);
|
|
541
|
+
}
|
|
542
|
+
// ensure the json data is a string
|
|
543
|
+
if (data['mainPhoto'] && !(typeof data['mainPhoto'] === 'string' || data['mainPhoto'] instanceof String)) {
|
|
544
|
+
throw new Error("Expected the field `mainPhoto` to be a primitive type in the JSON string but got " + data['mainPhoto']);
|
|
545
|
+
}
|
|
546
|
+
// ensure the json data is a string
|
|
547
|
+
if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
|
|
548
|
+
throw new Error("Expected the field `body` to be a primitive type in the JSON string but got " + data['body']);
|
|
549
|
+
}
|
|
550
|
+
// ensure the json data is a string
|
|
551
|
+
if (data['subject'] && !(typeof data['subject'] === 'string' || data['subject'] instanceof String)) {
|
|
552
|
+
throw new Error("Expected the field `subject` to be a primitive type in the JSON string but got " + data['subject']);
|
|
553
|
+
}
|
|
554
|
+
return true;
|
|
555
|
+
}
|
|
556
|
+
}]);
|
|
557
|
+
return Article;
|
|
558
|
+
}();
|
|
559
|
+
/**
|
|
560
|
+
* @member {Number} status
|
|
561
|
+
*/
|
|
562
|
+
Article.prototype['status'] = undefined;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* @member {String} description
|
|
566
|
+
*/
|
|
567
|
+
Article.prototype['description'] = undefined;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* @member {String} unfilteredSubject
|
|
571
|
+
*/
|
|
572
|
+
Article.prototype['unfilteredSubject'] = undefined;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* @member {Date} expirationdate
|
|
576
|
+
*/
|
|
577
|
+
Article.prototype['expirationdate'] = undefined;
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* @member {Number} pagecount
|
|
581
|
+
*/
|
|
582
|
+
Article.prototype['pagecount'] = undefined;
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* @member {module:model/DocumentType} documenttype
|
|
586
|
+
*/
|
|
587
|
+
Article.prototype['documenttype'] = undefined;
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* @member {module:model/GraphIteratorEntryPart} topentrypartarray
|
|
591
|
+
*/
|
|
592
|
+
Article.prototype['topentrypartarray'] = undefined;
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* @member {Object} relatedarticles
|
|
596
|
+
*/
|
|
597
|
+
Article.prototype['relatedarticles'] = undefined;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* @member {Object} keywords
|
|
601
|
+
*/
|
|
602
|
+
Article.prototype['keywords'] = undefined;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* @member {Array.<module:model/User>} contributors
|
|
606
|
+
*/
|
|
607
|
+
Article.prototype['contributors'] = undefined;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* @member {module:model/FilterManager} filterManager
|
|
611
|
+
*/
|
|
612
|
+
Article.prototype['filterManager'] = undefined;
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* @member {Object} entrypartarray
|
|
616
|
+
*/
|
|
617
|
+
Article.prototype['entrypartarray'] = undefined;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* @member {String} mainPhoto
|
|
621
|
+
*/
|
|
622
|
+
Article.prototype['mainPhoto'] = undefined;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* @member {String} body
|
|
626
|
+
*/
|
|
627
|
+
Article.prototype['body'] = undefined;
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* @member {Date} creationdate
|
|
631
|
+
*/
|
|
632
|
+
Article.prototype['creationdate'] = undefined;
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* @member {String} subject
|
|
636
|
+
*/
|
|
637
|
+
Article.prototype['subject'] = undefined;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* @member {Date} modificationdate
|
|
641
|
+
*/
|
|
642
|
+
Article.prototype['modificationdate'] = undefined;
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* @member {Number} creatorid
|
|
646
|
+
*/
|
|
647
|
+
Article.prototype['creatorid'] = undefined;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* @member {Number} modifier
|
|
651
|
+
*/
|
|
652
|
+
Article.prototype['modifier'] = undefined;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* @member {Object} properties
|
|
656
|
+
*/
|
|
657
|
+
Article.prototype['properties'] = undefined;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* @member {Object} data
|
|
661
|
+
*/
|
|
662
|
+
Article.prototype['data'] = undefined;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* @member {Number} id
|
|
666
|
+
*/
|
|
667
|
+
Article.prototype['id'] = undefined;
|
|
668
|
+
var _default = exports["default"] = Article;
|