@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,282 @@
|
|
|
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 _Coordinates = _interopRequireDefault(require("./Coordinates"));
|
|
9
|
+
var _PropertyContainer = _interopRequireDefault(require("./PropertyContainer"));
|
|
10
|
+
var _StreetAddress = _interopRequireDefault(require("./StreetAddress"));
|
|
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 GraphGeocode model module.
|
|
31
|
+
* @module model/GraphGeocode
|
|
32
|
+
* @version 0.1.34
|
|
33
|
+
*/
|
|
34
|
+
var GraphGeocode = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>GraphGeocode</code>.
|
|
37
|
+
* @alias module:model/GraphGeocode
|
|
38
|
+
*/
|
|
39
|
+
function GraphGeocode() {
|
|
40
|
+
_classCallCheck(this, GraphGeocode);
|
|
41
|
+
GraphGeocode.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(GraphGeocode, [{
|
|
50
|
+
key: "getNeoContainer",
|
|
51
|
+
value:
|
|
52
|
+
/**
|
|
53
|
+
* @return {module:model/PropertyContainer}
|
|
54
|
+
*/
|
|
55
|
+
function getNeoContainer() {
|
|
56
|
+
return this.neoContainer;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @param {module:model/PropertyContainer} neoContainer
|
|
61
|
+
*/
|
|
62
|
+
}, {
|
|
63
|
+
key: "setNeoContainer",
|
|
64
|
+
value: function setNeoContainer(neoContainer) {
|
|
65
|
+
this['neoContainer'] = neoContainer;
|
|
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/StreetAddress}
|
|
88
|
+
*/
|
|
89
|
+
}, {
|
|
90
|
+
key: "getStreetAddress",
|
|
91
|
+
value: function getStreetAddress() {
|
|
92
|
+
return this.streetAddress;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @param {module:model/StreetAddress} streetAddress
|
|
97
|
+
*/
|
|
98
|
+
}, {
|
|
99
|
+
key: "setStreetAddress",
|
|
100
|
+
value: function setStreetAddress(streetAddress) {
|
|
101
|
+
this['streetAddress'] = streetAddress;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @return {module:model/Coordinates}
|
|
105
|
+
*/
|
|
106
|
+
}, {
|
|
107
|
+
key: "getCoordinates",
|
|
108
|
+
value: function getCoordinates() {
|
|
109
|
+
return this.coordinates;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @param {module:model/Coordinates} coordinates
|
|
114
|
+
*/
|
|
115
|
+
}, {
|
|
116
|
+
key: "setCoordinates",
|
|
117
|
+
value: function setCoordinates(coordinates) {
|
|
118
|
+
this['coordinates'] = coordinates;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Returns The modification date of this entity
|
|
122
|
+
* @return {Date}
|
|
123
|
+
*/
|
|
124
|
+
}, {
|
|
125
|
+
key: "getModificationdate",
|
|
126
|
+
value: function getModificationdate() {
|
|
127
|
+
return this.modificationdate;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Sets The modification date of this entity
|
|
132
|
+
* @param {Date} modificationdate The modification date of this entity
|
|
133
|
+
*/
|
|
134
|
+
}, {
|
|
135
|
+
key: "setModificationdate",
|
|
136
|
+
value: function setModificationdate(modificationdate) {
|
|
137
|
+
this['modificationdate'] = modificationdate;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @return {Number}
|
|
141
|
+
*/
|
|
142
|
+
}, {
|
|
143
|
+
key: "getId",
|
|
144
|
+
value: function getId() {
|
|
145
|
+
return this.id;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @param {Number} id
|
|
150
|
+
*/
|
|
151
|
+
}, {
|
|
152
|
+
key: "setId",
|
|
153
|
+
value: function setId(id) {
|
|
154
|
+
this['id'] = id;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* @return {Object}
|
|
158
|
+
*/
|
|
159
|
+
}, {
|
|
160
|
+
key: "getData",
|
|
161
|
+
value: function getData() {
|
|
162
|
+
return this.data;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @param {Object} data
|
|
167
|
+
*/
|
|
168
|
+
}, {
|
|
169
|
+
key: "setData",
|
|
170
|
+
value: function setData(data) {
|
|
171
|
+
this['data'] = data;
|
|
172
|
+
}
|
|
173
|
+
}], [{
|
|
174
|
+
key: "initialize",
|
|
175
|
+
value: function initialize(obj) {}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Constructs a <code>GraphGeocode</code> from a plain JavaScript object, optionally creating a new instance.
|
|
179
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
180
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
181
|
+
* @param {module:model/GraphGeocode} obj Optional instance to populate.
|
|
182
|
+
* @return {module:model/GraphGeocode} The populated <code>GraphGeocode</code> instance.
|
|
183
|
+
*/
|
|
184
|
+
}, {
|
|
185
|
+
key: "constructFromObject",
|
|
186
|
+
value: function constructFromObject(data, obj) {
|
|
187
|
+
if (data) {
|
|
188
|
+
obj = obj || new GraphGeocode();
|
|
189
|
+
if (data.hasOwnProperty('neoContainer')) {
|
|
190
|
+
obj['neoContainer'] = _PropertyContainer["default"].constructFromObject(data['neoContainer']);
|
|
191
|
+
}
|
|
192
|
+
if (data.hasOwnProperty('key')) {
|
|
193
|
+
obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
|
|
194
|
+
}
|
|
195
|
+
if (data.hasOwnProperty('streetAddress')) {
|
|
196
|
+
obj['streetAddress'] = _StreetAddress["default"].constructFromObject(data['streetAddress']);
|
|
197
|
+
}
|
|
198
|
+
if (data.hasOwnProperty('coordinates')) {
|
|
199
|
+
obj['coordinates'] = _Coordinates["default"].constructFromObject(data['coordinates']);
|
|
200
|
+
}
|
|
201
|
+
if (data.hasOwnProperty('modificationdate')) {
|
|
202
|
+
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
203
|
+
}
|
|
204
|
+
if (data.hasOwnProperty('id')) {
|
|
205
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
206
|
+
}
|
|
207
|
+
if (data.hasOwnProperty('data')) {
|
|
208
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
return obj;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Validates the JSON data with respect to <code>GraphGeocode</code>.
|
|
216
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
217
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GraphGeocode</code>.
|
|
218
|
+
*/
|
|
219
|
+
}, {
|
|
220
|
+
key: "validateJSON",
|
|
221
|
+
value: function validateJSON(data) {
|
|
222
|
+
// validate the optional field `neoContainer`
|
|
223
|
+
if (data['neoContainer']) {
|
|
224
|
+
// data not null
|
|
225
|
+
_PropertyContainer["default"].validateJSON(data['neoContainer']);
|
|
226
|
+
}
|
|
227
|
+
// ensure the json data is a string
|
|
228
|
+
if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
|
|
229
|
+
throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
|
|
230
|
+
}
|
|
231
|
+
// validate the optional field `streetAddress`
|
|
232
|
+
if (data['streetAddress']) {
|
|
233
|
+
// data not null
|
|
234
|
+
_StreetAddress["default"].validateJSON(data['streetAddress']);
|
|
235
|
+
}
|
|
236
|
+
// validate the optional field `coordinates`
|
|
237
|
+
if (data['coordinates']) {
|
|
238
|
+
// data not null
|
|
239
|
+
_Coordinates["default"].validateJSON(data['coordinates']);
|
|
240
|
+
}
|
|
241
|
+
return true;
|
|
242
|
+
}
|
|
243
|
+
}]);
|
|
244
|
+
return GraphGeocode;
|
|
245
|
+
}();
|
|
246
|
+
/**
|
|
247
|
+
* @member {module:model/PropertyContainer} neoContainer
|
|
248
|
+
*/
|
|
249
|
+
GraphGeocode.prototype['neoContainer'] = undefined;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* The unique key of this entity
|
|
253
|
+
* @member {String} key
|
|
254
|
+
*/
|
|
255
|
+
GraphGeocode.prototype['key'] = undefined;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @member {module:model/StreetAddress} streetAddress
|
|
259
|
+
*/
|
|
260
|
+
GraphGeocode.prototype['streetAddress'] = undefined;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @member {module:model/Coordinates} coordinates
|
|
264
|
+
*/
|
|
265
|
+
GraphGeocode.prototype['coordinates'] = undefined;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* The modification date of this entity
|
|
269
|
+
* @member {Date} modificationdate
|
|
270
|
+
*/
|
|
271
|
+
GraphGeocode.prototype['modificationdate'] = undefined;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @member {Number} id
|
|
275
|
+
*/
|
|
276
|
+
GraphGeocode.prototype['id'] = undefined;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @member {Object} data
|
|
280
|
+
*/
|
|
281
|
+
GraphGeocode.prototype['data'] = undefined;
|
|
282
|
+
var _default = exports["default"] = GraphGeocode;
|
|
@@ -0,0 +1,129 @@
|
|
|
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 _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner"));
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
+
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); }
|
|
11
|
+
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; } } }; }
|
|
12
|
+
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); }
|
|
13
|
+
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; }
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
|
+
* gobodo-api
|
|
20
|
+
* REST Interface for Gobodo API
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 0.1.34
|
|
23
|
+
* Contact: info@gobodo.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* The GraphIteratorEntryPart model module.
|
|
32
|
+
* @module model/GraphIteratorEntryPart
|
|
33
|
+
* @version 0.1.34
|
|
34
|
+
*/
|
|
35
|
+
var GraphIteratorEntryPart = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>GraphIteratorEntryPart</code>.
|
|
38
|
+
* @alias module:model/GraphIteratorEntryPart
|
|
39
|
+
*/
|
|
40
|
+
function GraphIteratorEntryPart() {
|
|
41
|
+
_classCallCheck(this, GraphIteratorEntryPart);
|
|
42
|
+
GraphIteratorEntryPart.initialize(this);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Initializes the fields of this object.
|
|
47
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
+
* Only for internal use.
|
|
49
|
+
*/
|
|
50
|
+
_createClass(GraphIteratorEntryPart, [{
|
|
51
|
+
key: "getStackTrace",
|
|
52
|
+
value:
|
|
53
|
+
/**
|
|
54
|
+
* @return {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>}
|
|
55
|
+
*/
|
|
56
|
+
function getStackTrace() {
|
|
57
|
+
return this.stackTrace;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @param {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
|
|
62
|
+
*/
|
|
63
|
+
}, {
|
|
64
|
+
key: "setStackTrace",
|
|
65
|
+
value: function setStackTrace(stackTrace) {
|
|
66
|
+
this['stackTrace'] = stackTrace;
|
|
67
|
+
}
|
|
68
|
+
}], [{
|
|
69
|
+
key: "initialize",
|
|
70
|
+
value: function initialize(obj) {}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Constructs a <code>GraphIteratorEntryPart</code> from a plain JavaScript object, optionally creating a new instance.
|
|
74
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
75
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
76
|
+
* @param {module:model/GraphIteratorEntryPart} obj Optional instance to populate.
|
|
77
|
+
* @return {module:model/GraphIteratorEntryPart} The populated <code>GraphIteratorEntryPart</code> instance.
|
|
78
|
+
*/
|
|
79
|
+
}, {
|
|
80
|
+
key: "constructFromObject",
|
|
81
|
+
value: function constructFromObject(data, obj) {
|
|
82
|
+
if (data) {
|
|
83
|
+
obj = obj || new GraphIteratorEntryPart();
|
|
84
|
+
if (data.hasOwnProperty('stackTrace')) {
|
|
85
|
+
obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"]]);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return obj;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Validates the JSON data with respect to <code>GraphIteratorEntryPart</code>.
|
|
93
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
94
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GraphIteratorEntryPart</code>.
|
|
95
|
+
*/
|
|
96
|
+
}, {
|
|
97
|
+
key: "validateJSON",
|
|
98
|
+
value: function validateJSON(data) {
|
|
99
|
+
if (data['stackTrace']) {
|
|
100
|
+
// data not null
|
|
101
|
+
// ensure the json data is an array
|
|
102
|
+
if (!Array.isArray(data['stackTrace'])) {
|
|
103
|
+
throw new Error("Expected the field `stackTrace` to be an array in the JSON data but got " + data['stackTrace']);
|
|
104
|
+
}
|
|
105
|
+
// validate the optional field `stackTrace` (array)
|
|
106
|
+
var _iterator = _createForOfIteratorHelper(data['stackTrace']),
|
|
107
|
+
_step;
|
|
108
|
+
try {
|
|
109
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
110
|
+
var item = _step.value;
|
|
111
|
+
_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"].validateJSON(item);
|
|
112
|
+
}
|
|
113
|
+
} catch (err) {
|
|
114
|
+
_iterator.e(err);
|
|
115
|
+
} finally {
|
|
116
|
+
_iterator.f();
|
|
117
|
+
}
|
|
118
|
+
;
|
|
119
|
+
}
|
|
120
|
+
return true;
|
|
121
|
+
}
|
|
122
|
+
}]);
|
|
123
|
+
return GraphIteratorEntryPart;
|
|
124
|
+
}();
|
|
125
|
+
/**
|
|
126
|
+
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
|
|
127
|
+
*/
|
|
128
|
+
GraphIteratorEntryPart.prototype['stackTrace'] = undefined;
|
|
129
|
+
var _default = exports["default"] = GraphIteratorEntryPart;
|