@gobodo/gobodo-api-promise 0.1.52 → 0.1.61
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 +137 -54
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +13 -13
- package/dist/api/AdManagementApi.js +24 -24
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +13 -13
- package/dist/api/AttachmentsApi.js +7 -7
- package/dist/api/AuthenticationApi.js +44 -2
- package/dist/api/CategoriesApi.js +7 -7
- package/dist/api/CommentsApi.js +7 -7
- package/dist/api/ContentManagementApi.js +12 -12
- package/dist/api/ConversationsApi.js +7 -7
- package/dist/api/DataSheetImportsApi.js +7 -7
- package/dist/api/DefaultApi.js +15 -443
- package/dist/api/DocumentsApi.js +7 -7
- package/dist/api/EmailsApi.js +346 -0
- package/dist/api/EntryPartsApi.js +7 -7
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.js +2 -2
- package/dist/api/FormsApi.js +17 -17
- package/dist/api/FunctionsApi.js +1373 -25
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.js +632 -0
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +250 -86
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +172 -13
- package/dist/api/GraphRelationshipsApi.js +21 -20
- package/dist/api/GraphSchemasApi.js +13 -13
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +13 -13
- package/dist/api/GroupsApi.js +7 -7
- package/dist/api/IAMApi.js +13 -13
- package/dist/api/ImagesApi.js +7 -7
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +7 -7
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/NotificationsApi.js +1076 -0
- package/dist/api/PagesApi.js +7 -7
- package/dist/api/PhoneNumbersApi.js +403 -0
- package/dist/api/PostsApi.js +7 -7
- package/dist/api/PrivateMessagesApi.js +18 -18
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +2 -2
- package/dist/api/TagsApi.js +2 -2
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.js +8 -8
- package/dist/api/TopicsApi.js +569 -0
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +7 -7
- package/dist/api/UsersApi.js +7 -7
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +7 -7
- package/dist/index.js +245 -7
- package/dist/model/APIClient.js +23 -23
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -49
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
- package/dist/model/Article.js +2 -2
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.js +193 -0
- package/dist/model/Balance.js +33 -33
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +31 -31
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.js +238 -0
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.js +191 -0
- package/dist/model/CreateTopicListenerInput.js +160 -0
- package/dist/model/CurrencySettings.js +108 -0
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +27 -27
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/DeviceRegistrationRequest.js +252 -0
- package/dist/model/Document.js +2 -2
- package/dist/model/DocumentPart.js +52 -52
- package/dist/model/DocumentPartType.js +23 -23
- package/dist/model/DocumentType.js +63 -63
- package/dist/model/EmailAddress.js +245 -0
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +71 -71
- package/dist/model/File.js +23 -23
- package/dist/model/FileAttachmentUploadObject.js +23 -23
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +37 -37
- package/dist/model/FormSection.js +37 -37
- package/dist/model/FormSubmission.js +30 -30
- package/dist/model/FunctionConfigInput.js +563 -0
- package/dist/model/FunctionEnvironmentConfig.js +221 -0
- package/dist/model/FunctionInput.js +260 -0
- package/dist/model/FunctionOutput.js +235 -0
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.js +536 -0
- package/dist/model/GetFunctionEnvironmentConfig.js +223 -0
- package/dist/model/GetFunctionResponse.js +302 -0
- package/dist/model/GoogleCloudSettings.js +162 -0
- package/dist/model/Graph.js +91 -91
- package/dist/model/GraphAction.js +29 -29
- package/dist/model/GraphDatabaseService.js +2 -2
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphObject.js +81 -81
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +109 -109
- package/dist/model/GraphObjectType.js +52 -52
- package/dist/model/GraphObjectTypeResponse.js +377 -0
- package/dist/model/GraphObjectTypeSchema.js +52 -52
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.js +30 -30
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +33 -33
- package/dist/model/GraphRelationshipTypeResponse.js +612 -0
- package/dist/model/GraphSchema.js +115 -115
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +70 -70
- package/dist/model/ImageUploadObject.js +70 -70
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartHeaders.js +106 -0
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/KafkaSettings.js +220 -0
- package/dist/model/Link.js +54 -54
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +108 -108
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +31 -31
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +25 -25
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Notification.js +381 -0
- package/dist/model/NotificationInput.js +273 -0
- package/dist/model/NotificationResponse.js +332 -0
- package/dist/model/NumberSettings.js +104 -0
- package/dist/model/ObjectSettings.js +129 -0
- package/dist/model/Objecttype.js +48 -48
- package/dist/model/OutParameter.js +162 -0
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +27 -27
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Parameter.js +162 -0
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +25 -25
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.js +32 -32
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.js +332 -0
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +2 -2
- package/dist/model/PrivateMessageConversation.js +91 -91
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +25 -25
- package/dist/model/PurgeDataDefaultResponse.js +179 -0
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/ScreenSchema.js +81 -81
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +71 -71
- package/dist/model/SkinFieldResponse.js +596 -0
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +25 -25
- package/dist/model/Sort.js +2 -2
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.js +2 -2
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +58 -58
- package/dist/model/TemplateResponse.js +301 -0
- package/dist/model/TemplateSchema.js +58 -58
- package/dist/model/ThemeMapping.js +27 -27
- package/dist/model/ThemeMappingPayload.js +25 -25
- package/dist/model/TopicInfoResponse.js +269 -0
- package/dist/model/TopicMessageInput.js +158 -0
- package/dist/model/TopicSubscriptionResponse.js +220 -0
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +32 -32
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +32 -32
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +31 -31
- package/dist/model/UserDataPayload.js +31 -31
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +29 -29
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +31 -31
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +52 -52
- package/dist/model/VideoLiveUrl.js +27 -27
- package/dist/model/VideoSchema.js +52 -52
- package/dist/model/VideoUploadObject.js +52 -52
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,612 @@
|
|
|
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 _GetFunctionResponse = _interopRequireDefault(require("./GetFunctionResponse"));
|
|
9
|
+
var _GraphObjectTypeResponse = _interopRequireDefault(require("./GraphObjectTypeResponse"));
|
|
10
|
+
var _SkinFieldResponse = _interopRequireDefault(require("./SkinFieldResponse"));
|
|
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 _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
14
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
15
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
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.61
|
|
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 GraphRelationshipTypeResponse model module.
|
|
34
|
+
* @module model/GraphRelationshipTypeResponse
|
|
35
|
+
* @version 0.1.61
|
|
36
|
+
*/
|
|
37
|
+
var GraphRelationshipTypeResponse = /*#__PURE__*/function () {
|
|
38
|
+
/**
|
|
39
|
+
* Constructs a new <code>GraphRelationshipTypeResponse</code>.
|
|
40
|
+
* @alias module:model/GraphRelationshipTypeResponse
|
|
41
|
+
*/
|
|
42
|
+
function GraphRelationshipTypeResponse() {
|
|
43
|
+
_classCallCheck(this, GraphRelationshipTypeResponse);
|
|
44
|
+
GraphRelationshipTypeResponse.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(GraphRelationshipTypeResponse, [{
|
|
53
|
+
key: "getId",
|
|
54
|
+
value:
|
|
55
|
+
/**
|
|
56
|
+
* @return {Number}
|
|
57
|
+
*/
|
|
58
|
+
function getId() {
|
|
59
|
+
return this.id;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @param {Number} id
|
|
64
|
+
*/
|
|
65
|
+
}, {
|
|
66
|
+
key: "setId",
|
|
67
|
+
value: function setId(id) {
|
|
68
|
+
this['id'] = id;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @return {String}
|
|
72
|
+
*/
|
|
73
|
+
}, {
|
|
74
|
+
key: "getKey",
|
|
75
|
+
value: function getKey() {
|
|
76
|
+
return this.key;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @param {String} key
|
|
81
|
+
*/
|
|
82
|
+
}, {
|
|
83
|
+
key: "setKey",
|
|
84
|
+
value: function setKey(key) {
|
|
85
|
+
this['key'] = key;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @return {module:model/GraphRelationshipTypeResponse.CardinalityEnum}
|
|
89
|
+
*/
|
|
90
|
+
}, {
|
|
91
|
+
key: "getCardinality",
|
|
92
|
+
value: function getCardinality() {
|
|
93
|
+
return this.cardinality;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @param {module:model/GraphRelationshipTypeResponse.CardinalityEnum} cardinality
|
|
98
|
+
*/
|
|
99
|
+
}, {
|
|
100
|
+
key: "setCardinality",
|
|
101
|
+
value: function setCardinality(cardinality) {
|
|
102
|
+
this['cardinality'] = cardinality;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @return {String}
|
|
106
|
+
*/
|
|
107
|
+
}, {
|
|
108
|
+
key: "getName",
|
|
109
|
+
value: function getName() {
|
|
110
|
+
return this.name;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @param {String} name
|
|
115
|
+
*/
|
|
116
|
+
}, {
|
|
117
|
+
key: "setName",
|
|
118
|
+
value: function setName(name) {
|
|
119
|
+
this['name'] = name;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* @return {String}
|
|
123
|
+
*/
|
|
124
|
+
}, {
|
|
125
|
+
key: "getDescription",
|
|
126
|
+
value: function getDescription() {
|
|
127
|
+
return this.description;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @param {String} description
|
|
132
|
+
*/
|
|
133
|
+
}, {
|
|
134
|
+
key: "setDescription",
|
|
135
|
+
value: function setDescription(description) {
|
|
136
|
+
this['description'] = description;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @return {String}
|
|
140
|
+
*/
|
|
141
|
+
}, {
|
|
142
|
+
key: "getDescriptiveName",
|
|
143
|
+
value: function getDescriptiveName() {
|
|
144
|
+
return this.descriptiveName;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @param {String} descriptiveName
|
|
149
|
+
*/
|
|
150
|
+
}, {
|
|
151
|
+
key: "setDescriptiveName",
|
|
152
|
+
value: function setDescriptiveName(descriptiveName) {
|
|
153
|
+
this['descriptiveName'] = descriptiveName;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* @return {String}
|
|
157
|
+
*/
|
|
158
|
+
}, {
|
|
159
|
+
key: "getReverseDescriptiveName",
|
|
160
|
+
value: function getReverseDescriptiveName() {
|
|
161
|
+
return this.reverseDescriptiveName;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @param {String} reverseDescriptiveName
|
|
166
|
+
*/
|
|
167
|
+
}, {
|
|
168
|
+
key: "setReverseDescriptiveName",
|
|
169
|
+
value: function setReverseDescriptiveName(reverseDescriptiveName) {
|
|
170
|
+
this['reverseDescriptiveName'] = reverseDescriptiveName;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* @return {String}
|
|
174
|
+
*/
|
|
175
|
+
}, {
|
|
176
|
+
key: "getCreateName",
|
|
177
|
+
value: function getCreateName() {
|
|
178
|
+
return this.createName;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @param {String} createName
|
|
183
|
+
*/
|
|
184
|
+
}, {
|
|
185
|
+
key: "setCreateName",
|
|
186
|
+
value: function setCreateName(createName) {
|
|
187
|
+
this['createName'] = createName;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @return {String}
|
|
191
|
+
*/
|
|
192
|
+
}, {
|
|
193
|
+
key: "getReverseName",
|
|
194
|
+
value: function getReverseName() {
|
|
195
|
+
return this.reverseName;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @param {String} reverseName
|
|
200
|
+
*/
|
|
201
|
+
}, {
|
|
202
|
+
key: "setReverseName",
|
|
203
|
+
value: function setReverseName(reverseName) {
|
|
204
|
+
this['reverseName'] = reverseName;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* @return {String}
|
|
208
|
+
*/
|
|
209
|
+
}, {
|
|
210
|
+
key: "getPluralName",
|
|
211
|
+
value: function getPluralName() {
|
|
212
|
+
return this.pluralName;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @param {String} pluralName
|
|
217
|
+
*/
|
|
218
|
+
}, {
|
|
219
|
+
key: "setPluralName",
|
|
220
|
+
value: function setPluralName(pluralName) {
|
|
221
|
+
this['pluralName'] = pluralName;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @return {String}
|
|
225
|
+
*/
|
|
226
|
+
}, {
|
|
227
|
+
key: "getReversePluralName",
|
|
228
|
+
value: function getReversePluralName() {
|
|
229
|
+
return this.reversePluralName;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* @param {String} reversePluralName
|
|
234
|
+
*/
|
|
235
|
+
}, {
|
|
236
|
+
key: "setReversePluralName",
|
|
237
|
+
value: function setReversePluralName(reversePluralName) {
|
|
238
|
+
this['reversePluralName'] = reversePluralName;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* @return {Array.<module:model/GraphObjectTypeResponse>}
|
|
242
|
+
*/
|
|
243
|
+
}, {
|
|
244
|
+
key: "getStartObjectTypes",
|
|
245
|
+
value: function getStartObjectTypes() {
|
|
246
|
+
return this.startObjectTypes;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @param {Array.<module:model/GraphObjectTypeResponse>} startObjectTypes
|
|
251
|
+
*/
|
|
252
|
+
}, {
|
|
253
|
+
key: "setStartObjectTypes",
|
|
254
|
+
value: function setStartObjectTypes(startObjectTypes) {
|
|
255
|
+
this['startObjectTypes'] = startObjectTypes;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* @return {Array.<module:model/GraphObjectTypeResponse>}
|
|
259
|
+
*/
|
|
260
|
+
}, {
|
|
261
|
+
key: "getEndObjectTypes",
|
|
262
|
+
value: function getEndObjectTypes() {
|
|
263
|
+
return this.endObjectTypes;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @param {Array.<module:model/GraphObjectTypeResponse>} endObjectTypes
|
|
268
|
+
*/
|
|
269
|
+
}, {
|
|
270
|
+
key: "setEndObjectTypes",
|
|
271
|
+
value: function setEndObjectTypes(endObjectTypes) {
|
|
272
|
+
this['endObjectTypes'] = endObjectTypes;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* @return {Array.<module:model/SkinFieldResponse>}
|
|
276
|
+
*/
|
|
277
|
+
}, {
|
|
278
|
+
key: "getFields",
|
|
279
|
+
value: function getFields() {
|
|
280
|
+
return this.fields;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* @param {Array.<module:model/SkinFieldResponse>} fields
|
|
285
|
+
*/
|
|
286
|
+
}, {
|
|
287
|
+
key: "setFields",
|
|
288
|
+
value: function setFields(fields) {
|
|
289
|
+
this['fields'] = fields;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* @return {Array.<module:model/GetFunctionResponse>}
|
|
293
|
+
*/
|
|
294
|
+
}, {
|
|
295
|
+
key: "getMethods",
|
|
296
|
+
value: function getMethods() {
|
|
297
|
+
return this.methods;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* @param {Array.<module:model/GetFunctionResponse>} methods
|
|
302
|
+
*/
|
|
303
|
+
}, {
|
|
304
|
+
key: "setMethods",
|
|
305
|
+
value: function setMethods(methods) {
|
|
306
|
+
this['methods'] = methods;
|
|
307
|
+
}
|
|
308
|
+
}], [{
|
|
309
|
+
key: "initialize",
|
|
310
|
+
value: function initialize(obj) {}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Constructs a <code>GraphRelationshipTypeResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
314
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
315
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
316
|
+
* @param {module:model/GraphRelationshipTypeResponse} obj Optional instance to populate.
|
|
317
|
+
* @return {module:model/GraphRelationshipTypeResponse} The populated <code>GraphRelationshipTypeResponse</code> instance.
|
|
318
|
+
*/
|
|
319
|
+
}, {
|
|
320
|
+
key: "constructFromObject",
|
|
321
|
+
value: function constructFromObject(data, obj) {
|
|
322
|
+
if (data) {
|
|
323
|
+
obj = obj || new GraphRelationshipTypeResponse();
|
|
324
|
+
if (data.hasOwnProperty('id')) {
|
|
325
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
326
|
+
}
|
|
327
|
+
if (data.hasOwnProperty('key')) {
|
|
328
|
+
obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
|
|
329
|
+
}
|
|
330
|
+
if (data.hasOwnProperty('cardinality')) {
|
|
331
|
+
obj['cardinality'] = _ApiClient["default"].convertToType(data['cardinality'], 'String');
|
|
332
|
+
}
|
|
333
|
+
if (data.hasOwnProperty('name')) {
|
|
334
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
335
|
+
}
|
|
336
|
+
if (data.hasOwnProperty('description')) {
|
|
337
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
338
|
+
}
|
|
339
|
+
if (data.hasOwnProperty('descriptiveName')) {
|
|
340
|
+
obj['descriptiveName'] = _ApiClient["default"].convertToType(data['descriptiveName'], 'String');
|
|
341
|
+
}
|
|
342
|
+
if (data.hasOwnProperty('reverseDescriptiveName')) {
|
|
343
|
+
obj['reverseDescriptiveName'] = _ApiClient["default"].convertToType(data['reverseDescriptiveName'], 'String');
|
|
344
|
+
}
|
|
345
|
+
if (data.hasOwnProperty('createName')) {
|
|
346
|
+
obj['createName'] = _ApiClient["default"].convertToType(data['createName'], 'String');
|
|
347
|
+
}
|
|
348
|
+
if (data.hasOwnProperty('reverseName')) {
|
|
349
|
+
obj['reverseName'] = _ApiClient["default"].convertToType(data['reverseName'], 'String');
|
|
350
|
+
}
|
|
351
|
+
if (data.hasOwnProperty('pluralName')) {
|
|
352
|
+
obj['pluralName'] = _ApiClient["default"].convertToType(data['pluralName'], 'String');
|
|
353
|
+
}
|
|
354
|
+
if (data.hasOwnProperty('reversePluralName')) {
|
|
355
|
+
obj['reversePluralName'] = _ApiClient["default"].convertToType(data['reversePluralName'], 'String');
|
|
356
|
+
}
|
|
357
|
+
if (data.hasOwnProperty('startObjectTypes')) {
|
|
358
|
+
obj['startObjectTypes'] = _ApiClient["default"].convertToType(data['startObjectTypes'], [_GraphObjectTypeResponse["default"]]);
|
|
359
|
+
}
|
|
360
|
+
if (data.hasOwnProperty('endObjectTypes')) {
|
|
361
|
+
obj['endObjectTypes'] = _ApiClient["default"].convertToType(data['endObjectTypes'], [_GraphObjectTypeResponse["default"]]);
|
|
362
|
+
}
|
|
363
|
+
if (data.hasOwnProperty('fields')) {
|
|
364
|
+
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_SkinFieldResponse["default"]]);
|
|
365
|
+
}
|
|
366
|
+
if (data.hasOwnProperty('methods')) {
|
|
367
|
+
obj['methods'] = _ApiClient["default"].convertToType(data['methods'], [_GetFunctionResponse["default"]]);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
return obj;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Validates the JSON data with respect to <code>GraphRelationshipTypeResponse</code>.
|
|
375
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
376
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GraphRelationshipTypeResponse</code>.
|
|
377
|
+
*/
|
|
378
|
+
}, {
|
|
379
|
+
key: "validateJSON",
|
|
380
|
+
value: function validateJSON(data) {
|
|
381
|
+
// ensure the json data is a string
|
|
382
|
+
if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
|
|
383
|
+
throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
|
|
384
|
+
}
|
|
385
|
+
// ensure the json data is a string
|
|
386
|
+
if (data['cardinality'] && !(typeof data['cardinality'] === 'string' || data['cardinality'] instanceof String)) {
|
|
387
|
+
throw new Error("Expected the field `cardinality` to be a primitive type in the JSON string but got " + data['cardinality']);
|
|
388
|
+
}
|
|
389
|
+
// ensure the json data is a string
|
|
390
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
391
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
392
|
+
}
|
|
393
|
+
// ensure the json data is a string
|
|
394
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
395
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
396
|
+
}
|
|
397
|
+
// ensure the json data is a string
|
|
398
|
+
if (data['descriptiveName'] && !(typeof data['descriptiveName'] === 'string' || data['descriptiveName'] instanceof String)) {
|
|
399
|
+
throw new Error("Expected the field `descriptiveName` to be a primitive type in the JSON string but got " + data['descriptiveName']);
|
|
400
|
+
}
|
|
401
|
+
// ensure the json data is a string
|
|
402
|
+
if (data['reverseDescriptiveName'] && !(typeof data['reverseDescriptiveName'] === 'string' || data['reverseDescriptiveName'] instanceof String)) {
|
|
403
|
+
throw new Error("Expected the field `reverseDescriptiveName` to be a primitive type in the JSON string but got " + data['reverseDescriptiveName']);
|
|
404
|
+
}
|
|
405
|
+
// ensure the json data is a string
|
|
406
|
+
if (data['createName'] && !(typeof data['createName'] === 'string' || data['createName'] instanceof String)) {
|
|
407
|
+
throw new Error("Expected the field `createName` to be a primitive type in the JSON string but got " + data['createName']);
|
|
408
|
+
}
|
|
409
|
+
// ensure the json data is a string
|
|
410
|
+
if (data['reverseName'] && !(typeof data['reverseName'] === 'string' || data['reverseName'] instanceof String)) {
|
|
411
|
+
throw new Error("Expected the field `reverseName` to be a primitive type in the JSON string but got " + data['reverseName']);
|
|
412
|
+
}
|
|
413
|
+
// ensure the json data is a string
|
|
414
|
+
if (data['pluralName'] && !(typeof data['pluralName'] === 'string' || data['pluralName'] instanceof String)) {
|
|
415
|
+
throw new Error("Expected the field `pluralName` to be a primitive type in the JSON string but got " + data['pluralName']);
|
|
416
|
+
}
|
|
417
|
+
// ensure the json data is a string
|
|
418
|
+
if (data['reversePluralName'] && !(typeof data['reversePluralName'] === 'string' || data['reversePluralName'] instanceof String)) {
|
|
419
|
+
throw new Error("Expected the field `reversePluralName` to be a primitive type in the JSON string but got " + data['reversePluralName']);
|
|
420
|
+
}
|
|
421
|
+
if (data['startObjectTypes']) {
|
|
422
|
+
// data not null
|
|
423
|
+
// ensure the json data is an array
|
|
424
|
+
if (!Array.isArray(data['startObjectTypes'])) {
|
|
425
|
+
throw new Error("Expected the field `startObjectTypes` to be an array in the JSON data but got " + data['startObjectTypes']);
|
|
426
|
+
}
|
|
427
|
+
// validate the optional field `startObjectTypes` (array)
|
|
428
|
+
var _iterator = _createForOfIteratorHelper(data['startObjectTypes']),
|
|
429
|
+
_step;
|
|
430
|
+
try {
|
|
431
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
432
|
+
var item = _step.value;
|
|
433
|
+
_GraphObjectTypeResponse["default"].validateJSON(item);
|
|
434
|
+
}
|
|
435
|
+
} catch (err) {
|
|
436
|
+
_iterator.e(err);
|
|
437
|
+
} finally {
|
|
438
|
+
_iterator.f();
|
|
439
|
+
}
|
|
440
|
+
;
|
|
441
|
+
}
|
|
442
|
+
if (data['endObjectTypes']) {
|
|
443
|
+
// data not null
|
|
444
|
+
// ensure the json data is an array
|
|
445
|
+
if (!Array.isArray(data['endObjectTypes'])) {
|
|
446
|
+
throw new Error("Expected the field `endObjectTypes` to be an array in the JSON data but got " + data['endObjectTypes']);
|
|
447
|
+
}
|
|
448
|
+
// validate the optional field `endObjectTypes` (array)
|
|
449
|
+
var _iterator2 = _createForOfIteratorHelper(data['endObjectTypes']),
|
|
450
|
+
_step2;
|
|
451
|
+
try {
|
|
452
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
453
|
+
var _item = _step2.value;
|
|
454
|
+
_GraphObjectTypeResponse["default"].validateJSON(_item);
|
|
455
|
+
}
|
|
456
|
+
} catch (err) {
|
|
457
|
+
_iterator2.e(err);
|
|
458
|
+
} finally {
|
|
459
|
+
_iterator2.f();
|
|
460
|
+
}
|
|
461
|
+
;
|
|
462
|
+
}
|
|
463
|
+
if (data['fields']) {
|
|
464
|
+
// data not null
|
|
465
|
+
// ensure the json data is an array
|
|
466
|
+
if (!Array.isArray(data['fields'])) {
|
|
467
|
+
throw new Error("Expected the field `fields` to be an array in the JSON data but got " + data['fields']);
|
|
468
|
+
}
|
|
469
|
+
// validate the optional field `fields` (array)
|
|
470
|
+
var _iterator3 = _createForOfIteratorHelper(data['fields']),
|
|
471
|
+
_step3;
|
|
472
|
+
try {
|
|
473
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
474
|
+
var _item2 = _step3.value;
|
|
475
|
+
_SkinFieldResponse["default"].validateJSON(_item2);
|
|
476
|
+
}
|
|
477
|
+
} catch (err) {
|
|
478
|
+
_iterator3.e(err);
|
|
479
|
+
} finally {
|
|
480
|
+
_iterator3.f();
|
|
481
|
+
}
|
|
482
|
+
;
|
|
483
|
+
}
|
|
484
|
+
if (data['methods']) {
|
|
485
|
+
// data not null
|
|
486
|
+
// ensure the json data is an array
|
|
487
|
+
if (!Array.isArray(data['methods'])) {
|
|
488
|
+
throw new Error("Expected the field `methods` to be an array in the JSON data but got " + data['methods']);
|
|
489
|
+
}
|
|
490
|
+
// validate the optional field `methods` (array)
|
|
491
|
+
var _iterator4 = _createForOfIteratorHelper(data['methods']),
|
|
492
|
+
_step4;
|
|
493
|
+
try {
|
|
494
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
495
|
+
var _item3 = _step4.value;
|
|
496
|
+
_GetFunctionResponse["default"].validateJSON(_item3);
|
|
497
|
+
}
|
|
498
|
+
} catch (err) {
|
|
499
|
+
_iterator4.e(err);
|
|
500
|
+
} finally {
|
|
501
|
+
_iterator4.f();
|
|
502
|
+
}
|
|
503
|
+
;
|
|
504
|
+
}
|
|
505
|
+
return true;
|
|
506
|
+
}
|
|
507
|
+
}]);
|
|
508
|
+
return GraphRelationshipTypeResponse;
|
|
509
|
+
}();
|
|
510
|
+
/**
|
|
511
|
+
* @member {Number} id
|
|
512
|
+
*/
|
|
513
|
+
GraphRelationshipTypeResponse.prototype['id'] = undefined;
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* @member {String} key
|
|
517
|
+
*/
|
|
518
|
+
GraphRelationshipTypeResponse.prototype['key'] = undefined;
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* @member {module:model/GraphRelationshipTypeResponse.CardinalityEnum} cardinality
|
|
522
|
+
*/
|
|
523
|
+
GraphRelationshipTypeResponse.prototype['cardinality'] = undefined;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @member {String} name
|
|
527
|
+
*/
|
|
528
|
+
GraphRelationshipTypeResponse.prototype['name'] = undefined;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @member {String} description
|
|
532
|
+
*/
|
|
533
|
+
GraphRelationshipTypeResponse.prototype['description'] = undefined;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* @member {String} descriptiveName
|
|
537
|
+
*/
|
|
538
|
+
GraphRelationshipTypeResponse.prototype['descriptiveName'] = undefined;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* @member {String} reverseDescriptiveName
|
|
542
|
+
*/
|
|
543
|
+
GraphRelationshipTypeResponse.prototype['reverseDescriptiveName'] = undefined;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* @member {String} createName
|
|
547
|
+
*/
|
|
548
|
+
GraphRelationshipTypeResponse.prototype['createName'] = undefined;
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* @member {String} reverseName
|
|
552
|
+
*/
|
|
553
|
+
GraphRelationshipTypeResponse.prototype['reverseName'] = undefined;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* @member {String} pluralName
|
|
557
|
+
*/
|
|
558
|
+
GraphRelationshipTypeResponse.prototype['pluralName'] = undefined;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @member {String} reversePluralName
|
|
562
|
+
*/
|
|
563
|
+
GraphRelationshipTypeResponse.prototype['reversePluralName'] = undefined;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* @member {Array.<module:model/GraphObjectTypeResponse>} startObjectTypes
|
|
567
|
+
*/
|
|
568
|
+
GraphRelationshipTypeResponse.prototype['startObjectTypes'] = undefined;
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* @member {Array.<module:model/GraphObjectTypeResponse>} endObjectTypes
|
|
572
|
+
*/
|
|
573
|
+
GraphRelationshipTypeResponse.prototype['endObjectTypes'] = undefined;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* @member {Array.<module:model/SkinFieldResponse>} fields
|
|
577
|
+
*/
|
|
578
|
+
GraphRelationshipTypeResponse.prototype['fields'] = undefined;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* @member {Array.<module:model/GetFunctionResponse>} methods
|
|
582
|
+
*/
|
|
583
|
+
GraphRelationshipTypeResponse.prototype['methods'] = undefined;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Allowed values for the <code>cardinality</code> property.
|
|
587
|
+
* @enum {String}
|
|
588
|
+
* @readonly
|
|
589
|
+
*/
|
|
590
|
+
GraphRelationshipTypeResponse['CardinalityEnum'] = {
|
|
591
|
+
/**
|
|
592
|
+
* value: "ONE_TO_ONE"
|
|
593
|
+
* @const
|
|
594
|
+
*/
|
|
595
|
+
"ONE_TO_ONE": "ONE_TO_ONE",
|
|
596
|
+
/**
|
|
597
|
+
* value: "ONE_TO_MANY"
|
|
598
|
+
* @const
|
|
599
|
+
*/
|
|
600
|
+
"ONE_TO_MANY": "ONE_TO_MANY",
|
|
601
|
+
/**
|
|
602
|
+
* value: "MANY_TO_ONE"
|
|
603
|
+
* @const
|
|
604
|
+
*/
|
|
605
|
+
"MANY_TO_ONE": "MANY_TO_ONE",
|
|
606
|
+
/**
|
|
607
|
+
* value: "MANY_TO_MANY"
|
|
608
|
+
* @const
|
|
609
|
+
*/
|
|
610
|
+
"MANY_TO_MANY": "MANY_TO_MANY"
|
|
611
|
+
};
|
|
612
|
+
var _default = exports["default"] = GraphRelationshipTypeResponse;
|