@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,732 @@
|
|
|
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 _Graph = _interopRequireDefault(require("./Graph"));
|
|
9
|
+
var _GraphObject = _interopRequireDefault(require("./GraphObject"));
|
|
10
|
+
var _GraphObjectType = _interopRequireDefault(require("./GraphObjectType"));
|
|
11
|
+
var _GraphRelationshipType = _interopRequireDefault(require("./GraphRelationshipType"));
|
|
12
|
+
var _RelationshipMapping = _interopRequireDefault(require("./RelationshipMapping"));
|
|
13
|
+
var _User = _interopRequireDefault(require("./User"));
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
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); }
|
|
16
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
+
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); } }
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
20
|
+
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); } /**
|
|
21
|
+
* gobodo-api
|
|
22
|
+
* REST Interface for Gobodo API
|
|
23
|
+
*
|
|
24
|
+
* The version of the OpenAPI document: 0.1.34
|
|
25
|
+
* Contact: info@gobodo.io
|
|
26
|
+
*
|
|
27
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
28
|
+
* https://openapi-generator.tech
|
|
29
|
+
* Do not edit the class manually.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* The DataSheetImport model module.
|
|
34
|
+
* @module model/DataSheetImport
|
|
35
|
+
* @version 0.1.34
|
|
36
|
+
*/
|
|
37
|
+
var DataSheetImport = /*#__PURE__*/function () {
|
|
38
|
+
/**
|
|
39
|
+
* Constructs a new <code>DataSheetImport</code>.
|
|
40
|
+
* @alias module:model/DataSheetImport
|
|
41
|
+
*/
|
|
42
|
+
function DataSheetImport() {
|
|
43
|
+
_classCallCheck(this, DataSheetImport);
|
|
44
|
+
DataSheetImport.initialize(this);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Initializes the fields of this object.
|
|
49
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
|
+
* Only for internal use.
|
|
51
|
+
*/
|
|
52
|
+
_createClass(DataSheetImport, [{
|
|
53
|
+
key: "getContainer",
|
|
54
|
+
value:
|
|
55
|
+
/**
|
|
56
|
+
* @return {module:model/GraphObject}
|
|
57
|
+
*/
|
|
58
|
+
function getContainer() {
|
|
59
|
+
return this.container;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @param {module:model/GraphObject} container
|
|
64
|
+
*/
|
|
65
|
+
}, {
|
|
66
|
+
key: "setContainer",
|
|
67
|
+
value: function setContainer(container) {
|
|
68
|
+
this['container'] = container;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @return {Object}
|
|
72
|
+
*/
|
|
73
|
+
}, {
|
|
74
|
+
key: "getPreview",
|
|
75
|
+
value: function getPreview() {
|
|
76
|
+
return this.preview;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @param {Object} preview
|
|
81
|
+
*/
|
|
82
|
+
}, {
|
|
83
|
+
key: "setPreview",
|
|
84
|
+
value: function setPreview(preview) {
|
|
85
|
+
this['preview'] = preview;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @return {module:model/Graph}
|
|
89
|
+
*/
|
|
90
|
+
}, {
|
|
91
|
+
key: "getGraph",
|
|
92
|
+
value: function getGraph() {
|
|
93
|
+
return this.graph;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @param {module:model/Graph} graph
|
|
98
|
+
*/
|
|
99
|
+
}, {
|
|
100
|
+
key: "setGraph",
|
|
101
|
+
value: function setGraph(graph) {
|
|
102
|
+
this['graph'] = graph;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @return {module:model/GraphRelationshipType}
|
|
106
|
+
*/
|
|
107
|
+
}, {
|
|
108
|
+
key: "getContainerrelationshiptype",
|
|
109
|
+
value: function getContainerrelationshiptype() {
|
|
110
|
+
return this.containerrelationshiptype;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @param {module:model/GraphRelationshipType} containerrelationshiptype
|
|
115
|
+
*/
|
|
116
|
+
}, {
|
|
117
|
+
key: "setContainerrelationshiptype",
|
|
118
|
+
value: function setContainerrelationshiptype(containerrelationshiptype) {
|
|
119
|
+
this['containerrelationshiptype'] = containerrelationshiptype;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* @return {module:model/DataSheetImport.ImporttypeEnum}
|
|
123
|
+
*/
|
|
124
|
+
}, {
|
|
125
|
+
key: "getImporttype",
|
|
126
|
+
value: function getImporttype() {
|
|
127
|
+
return this.importtype;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @param {module:model/DataSheetImport.ImporttypeEnum} importtype
|
|
132
|
+
*/
|
|
133
|
+
}, {
|
|
134
|
+
key: "setImporttype",
|
|
135
|
+
value: function setImporttype(importtype) {
|
|
136
|
+
this['importtype'] = importtype;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @return {module:model/DataSheetImport.RunstatusEnum}
|
|
140
|
+
*/
|
|
141
|
+
}, {
|
|
142
|
+
key: "getRunstatus",
|
|
143
|
+
value: function getRunstatus() {
|
|
144
|
+
return this.runstatus;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @param {module:model/DataSheetImport.RunstatusEnum} runstatus
|
|
149
|
+
*/
|
|
150
|
+
}, {
|
|
151
|
+
key: "setRunstatus",
|
|
152
|
+
value: function setRunstatus(runstatus) {
|
|
153
|
+
this['runstatus'] = runstatus;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* @return {Date}
|
|
157
|
+
*/
|
|
158
|
+
}, {
|
|
159
|
+
key: "getRundate",
|
|
160
|
+
value: function getRundate() {
|
|
161
|
+
return this.rundate;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @param {Date} rundate
|
|
166
|
+
*/
|
|
167
|
+
}, {
|
|
168
|
+
key: "setRundate",
|
|
169
|
+
value: function setRundate(rundate) {
|
|
170
|
+
this['rundate'] = rundate;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* @return {Array.<String>}
|
|
174
|
+
*/
|
|
175
|
+
}, {
|
|
176
|
+
key: "getSheetprops",
|
|
177
|
+
value: function getSheetprops() {
|
|
178
|
+
return this.sheetprops;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @param {Array.<String>} sheetprops
|
|
183
|
+
*/
|
|
184
|
+
}, {
|
|
185
|
+
key: "setSheetprops",
|
|
186
|
+
value: function setSheetprops(sheetprops) {
|
|
187
|
+
this['sheetprops'] = sheetprops;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @return {module:model/GraphObjectType}
|
|
191
|
+
*/
|
|
192
|
+
}, {
|
|
193
|
+
key: "getImportobjecttype",
|
|
194
|
+
value: function getImportobjecttype() {
|
|
195
|
+
return this.importobjecttype;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @param {module:model/GraphObjectType} importobjecttype
|
|
200
|
+
*/
|
|
201
|
+
}, {
|
|
202
|
+
key: "setImportobjecttype",
|
|
203
|
+
value: function setImportobjecttype(importobjecttype) {
|
|
204
|
+
this['importobjecttype'] = importobjecttype;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* @return {Boolean}
|
|
208
|
+
*/
|
|
209
|
+
}, {
|
|
210
|
+
key: "getIsorphan",
|
|
211
|
+
value: function getIsorphan() {
|
|
212
|
+
return this.isorphan;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @param {Boolean} isorphan
|
|
217
|
+
*/
|
|
218
|
+
}, {
|
|
219
|
+
key: "setIsorphan",
|
|
220
|
+
value: function setIsorphan(isorphan) {
|
|
221
|
+
this['isorphan'] = isorphan;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @return {Boolean}
|
|
225
|
+
*/
|
|
226
|
+
}, {
|
|
227
|
+
key: "getPublished",
|
|
228
|
+
value: function getPublished() {
|
|
229
|
+
return this.published;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* @param {Boolean} published
|
|
234
|
+
*/
|
|
235
|
+
}, {
|
|
236
|
+
key: "setPublished",
|
|
237
|
+
value: function setPublished(published) {
|
|
238
|
+
this['published'] = published;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* @return {Boolean}
|
|
242
|
+
*/
|
|
243
|
+
}, {
|
|
244
|
+
key: "getCommunityeditable",
|
|
245
|
+
value: function getCommunityeditable() {
|
|
246
|
+
return this.communityeditable;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @param {Boolean} communityeditable
|
|
251
|
+
*/
|
|
252
|
+
}, {
|
|
253
|
+
key: "setCommunityeditable",
|
|
254
|
+
value: function setCommunityeditable(communityeditable) {
|
|
255
|
+
this['communityeditable'] = communityeditable;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* @return {module:model/GraphRelationshipType}
|
|
259
|
+
*/
|
|
260
|
+
}, {
|
|
261
|
+
key: "getImportrelationshiptype",
|
|
262
|
+
value: function getImportrelationshiptype() {
|
|
263
|
+
return this.importrelationshiptype;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @param {module:model/GraphRelationshipType} importrelationshiptype
|
|
268
|
+
*/
|
|
269
|
+
}, {
|
|
270
|
+
key: "setImportrelationshiptype",
|
|
271
|
+
value: function setImportrelationshiptype(importrelationshiptype) {
|
|
272
|
+
this['importrelationshiptype'] = importrelationshiptype;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* @return {Boolean}
|
|
276
|
+
*/
|
|
277
|
+
}, {
|
|
278
|
+
key: "getOrphan",
|
|
279
|
+
value: function getOrphan() {
|
|
280
|
+
return this.orphan;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* @param {Boolean} orphan
|
|
285
|
+
*/
|
|
286
|
+
}, {
|
|
287
|
+
key: "setOrphan",
|
|
288
|
+
value: function setOrphan(orphan) {
|
|
289
|
+
this['orphan'] = orphan;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* @return {module:model/User}
|
|
293
|
+
*/
|
|
294
|
+
}, {
|
|
295
|
+
key: "getCreator",
|
|
296
|
+
value: function getCreator() {
|
|
297
|
+
return this.creator;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* @param {module:model/User} creator
|
|
302
|
+
*/
|
|
303
|
+
}, {
|
|
304
|
+
key: "setCreator",
|
|
305
|
+
value: function setCreator(creator) {
|
|
306
|
+
this['creator'] = creator;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* @return {Object}
|
|
310
|
+
*/
|
|
311
|
+
}, {
|
|
312
|
+
key: "getDataSheet",
|
|
313
|
+
value: function getDataSheet() {
|
|
314
|
+
return this.dataSheet;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @param {Object} dataSheet
|
|
319
|
+
*/
|
|
320
|
+
}, {
|
|
321
|
+
key: "setDataSheet",
|
|
322
|
+
value: function setDataSheet(dataSheet) {
|
|
323
|
+
this['dataSheet'] = dataSheet;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* @return {module:model/RelationshipMapping}
|
|
327
|
+
*/
|
|
328
|
+
}, {
|
|
329
|
+
key: "getStartObjectMapping",
|
|
330
|
+
value: function getStartObjectMapping() {
|
|
331
|
+
return this.startObjectMapping;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* @param {module:model/RelationshipMapping} startObjectMapping
|
|
336
|
+
*/
|
|
337
|
+
}, {
|
|
338
|
+
key: "setStartObjectMapping",
|
|
339
|
+
value: function setStartObjectMapping(startObjectMapping) {
|
|
340
|
+
this['startObjectMapping'] = startObjectMapping;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* @return {module:model/RelationshipMapping}
|
|
344
|
+
*/
|
|
345
|
+
}, {
|
|
346
|
+
key: "getEndObjectMapping",
|
|
347
|
+
value: function getEndObjectMapping() {
|
|
348
|
+
return this.endObjectMapping;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* @param {module:model/RelationshipMapping} endObjectMapping
|
|
353
|
+
*/
|
|
354
|
+
}, {
|
|
355
|
+
key: "setEndObjectMapping",
|
|
356
|
+
value: function setEndObjectMapping(endObjectMapping) {
|
|
357
|
+
this['endObjectMapping'] = endObjectMapping;
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* @return {String}
|
|
361
|
+
*/
|
|
362
|
+
}, {
|
|
363
|
+
key: "getGeolocatingOn",
|
|
364
|
+
value: function getGeolocatingOn() {
|
|
365
|
+
return this.geolocatingOn;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @param {String} geolocatingOn
|
|
370
|
+
*/
|
|
371
|
+
}, {
|
|
372
|
+
key: "setGeolocatingOn",
|
|
373
|
+
value: function setGeolocatingOn(geolocatingOn) {
|
|
374
|
+
this['geolocatingOn'] = geolocatingOn;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* @return {Number}
|
|
378
|
+
*/
|
|
379
|
+
}, {
|
|
380
|
+
key: "getRecordsImported",
|
|
381
|
+
value: function getRecordsImported() {
|
|
382
|
+
return this.recordsImported;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @param {Number} recordsImported
|
|
387
|
+
*/
|
|
388
|
+
}, {
|
|
389
|
+
key: "setRecordsImported",
|
|
390
|
+
value: function setRecordsImported(recordsImported) {
|
|
391
|
+
this['recordsImported'] = recordsImported;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* @return {Object}
|
|
395
|
+
*/
|
|
396
|
+
}, {
|
|
397
|
+
key: "getData",
|
|
398
|
+
value: function getData() {
|
|
399
|
+
return this.data;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* @param {Object} data
|
|
404
|
+
*/
|
|
405
|
+
}, {
|
|
406
|
+
key: "setData",
|
|
407
|
+
value: function setData(data) {
|
|
408
|
+
this['data'] = data;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* @return {Number}
|
|
412
|
+
*/
|
|
413
|
+
}, {
|
|
414
|
+
key: "getId",
|
|
415
|
+
value: function getId() {
|
|
416
|
+
return this.id;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @param {Number} id
|
|
421
|
+
*/
|
|
422
|
+
}, {
|
|
423
|
+
key: "setId",
|
|
424
|
+
value: function setId(id) {
|
|
425
|
+
this['id'] = id;
|
|
426
|
+
}
|
|
427
|
+
}], [{
|
|
428
|
+
key: "initialize",
|
|
429
|
+
value: function initialize(obj) {}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Constructs a <code>DataSheetImport</code> from a plain JavaScript object, optionally creating a new instance.
|
|
433
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
434
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
435
|
+
* @param {module:model/DataSheetImport} obj Optional instance to populate.
|
|
436
|
+
* @return {module:model/DataSheetImport} The populated <code>DataSheetImport</code> instance.
|
|
437
|
+
*/
|
|
438
|
+
}, {
|
|
439
|
+
key: "constructFromObject",
|
|
440
|
+
value: function constructFromObject(data, obj) {
|
|
441
|
+
if (data) {
|
|
442
|
+
obj = obj || new DataSheetImport();
|
|
443
|
+
if (data.hasOwnProperty('container')) {
|
|
444
|
+
obj['container'] = _GraphObject["default"].constructFromObject(data['container']);
|
|
445
|
+
}
|
|
446
|
+
if (data.hasOwnProperty('preview')) {
|
|
447
|
+
obj['preview'] = _ApiClient["default"].convertToType(data['preview'], Object);
|
|
448
|
+
}
|
|
449
|
+
if (data.hasOwnProperty('graph')) {
|
|
450
|
+
obj['graph'] = _Graph["default"].constructFromObject(data['graph']);
|
|
451
|
+
}
|
|
452
|
+
if (data.hasOwnProperty('containerrelationshiptype')) {
|
|
453
|
+
obj['containerrelationshiptype'] = _GraphRelationshipType["default"].constructFromObject(data['containerrelationshiptype']);
|
|
454
|
+
}
|
|
455
|
+
if (data.hasOwnProperty('importtype')) {
|
|
456
|
+
obj['importtype'] = _ApiClient["default"].convertToType(data['importtype'], 'String');
|
|
457
|
+
}
|
|
458
|
+
if (data.hasOwnProperty('runstatus')) {
|
|
459
|
+
obj['runstatus'] = _ApiClient["default"].convertToType(data['runstatus'], 'String');
|
|
460
|
+
}
|
|
461
|
+
if (data.hasOwnProperty('rundate')) {
|
|
462
|
+
obj['rundate'] = _ApiClient["default"].convertToType(data['rundate'], 'Date');
|
|
463
|
+
}
|
|
464
|
+
if (data.hasOwnProperty('sheetprops')) {
|
|
465
|
+
obj['sheetprops'] = _ApiClient["default"].convertToType(data['sheetprops'], ['String']);
|
|
466
|
+
}
|
|
467
|
+
if (data.hasOwnProperty('importobjecttype')) {
|
|
468
|
+
obj['importobjecttype'] = _GraphObjectType["default"].constructFromObject(data['importobjecttype']);
|
|
469
|
+
}
|
|
470
|
+
if (data.hasOwnProperty('isorphan')) {
|
|
471
|
+
obj['isorphan'] = _ApiClient["default"].convertToType(data['isorphan'], 'Boolean');
|
|
472
|
+
}
|
|
473
|
+
if (data.hasOwnProperty('published')) {
|
|
474
|
+
obj['published'] = _ApiClient["default"].convertToType(data['published'], 'Boolean');
|
|
475
|
+
}
|
|
476
|
+
if (data.hasOwnProperty('communityeditable')) {
|
|
477
|
+
obj['communityeditable'] = _ApiClient["default"].convertToType(data['communityeditable'], 'Boolean');
|
|
478
|
+
}
|
|
479
|
+
if (data.hasOwnProperty('importrelationshiptype')) {
|
|
480
|
+
obj['importrelationshiptype'] = _GraphRelationshipType["default"].constructFromObject(data['importrelationshiptype']);
|
|
481
|
+
}
|
|
482
|
+
if (data.hasOwnProperty('orphan')) {
|
|
483
|
+
obj['orphan'] = _ApiClient["default"].convertToType(data['orphan'], 'Boolean');
|
|
484
|
+
}
|
|
485
|
+
if (data.hasOwnProperty('creator')) {
|
|
486
|
+
obj['creator'] = _User["default"].constructFromObject(data['creator']);
|
|
487
|
+
}
|
|
488
|
+
if (data.hasOwnProperty('dataSheet')) {
|
|
489
|
+
obj['dataSheet'] = _ApiClient["default"].convertToType(data['dataSheet'], Object);
|
|
490
|
+
}
|
|
491
|
+
if (data.hasOwnProperty('startObjectMapping')) {
|
|
492
|
+
obj['startObjectMapping'] = _RelationshipMapping["default"].constructFromObject(data['startObjectMapping']);
|
|
493
|
+
}
|
|
494
|
+
if (data.hasOwnProperty('endObjectMapping')) {
|
|
495
|
+
obj['endObjectMapping'] = _RelationshipMapping["default"].constructFromObject(data['endObjectMapping']);
|
|
496
|
+
}
|
|
497
|
+
if (data.hasOwnProperty('geolocatingOn')) {
|
|
498
|
+
obj['geolocatingOn'] = _ApiClient["default"].convertToType(data['geolocatingOn'], 'String');
|
|
499
|
+
}
|
|
500
|
+
if (data.hasOwnProperty('recordsImported')) {
|
|
501
|
+
obj['recordsImported'] = _ApiClient["default"].convertToType(data['recordsImported'], 'Number');
|
|
502
|
+
}
|
|
503
|
+
if (data.hasOwnProperty('data')) {
|
|
504
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
505
|
+
}
|
|
506
|
+
if (data.hasOwnProperty('id')) {
|
|
507
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
return obj;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Validates the JSON data with respect to <code>DataSheetImport</code>.
|
|
515
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
516
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DataSheetImport</code>.
|
|
517
|
+
*/
|
|
518
|
+
}, {
|
|
519
|
+
key: "validateJSON",
|
|
520
|
+
value: function validateJSON(data) {
|
|
521
|
+
// validate the optional field `container`
|
|
522
|
+
if (data['container']) {
|
|
523
|
+
// data not null
|
|
524
|
+
_GraphObject["default"].validateJSON(data['container']);
|
|
525
|
+
}
|
|
526
|
+
// validate the optional field `graph`
|
|
527
|
+
if (data['graph']) {
|
|
528
|
+
// data not null
|
|
529
|
+
_Graph["default"].validateJSON(data['graph']);
|
|
530
|
+
}
|
|
531
|
+
// validate the optional field `containerrelationshiptype`
|
|
532
|
+
if (data['containerrelationshiptype']) {
|
|
533
|
+
// data not null
|
|
534
|
+
_GraphRelationshipType["default"].validateJSON(data['containerrelationshiptype']);
|
|
535
|
+
}
|
|
536
|
+
// ensure the json data is a string
|
|
537
|
+
if (data['importtype'] && !(typeof data['importtype'] === 'string' || data['importtype'] instanceof String)) {
|
|
538
|
+
throw new Error("Expected the field `importtype` to be a primitive type in the JSON string but got " + data['importtype']);
|
|
539
|
+
}
|
|
540
|
+
// ensure the json data is a string
|
|
541
|
+
if (data['runstatus'] && !(typeof data['runstatus'] === 'string' || data['runstatus'] instanceof String)) {
|
|
542
|
+
throw new Error("Expected the field `runstatus` to be a primitive type in the JSON string but got " + data['runstatus']);
|
|
543
|
+
}
|
|
544
|
+
// ensure the json data is an array
|
|
545
|
+
if (!Array.isArray(data['sheetprops'])) {
|
|
546
|
+
throw new Error("Expected the field `sheetprops` to be an array in the JSON data but got " + data['sheetprops']);
|
|
547
|
+
}
|
|
548
|
+
// validate the optional field `importobjecttype`
|
|
549
|
+
if (data['importobjecttype']) {
|
|
550
|
+
// data not null
|
|
551
|
+
_GraphObjectType["default"].validateJSON(data['importobjecttype']);
|
|
552
|
+
}
|
|
553
|
+
// validate the optional field `importrelationshiptype`
|
|
554
|
+
if (data['importrelationshiptype']) {
|
|
555
|
+
// data not null
|
|
556
|
+
_GraphRelationshipType["default"].validateJSON(data['importrelationshiptype']);
|
|
557
|
+
}
|
|
558
|
+
// validate the optional field `creator`
|
|
559
|
+
if (data['creator']) {
|
|
560
|
+
// data not null
|
|
561
|
+
_User["default"].validateJSON(data['creator']);
|
|
562
|
+
}
|
|
563
|
+
// validate the optional field `startObjectMapping`
|
|
564
|
+
if (data['startObjectMapping']) {
|
|
565
|
+
// data not null
|
|
566
|
+
_RelationshipMapping["default"].validateJSON(data['startObjectMapping']);
|
|
567
|
+
}
|
|
568
|
+
// validate the optional field `endObjectMapping`
|
|
569
|
+
if (data['endObjectMapping']) {
|
|
570
|
+
// data not null
|
|
571
|
+
_RelationshipMapping["default"].validateJSON(data['endObjectMapping']);
|
|
572
|
+
}
|
|
573
|
+
// ensure the json data is a string
|
|
574
|
+
if (data['geolocatingOn'] && !(typeof data['geolocatingOn'] === 'string' || data['geolocatingOn'] instanceof String)) {
|
|
575
|
+
throw new Error("Expected the field `geolocatingOn` to be a primitive type in the JSON string but got " + data['geolocatingOn']);
|
|
576
|
+
}
|
|
577
|
+
return true;
|
|
578
|
+
}
|
|
579
|
+
}]);
|
|
580
|
+
return DataSheetImport;
|
|
581
|
+
}();
|
|
582
|
+
/**
|
|
583
|
+
* @member {module:model/GraphObject} container
|
|
584
|
+
*/
|
|
585
|
+
DataSheetImport.prototype['container'] = undefined;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @member {Object} preview
|
|
589
|
+
*/
|
|
590
|
+
DataSheetImport.prototype['preview'] = undefined;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* @member {module:model/Graph} graph
|
|
594
|
+
*/
|
|
595
|
+
DataSheetImport.prototype['graph'] = undefined;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* @member {module:model/GraphRelationshipType} containerrelationshiptype
|
|
599
|
+
*/
|
|
600
|
+
DataSheetImport.prototype['containerrelationshiptype'] = undefined;
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* @member {module:model/DataSheetImport.ImporttypeEnum} importtype
|
|
604
|
+
*/
|
|
605
|
+
DataSheetImport.prototype['importtype'] = undefined;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @member {module:model/DataSheetImport.RunstatusEnum} runstatus
|
|
609
|
+
*/
|
|
610
|
+
DataSheetImport.prototype['runstatus'] = undefined;
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* @member {Date} rundate
|
|
614
|
+
*/
|
|
615
|
+
DataSheetImport.prototype['rundate'] = undefined;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* @member {Array.<String>} sheetprops
|
|
619
|
+
*/
|
|
620
|
+
DataSheetImport.prototype['sheetprops'] = undefined;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* @member {module:model/GraphObjectType} importobjecttype
|
|
624
|
+
*/
|
|
625
|
+
DataSheetImport.prototype['importobjecttype'] = undefined;
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* @member {Boolean} isorphan
|
|
629
|
+
*/
|
|
630
|
+
DataSheetImport.prototype['isorphan'] = undefined;
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* @member {Boolean} published
|
|
634
|
+
*/
|
|
635
|
+
DataSheetImport.prototype['published'] = undefined;
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* @member {Boolean} communityeditable
|
|
639
|
+
*/
|
|
640
|
+
DataSheetImport.prototype['communityeditable'] = undefined;
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* @member {module:model/GraphRelationshipType} importrelationshiptype
|
|
644
|
+
*/
|
|
645
|
+
DataSheetImport.prototype['importrelationshiptype'] = undefined;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* @member {Boolean} orphan
|
|
649
|
+
*/
|
|
650
|
+
DataSheetImport.prototype['orphan'] = undefined;
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* @member {module:model/User} creator
|
|
654
|
+
*/
|
|
655
|
+
DataSheetImport.prototype['creator'] = undefined;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* @member {Object} dataSheet
|
|
659
|
+
*/
|
|
660
|
+
DataSheetImport.prototype['dataSheet'] = undefined;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* @member {module:model/RelationshipMapping} startObjectMapping
|
|
664
|
+
*/
|
|
665
|
+
DataSheetImport.prototype['startObjectMapping'] = undefined;
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* @member {module:model/RelationshipMapping} endObjectMapping
|
|
669
|
+
*/
|
|
670
|
+
DataSheetImport.prototype['endObjectMapping'] = undefined;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* @member {String} geolocatingOn
|
|
674
|
+
*/
|
|
675
|
+
DataSheetImport.prototype['geolocatingOn'] = undefined;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* @member {Number} recordsImported
|
|
679
|
+
*/
|
|
680
|
+
DataSheetImport.prototype['recordsImported'] = undefined;
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* @member {Object} data
|
|
684
|
+
*/
|
|
685
|
+
DataSheetImport.prototype['data'] = undefined;
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* @member {Number} id
|
|
689
|
+
*/
|
|
690
|
+
DataSheetImport.prototype['id'] = undefined;
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Allowed values for the <code>importtype</code> property.
|
|
694
|
+
* @enum {String}
|
|
695
|
+
* @readonly
|
|
696
|
+
*/
|
|
697
|
+
DataSheetImport['ImporttypeEnum'] = {
|
|
698
|
+
/**
|
|
699
|
+
* value: "OBJECT"
|
|
700
|
+
* @const
|
|
701
|
+
*/
|
|
702
|
+
"OBJECT": "OBJECT",
|
|
703
|
+
/**
|
|
704
|
+
* value: "RELATIONSHIP"
|
|
705
|
+
* @const
|
|
706
|
+
*/
|
|
707
|
+
"RELATIONSHIP": "RELATIONSHIP"
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Allowed values for the <code>runstatus</code> property.
|
|
712
|
+
* @enum {String}
|
|
713
|
+
* @readonly
|
|
714
|
+
*/
|
|
715
|
+
DataSheetImport['RunstatusEnum'] = {
|
|
716
|
+
/**
|
|
717
|
+
* value: "NOT_RUN_YET"
|
|
718
|
+
* @const
|
|
719
|
+
*/
|
|
720
|
+
"NOT_RUN_YET": "NOT_RUN_YET",
|
|
721
|
+
/**
|
|
722
|
+
* value: "SUCCESS"
|
|
723
|
+
* @const
|
|
724
|
+
*/
|
|
725
|
+
"SUCCESS": "SUCCESS",
|
|
726
|
+
/**
|
|
727
|
+
* value: "FAILURE"
|
|
728
|
+
* @const
|
|
729
|
+
*/
|
|
730
|
+
"FAILURE": "FAILURE"
|
|
731
|
+
};
|
|
732
|
+
var _default = exports["default"] = DataSheetImport;
|