@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.
Files changed (188) hide show
  1. package/README.md +794 -0
  2. package/dist/ApiClient.js +720 -0
  3. package/dist/api/ActionTypesApi.js +113 -0
  4. package/dist/api/AdCampaignsApi.js +500 -0
  5. package/dist/api/AdManagementApi.js +722 -0
  6. package/dist/api/AdminDataManagementApi.js +111 -0
  7. package/dist/api/AdsApi.js +384 -0
  8. package/dist/api/AttachmentsApi.js +465 -0
  9. package/dist/api/AuthenticationApi.js +418 -0
  10. package/dist/api/CategoriesApi.js +451 -0
  11. package/dist/api/CommentsApi.js +520 -0
  12. package/dist/api/ContentManagementApi.js +1491 -0
  13. package/dist/api/ConversationsApi.js +559 -0
  14. package/dist/api/DataSheetImportsApi.js +1066 -0
  15. package/dist/api/DefaultApi.js +696 -0
  16. package/dist/api/DocumentsApi.js +807 -0
  17. package/dist/api/EntryPartsApi.js +847 -0
  18. package/dist/api/FacebookApi.js +88 -0
  19. package/dist/api/FieldsApi.js +243 -0
  20. package/dist/api/FilesApi.js +116 -0
  21. package/dist/api/FormsApi.js +1136 -0
  22. package/dist/api/FunctionsApi.js +111 -0
  23. package/dist/api/GeocodeApi.js +340 -0
  24. package/dist/api/GoogleApi.js +88 -0
  25. package/dist/api/GraphActionsApi.js +674 -0
  26. package/dist/api/GraphObjectTypesApi.js +527 -0
  27. package/dist/api/GraphObjectsApi.js +4026 -0
  28. package/dist/api/GraphRelationshipTypesApi.js +1055 -0
  29. package/dist/api/GraphRelationshipsApi.js +1921 -0
  30. package/dist/api/GraphSchemasApi.js +459 -0
  31. package/dist/api/GraphTraversalApi.js +415 -0
  32. package/dist/api/GraphsApi.js +716 -0
  33. package/dist/api/GroupsApi.js +731 -0
  34. package/dist/api/IAMApi.js +268 -0
  35. package/dist/api/ImagesApi.js +535 -0
  36. package/dist/api/InvitesApi.js +339 -0
  37. package/dist/api/LikesApi.js +785 -0
  38. package/dist/api/LinkedINApi.js +88 -0
  39. package/dist/api/LiveMeetingsApi.js +175 -0
  40. package/dist/api/MeetingEventsApi.js +358 -0
  41. package/dist/api/PagesApi.js +605 -0
  42. package/dist/api/PostsApi.js +330 -0
  43. package/dist/api/PrivateMessagesApi.js +965 -0
  44. package/dist/api/PublicationsApi.js +103 -0
  45. package/dist/api/ScreensApi.js +224 -0
  46. package/dist/api/SocialIntegrationApi.js +214 -0
  47. package/dist/api/StripeAccountsApi.js +2309 -0
  48. package/dist/api/TagsApi.js +111 -0
  49. package/dist/api/TemplatesApi.js +224 -0
  50. package/dist/api/ThemeMappingsApi.js +219 -0
  51. package/dist/api/TransactionsApi.js +161 -0
  52. package/dist/api/TwitterApi.js +88 -0
  53. package/dist/api/UserTagsApi.js +592 -0
  54. package/dist/api/UsersApi.js +591 -0
  55. package/dist/api/UtilsApi.js +80 -0
  56. package/dist/api/VideosApi.js +709 -0
  57. package/dist/index.js +1301 -0
  58. package/dist/model/APIClient.js +354 -0
  59. package/dist/model/AccountSessionInput.js +222 -0
  60. package/dist/model/AccountSessionResponse.js +171 -0
  61. package/dist/model/ApplicationPaymentAccountResponse.js +185 -0
  62. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +265 -0
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +234 -0
  64. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +303 -0
  65. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +187 -0
  66. package/dist/model/Article.js +668 -0
  67. package/dist/model/Authorization.js +166 -0
  68. package/dist/model/Balance.js +267 -0
  69. package/dist/model/BalanceDetails.js +164 -0
  70. package/dist/model/BalanceResponse.js +139 -0
  71. package/dist/model/BankAccountInfo.js +232 -0
  72. package/dist/model/CardInfo.js +213 -0
  73. package/dist/model/Comment.js +495 -0
  74. package/dist/model/Coordinates.js +129 -0
  75. package/dist/model/CreateAccountResponse.js +233 -0
  76. package/dist/model/CreateStripeAccountInput.js +216 -0
  77. package/dist/model/CreateStripeCustomerInput.js +195 -0
  78. package/dist/model/CustomerResponse.js +168 -0
  79. package/dist/model/DataObject.js +129 -0
  80. package/dist/model/DataSheetImport.js +732 -0
  81. package/dist/model/DataSheetImportPrivacySettings.js +154 -0
  82. package/dist/model/DataSheetImportSummary.js +206 -0
  83. package/dist/model/Document.js +743 -0
  84. package/dist/model/DocumentPart.js +612 -0
  85. package/dist/model/DocumentPartType.js +358 -0
  86. package/dist/model/DocumentType.js +458 -0
  87. package/dist/model/FieldMapping.js +185 -0
  88. package/dist/model/Fields.js +737 -0
  89. package/dist/model/File.js +341 -0
  90. package/dist/model/FileAttachmentUploadObject.js +341 -0
  91. package/dist/model/Filter.js +137 -0
  92. package/dist/model/FilterManager.js +154 -0
  93. package/dist/model/Form.js +393 -0
  94. package/dist/model/FormSection.js +304 -0
  95. package/dist/model/FormSubmission.js +238 -0
  96. package/dist/model/Geocode.js +191 -0
  97. package/dist/model/GeocodePayload.js +141 -0
  98. package/dist/model/GeolocationInput.js +216 -0
  99. package/dist/model/Graph.js +499 -0
  100. package/dist/model/GraphAction.js +298 -0
  101. package/dist/model/GraphDatabaseService.js +254 -0
  102. package/dist/model/GraphGeocode.js +282 -0
  103. package/dist/model/GraphIteratorEntryPart.js +129 -0
  104. package/dist/model/GraphObject.js +454 -0
  105. package/dist/model/GraphObjectPayload.js +430 -0
  106. package/dist/model/GraphObjectSchema.js +545 -0
  107. package/dist/model/GraphObjectType.js +626 -0
  108. package/dist/model/GraphObjectTypeSchema.js +645 -0
  109. package/dist/model/GraphOwner.js +158 -0
  110. package/dist/model/GraphRelationObjectObject.js +273 -0
  111. package/dist/model/GraphRelationship.js +301 -0
  112. package/dist/model/GraphRelationshipPayload.js +214 -0
  113. package/dist/model/GraphRelationshipType.js +675 -0
  114. package/dist/model/GraphSchema.js +645 -0
  115. package/dist/model/GraphTraversalInput.js +1125 -0
  116. package/dist/model/Image.js +449 -0
  117. package/dist/model/ImageUploadObject.js +449 -0
  118. package/dist/model/InputPart.js +191 -0
  119. package/dist/model/InputPartMediaType.js +214 -0
  120. package/dist/model/Link.js +305 -0
  121. package/dist/model/LiveStreamInfo.js +167 -0
  122. package/dist/model/MeetingEvent.js +591 -0
  123. package/dist/model/MeetingEventTimezone.js +187 -0
  124. package/dist/model/MeetingInfo.js +220 -0
  125. package/dist/model/Member.js +525 -0
  126. package/dist/model/MemberGroupCategory.js +237 -0
  127. package/dist/model/MemberList.js +96 -0
  128. package/dist/model/MessageGroup.js +160 -0
  129. package/dist/model/MultipartBody.js +133 -0
  130. package/dist/model/Objecttype.js +615 -0
  131. package/dist/model/Page.js +370 -0
  132. package/dist/model/PageSchema.js +482 -0
  133. package/dist/model/Pageable.js +235 -0
  134. package/dist/model/Path.js +110 -0
  135. package/dist/model/PaymentAccountObject.js +209 -0
  136. package/dist/model/PaymentIntentInput.js +214 -0
  137. package/dist/model/PaymentIntentResponse.js +137 -0
  138. package/dist/model/PaymentMethod.js +319 -0
  139. package/dist/model/PaymentMethodInput.js +291 -0
  140. package/dist/model/PaymentMethodResponse.js +139 -0
  141. package/dist/model/PaymentMethodsResponse.js +158 -0
  142. package/dist/model/Payout.js +313 -0
  143. package/dist/model/PayoutInput.js +347 -0
  144. package/dist/model/PayoutResponse.js +142 -0
  145. package/dist/model/Post.js +368 -0
  146. package/dist/model/PrivateMessage.js +494 -0
  147. package/dist/model/PrivateMessageConversation.js +520 -0
  148. package/dist/model/PrivateMessageConversationSchema.js +268 -0
  149. package/dist/model/Profile.js +191 -0
  150. package/dist/model/Profiletype.js +210 -0
  151. package/dist/model/PropertyContainer.js +162 -0
  152. package/dist/model/PurgeDataDefaultResponseValue.js +151 -0
  153. package/dist/model/RelationshipMapping.js +264 -0
  154. package/dist/model/ScreenSchema.js +834 -0
  155. package/dist/model/SimulcastInfo.js +175 -0
  156. package/dist/model/SkinField.js +737 -0
  157. package/dist/model/SocialGroup.js +602 -0
  158. package/dist/model/SocialGroupType.js +327 -0
  159. package/dist/model/Sort.js +154 -0
  160. package/dist/model/SourceTypes.js +154 -0
  161. package/dist/model/StatusUpdate.js +312 -0
  162. package/dist/model/StreetAddress.js +224 -0
  163. package/dist/model/StripeAccount.js +272 -0
  164. package/dist/model/StripeCustomerAccount.js +212 -0
  165. package/dist/model/Template.js +272 -0
  166. package/dist/model/TemplateSchema.js +300 -0
  167. package/dist/model/ThemeMapping.js +245 -0
  168. package/dist/model/ThemeMappingPayload.js +239 -0
  169. package/dist/model/Transaction.js +137 -0
  170. package/dist/model/Transfer.js +286 -0
  171. package/dist/model/TransferInput.js +288 -0
  172. package/dist/model/TransferResponse.js +173 -0
  173. package/dist/model/TransferResponsePaymentMethodDetails.js +286 -0
  174. package/dist/model/TraversalRelationResponse.js +176 -0
  175. package/dist/model/User.js +525 -0
  176. package/dist/model/UserDataPayload.js +525 -0
  177. package/dist/model/UserDomain.js +191 -0
  178. package/dist/model/UserInvite.js +404 -0
  179. package/dist/model/UserInviteInput.js +245 -0
  180. package/dist/model/UserSchema.js +525 -0
  181. package/dist/model/UserTag.js +246 -0
  182. package/dist/model/Userid.js +133 -0
  183. package/dist/model/Video.js +632 -0
  184. package/dist/model/VideoLiveUrl.js +137 -0
  185. package/dist/model/VideoSchema.js +717 -0
  186. package/dist/model/VideoUploadObject.js +632 -0
  187. package/dist/model/ZeusPortalCategory.js +434 -0
  188. package/package.json +46 -0
@@ -0,0 +1,834 @@
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 _Article = _interopRequireDefault(require("./Article"));
9
+ var _Objecttype = _interopRequireDefault(require("./Objecttype"));
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
+ 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); } }
14
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
16
+ 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); } /**
17
+ * gobodo-api
18
+ * REST Interface for Gobodo API
19
+ *
20
+ * The version of the OpenAPI document: 0.1.34
21
+ * Contact: info@gobodo.io
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
28
+ /**
29
+ * The ScreenSchema model module.
30
+ * @module model/ScreenSchema
31
+ * @version 0.1.34
32
+ */
33
+ var ScreenSchema = /*#__PURE__*/function () {
34
+ /**
35
+ * Constructs a new <code>ScreenSchema</code>.
36
+ * @alias module:model/ScreenSchema
37
+ */
38
+ function ScreenSchema() {
39
+ _classCallCheck(this, ScreenSchema);
40
+ ScreenSchema.initialize(this);
41
+ }
42
+
43
+ /**
44
+ * Initializes the fields of this object.
45
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
46
+ * Only for internal use.
47
+ */
48
+ _createClass(ScreenSchema, [{
49
+ key: "getRemotezpml",
50
+ value:
51
+ /**
52
+ * @return {String}
53
+ */
54
+ function getRemotezpml() {
55
+ return this.remotezpml;
56
+ }
57
+
58
+ /**
59
+ * @param {String} remotezpml
60
+ */
61
+ }, {
62
+ key: "setRemotezpml",
63
+ value: function setRemotezpml(remotezpml) {
64
+ this['remotezpml'] = remotezpml;
65
+ }
66
+ /**
67
+ * @return {String}
68
+ */
69
+ }, {
70
+ key: "getName",
71
+ value: function getName() {
72
+ return this.name;
73
+ }
74
+
75
+ /**
76
+ * @param {String} name
77
+ */
78
+ }, {
79
+ key: "setName",
80
+ value: function setName(name) {
81
+ this['name'] = name;
82
+ }
83
+ /**
84
+ * @return {String}
85
+ */
86
+ }, {
87
+ key: "getDescription",
88
+ value: function getDescription() {
89
+ return this.description;
90
+ }
91
+
92
+ /**
93
+ * @param {String} description
94
+ */
95
+ }, {
96
+ key: "setDescription",
97
+ value: function setDescription(description) {
98
+ this['description'] = description;
99
+ }
100
+ /**
101
+ * @return {module:model/ScreenSchema.ScreentypeEnum}
102
+ */
103
+ }, {
104
+ key: "getScreentype",
105
+ value: function getScreentype() {
106
+ return this.screentype;
107
+ }
108
+
109
+ /**
110
+ * @param {module:model/ScreenSchema.ScreentypeEnum} screentype
111
+ */
112
+ }, {
113
+ key: "setScreentype",
114
+ value: function setScreentype(screentype) {
115
+ this['screentype'] = screentype;
116
+ }
117
+ /**
118
+ * Returns The path on the sever where this types files resides
119
+ * @return {String}
120
+ */
121
+ }, {
122
+ key: "getScreenpath",
123
+ value: function getScreenpath() {
124
+ return this.screenpath;
125
+ }
126
+
127
+ /**
128
+ * Sets The path on the sever where this types files resides
129
+ * @param {String} screenpath The path on the sever where this types files resides
130
+ */
131
+ }, {
132
+ key: "setScreenpath",
133
+ value: function setScreenpath(screenpath) {
134
+ this['screenpath'] = screenpath;
135
+ }
136
+ /**
137
+ * @return {String}
138
+ */
139
+ }, {
140
+ key: "getZpml",
141
+ value: function getZpml() {
142
+ return this.zpml;
143
+ }
144
+
145
+ /**
146
+ * @param {String} zpml
147
+ */
148
+ }, {
149
+ key: "setZpml",
150
+ value: function setZpml(zpml) {
151
+ this['zpml'] = zpml;
152
+ }
153
+ /**
154
+ * @return {String}
155
+ */
156
+ }, {
157
+ key: "getRemotepath",
158
+ value: function getRemotepath() {
159
+ return this.remotepath;
160
+ }
161
+
162
+ /**
163
+ * @param {String} remotepath
164
+ */
165
+ }, {
166
+ key: "setRemotepath",
167
+ value: function setRemotepath(remotepath) {
168
+ this['remotepath'] = remotepath;
169
+ }
170
+ /**
171
+ * @return {module:model/Article}
172
+ */
173
+ }, {
174
+ key: "getInterfacedocument",
175
+ value: function getInterfacedocument() {
176
+ return this.interfacedocument;
177
+ }
178
+
179
+ /**
180
+ * @param {module:model/Article} interfacedocument
181
+ */
182
+ }, {
183
+ key: "setInterfacedocument",
184
+ value: function setInterfacedocument(interfacedocument) {
185
+ this['interfacedocument'] = interfacedocument;
186
+ }
187
+ /**
188
+ * @return {Object}
189
+ */
190
+ }, {
191
+ key: "getTemplates",
192
+ value: function getTemplates() {
193
+ return this.templates;
194
+ }
195
+
196
+ /**
197
+ * @param {Object} templates
198
+ */
199
+ }, {
200
+ key: "setTemplates",
201
+ value: function setTemplates(templates) {
202
+ this['templates'] = templates;
203
+ }
204
+ /**
205
+ * Returns Actions performed on this object
206
+ * @return {String}
207
+ */
208
+ }, {
209
+ key: "getActionsPerformed",
210
+ value: function getActionsPerformed() {
211
+ return this.actions_performed;
212
+ }
213
+
214
+ /**
215
+ * Sets Actions performed on this object
216
+ * @param {String} actionsPerformed Actions performed on this object
217
+ */
218
+ }, {
219
+ key: "setActionsPerformed",
220
+ value: function setActionsPerformed(actionsPerformed) {
221
+ this['actions_performed'] = actionsPerformed;
222
+ }
223
+ /**
224
+ * @return {module:model/Objecttype}
225
+ */
226
+ }, {
227
+ key: "getObjecttype",
228
+ value: function getObjecttype() {
229
+ return this.objecttype;
230
+ }
231
+
232
+ /**
233
+ * @param {module:model/Objecttype} objecttype
234
+ */
235
+ }, {
236
+ key: "setObjecttype",
237
+ value: function setObjecttype(objecttype) {
238
+ this['objecttype'] = objecttype;
239
+ }
240
+ /**
241
+ * Returns Label of this object
242
+ * @return {String}
243
+ */
244
+ }, {
245
+ key: "getLabel",
246
+ value: function getLabel() {
247
+ return this.label;
248
+ }
249
+
250
+ /**
251
+ * Sets Label of this object
252
+ * @param {String} label Label of this object
253
+ */
254
+ }, {
255
+ key: "setLabel",
256
+ value: function setLabel(label) {
257
+ this['label'] = label;
258
+ }
259
+ /**
260
+ * @return {Object}
261
+ */
262
+ }, {
263
+ key: "getTags",
264
+ value: function getTags() {
265
+ return this.tags;
266
+ }
267
+
268
+ /**
269
+ * @param {Object} tags
270
+ */
271
+ }, {
272
+ key: "setTags",
273
+ value: function setTags(tags) {
274
+ this['tags'] = tags;
275
+ }
276
+ /**
277
+ * Returns Graphs this object is apart of
278
+ * @return {String}
279
+ */
280
+ }, {
281
+ key: "getGraphs",
282
+ value: function getGraphs() {
283
+ return this.graphs;
284
+ }
285
+
286
+ /**
287
+ * Sets Graphs this object is apart of
288
+ * @param {String} graphs Graphs this object is apart of
289
+ */
290
+ }, {
291
+ key: "setGraphs",
292
+ value: function setGraphs(graphs) {
293
+ this['graphs'] = graphs;
294
+ }
295
+ /**
296
+ * Returns Relationships on this object
297
+ * @return {String}
298
+ */
299
+ }, {
300
+ key: "getRelationships",
301
+ value: function getRelationships() {
302
+ return this.relationships;
303
+ }
304
+
305
+ /**
306
+ * Sets Relationships on this object
307
+ * @param {String} relationships Relationships on this object
308
+ */
309
+ }, {
310
+ key: "setRelationships",
311
+ value: function setRelationships(relationships) {
312
+ this['relationships'] = relationships;
313
+ }
314
+ /**
315
+ * Returns Creation Date
316
+ * @return {Date}
317
+ */
318
+ }, {
319
+ key: "getCreationdate",
320
+ value: function getCreationdate() {
321
+ return this.creationdate;
322
+ }
323
+
324
+ /**
325
+ * Sets Creation Date
326
+ * @param {Date} creationdate Creation Date
327
+ */
328
+ }, {
329
+ key: "setCreationdate",
330
+ value: function setCreationdate(creationdate) {
331
+ this['creationdate'] = creationdate;
332
+ }
333
+ /**
334
+ * Returns Modification Date
335
+ * @return {Date}
336
+ */
337
+ }, {
338
+ key: "getModificationdate",
339
+ value: function getModificationdate() {
340
+ return this.modificationdate;
341
+ }
342
+
343
+ /**
344
+ * Sets Modification Date
345
+ * @param {Date} modificationdate Modification Date
346
+ */
347
+ }, {
348
+ key: "setModificationdate",
349
+ value: function setModificationdate(modificationdate) {
350
+ this['modificationdate'] = modificationdate;
351
+ }
352
+ /**
353
+ * @return {Boolean}
354
+ */
355
+ }, {
356
+ key: "getSearchable",
357
+ value: function getSearchable() {
358
+ return this.searchable;
359
+ }
360
+
361
+ /**
362
+ * @param {Boolean} searchable
363
+ */
364
+ }, {
365
+ key: "setSearchable",
366
+ value: function setSearchable(searchable) {
367
+ this['searchable'] = searchable;
368
+ }
369
+ /**
370
+ * Returns The unique key of this entity
371
+ * @return {String}
372
+ */
373
+ }, {
374
+ key: "getKey",
375
+ value: function getKey() {
376
+ return this.key;
377
+ }
378
+
379
+ /**
380
+ * Sets The unique key of this entity
381
+ * @param {String} key The unique key of this entity
382
+ */
383
+ }, {
384
+ key: "setKey",
385
+ value: function setKey(key) {
386
+ this['key'] = key;
387
+ }
388
+ /**
389
+ * Returns The creator of this Object
390
+ * @return {Number}
391
+ */
392
+ }, {
393
+ key: "getCreatorid",
394
+ value: function getCreatorid() {
395
+ return this.creatorid;
396
+ }
397
+
398
+ /**
399
+ * Sets The creator of this Object
400
+ * @param {Number} creatorid The creator of this Object
401
+ */
402
+ }, {
403
+ key: "setCreatorid",
404
+ value: function setCreatorid(creatorid) {
405
+ this['creatorid'] = creatorid;
406
+ }
407
+ /**
408
+ * @return {Object}
409
+ */
410
+ }, {
411
+ key: "getData",
412
+ value: function getData() {
413
+ return this.data;
414
+ }
415
+
416
+ /**
417
+ * @param {Object} data
418
+ */
419
+ }, {
420
+ key: "setData",
421
+ value: function setData(data) {
422
+ this['data'] = data;
423
+ }
424
+ /**
425
+ * @return {Number}
426
+ */
427
+ }, {
428
+ key: "getId",
429
+ value: function getId() {
430
+ return this.id;
431
+ }
432
+
433
+ /**
434
+ * @param {Number} id
435
+ */
436
+ }, {
437
+ key: "setId",
438
+ value: function setId(id) {
439
+ this['id'] = id;
440
+ }
441
+ }], [{
442
+ key: "initialize",
443
+ value: function initialize(obj) {}
444
+
445
+ /**
446
+ * Constructs a <code>ScreenSchema</code> from a plain JavaScript object, optionally creating a new instance.
447
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
448
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
449
+ * @param {module:model/ScreenSchema} obj Optional instance to populate.
450
+ * @return {module:model/ScreenSchema} The populated <code>ScreenSchema</code> instance.
451
+ */
452
+ }, {
453
+ key: "constructFromObject",
454
+ value: function constructFromObject(data, obj) {
455
+ if (data) {
456
+ obj = obj || new ScreenSchema();
457
+ if (data.hasOwnProperty('remotezpml')) {
458
+ obj['remotezpml'] = _ApiClient["default"].convertToType(data['remotezpml'], 'String');
459
+ }
460
+ if (data.hasOwnProperty('name')) {
461
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
462
+ }
463
+ if (data.hasOwnProperty('description')) {
464
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
465
+ }
466
+ if (data.hasOwnProperty('screentype')) {
467
+ obj['screentype'] = _ApiClient["default"].convertToType(data['screentype'], 'String');
468
+ }
469
+ if (data.hasOwnProperty('screenpath')) {
470
+ obj['screenpath'] = _ApiClient["default"].convertToType(data['screenpath'], 'String');
471
+ }
472
+ if (data.hasOwnProperty('zpml')) {
473
+ obj['zpml'] = _ApiClient["default"].convertToType(data['zpml'], 'String');
474
+ }
475
+ if (data.hasOwnProperty('remotepath')) {
476
+ obj['remotepath'] = _ApiClient["default"].convertToType(data['remotepath'], 'String');
477
+ }
478
+ if (data.hasOwnProperty('interfacedocument')) {
479
+ obj['interfacedocument'] = _Article["default"].constructFromObject(data['interfacedocument']);
480
+ }
481
+ if (data.hasOwnProperty('templates')) {
482
+ obj['templates'] = _ApiClient["default"].convertToType(data['templates'], Object);
483
+ }
484
+ if (data.hasOwnProperty('actions_performed')) {
485
+ obj['actions_performed'] = _ApiClient["default"].convertToType(data['actions_performed'], 'String');
486
+ }
487
+ if (data.hasOwnProperty('objecttype')) {
488
+ obj['objecttype'] = _Objecttype["default"].constructFromObject(data['objecttype']);
489
+ }
490
+ if (data.hasOwnProperty('label')) {
491
+ obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
492
+ }
493
+ if (data.hasOwnProperty('tags')) {
494
+ obj['tags'] = _ApiClient["default"].convertToType(data['tags'], Object);
495
+ }
496
+ if (data.hasOwnProperty('graphs')) {
497
+ obj['graphs'] = _ApiClient["default"].convertToType(data['graphs'], 'String');
498
+ }
499
+ if (data.hasOwnProperty('relationships')) {
500
+ obj['relationships'] = _ApiClient["default"].convertToType(data['relationships'], 'String');
501
+ }
502
+ if (data.hasOwnProperty('creationdate')) {
503
+ obj['creationdate'] = _ApiClient["default"].convertToType(data['creationdate'], 'Date');
504
+ }
505
+ if (data.hasOwnProperty('modificationdate')) {
506
+ obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
507
+ }
508
+ if (data.hasOwnProperty('searchable')) {
509
+ obj['searchable'] = _ApiClient["default"].convertToType(data['searchable'], 'Boolean');
510
+ }
511
+ if (data.hasOwnProperty('key')) {
512
+ obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
513
+ }
514
+ if (data.hasOwnProperty('creatorid')) {
515
+ obj['creatorid'] = _ApiClient["default"].convertToType(data['creatorid'], 'Number');
516
+ }
517
+ if (data.hasOwnProperty('data')) {
518
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
519
+ }
520
+ if (data.hasOwnProperty('id')) {
521
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
522
+ }
523
+ }
524
+ return obj;
525
+ }
526
+
527
+ /**
528
+ * Validates the JSON data with respect to <code>ScreenSchema</code>.
529
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
530
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ScreenSchema</code>.
531
+ */
532
+ }, {
533
+ key: "validateJSON",
534
+ value: function validateJSON(data) {
535
+ // ensure the json data is a string
536
+ if (data['remotezpml'] && !(typeof data['remotezpml'] === 'string' || data['remotezpml'] instanceof String)) {
537
+ throw new Error("Expected the field `remotezpml` to be a primitive type in the JSON string but got " + data['remotezpml']);
538
+ }
539
+ // ensure the json data is a string
540
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
541
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
542
+ }
543
+ // ensure the json data is a string
544
+ if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
545
+ throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
546
+ }
547
+ // ensure the json data is a string
548
+ if (data['screentype'] && !(typeof data['screentype'] === 'string' || data['screentype'] instanceof String)) {
549
+ throw new Error("Expected the field `screentype` to be a primitive type in the JSON string but got " + data['screentype']);
550
+ }
551
+ // ensure the json data is a string
552
+ if (data['screenpath'] && !(typeof data['screenpath'] === 'string' || data['screenpath'] instanceof String)) {
553
+ throw new Error("Expected the field `screenpath` to be a primitive type in the JSON string but got " + data['screenpath']);
554
+ }
555
+ // ensure the json data is a string
556
+ if (data['zpml'] && !(typeof data['zpml'] === 'string' || data['zpml'] instanceof String)) {
557
+ throw new Error("Expected the field `zpml` to be a primitive type in the JSON string but got " + data['zpml']);
558
+ }
559
+ // ensure the json data is a string
560
+ if (data['remotepath'] && !(typeof data['remotepath'] === 'string' || data['remotepath'] instanceof String)) {
561
+ throw new Error("Expected the field `remotepath` to be a primitive type in the JSON string but got " + data['remotepath']);
562
+ }
563
+ // validate the optional field `interfacedocument`
564
+ if (data['interfacedocument']) {
565
+ // data not null
566
+ _Article["default"].validateJSON(data['interfacedocument']);
567
+ }
568
+ // ensure the json data is a string
569
+ if (data['actions_performed'] && !(typeof data['actions_performed'] === 'string' || data['actions_performed'] instanceof String)) {
570
+ throw new Error("Expected the field `actions_performed` to be a primitive type in the JSON string but got " + data['actions_performed']);
571
+ }
572
+ // validate the optional field `objecttype`
573
+ if (data['objecttype']) {
574
+ // data not null
575
+ _Objecttype["default"].validateJSON(data['objecttype']);
576
+ }
577
+ // ensure the json data is a string
578
+ if (data['label'] && !(typeof data['label'] === 'string' || data['label'] instanceof String)) {
579
+ throw new Error("Expected the field `label` to be a primitive type in the JSON string but got " + data['label']);
580
+ }
581
+ // ensure the json data is a string
582
+ if (data['graphs'] && !(typeof data['graphs'] === 'string' || data['graphs'] instanceof String)) {
583
+ throw new Error("Expected the field `graphs` to be a primitive type in the JSON string but got " + data['graphs']);
584
+ }
585
+ // ensure the json data is a string
586
+ if (data['relationships'] && !(typeof data['relationships'] === 'string' || data['relationships'] instanceof String)) {
587
+ throw new Error("Expected the field `relationships` to be a primitive type in the JSON string but got " + data['relationships']);
588
+ }
589
+ // ensure the json data is a string
590
+ if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
591
+ throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
592
+ }
593
+ return true;
594
+ }
595
+ }]);
596
+ return ScreenSchema;
597
+ }();
598
+ /**
599
+ * @member {String} remotezpml
600
+ */
601
+ ScreenSchema.prototype['remotezpml'] = undefined;
602
+
603
+ /**
604
+ * @member {String} name
605
+ */
606
+ ScreenSchema.prototype['name'] = undefined;
607
+
608
+ /**
609
+ * @member {String} description
610
+ */
611
+ ScreenSchema.prototype['description'] = undefined;
612
+
613
+ /**
614
+ * @member {module:model/ScreenSchema.ScreentypeEnum} screentype
615
+ */
616
+ ScreenSchema.prototype['screentype'] = undefined;
617
+
618
+ /**
619
+ * The path on the sever where this types files resides
620
+ * @member {String} screenpath
621
+ */
622
+ ScreenSchema.prototype['screenpath'] = undefined;
623
+
624
+ /**
625
+ * @member {String} zpml
626
+ */
627
+ ScreenSchema.prototype['zpml'] = undefined;
628
+
629
+ /**
630
+ * @member {String} remotepath
631
+ */
632
+ ScreenSchema.prototype['remotepath'] = undefined;
633
+
634
+ /**
635
+ * @member {module:model/Article} interfacedocument
636
+ */
637
+ ScreenSchema.prototype['interfacedocument'] = undefined;
638
+
639
+ /**
640
+ * @member {Object} templates
641
+ */
642
+ ScreenSchema.prototype['templates'] = undefined;
643
+
644
+ /**
645
+ * Actions performed on this object
646
+ * @member {String} actions_performed
647
+ */
648
+ ScreenSchema.prototype['actions_performed'] = undefined;
649
+
650
+ /**
651
+ * @member {module:model/Objecttype} objecttype
652
+ */
653
+ ScreenSchema.prototype['objecttype'] = undefined;
654
+
655
+ /**
656
+ * Label of this object
657
+ * @member {String} label
658
+ */
659
+ ScreenSchema.prototype['label'] = undefined;
660
+
661
+ /**
662
+ * @member {Object} tags
663
+ */
664
+ ScreenSchema.prototype['tags'] = undefined;
665
+
666
+ /**
667
+ * Graphs this object is apart of
668
+ * @member {String} graphs
669
+ */
670
+ ScreenSchema.prototype['graphs'] = undefined;
671
+
672
+ /**
673
+ * Relationships on this object
674
+ * @member {String} relationships
675
+ */
676
+ ScreenSchema.prototype['relationships'] = undefined;
677
+
678
+ /**
679
+ * Creation Date
680
+ * @member {Date} creationdate
681
+ */
682
+ ScreenSchema.prototype['creationdate'] = undefined;
683
+
684
+ /**
685
+ * Modification Date
686
+ * @member {Date} modificationdate
687
+ */
688
+ ScreenSchema.prototype['modificationdate'] = undefined;
689
+
690
+ /**
691
+ * @member {Boolean} searchable
692
+ */
693
+ ScreenSchema.prototype['searchable'] = undefined;
694
+
695
+ /**
696
+ * The unique key of this entity
697
+ * @member {String} key
698
+ */
699
+ ScreenSchema.prototype['key'] = undefined;
700
+
701
+ /**
702
+ * The creator of this Object
703
+ * @member {Number} creatorid
704
+ */
705
+ ScreenSchema.prototype['creatorid'] = undefined;
706
+
707
+ /**
708
+ * @member {Object} data
709
+ */
710
+ ScreenSchema.prototype['data'] = undefined;
711
+
712
+ /**
713
+ * @member {Number} id
714
+ */
715
+ ScreenSchema.prototype['id'] = undefined;
716
+
717
+ /**
718
+ * Allowed values for the <code>screentype</code> property.
719
+ * @enum {String}
720
+ * @readonly
721
+ */
722
+ ScreenSchema['ScreentypeEnum'] = {
723
+ /**
724
+ * value: "MAIN"
725
+ * @const
726
+ */
727
+ "MAIN": "MAIN",
728
+ /**
729
+ * value: "CARD"
730
+ * @const
731
+ */
732
+ "CARD": "CARD",
733
+ /**
734
+ * value: "CARD"
735
+ * @const
736
+ */
737
+ "CARD2": "CARD",
738
+ /**
739
+ * value: "DIALOG"
740
+ * @const
741
+ */
742
+ "DIALOG": "DIALOG",
743
+ /**
744
+ * value: "SITE_HOMESCREEN"
745
+ * @const
746
+ */
747
+ "SITE_HOMESCREEN": "SITE_HOMESCREEN",
748
+ /**
749
+ * value: "CREATE"
750
+ * @const
751
+ */
752
+ "CREATE": "CREATE",
753
+ /**
754
+ * value: "EDIT"
755
+ * @const
756
+ */
757
+ "EDIT": "EDIT",
758
+ /**
759
+ * value: "CANVAS_PAGE"
760
+ * @const
761
+ */
762
+ "CANVAS_PAGE": "CANVAS_PAGE",
763
+ /**
764
+ * value: "PRINTER_FRIENDLY"
765
+ * @const
766
+ */
767
+ "PRINTER_FRIENDLY": "PRINTER_FRIENDLY",
768
+ /**
769
+ * value: "REACT_NATIVE"
770
+ * @const
771
+ */
772
+ "REACT_NATIVE": "REACT_NATIVE",
773
+ /**
774
+ * value: "REACT_NATIVE_CARD"
775
+ * @const
776
+ */
777
+ "REACT_NATIVE_CARD": "REACT_NATIVE_CARD",
778
+ /**
779
+ * value: "MOBILE"
780
+ * @const
781
+ */
782
+ "MOBILE": "MOBILE",
783
+ /**
784
+ * value: "MOBILE_CREATE"
785
+ * @const
786
+ */
787
+ "MOBILE_CREATE": "MOBILE_CREATE",
788
+ /**
789
+ * value: "SEARCH_RESULT"
790
+ * @const
791
+ */
792
+ "SEARCH_RESULT": "SEARCH_RESULT",
793
+ /**
794
+ * value: "NEWSFEED_ITEM"
795
+ * @const
796
+ */
797
+ "NEWSFEED_ITEM": "NEWSFEED_ITEM",
798
+ /**
799
+ * value: "COLLECTION_ITEM"
800
+ * @const
801
+ */
802
+ "COLLECTION_ITEM": "COLLECTION_ITEM",
803
+ /**
804
+ * value: "NEWSFEED_MINI_ITEM"
805
+ * @const
806
+ */
807
+ "NEWSFEED_MINI_ITEM": "NEWSFEED_MINI_ITEM",
808
+ /**
809
+ * value: "MOBILE_NEWSFEED_ITEM"
810
+ * @const
811
+ */
812
+ "MOBILE_NEWSFEED_ITEM": "MOBILE_NEWSFEED_ITEM",
813
+ /**
814
+ * value: "TOOLTIP"
815
+ * @const
816
+ */
817
+ "TOOLTIP": "TOOLTIP",
818
+ /**
819
+ * value: "FACEBOOK"
820
+ * @const
821
+ */
822
+ "FACEBOOK": "FACEBOOK",
823
+ /**
824
+ * value: "FACEBOOK_NEWSFEED_ITEM"
825
+ * @const
826
+ */
827
+ "FACEBOOK_NEWSFEED_ITEM": "FACEBOOK_NEWSFEED_ITEM",
828
+ /**
829
+ * value: "FACEBOOK_CARD"
830
+ * @const
831
+ */
832
+ "FACEBOOK_CARD": "FACEBOOK_CARD"
833
+ };
834
+ var _default = exports["default"] = ScreenSchema;