@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,645 @@
|
|
|
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 _Member = _interopRequireDefault(require("./Member"));
|
|
9
|
+
var _Template = _interopRequireDefault(require("./Template"));
|
|
10
|
+
var _User = _interopRequireDefault(require("./User"));
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
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); }
|
|
13
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
|
+
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); } }
|
|
15
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
17
|
+
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); } /**
|
|
18
|
+
* gobodo-api
|
|
19
|
+
* REST Interface for Gobodo API
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 0.1.34
|
|
22
|
+
* Contact: info@gobodo.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The GraphSchema model module.
|
|
31
|
+
* @module model/GraphSchema
|
|
32
|
+
* @version 0.1.34
|
|
33
|
+
*/
|
|
34
|
+
var GraphSchema = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>GraphSchema</code>.
|
|
37
|
+
* @alias module:model/GraphSchema
|
|
38
|
+
*/
|
|
39
|
+
function GraphSchema() {
|
|
40
|
+
_classCallCheck(this, GraphSchema);
|
|
41
|
+
GraphSchema.initialize(this);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Initializes the fields of this object.
|
|
46
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
47
|
+
* Only for internal use.
|
|
48
|
+
*/
|
|
49
|
+
_createClass(GraphSchema, [{
|
|
50
|
+
key: "getName",
|
|
51
|
+
value:
|
|
52
|
+
/**
|
|
53
|
+
* @return {String}
|
|
54
|
+
*/
|
|
55
|
+
function getName() {
|
|
56
|
+
return this.name;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @param {String} name
|
|
61
|
+
*/
|
|
62
|
+
}, {
|
|
63
|
+
key: "setName",
|
|
64
|
+
value: function setName(name) {
|
|
65
|
+
this['name'] = name;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Returns The unique key of this entity
|
|
69
|
+
* @return {String}
|
|
70
|
+
*/
|
|
71
|
+
}, {
|
|
72
|
+
key: "getKey",
|
|
73
|
+
value: function getKey() {
|
|
74
|
+
return this.key;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Sets The unique key of this entity
|
|
79
|
+
* @param {String} key The unique key of this entity
|
|
80
|
+
*/
|
|
81
|
+
}, {
|
|
82
|
+
key: "setKey",
|
|
83
|
+
value: function setKey(key) {
|
|
84
|
+
this['key'] = key;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @return {module:model/GraphSchema}
|
|
88
|
+
*/
|
|
89
|
+
}, {
|
|
90
|
+
key: "getParent",
|
|
91
|
+
value: function getParent() {
|
|
92
|
+
return this.parent;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @param {module:model/GraphSchema} parent
|
|
97
|
+
*/
|
|
98
|
+
}, {
|
|
99
|
+
key: "setParent",
|
|
100
|
+
value: function setParent(parent) {
|
|
101
|
+
this['parent'] = parent;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @return {String}
|
|
105
|
+
*/
|
|
106
|
+
}, {
|
|
107
|
+
key: "getDescription",
|
|
108
|
+
value: function getDescription() {
|
|
109
|
+
return this.description;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @param {String} description
|
|
114
|
+
*/
|
|
115
|
+
}, {
|
|
116
|
+
key: "setDescription",
|
|
117
|
+
value: function setDescription(description) {
|
|
118
|
+
this['description'] = description;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* @return {module:model/User}
|
|
122
|
+
*/
|
|
123
|
+
}, {
|
|
124
|
+
key: "getCreator",
|
|
125
|
+
value: function getCreator() {
|
|
126
|
+
return this.creator;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @param {module:model/User} creator
|
|
131
|
+
*/
|
|
132
|
+
}, {
|
|
133
|
+
key: "setCreator",
|
|
134
|
+
value: function setCreator(creator) {
|
|
135
|
+
this['creator'] = creator;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @return {Object}
|
|
139
|
+
*/
|
|
140
|
+
}, {
|
|
141
|
+
key: "getObjectTypes",
|
|
142
|
+
value: function getObjectTypes() {
|
|
143
|
+
return this.objectTypes;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @param {Object} objectTypes
|
|
148
|
+
*/
|
|
149
|
+
}, {
|
|
150
|
+
key: "setObjectTypes",
|
|
151
|
+
value: function setObjectTypes(objectTypes) {
|
|
152
|
+
this['objectTypes'] = objectTypes;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @return {Object}
|
|
156
|
+
*/
|
|
157
|
+
}, {
|
|
158
|
+
key: "getRelationshipTypes",
|
|
159
|
+
value: function getRelationshipTypes() {
|
|
160
|
+
return this.relationshipTypes;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @param {Object} relationshipTypes
|
|
165
|
+
*/
|
|
166
|
+
}, {
|
|
167
|
+
key: "setRelationshipTypes",
|
|
168
|
+
value: function setRelationshipTypes(relationshipTypes) {
|
|
169
|
+
this['relationshipTypes'] = relationshipTypes;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* @return {Object}
|
|
173
|
+
*/
|
|
174
|
+
}, {
|
|
175
|
+
key: "getActionTypes",
|
|
176
|
+
value: function getActionTypes() {
|
|
177
|
+
return this.actionTypes;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @param {Object} actionTypes
|
|
182
|
+
*/
|
|
183
|
+
}, {
|
|
184
|
+
key: "setActionTypes",
|
|
185
|
+
value: function setActionTypes(actionTypes) {
|
|
186
|
+
this['actionTypes'] = actionTypes;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* @return {module:model/Template}
|
|
190
|
+
*/
|
|
191
|
+
}, {
|
|
192
|
+
key: "getTemplate",
|
|
193
|
+
value: function getTemplate() {
|
|
194
|
+
return this.template;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @param {module:model/Template} template
|
|
199
|
+
*/
|
|
200
|
+
}, {
|
|
201
|
+
key: "setTemplate",
|
|
202
|
+
value: function setTemplate(template) {
|
|
203
|
+
this['template'] = template;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @return {Object}
|
|
207
|
+
*/
|
|
208
|
+
}, {
|
|
209
|
+
key: "getAdministrators",
|
|
210
|
+
value: function getAdministrators() {
|
|
211
|
+
return this.administrators;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @param {Object} administrators
|
|
216
|
+
*/
|
|
217
|
+
}, {
|
|
218
|
+
key: "setAdministrators",
|
|
219
|
+
value: function setAdministrators(administrators) {
|
|
220
|
+
this['administrators'] = administrators;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @return {Object}
|
|
224
|
+
*/
|
|
225
|
+
}, {
|
|
226
|
+
key: "getPastVersions",
|
|
227
|
+
value: function getPastVersions() {
|
|
228
|
+
return this.pastVersions;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @param {Object} pastVersions
|
|
233
|
+
*/
|
|
234
|
+
}, {
|
|
235
|
+
key: "setPastVersions",
|
|
236
|
+
value: function setPastVersions(pastVersions) {
|
|
237
|
+
this['pastVersions'] = pastVersions;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* @return {Object}
|
|
241
|
+
*/
|
|
242
|
+
}, {
|
|
243
|
+
key: "getFutureVersions",
|
|
244
|
+
value: function getFutureVersions() {
|
|
245
|
+
return this.futureVersions;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @param {Object} futureVersions
|
|
250
|
+
*/
|
|
251
|
+
}, {
|
|
252
|
+
key: "setFutureVersions",
|
|
253
|
+
value: function setFutureVersions(futureVersions) {
|
|
254
|
+
this['futureVersions'] = futureVersions;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* @return {Object}
|
|
258
|
+
*/
|
|
259
|
+
}, {
|
|
260
|
+
key: "getAllVersions",
|
|
261
|
+
value: function getAllVersions() {
|
|
262
|
+
return this.allVersions;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @param {Object} allVersions
|
|
267
|
+
*/
|
|
268
|
+
}, {
|
|
269
|
+
key: "setAllVersions",
|
|
270
|
+
value: function setAllVersions(allVersions) {
|
|
271
|
+
this['allVersions'] = allVersions;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* @return {Object}
|
|
275
|
+
*/
|
|
276
|
+
}, {
|
|
277
|
+
key: "getSchemaConfig",
|
|
278
|
+
value: function getSchemaConfig() {
|
|
279
|
+
return this.schemaConfig;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @param {Object} schemaConfig
|
|
284
|
+
*/
|
|
285
|
+
}, {
|
|
286
|
+
key: "setSchemaConfig",
|
|
287
|
+
value: function setSchemaConfig(schemaConfig) {
|
|
288
|
+
this['schemaConfig'] = schemaConfig;
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* @return {Object}
|
|
292
|
+
*/
|
|
293
|
+
}, {
|
|
294
|
+
key: "getObjectTypeDefinitions",
|
|
295
|
+
value: function getObjectTypeDefinitions() {
|
|
296
|
+
return this.objectTypeDefinitions;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* @param {Object} objectTypeDefinitions
|
|
301
|
+
*/
|
|
302
|
+
}, {
|
|
303
|
+
key: "setObjectTypeDefinitions",
|
|
304
|
+
value: function setObjectTypeDefinitions(objectTypeDefinitions) {
|
|
305
|
+
this['objectTypeDefinitions'] = objectTypeDefinitions;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* @return {Boolean}
|
|
309
|
+
*/
|
|
310
|
+
}, {
|
|
311
|
+
key: "getSchemaLocked",
|
|
312
|
+
value: function getSchemaLocked() {
|
|
313
|
+
return this.schemaLocked;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @param {Boolean} schemaLocked
|
|
318
|
+
*/
|
|
319
|
+
}, {
|
|
320
|
+
key: "setSchemaLocked",
|
|
321
|
+
value: function setSchemaLocked(schemaLocked) {
|
|
322
|
+
this['schemaLocked'] = schemaLocked;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* @return {module:model/Member}
|
|
326
|
+
*/
|
|
327
|
+
}, {
|
|
328
|
+
key: "getSchemaCreator",
|
|
329
|
+
value: function getSchemaCreator() {
|
|
330
|
+
return this.schemaCreator;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* @param {module:model/Member} schemaCreator
|
|
335
|
+
*/
|
|
336
|
+
}, {
|
|
337
|
+
key: "setSchemaCreator",
|
|
338
|
+
value: function setSchemaCreator(schemaCreator) {
|
|
339
|
+
this['schemaCreator'] = schemaCreator;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* @return {Object}
|
|
343
|
+
*/
|
|
344
|
+
}, {
|
|
345
|
+
key: "getWorkflows",
|
|
346
|
+
value: function getWorkflows() {
|
|
347
|
+
return this.workflows;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* @param {Object} workflows
|
|
352
|
+
*/
|
|
353
|
+
}, {
|
|
354
|
+
key: "setWorkflows",
|
|
355
|
+
value: function setWorkflows(workflows) {
|
|
356
|
+
this['workflows'] = workflows;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Returns The modification date of this entity
|
|
360
|
+
* @return {Date}
|
|
361
|
+
*/
|
|
362
|
+
}, {
|
|
363
|
+
key: "getModificationdate",
|
|
364
|
+
value: function getModificationdate() {
|
|
365
|
+
return this.modificationdate;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Sets The modification date of this entity
|
|
370
|
+
* @param {Date} modificationdate The modification date of this entity
|
|
371
|
+
*/
|
|
372
|
+
}, {
|
|
373
|
+
key: "setModificationdate",
|
|
374
|
+
value: function setModificationdate(modificationdate) {
|
|
375
|
+
this['modificationdate'] = modificationdate;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* @return {Object}
|
|
379
|
+
*/
|
|
380
|
+
}, {
|
|
381
|
+
key: "getData",
|
|
382
|
+
value: function getData() {
|
|
383
|
+
return this.data;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* @param {Object} data
|
|
388
|
+
*/
|
|
389
|
+
}, {
|
|
390
|
+
key: "setData",
|
|
391
|
+
value: function setData(data) {
|
|
392
|
+
this['data'] = data;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* @return {Number}
|
|
396
|
+
*/
|
|
397
|
+
}, {
|
|
398
|
+
key: "getId",
|
|
399
|
+
value: function getId() {
|
|
400
|
+
return this.id;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* @param {Number} id
|
|
405
|
+
*/
|
|
406
|
+
}, {
|
|
407
|
+
key: "setId",
|
|
408
|
+
value: function setId(id) {
|
|
409
|
+
this['id'] = id;
|
|
410
|
+
}
|
|
411
|
+
}], [{
|
|
412
|
+
key: "initialize",
|
|
413
|
+
value: function initialize(obj) {}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Constructs a <code>GraphSchema</code> from a plain JavaScript object, optionally creating a new instance.
|
|
417
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
418
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
419
|
+
* @param {module:model/GraphSchema} obj Optional instance to populate.
|
|
420
|
+
* @return {module:model/GraphSchema} The populated <code>GraphSchema</code> instance.
|
|
421
|
+
*/
|
|
422
|
+
}, {
|
|
423
|
+
key: "constructFromObject",
|
|
424
|
+
value: function constructFromObject(data, obj) {
|
|
425
|
+
if (data) {
|
|
426
|
+
obj = obj || new GraphSchema();
|
|
427
|
+
if (data.hasOwnProperty('name')) {
|
|
428
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
429
|
+
}
|
|
430
|
+
if (data.hasOwnProperty('key')) {
|
|
431
|
+
obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
|
|
432
|
+
}
|
|
433
|
+
if (data.hasOwnProperty('parent')) {
|
|
434
|
+
obj['parent'] = GraphSchema.constructFromObject(data['parent']);
|
|
435
|
+
}
|
|
436
|
+
if (data.hasOwnProperty('description')) {
|
|
437
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
438
|
+
}
|
|
439
|
+
if (data.hasOwnProperty('creator')) {
|
|
440
|
+
obj['creator'] = _User["default"].constructFromObject(data['creator']);
|
|
441
|
+
}
|
|
442
|
+
if (data.hasOwnProperty('objectTypes')) {
|
|
443
|
+
obj['objectTypes'] = _ApiClient["default"].convertToType(data['objectTypes'], Object);
|
|
444
|
+
}
|
|
445
|
+
if (data.hasOwnProperty('relationshipTypes')) {
|
|
446
|
+
obj['relationshipTypes'] = _ApiClient["default"].convertToType(data['relationshipTypes'], Object);
|
|
447
|
+
}
|
|
448
|
+
if (data.hasOwnProperty('actionTypes')) {
|
|
449
|
+
obj['actionTypes'] = _ApiClient["default"].convertToType(data['actionTypes'], Object);
|
|
450
|
+
}
|
|
451
|
+
if (data.hasOwnProperty('template')) {
|
|
452
|
+
obj['template'] = _Template["default"].constructFromObject(data['template']);
|
|
453
|
+
}
|
|
454
|
+
if (data.hasOwnProperty('administrators')) {
|
|
455
|
+
obj['administrators'] = _ApiClient["default"].convertToType(data['administrators'], Object);
|
|
456
|
+
}
|
|
457
|
+
if (data.hasOwnProperty('pastVersions')) {
|
|
458
|
+
obj['pastVersions'] = _ApiClient["default"].convertToType(data['pastVersions'], Object);
|
|
459
|
+
}
|
|
460
|
+
if (data.hasOwnProperty('futureVersions')) {
|
|
461
|
+
obj['futureVersions'] = _ApiClient["default"].convertToType(data['futureVersions'], Object);
|
|
462
|
+
}
|
|
463
|
+
if (data.hasOwnProperty('allVersions')) {
|
|
464
|
+
obj['allVersions'] = _ApiClient["default"].convertToType(data['allVersions'], Object);
|
|
465
|
+
}
|
|
466
|
+
if (data.hasOwnProperty('schemaConfig')) {
|
|
467
|
+
obj['schemaConfig'] = _ApiClient["default"].convertToType(data['schemaConfig'], Object);
|
|
468
|
+
}
|
|
469
|
+
if (data.hasOwnProperty('objectTypeDefinitions')) {
|
|
470
|
+
obj['objectTypeDefinitions'] = _ApiClient["default"].convertToType(data['objectTypeDefinitions'], Object);
|
|
471
|
+
}
|
|
472
|
+
if (data.hasOwnProperty('schemaLocked')) {
|
|
473
|
+
obj['schemaLocked'] = _ApiClient["default"].convertToType(data['schemaLocked'], 'Boolean');
|
|
474
|
+
}
|
|
475
|
+
if (data.hasOwnProperty('schemaCreator')) {
|
|
476
|
+
obj['schemaCreator'] = _Member["default"].constructFromObject(data['schemaCreator']);
|
|
477
|
+
}
|
|
478
|
+
if (data.hasOwnProperty('workflows')) {
|
|
479
|
+
obj['workflows'] = _ApiClient["default"].convertToType(data['workflows'], Object);
|
|
480
|
+
}
|
|
481
|
+
if (data.hasOwnProperty('modificationdate')) {
|
|
482
|
+
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
483
|
+
}
|
|
484
|
+
if (data.hasOwnProperty('data')) {
|
|
485
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
486
|
+
}
|
|
487
|
+
if (data.hasOwnProperty('id')) {
|
|
488
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
return obj;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Validates the JSON data with respect to <code>GraphSchema</code>.
|
|
496
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
497
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GraphSchema</code>.
|
|
498
|
+
*/
|
|
499
|
+
}, {
|
|
500
|
+
key: "validateJSON",
|
|
501
|
+
value: function validateJSON(data) {
|
|
502
|
+
// ensure the json data is a string
|
|
503
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
504
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
505
|
+
}
|
|
506
|
+
// ensure the json data is a string
|
|
507
|
+
if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
|
|
508
|
+
throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
|
|
509
|
+
}
|
|
510
|
+
// validate the optional field `parent`
|
|
511
|
+
if (data['parent']) {
|
|
512
|
+
// data not null
|
|
513
|
+
GraphSchema.validateJSON(data['parent']);
|
|
514
|
+
}
|
|
515
|
+
// ensure the json data is a string
|
|
516
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
517
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
518
|
+
}
|
|
519
|
+
// validate the optional field `creator`
|
|
520
|
+
if (data['creator']) {
|
|
521
|
+
// data not null
|
|
522
|
+
_User["default"].validateJSON(data['creator']);
|
|
523
|
+
}
|
|
524
|
+
// validate the optional field `template`
|
|
525
|
+
if (data['template']) {
|
|
526
|
+
// data not null
|
|
527
|
+
_Template["default"].validateJSON(data['template']);
|
|
528
|
+
}
|
|
529
|
+
// validate the optional field `schemaCreator`
|
|
530
|
+
if (data['schemaCreator']) {
|
|
531
|
+
// data not null
|
|
532
|
+
_Member["default"].validateJSON(data['schemaCreator']);
|
|
533
|
+
}
|
|
534
|
+
return true;
|
|
535
|
+
}
|
|
536
|
+
}]);
|
|
537
|
+
return GraphSchema;
|
|
538
|
+
}();
|
|
539
|
+
/**
|
|
540
|
+
* @member {String} name
|
|
541
|
+
*/
|
|
542
|
+
GraphSchema.prototype['name'] = undefined;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* The unique key of this entity
|
|
546
|
+
* @member {String} key
|
|
547
|
+
*/
|
|
548
|
+
GraphSchema.prototype['key'] = undefined;
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* @member {module:model/GraphSchema} parent
|
|
552
|
+
*/
|
|
553
|
+
GraphSchema.prototype['parent'] = undefined;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* @member {String} description
|
|
557
|
+
*/
|
|
558
|
+
GraphSchema.prototype['description'] = undefined;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @member {module:model/User} creator
|
|
562
|
+
*/
|
|
563
|
+
GraphSchema.prototype['creator'] = undefined;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* @member {Object} objectTypes
|
|
567
|
+
*/
|
|
568
|
+
GraphSchema.prototype['objectTypes'] = undefined;
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* @member {Object} relationshipTypes
|
|
572
|
+
*/
|
|
573
|
+
GraphSchema.prototype['relationshipTypes'] = undefined;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* @member {Object} actionTypes
|
|
577
|
+
*/
|
|
578
|
+
GraphSchema.prototype['actionTypes'] = undefined;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* @member {module:model/Template} template
|
|
582
|
+
*/
|
|
583
|
+
GraphSchema.prototype['template'] = undefined;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* @member {Object} administrators
|
|
587
|
+
*/
|
|
588
|
+
GraphSchema.prototype['administrators'] = undefined;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* @member {Object} pastVersions
|
|
592
|
+
*/
|
|
593
|
+
GraphSchema.prototype['pastVersions'] = undefined;
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @member {Object} futureVersions
|
|
597
|
+
*/
|
|
598
|
+
GraphSchema.prototype['futureVersions'] = undefined;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @member {Object} allVersions
|
|
602
|
+
*/
|
|
603
|
+
GraphSchema.prototype['allVersions'] = undefined;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @member {Object} schemaConfig
|
|
607
|
+
*/
|
|
608
|
+
GraphSchema.prototype['schemaConfig'] = undefined;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* @member {Object} objectTypeDefinitions
|
|
612
|
+
*/
|
|
613
|
+
GraphSchema.prototype['objectTypeDefinitions'] = undefined;
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* @member {Boolean} schemaLocked
|
|
617
|
+
*/
|
|
618
|
+
GraphSchema.prototype['schemaLocked'] = undefined;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* @member {module:model/Member} schemaCreator
|
|
622
|
+
*/
|
|
623
|
+
GraphSchema.prototype['schemaCreator'] = undefined;
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* @member {Object} workflows
|
|
627
|
+
*/
|
|
628
|
+
GraphSchema.prototype['workflows'] = undefined;
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* The modification date of this entity
|
|
632
|
+
* @member {Date} modificationdate
|
|
633
|
+
*/
|
|
634
|
+
GraphSchema.prototype['modificationdate'] = undefined;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* @member {Object} data
|
|
638
|
+
*/
|
|
639
|
+
GraphSchema.prototype['data'] = undefined;
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* @member {Number} id
|
|
643
|
+
*/
|
|
644
|
+
GraphSchema.prototype['id'] = undefined;
|
|
645
|
+
var _default = exports["default"] = GraphSchema;
|