@gobodo/gobodo-api-promise 0.1.44 → 0.1.46
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 +2 -3
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EntryPartsApi.js +2 -2
- 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 +2 -2
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +2 -2
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.js +2 -2
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- 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 +2 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/index.js +0 -7
- package/dist/model/APIClient.js +27 -27
- 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 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.js +2 -2
- package/dist/model/Article.js +2 -2
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/Balance.js +2 -2
- 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 +25 -25
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +90 -90
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +25 -25
- package/dist/model/Document.js +2 -2
- package/dist/model/DocumentPart.js +109 -109
- package/dist/model/DocumentPartType.js +23 -23
- package/dist/model/DocumentType.js +27 -27
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +39 -39
- package/dist/model/File.js +2 -2
- package/dist/model/FileAttachmentUploadObject.js +2 -2
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +2 -2
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/Graph.js +25 -25
- package/dist/model/GraphAction.js +2 -2
- 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 +2 -2
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +2 -2
- package/dist/model/GraphObjectType.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +2 -2
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.js +2 -2
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +2 -2
- package/dist/model/GraphSchema.js +2 -2
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +52 -52
- package/dist/model/ImageUploadObject.js +52 -52
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +27 -27
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +25 -25
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +25 -25
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +27 -27
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +8 -8
- 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 +30 -30
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +29 -29
- package/dist/model/PrivateMessageConversation.js +59 -59
- 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 +2 -2
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/ScreenSchema.js +2 -2
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +39 -39
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +2 -2
- 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 +2 -2
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +30 -30
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +30 -30
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +25 -25
- package/dist/model/UserDataPayload.js +25 -25
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +25 -25
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +2 -2
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +2 -2
- package/dist/model/VideoUploadObject.js +2 -2
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +0 -234
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +0 -303
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +0 -187
- package/dist/model/Authorization.js +0 -166
- package/dist/model/GraphRelationObjectObject.js +0 -273
- package/dist/model/PathPathInner.js +0 -272
- package/dist/model/Traverse200ResponseInnerInner.js +0 -10
|
@@ -1,303 +0,0 @@
|
|
|
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.38
|
|
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 ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner model module.
|
|
28
|
-
* @module model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner
|
|
29
|
-
* @version 0.1.38
|
|
30
|
-
*/
|
|
31
|
-
var ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = /*#__PURE__*/function () {
|
|
32
|
-
/**
|
|
33
|
-
* Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
|
|
34
|
-
* @alias module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner
|
|
35
|
-
*/
|
|
36
|
-
function ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner() {
|
|
37
|
-
_classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner);
|
|
38
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.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(ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner, [{
|
|
47
|
-
key: "getClassLoaderName",
|
|
48
|
-
value:
|
|
49
|
-
/**
|
|
50
|
-
* @return {String}
|
|
51
|
-
*/
|
|
52
|
-
function getClassLoaderName() {
|
|
53
|
-
return this.classLoaderName;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @param {String} classLoaderName
|
|
58
|
-
*/
|
|
59
|
-
}, {
|
|
60
|
-
key: "setClassLoaderName",
|
|
61
|
-
value: function setClassLoaderName(classLoaderName) {
|
|
62
|
-
this['classLoaderName'] = classLoaderName;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* @return {String}
|
|
66
|
-
*/
|
|
67
|
-
}, {
|
|
68
|
-
key: "getModuleName",
|
|
69
|
-
value: function getModuleName() {
|
|
70
|
-
return this.moduleName;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @param {String} moduleName
|
|
75
|
-
*/
|
|
76
|
-
}, {
|
|
77
|
-
key: "setModuleName",
|
|
78
|
-
value: function setModuleName(moduleName) {
|
|
79
|
-
this['moduleName'] = moduleName;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* @return {String}
|
|
83
|
-
*/
|
|
84
|
-
}, {
|
|
85
|
-
key: "getModuleVersion",
|
|
86
|
-
value: function getModuleVersion() {
|
|
87
|
-
return this.moduleVersion;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @param {String} moduleVersion
|
|
92
|
-
*/
|
|
93
|
-
}, {
|
|
94
|
-
key: "setModuleVersion",
|
|
95
|
-
value: function setModuleVersion(moduleVersion) {
|
|
96
|
-
this['moduleVersion'] = moduleVersion;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* @return {String}
|
|
100
|
-
*/
|
|
101
|
-
}, {
|
|
102
|
-
key: "getMethodName",
|
|
103
|
-
value: function getMethodName() {
|
|
104
|
-
return this.methodName;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* @param {String} methodName
|
|
109
|
-
*/
|
|
110
|
-
}, {
|
|
111
|
-
key: "setMethodName",
|
|
112
|
-
value: function setMethodName(methodName) {
|
|
113
|
-
this['methodName'] = methodName;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* @return {String}
|
|
117
|
-
*/
|
|
118
|
-
}, {
|
|
119
|
-
key: "getFileName",
|
|
120
|
-
value: function getFileName() {
|
|
121
|
-
return this.fileName;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* @param {String} fileName
|
|
126
|
-
*/
|
|
127
|
-
}, {
|
|
128
|
-
key: "setFileName",
|
|
129
|
-
value: function setFileName(fileName) {
|
|
130
|
-
this['fileName'] = fileName;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* @return {Number}
|
|
134
|
-
*/
|
|
135
|
-
}, {
|
|
136
|
-
key: "getLineNumber",
|
|
137
|
-
value: function getLineNumber() {
|
|
138
|
-
return this.lineNumber;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @param {Number} lineNumber
|
|
143
|
-
*/
|
|
144
|
-
}, {
|
|
145
|
-
key: "setLineNumber",
|
|
146
|
-
value: function setLineNumber(lineNumber) {
|
|
147
|
-
this['lineNumber'] = lineNumber;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* @return {Boolean}
|
|
151
|
-
*/
|
|
152
|
-
}, {
|
|
153
|
-
key: "getNativeMethod",
|
|
154
|
-
value: function getNativeMethod() {
|
|
155
|
-
return this.nativeMethod;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* @param {Boolean} nativeMethod
|
|
160
|
-
*/
|
|
161
|
-
}, {
|
|
162
|
-
key: "setNativeMethod",
|
|
163
|
-
value: function setNativeMethod(nativeMethod) {
|
|
164
|
-
this['nativeMethod'] = nativeMethod;
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* @return {String}
|
|
168
|
-
*/
|
|
169
|
-
}, {
|
|
170
|
-
key: "getClassName",
|
|
171
|
-
value: function getClassName() {
|
|
172
|
-
return this.className;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @param {String} className
|
|
177
|
-
*/
|
|
178
|
-
}, {
|
|
179
|
-
key: "setClassName",
|
|
180
|
-
value: function setClassName(className) {
|
|
181
|
-
this['className'] = className;
|
|
182
|
-
}
|
|
183
|
-
}], [{
|
|
184
|
-
key: "initialize",
|
|
185
|
-
value: function initialize(obj) {}
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
189
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
190
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
191
|
-
* @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner} obj Optional instance to populate.
|
|
192
|
-
* @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner} The populated <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code> instance.
|
|
193
|
-
*/
|
|
194
|
-
}, {
|
|
195
|
-
key: "constructFromObject",
|
|
196
|
-
value: function constructFromObject(data, obj) {
|
|
197
|
-
if (data) {
|
|
198
|
-
obj = obj || new ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner();
|
|
199
|
-
if (data.hasOwnProperty('classLoaderName')) {
|
|
200
|
-
obj['classLoaderName'] = _ApiClient["default"].convertToType(data['classLoaderName'], 'String');
|
|
201
|
-
}
|
|
202
|
-
if (data.hasOwnProperty('moduleName')) {
|
|
203
|
-
obj['moduleName'] = _ApiClient["default"].convertToType(data['moduleName'], 'String');
|
|
204
|
-
}
|
|
205
|
-
if (data.hasOwnProperty('moduleVersion')) {
|
|
206
|
-
obj['moduleVersion'] = _ApiClient["default"].convertToType(data['moduleVersion'], 'String');
|
|
207
|
-
}
|
|
208
|
-
if (data.hasOwnProperty('methodName')) {
|
|
209
|
-
obj['methodName'] = _ApiClient["default"].convertToType(data['methodName'], 'String');
|
|
210
|
-
}
|
|
211
|
-
if (data.hasOwnProperty('fileName')) {
|
|
212
|
-
obj['fileName'] = _ApiClient["default"].convertToType(data['fileName'], 'String');
|
|
213
|
-
}
|
|
214
|
-
if (data.hasOwnProperty('lineNumber')) {
|
|
215
|
-
obj['lineNumber'] = _ApiClient["default"].convertToType(data['lineNumber'], 'Number');
|
|
216
|
-
}
|
|
217
|
-
if (data.hasOwnProperty('nativeMethod')) {
|
|
218
|
-
obj['nativeMethod'] = _ApiClient["default"].convertToType(data['nativeMethod'], 'Boolean');
|
|
219
|
-
}
|
|
220
|
-
if (data.hasOwnProperty('className')) {
|
|
221
|
-
obj['className'] = _ApiClient["default"].convertToType(data['className'], 'String');
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
return obj;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
|
|
229
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
230
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
|
|
231
|
-
*/
|
|
232
|
-
}, {
|
|
233
|
-
key: "validateJSON",
|
|
234
|
-
value: function validateJSON(data) {
|
|
235
|
-
// ensure the json data is a string
|
|
236
|
-
if (data['classLoaderName'] && !(typeof data['classLoaderName'] === 'string' || data['classLoaderName'] instanceof String)) {
|
|
237
|
-
throw new Error("Expected the field `classLoaderName` to be a primitive type in the JSON string but got " + data['classLoaderName']);
|
|
238
|
-
}
|
|
239
|
-
// ensure the json data is a string
|
|
240
|
-
if (data['moduleName'] && !(typeof data['moduleName'] === 'string' || data['moduleName'] instanceof String)) {
|
|
241
|
-
throw new Error("Expected the field `moduleName` to be a primitive type in the JSON string but got " + data['moduleName']);
|
|
242
|
-
}
|
|
243
|
-
// ensure the json data is a string
|
|
244
|
-
if (data['moduleVersion'] && !(typeof data['moduleVersion'] === 'string' || data['moduleVersion'] instanceof String)) {
|
|
245
|
-
throw new Error("Expected the field `moduleVersion` to be a primitive type in the JSON string but got " + data['moduleVersion']);
|
|
246
|
-
}
|
|
247
|
-
// ensure the json data is a string
|
|
248
|
-
if (data['methodName'] && !(typeof data['methodName'] === 'string' || data['methodName'] instanceof String)) {
|
|
249
|
-
throw new Error("Expected the field `methodName` to be a primitive type in the JSON string but got " + data['methodName']);
|
|
250
|
-
}
|
|
251
|
-
// ensure the json data is a string
|
|
252
|
-
if (data['fileName'] && !(typeof data['fileName'] === 'string' || data['fileName'] instanceof String)) {
|
|
253
|
-
throw new Error("Expected the field `fileName` to be a primitive type in the JSON string but got " + data['fileName']);
|
|
254
|
-
}
|
|
255
|
-
// ensure the json data is a string
|
|
256
|
-
if (data['className'] && !(typeof data['className'] === 'string' || data['className'] instanceof String)) {
|
|
257
|
-
throw new Error("Expected the field `className` to be a primitive type in the JSON string but got " + data['className']);
|
|
258
|
-
}
|
|
259
|
-
return true;
|
|
260
|
-
}
|
|
261
|
-
}]);
|
|
262
|
-
return ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner;
|
|
263
|
-
}();
|
|
264
|
-
/**
|
|
265
|
-
* @member {String} classLoaderName
|
|
266
|
-
*/
|
|
267
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['classLoaderName'] = undefined;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* @member {String} moduleName
|
|
271
|
-
*/
|
|
272
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['moduleName'] = undefined;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* @member {String} moduleVersion
|
|
276
|
-
*/
|
|
277
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['moduleVersion'] = undefined;
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* @member {String} methodName
|
|
281
|
-
*/
|
|
282
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['methodName'] = undefined;
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* @member {String} fileName
|
|
286
|
-
*/
|
|
287
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['fileName'] = undefined;
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* @member {Number} lineNumber
|
|
291
|
-
*/
|
|
292
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['lineNumber'] = undefined;
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* @member {Boolean} nativeMethod
|
|
296
|
-
*/
|
|
297
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['nativeMethod'] = undefined;
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* @member {String} className
|
|
301
|
-
*/
|
|
302
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['className'] = undefined;
|
|
303
|
-
var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner;
|
|
@@ -1,187 +0,0 @@
|
|
|
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.38
|
|
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 ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner model module.
|
|
32
|
-
* @module model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner
|
|
33
|
-
* @version 0.1.38
|
|
34
|
-
*/
|
|
35
|
-
var ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = /*#__PURE__*/function () {
|
|
36
|
-
/**
|
|
37
|
-
* Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code>.
|
|
38
|
-
* @alias module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner
|
|
39
|
-
*/
|
|
40
|
-
function ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner() {
|
|
41
|
-
_classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner);
|
|
42
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.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(ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner, [{
|
|
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
|
-
* @return {String}
|
|
70
|
-
*/
|
|
71
|
-
}, {
|
|
72
|
-
key: "getMessage",
|
|
73
|
-
value: function getMessage() {
|
|
74
|
-
return this.message;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @param {String} message
|
|
79
|
-
*/
|
|
80
|
-
}, {
|
|
81
|
-
key: "setMessage",
|
|
82
|
-
value: function setMessage(message) {
|
|
83
|
-
this['message'] = message;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @return {String}
|
|
87
|
-
*/
|
|
88
|
-
}, {
|
|
89
|
-
key: "getLocalizedMessage",
|
|
90
|
-
value: function getLocalizedMessage() {
|
|
91
|
-
return this.localizedMessage;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @param {String} localizedMessage
|
|
96
|
-
*/
|
|
97
|
-
}, {
|
|
98
|
-
key: "setLocalizedMessage",
|
|
99
|
-
value: function setLocalizedMessage(localizedMessage) {
|
|
100
|
-
this['localizedMessage'] = localizedMessage;
|
|
101
|
-
}
|
|
102
|
-
}], [{
|
|
103
|
-
key: "initialize",
|
|
104
|
-
value: function initialize(obj) {}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
108
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
109
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
110
|
-
* @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner} obj Optional instance to populate.
|
|
111
|
-
* @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner} The populated <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code> instance.
|
|
112
|
-
*/
|
|
113
|
-
}, {
|
|
114
|
-
key: "constructFromObject",
|
|
115
|
-
value: function constructFromObject(data, obj) {
|
|
116
|
-
if (data) {
|
|
117
|
-
obj = obj || new ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner();
|
|
118
|
-
if (data.hasOwnProperty('stackTrace')) {
|
|
119
|
-
obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"]]);
|
|
120
|
-
}
|
|
121
|
-
if (data.hasOwnProperty('message')) {
|
|
122
|
-
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
|
|
123
|
-
}
|
|
124
|
-
if (data.hasOwnProperty('localizedMessage')) {
|
|
125
|
-
obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
return obj;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code>.
|
|
133
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
134
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code>.
|
|
135
|
-
*/
|
|
136
|
-
}, {
|
|
137
|
-
key: "validateJSON",
|
|
138
|
-
value: function validateJSON(data) {
|
|
139
|
-
if (data['stackTrace']) {
|
|
140
|
-
// data not null
|
|
141
|
-
// ensure the json data is an array
|
|
142
|
-
if (!Array.isArray(data['stackTrace'])) {
|
|
143
|
-
throw new Error("Expected the field `stackTrace` to be an array in the JSON data but got " + data['stackTrace']);
|
|
144
|
-
}
|
|
145
|
-
// validate the optional field `stackTrace` (array)
|
|
146
|
-
var _iterator = _createForOfIteratorHelper(data['stackTrace']),
|
|
147
|
-
_step;
|
|
148
|
-
try {
|
|
149
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
150
|
-
var item = _step.value;
|
|
151
|
-
_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"].validateJSON(item);
|
|
152
|
-
}
|
|
153
|
-
} catch (err) {
|
|
154
|
-
_iterator.e(err);
|
|
155
|
-
} finally {
|
|
156
|
-
_iterator.f();
|
|
157
|
-
}
|
|
158
|
-
;
|
|
159
|
-
}
|
|
160
|
-
// ensure the json data is a string
|
|
161
|
-
if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
|
|
162
|
-
throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
|
|
163
|
-
}
|
|
164
|
-
// ensure the json data is a string
|
|
165
|
-
if (data['localizedMessage'] && !(typeof data['localizedMessage'] === 'string' || data['localizedMessage'] instanceof String)) {
|
|
166
|
-
throw new Error("Expected the field `localizedMessage` to be a primitive type in the JSON string but got " + data['localizedMessage']);
|
|
167
|
-
}
|
|
168
|
-
return true;
|
|
169
|
-
}
|
|
170
|
-
}]);
|
|
171
|
-
return ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner;
|
|
172
|
-
}();
|
|
173
|
-
/**
|
|
174
|
-
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
|
|
175
|
-
*/
|
|
176
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.prototype['stackTrace'] = undefined;
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* @member {String} message
|
|
180
|
-
*/
|
|
181
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.prototype['message'] = undefined;
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* @member {String} localizedMessage
|
|
185
|
-
*/
|
|
186
|
-
ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.prototype['localizedMessage'] = undefined;
|
|
187
|
-
var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner;
|
|
@@ -1,166 +0,0 @@
|
|
|
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 Authorization model module.
|
|
28
|
-
* @module model/Authorization
|
|
29
|
-
* @version 0.1.34
|
|
30
|
-
*/
|
|
31
|
-
var Authorization = /*#__PURE__*/function () {
|
|
32
|
-
/**
|
|
33
|
-
* Constructs a new <code>Authorization</code>.
|
|
34
|
-
* @alias module:model/Authorization
|
|
35
|
-
*/
|
|
36
|
-
function Authorization() {
|
|
37
|
-
_classCallCheck(this, Authorization);
|
|
38
|
-
Authorization.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(Authorization, [{
|
|
47
|
-
key: "getId",
|
|
48
|
-
value:
|
|
49
|
-
/**
|
|
50
|
-
* @return {String}
|
|
51
|
-
*/
|
|
52
|
-
function getId() {
|
|
53
|
-
return this.id;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @param {String} id
|
|
58
|
-
*/
|
|
59
|
-
}, {
|
|
60
|
-
key: "setId",
|
|
61
|
-
value: function setId(id) {
|
|
62
|
-
this['id'] = id;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* @return {String}
|
|
66
|
-
*/
|
|
67
|
-
}, {
|
|
68
|
-
key: "getAuthtoken",
|
|
69
|
-
value: function getAuthtoken() {
|
|
70
|
-
return this.authtoken;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @param {String} authtoken
|
|
75
|
-
*/
|
|
76
|
-
}, {
|
|
77
|
-
key: "setAuthtoken",
|
|
78
|
-
value: function setAuthtoken(authtoken) {
|
|
79
|
-
this['authtoken'] = authtoken;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* @return {String}
|
|
83
|
-
*/
|
|
84
|
-
}, {
|
|
85
|
-
key: "getUsername",
|
|
86
|
-
value: function getUsername() {
|
|
87
|
-
return this.username;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @param {String} username
|
|
92
|
-
*/
|
|
93
|
-
}, {
|
|
94
|
-
key: "setUsername",
|
|
95
|
-
value: function setUsername(username) {
|
|
96
|
-
this['username'] = username;
|
|
97
|
-
}
|
|
98
|
-
}], [{
|
|
99
|
-
key: "initialize",
|
|
100
|
-
value: function initialize(obj) {}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Constructs a <code>Authorization</code> from a plain JavaScript object, optionally creating a new instance.
|
|
104
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
105
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
106
|
-
* @param {module:model/Authorization} obj Optional instance to populate.
|
|
107
|
-
* @return {module:model/Authorization} The populated <code>Authorization</code> instance.
|
|
108
|
-
*/
|
|
109
|
-
}, {
|
|
110
|
-
key: "constructFromObject",
|
|
111
|
-
value: function constructFromObject(data, obj) {
|
|
112
|
-
if (data) {
|
|
113
|
-
obj = obj || new Authorization();
|
|
114
|
-
if (data.hasOwnProperty('id')) {
|
|
115
|
-
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
116
|
-
}
|
|
117
|
-
if (data.hasOwnProperty('authtoken')) {
|
|
118
|
-
obj['authtoken'] = _ApiClient["default"].convertToType(data['authtoken'], 'String');
|
|
119
|
-
}
|
|
120
|
-
if (data.hasOwnProperty('username')) {
|
|
121
|
-
obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
return obj;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Validates the JSON data with respect to <code>Authorization</code>.
|
|
129
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
130
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Authorization</code>.
|
|
131
|
-
*/
|
|
132
|
-
}, {
|
|
133
|
-
key: "validateJSON",
|
|
134
|
-
value: function validateJSON(data) {
|
|
135
|
-
// ensure the json data is a string
|
|
136
|
-
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
137
|
-
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
138
|
-
}
|
|
139
|
-
// ensure the json data is a string
|
|
140
|
-
if (data['authtoken'] && !(typeof data['authtoken'] === 'string' || data['authtoken'] instanceof String)) {
|
|
141
|
-
throw new Error("Expected the field `authtoken` to be a primitive type in the JSON string but got " + data['authtoken']);
|
|
142
|
-
}
|
|
143
|
-
// ensure the json data is a string
|
|
144
|
-
if (data['username'] && !(typeof data['username'] === 'string' || data['username'] instanceof String)) {
|
|
145
|
-
throw new Error("Expected the field `username` to be a primitive type in the JSON string but got " + data['username']);
|
|
146
|
-
}
|
|
147
|
-
return true;
|
|
148
|
-
}
|
|
149
|
-
}]);
|
|
150
|
-
return Authorization;
|
|
151
|
-
}();
|
|
152
|
-
/**
|
|
153
|
-
* @member {String} id
|
|
154
|
-
*/
|
|
155
|
-
Authorization.prototype['id'] = undefined;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @member {String} authtoken
|
|
159
|
-
*/
|
|
160
|
-
Authorization.prototype['authtoken'] = undefined;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @member {String} username
|
|
164
|
-
*/
|
|
165
|
-
Authorization.prototype['username'] = undefined;
|
|
166
|
-
var _default = exports["default"] = Authorization;
|