@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,495 @@
|
|
|
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
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
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); }
|
|
10
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
|
+
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); } }
|
|
12
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
14
|
+
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); } /**
|
|
15
|
+
* gobodo-api
|
|
16
|
+
* REST Interface for Gobodo API
|
|
17
|
+
*
|
|
18
|
+
* The version of the OpenAPI document: 0.1.34
|
|
19
|
+
* Contact: info@gobodo.io
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* The Comment model module.
|
|
28
|
+
* @module model/Comment
|
|
29
|
+
* @version 0.1.34
|
|
30
|
+
*/
|
|
31
|
+
var Comment = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>Comment</code>.
|
|
34
|
+
* @alias module:model/Comment
|
|
35
|
+
*/
|
|
36
|
+
function Comment() {
|
|
37
|
+
_classCallCheck(this, Comment);
|
|
38
|
+
Comment.initialize(this);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Initializes the fields of this object.
|
|
43
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
44
|
+
* Only for internal use.
|
|
45
|
+
*/
|
|
46
|
+
_createClass(Comment, [{
|
|
47
|
+
key: "getCreatorpageid",
|
|
48
|
+
value:
|
|
49
|
+
/**
|
|
50
|
+
* @return {Number}
|
|
51
|
+
*/
|
|
52
|
+
function getCreatorpageid() {
|
|
53
|
+
return this.creatorpageid;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @param {Number} creatorpageid
|
|
58
|
+
*/
|
|
59
|
+
}, {
|
|
60
|
+
key: "setCreatorpageid",
|
|
61
|
+
value: function setCreatorpageid(creatorpageid) {
|
|
62
|
+
this['creatorpageid'] = creatorpageid;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @return {Number}
|
|
66
|
+
*/
|
|
67
|
+
}, {
|
|
68
|
+
key: "getParentid",
|
|
69
|
+
value: function getParentid() {
|
|
70
|
+
return this.parentid;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @param {Number} parentid
|
|
75
|
+
*/
|
|
76
|
+
}, {
|
|
77
|
+
key: "setParentid",
|
|
78
|
+
value: function setParentid(parentid) {
|
|
79
|
+
this['parentid'] = parentid;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @return {String}
|
|
83
|
+
*/
|
|
84
|
+
}, {
|
|
85
|
+
key: "getUnfilteredsubject",
|
|
86
|
+
value: function getUnfilteredsubject() {
|
|
87
|
+
return this.unfilteredsubject;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @param {String} unfilteredsubject
|
|
92
|
+
*/
|
|
93
|
+
}, {
|
|
94
|
+
key: "setUnfilteredsubject",
|
|
95
|
+
value: function setUnfilteredsubject(unfilteredsubject) {
|
|
96
|
+
this['unfilteredsubject'] = unfilteredsubject;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @return {Boolean}
|
|
100
|
+
*/
|
|
101
|
+
}, {
|
|
102
|
+
key: "getAnonymous",
|
|
103
|
+
value: function getAnonymous() {
|
|
104
|
+
return this.anonymous;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @param {Boolean} anonymous
|
|
109
|
+
*/
|
|
110
|
+
}, {
|
|
111
|
+
key: "setAnonymous",
|
|
112
|
+
value: function setAnonymous(anonymous) {
|
|
113
|
+
this['anonymous'] = anonymous;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @return {String}
|
|
117
|
+
*/
|
|
118
|
+
}, {
|
|
119
|
+
key: "getUnfilteredmessage",
|
|
120
|
+
value: function getUnfilteredmessage() {
|
|
121
|
+
return this.unfilteredmessage;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @param {String} unfilteredmessage
|
|
126
|
+
*/
|
|
127
|
+
}, {
|
|
128
|
+
key: "setUnfilteredmessage",
|
|
129
|
+
value: function setUnfilteredmessage(unfilteredmessage) {
|
|
130
|
+
this['unfilteredmessage'] = unfilteredmessage;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @return {Number}
|
|
134
|
+
*/
|
|
135
|
+
}, {
|
|
136
|
+
key: "getParentComment",
|
|
137
|
+
value: function getParentComment() {
|
|
138
|
+
return this.parentComment;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @param {Number} parentComment
|
|
143
|
+
*/
|
|
144
|
+
}, {
|
|
145
|
+
key: "setParentComment",
|
|
146
|
+
value: function setParentComment(parentComment) {
|
|
147
|
+
this['parentComment'] = parentComment;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* @return {Object}
|
|
151
|
+
*/
|
|
152
|
+
}, {
|
|
153
|
+
key: "getReplies",
|
|
154
|
+
value: function getReplies() {
|
|
155
|
+
return this.replies;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @param {Object} replies
|
|
160
|
+
*/
|
|
161
|
+
}, {
|
|
162
|
+
key: "setReplies",
|
|
163
|
+
value: function setReplies(replies) {
|
|
164
|
+
this['replies'] = replies;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @return {String}
|
|
168
|
+
*/
|
|
169
|
+
}, {
|
|
170
|
+
key: "getBody",
|
|
171
|
+
value: function getBody() {
|
|
172
|
+
return this.body;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @param {String} body
|
|
177
|
+
*/
|
|
178
|
+
}, {
|
|
179
|
+
key: "setBody",
|
|
180
|
+
value: function setBody(body) {
|
|
181
|
+
this['body'] = body;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* @return {Date}
|
|
185
|
+
*/
|
|
186
|
+
}, {
|
|
187
|
+
key: "getCreationdate",
|
|
188
|
+
value: function getCreationdate() {
|
|
189
|
+
return this.creationdate;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @param {Date} creationdate
|
|
194
|
+
*/
|
|
195
|
+
}, {
|
|
196
|
+
key: "setCreationdate",
|
|
197
|
+
value: function setCreationdate(creationdate) {
|
|
198
|
+
this['creationdate'] = creationdate;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* @return {String}
|
|
202
|
+
*/
|
|
203
|
+
}, {
|
|
204
|
+
key: "getSubject",
|
|
205
|
+
value: function getSubject() {
|
|
206
|
+
return this.subject;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @param {String} subject
|
|
211
|
+
*/
|
|
212
|
+
}, {
|
|
213
|
+
key: "setSubject",
|
|
214
|
+
value: function setSubject(subject) {
|
|
215
|
+
this['subject'] = subject;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* @return {Date}
|
|
219
|
+
*/
|
|
220
|
+
}, {
|
|
221
|
+
key: "getModificationdate",
|
|
222
|
+
value: function getModificationdate() {
|
|
223
|
+
return this.modificationdate;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @param {Date} modificationdate
|
|
228
|
+
*/
|
|
229
|
+
}, {
|
|
230
|
+
key: "setModificationdate",
|
|
231
|
+
value: function setModificationdate(modificationdate) {
|
|
232
|
+
this['modificationdate'] = modificationdate;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* @return {Number}
|
|
236
|
+
*/
|
|
237
|
+
}, {
|
|
238
|
+
key: "getCreatorid",
|
|
239
|
+
value: function getCreatorid() {
|
|
240
|
+
return this.creatorid;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @param {Number} creatorid
|
|
245
|
+
*/
|
|
246
|
+
}, {
|
|
247
|
+
key: "setCreatorid",
|
|
248
|
+
value: function setCreatorid(creatorid) {
|
|
249
|
+
this['creatorid'] = creatorid;
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* @return {Number}
|
|
253
|
+
*/
|
|
254
|
+
}, {
|
|
255
|
+
key: "getModifier",
|
|
256
|
+
value: function getModifier() {
|
|
257
|
+
return this.modifier;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* @param {Number} modifier
|
|
262
|
+
*/
|
|
263
|
+
}, {
|
|
264
|
+
key: "setModifier",
|
|
265
|
+
value: function setModifier(modifier) {
|
|
266
|
+
this['modifier'] = modifier;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* @return {Object}
|
|
270
|
+
*/
|
|
271
|
+
}, {
|
|
272
|
+
key: "getProperties",
|
|
273
|
+
value: function getProperties() {
|
|
274
|
+
return this.properties;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* @param {Object} properties
|
|
279
|
+
*/
|
|
280
|
+
}, {
|
|
281
|
+
key: "setProperties",
|
|
282
|
+
value: function setProperties(properties) {
|
|
283
|
+
this['properties'] = properties;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* @return {Object}
|
|
287
|
+
*/
|
|
288
|
+
}, {
|
|
289
|
+
key: "getData",
|
|
290
|
+
value: function getData() {
|
|
291
|
+
return this.data;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* @param {Object} data
|
|
296
|
+
*/
|
|
297
|
+
}, {
|
|
298
|
+
key: "setData",
|
|
299
|
+
value: function setData(data) {
|
|
300
|
+
this['data'] = data;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* @return {Number}
|
|
304
|
+
*/
|
|
305
|
+
}, {
|
|
306
|
+
key: "getId",
|
|
307
|
+
value: function getId() {
|
|
308
|
+
return this.id;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* @param {Number} id
|
|
313
|
+
*/
|
|
314
|
+
}, {
|
|
315
|
+
key: "setId",
|
|
316
|
+
value: function setId(id) {
|
|
317
|
+
this['id'] = id;
|
|
318
|
+
}
|
|
319
|
+
}], [{
|
|
320
|
+
key: "initialize",
|
|
321
|
+
value: function initialize(obj) {}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Constructs a <code>Comment</code> from a plain JavaScript object, optionally creating a new instance.
|
|
325
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
326
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
327
|
+
* @param {module:model/Comment} obj Optional instance to populate.
|
|
328
|
+
* @return {module:model/Comment} The populated <code>Comment</code> instance.
|
|
329
|
+
*/
|
|
330
|
+
}, {
|
|
331
|
+
key: "constructFromObject",
|
|
332
|
+
value: function constructFromObject(data, obj) {
|
|
333
|
+
if (data) {
|
|
334
|
+
obj = obj || new Comment();
|
|
335
|
+
if (data.hasOwnProperty('creatorpageid')) {
|
|
336
|
+
obj['creatorpageid'] = _ApiClient["default"].convertToType(data['creatorpageid'], 'Number');
|
|
337
|
+
}
|
|
338
|
+
if (data.hasOwnProperty('parentid')) {
|
|
339
|
+
obj['parentid'] = _ApiClient["default"].convertToType(data['parentid'], 'Number');
|
|
340
|
+
}
|
|
341
|
+
if (data.hasOwnProperty('unfilteredsubject')) {
|
|
342
|
+
obj['unfilteredsubject'] = _ApiClient["default"].convertToType(data['unfilteredsubject'], 'String');
|
|
343
|
+
}
|
|
344
|
+
if (data.hasOwnProperty('anonymous')) {
|
|
345
|
+
obj['anonymous'] = _ApiClient["default"].convertToType(data['anonymous'], 'Boolean');
|
|
346
|
+
}
|
|
347
|
+
if (data.hasOwnProperty('unfilteredmessage')) {
|
|
348
|
+
obj['unfilteredmessage'] = _ApiClient["default"].convertToType(data['unfilteredmessage'], 'String');
|
|
349
|
+
}
|
|
350
|
+
if (data.hasOwnProperty('parentComment')) {
|
|
351
|
+
obj['parentComment'] = _ApiClient["default"].convertToType(data['parentComment'], 'Number');
|
|
352
|
+
}
|
|
353
|
+
if (data.hasOwnProperty('replies')) {
|
|
354
|
+
obj['replies'] = _ApiClient["default"].convertToType(data['replies'], Object);
|
|
355
|
+
}
|
|
356
|
+
if (data.hasOwnProperty('body')) {
|
|
357
|
+
obj['body'] = _ApiClient["default"].convertToType(data['body'], 'String');
|
|
358
|
+
}
|
|
359
|
+
if (data.hasOwnProperty('creationdate')) {
|
|
360
|
+
obj['creationdate'] = _ApiClient["default"].convertToType(data['creationdate'], 'Date');
|
|
361
|
+
}
|
|
362
|
+
if (data.hasOwnProperty('subject')) {
|
|
363
|
+
obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
|
|
364
|
+
}
|
|
365
|
+
if (data.hasOwnProperty('modificationdate')) {
|
|
366
|
+
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
367
|
+
}
|
|
368
|
+
if (data.hasOwnProperty('creatorid')) {
|
|
369
|
+
obj['creatorid'] = _ApiClient["default"].convertToType(data['creatorid'], 'Number');
|
|
370
|
+
}
|
|
371
|
+
if (data.hasOwnProperty('modifier')) {
|
|
372
|
+
obj['modifier'] = _ApiClient["default"].convertToType(data['modifier'], 'Number');
|
|
373
|
+
}
|
|
374
|
+
if (data.hasOwnProperty('properties')) {
|
|
375
|
+
obj['properties'] = _ApiClient["default"].convertToType(data['properties'], Object);
|
|
376
|
+
}
|
|
377
|
+
if (data.hasOwnProperty('data')) {
|
|
378
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
379
|
+
}
|
|
380
|
+
if (data.hasOwnProperty('id')) {
|
|
381
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
return obj;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Validates the JSON data with respect to <code>Comment</code>.
|
|
389
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
390
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Comment</code>.
|
|
391
|
+
*/
|
|
392
|
+
}, {
|
|
393
|
+
key: "validateJSON",
|
|
394
|
+
value: function validateJSON(data) {
|
|
395
|
+
// ensure the json data is a string
|
|
396
|
+
if (data['unfilteredsubject'] && !(typeof data['unfilteredsubject'] === 'string' || data['unfilteredsubject'] instanceof String)) {
|
|
397
|
+
throw new Error("Expected the field `unfilteredsubject` to be a primitive type in the JSON string but got " + data['unfilteredsubject']);
|
|
398
|
+
}
|
|
399
|
+
// ensure the json data is a string
|
|
400
|
+
if (data['unfilteredmessage'] && !(typeof data['unfilteredmessage'] === 'string' || data['unfilteredmessage'] instanceof String)) {
|
|
401
|
+
throw new Error("Expected the field `unfilteredmessage` to be a primitive type in the JSON string but got " + data['unfilteredmessage']);
|
|
402
|
+
}
|
|
403
|
+
// ensure the json data is a string
|
|
404
|
+
if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
|
|
405
|
+
throw new Error("Expected the field `body` to be a primitive type in the JSON string but got " + data['body']);
|
|
406
|
+
}
|
|
407
|
+
// ensure the json data is a string
|
|
408
|
+
if (data['subject'] && !(typeof data['subject'] === 'string' || data['subject'] instanceof String)) {
|
|
409
|
+
throw new Error("Expected the field `subject` to be a primitive type in the JSON string but got " + data['subject']);
|
|
410
|
+
}
|
|
411
|
+
return true;
|
|
412
|
+
}
|
|
413
|
+
}]);
|
|
414
|
+
return Comment;
|
|
415
|
+
}();
|
|
416
|
+
/**
|
|
417
|
+
* @member {Number} creatorpageid
|
|
418
|
+
*/
|
|
419
|
+
Comment.prototype['creatorpageid'] = undefined;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* @member {Number} parentid
|
|
423
|
+
*/
|
|
424
|
+
Comment.prototype['parentid'] = undefined;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* @member {String} unfilteredsubject
|
|
428
|
+
*/
|
|
429
|
+
Comment.prototype['unfilteredsubject'] = undefined;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* @member {Boolean} anonymous
|
|
433
|
+
*/
|
|
434
|
+
Comment.prototype['anonymous'] = undefined;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* @member {String} unfilteredmessage
|
|
438
|
+
*/
|
|
439
|
+
Comment.prototype['unfilteredmessage'] = undefined;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* @member {Number} parentComment
|
|
443
|
+
*/
|
|
444
|
+
Comment.prototype['parentComment'] = undefined;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* @member {Object} replies
|
|
448
|
+
*/
|
|
449
|
+
Comment.prototype['replies'] = undefined;
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* @member {String} body
|
|
453
|
+
*/
|
|
454
|
+
Comment.prototype['body'] = undefined;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* @member {Date} creationdate
|
|
458
|
+
*/
|
|
459
|
+
Comment.prototype['creationdate'] = undefined;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* @member {String} subject
|
|
463
|
+
*/
|
|
464
|
+
Comment.prototype['subject'] = undefined;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* @member {Date} modificationdate
|
|
468
|
+
*/
|
|
469
|
+
Comment.prototype['modificationdate'] = undefined;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* @member {Number} creatorid
|
|
473
|
+
*/
|
|
474
|
+
Comment.prototype['creatorid'] = undefined;
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* @member {Number} modifier
|
|
478
|
+
*/
|
|
479
|
+
Comment.prototype['modifier'] = undefined;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* @member {Object} properties
|
|
483
|
+
*/
|
|
484
|
+
Comment.prototype['properties'] = undefined;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* @member {Object} data
|
|
488
|
+
*/
|
|
489
|
+
Comment.prototype['data'] = undefined;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* @member {Number} id
|
|
493
|
+
*/
|
|
494
|
+
Comment.prototype['id'] = undefined;
|
|
495
|
+
var _default = exports["default"] = Comment;
|
|
@@ -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
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
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); }
|
|
10
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
|
+
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); } }
|
|
12
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
14
|
+
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); } /**
|
|
15
|
+
* gobodo-api
|
|
16
|
+
* REST Interface for Gobodo API
|
|
17
|
+
*
|
|
18
|
+
* The version of the OpenAPI document: 0.1.34
|
|
19
|
+
* Contact: info@gobodo.io
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* The Coordinates model module.
|
|
28
|
+
* @module model/Coordinates
|
|
29
|
+
* @version 0.1.34
|
|
30
|
+
*/
|
|
31
|
+
var Coordinates = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>Coordinates</code>.
|
|
34
|
+
* @alias module:model/Coordinates
|
|
35
|
+
*/
|
|
36
|
+
function Coordinates() {
|
|
37
|
+
_classCallCheck(this, Coordinates);
|
|
38
|
+
Coordinates.initialize(this);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Initializes the fields of this object.
|
|
43
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
44
|
+
* Only for internal use.
|
|
45
|
+
*/
|
|
46
|
+
_createClass(Coordinates, [{
|
|
47
|
+
key: "getLat",
|
|
48
|
+
value:
|
|
49
|
+
/**
|
|
50
|
+
* @return {Number}
|
|
51
|
+
*/
|
|
52
|
+
function getLat() {
|
|
53
|
+
return this.lat;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @param {Number} lat
|
|
58
|
+
*/
|
|
59
|
+
}, {
|
|
60
|
+
key: "setLat",
|
|
61
|
+
value: function setLat(lat) {
|
|
62
|
+
this['lat'] = lat;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @return {Number}
|
|
66
|
+
*/
|
|
67
|
+
}, {
|
|
68
|
+
key: "getLng",
|
|
69
|
+
value: function getLng() {
|
|
70
|
+
return this.lng;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @param {Number} lng
|
|
75
|
+
*/
|
|
76
|
+
}, {
|
|
77
|
+
key: "setLng",
|
|
78
|
+
value: function setLng(lng) {
|
|
79
|
+
this['lng'] = lng;
|
|
80
|
+
}
|
|
81
|
+
}], [{
|
|
82
|
+
key: "initialize",
|
|
83
|
+
value: function initialize(obj) {}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Constructs a <code>Coordinates</code> from a plain JavaScript object, optionally creating a new instance.
|
|
87
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
88
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
89
|
+
* @param {module:model/Coordinates} obj Optional instance to populate.
|
|
90
|
+
* @return {module:model/Coordinates} The populated <code>Coordinates</code> instance.
|
|
91
|
+
*/
|
|
92
|
+
}, {
|
|
93
|
+
key: "constructFromObject",
|
|
94
|
+
value: function constructFromObject(data, obj) {
|
|
95
|
+
if (data) {
|
|
96
|
+
obj = obj || new Coordinates();
|
|
97
|
+
if (data.hasOwnProperty('lat')) {
|
|
98
|
+
obj['lat'] = _ApiClient["default"].convertToType(data['lat'], 'Number');
|
|
99
|
+
}
|
|
100
|
+
if (data.hasOwnProperty('lng')) {
|
|
101
|
+
obj['lng'] = _ApiClient["default"].convertToType(data['lng'], 'Number');
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Validates the JSON data with respect to <code>Coordinates</code>.
|
|
109
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
110
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Coordinates</code>.
|
|
111
|
+
*/
|
|
112
|
+
}, {
|
|
113
|
+
key: "validateJSON",
|
|
114
|
+
value: function validateJSON(data) {
|
|
115
|
+
return true;
|
|
116
|
+
}
|
|
117
|
+
}]);
|
|
118
|
+
return Coordinates;
|
|
119
|
+
}();
|
|
120
|
+
/**
|
|
121
|
+
* @member {Number} lat
|
|
122
|
+
*/
|
|
123
|
+
Coordinates.prototype['lat'] = undefined;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @member {Number} lng
|
|
127
|
+
*/
|
|
128
|
+
Coordinates.prototype['lng'] = undefined;
|
|
129
|
+
var _default = exports["default"] = Coordinates;
|