@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,187 @@
|
|
|
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 MeetingEventTimezone model module.
|
|
28
|
+
* @module model/MeetingEventTimezone
|
|
29
|
+
* @version 0.1.34
|
|
30
|
+
*/
|
|
31
|
+
var MeetingEventTimezone = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>MeetingEventTimezone</code>.
|
|
34
|
+
* @alias module:model/MeetingEventTimezone
|
|
35
|
+
*/
|
|
36
|
+
function MeetingEventTimezone() {
|
|
37
|
+
_classCallCheck(this, MeetingEventTimezone);
|
|
38
|
+
MeetingEventTimezone.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(MeetingEventTimezone, [{
|
|
47
|
+
key: "getDisplayName",
|
|
48
|
+
value:
|
|
49
|
+
/**
|
|
50
|
+
* @return {String}
|
|
51
|
+
*/
|
|
52
|
+
function getDisplayName() {
|
|
53
|
+
return this.displayName;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @param {String} displayName
|
|
58
|
+
*/
|
|
59
|
+
}, {
|
|
60
|
+
key: "setDisplayName",
|
|
61
|
+
value: function setDisplayName(displayName) {
|
|
62
|
+
this['displayName'] = displayName;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @return {String}
|
|
66
|
+
*/
|
|
67
|
+
}, {
|
|
68
|
+
key: "getId",
|
|
69
|
+
value: function getId() {
|
|
70
|
+
return this.id;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @param {String} id
|
|
75
|
+
*/
|
|
76
|
+
}, {
|
|
77
|
+
key: "setId",
|
|
78
|
+
value: function setId(id) {
|
|
79
|
+
this['id'] = id;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @return {Number}
|
|
83
|
+
*/
|
|
84
|
+
}, {
|
|
85
|
+
key: "getDstsavings",
|
|
86
|
+
value: function getDstsavings() {
|
|
87
|
+
return this.dstsavings;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @param {Number} dstsavings
|
|
92
|
+
*/
|
|
93
|
+
}, {
|
|
94
|
+
key: "setDstsavings",
|
|
95
|
+
value: function setDstsavings(dstsavings) {
|
|
96
|
+
this['dstsavings'] = dstsavings;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @return {Number}
|
|
100
|
+
*/
|
|
101
|
+
}, {
|
|
102
|
+
key: "getRawOffset",
|
|
103
|
+
value: function getRawOffset() {
|
|
104
|
+
return this.rawOffset;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @param {Number} rawOffset
|
|
109
|
+
*/
|
|
110
|
+
}, {
|
|
111
|
+
key: "setRawOffset",
|
|
112
|
+
value: function setRawOffset(rawOffset) {
|
|
113
|
+
this['rawOffset'] = rawOffset;
|
|
114
|
+
}
|
|
115
|
+
}], [{
|
|
116
|
+
key: "initialize",
|
|
117
|
+
value: function initialize(obj) {}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Constructs a <code>MeetingEventTimezone</code> from a plain JavaScript object, optionally creating a new instance.
|
|
121
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
122
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
123
|
+
* @param {module:model/MeetingEventTimezone} obj Optional instance to populate.
|
|
124
|
+
* @return {module:model/MeetingEventTimezone} The populated <code>MeetingEventTimezone</code> instance.
|
|
125
|
+
*/
|
|
126
|
+
}, {
|
|
127
|
+
key: "constructFromObject",
|
|
128
|
+
value: function constructFromObject(data, obj) {
|
|
129
|
+
if (data) {
|
|
130
|
+
obj = obj || new MeetingEventTimezone();
|
|
131
|
+
if (data.hasOwnProperty('displayName')) {
|
|
132
|
+
obj['displayName'] = _ApiClient["default"].convertToType(data['displayName'], 'String');
|
|
133
|
+
}
|
|
134
|
+
if (data.hasOwnProperty('id')) {
|
|
135
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
136
|
+
}
|
|
137
|
+
if (data.hasOwnProperty('dstsavings')) {
|
|
138
|
+
obj['dstsavings'] = _ApiClient["default"].convertToType(data['dstsavings'], 'Number');
|
|
139
|
+
}
|
|
140
|
+
if (data.hasOwnProperty('rawOffset')) {
|
|
141
|
+
obj['rawOffset'] = _ApiClient["default"].convertToType(data['rawOffset'], 'Number');
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
return obj;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Validates the JSON data with respect to <code>MeetingEventTimezone</code>.
|
|
149
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
150
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>MeetingEventTimezone</code>.
|
|
151
|
+
*/
|
|
152
|
+
}, {
|
|
153
|
+
key: "validateJSON",
|
|
154
|
+
value: function validateJSON(data) {
|
|
155
|
+
// ensure the json data is a string
|
|
156
|
+
if (data['displayName'] && !(typeof data['displayName'] === 'string' || data['displayName'] instanceof String)) {
|
|
157
|
+
throw new Error("Expected the field `displayName` to be a primitive type in the JSON string but got " + data['displayName']);
|
|
158
|
+
}
|
|
159
|
+
// ensure the json data is a string
|
|
160
|
+
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
161
|
+
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
162
|
+
}
|
|
163
|
+
return true;
|
|
164
|
+
}
|
|
165
|
+
}]);
|
|
166
|
+
return MeetingEventTimezone;
|
|
167
|
+
}();
|
|
168
|
+
/**
|
|
169
|
+
* @member {String} displayName
|
|
170
|
+
*/
|
|
171
|
+
MeetingEventTimezone.prototype['displayName'] = undefined;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @member {String} id
|
|
175
|
+
*/
|
|
176
|
+
MeetingEventTimezone.prototype['id'] = undefined;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @member {Number} dstsavings
|
|
180
|
+
*/
|
|
181
|
+
MeetingEventTimezone.prototype['dstsavings'] = undefined;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @member {Number} rawOffset
|
|
185
|
+
*/
|
|
186
|
+
MeetingEventTimezone.prototype['rawOffset'] = undefined;
|
|
187
|
+
var _default = exports["default"] = MeetingEventTimezone;
|
|
@@ -0,0 +1,220 @@
|
|
|
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 _LiveStreamInfo = _interopRequireDefault(require("./LiveStreamInfo"));
|
|
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
12
|
+
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); } }
|
|
13
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
15
|
+
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); } /**
|
|
16
|
+
* gobodo-api
|
|
17
|
+
* REST Interface for Gobodo API
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 0.1.34
|
|
20
|
+
* Contact: info@gobodo.io
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
23
|
+
* https://openapi-generator.tech
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* The MeetingInfo model module.
|
|
29
|
+
* @module model/MeetingInfo
|
|
30
|
+
* @version 0.1.34
|
|
31
|
+
*/
|
|
32
|
+
var MeetingInfo = /*#__PURE__*/function () {
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a new <code>MeetingInfo</code>.
|
|
35
|
+
* @alias module:model/MeetingInfo
|
|
36
|
+
*/
|
|
37
|
+
function MeetingInfo() {
|
|
38
|
+
_classCallCheck(this, MeetingInfo);
|
|
39
|
+
MeetingInfo.initialize(this);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Initializes the fields of this object.
|
|
44
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
|
+
* Only for internal use.
|
|
46
|
+
*/
|
|
47
|
+
_createClass(MeetingInfo, [{
|
|
48
|
+
key: "getIslocked",
|
|
49
|
+
value:
|
|
50
|
+
/**
|
|
51
|
+
* Returns Indicates whether the meeting is locked and that only the host can let people in
|
|
52
|
+
* @return {Boolean}
|
|
53
|
+
*/
|
|
54
|
+
function getIslocked() {
|
|
55
|
+
return this.islocked;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Sets Indicates whether the meeting is locked and that only the host can let people in
|
|
60
|
+
* @param {Boolean} islocked Indicates whether the meeting is locked and that only the host can let people in
|
|
61
|
+
*/
|
|
62
|
+
}, {
|
|
63
|
+
key: "setIslocked",
|
|
64
|
+
value: function setIslocked(islocked) {
|
|
65
|
+
this['islocked'] = islocked;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Returns The scheduled end date of this meeeting
|
|
69
|
+
* @return {String}
|
|
70
|
+
*/
|
|
71
|
+
}, {
|
|
72
|
+
key: "getEnddate",
|
|
73
|
+
value: function getEnddate() {
|
|
74
|
+
return this.enddate;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Sets The scheduled end date of this meeeting
|
|
79
|
+
* @param {String} enddate The scheduled end date of this meeeting
|
|
80
|
+
*/
|
|
81
|
+
}, {
|
|
82
|
+
key: "setEnddate",
|
|
83
|
+
value: function setEnddate(enddate) {
|
|
84
|
+
this['enddate'] = enddate;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns Indicates whether this is a normal meeting (up to four participants) or a group meeting
|
|
88
|
+
* @return {module:model/MeetingInfo.RoommodeEnum}
|
|
89
|
+
*/
|
|
90
|
+
}, {
|
|
91
|
+
key: "getRoommode",
|
|
92
|
+
value: function getRoommode() {
|
|
93
|
+
return this.roommode;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Sets Indicates whether this is a normal meeting (up to four participants) or a group meeting
|
|
98
|
+
* @param {module:model/MeetingInfo.RoommodeEnum} roommode Indicates whether this is a normal meeting (up to four participants) or a group meeting
|
|
99
|
+
*/
|
|
100
|
+
}, {
|
|
101
|
+
key: "setRoommode",
|
|
102
|
+
value: function setRoommode(roommode) {
|
|
103
|
+
this['roommode'] = roommode;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @return {module:model/LiveStreamInfo}
|
|
107
|
+
*/
|
|
108
|
+
}, {
|
|
109
|
+
key: "getLiveStreamInfo",
|
|
110
|
+
value: function getLiveStreamInfo() {
|
|
111
|
+
return this.liveStreamInfo;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @param {module:model/LiveStreamInfo} liveStreamInfo
|
|
116
|
+
*/
|
|
117
|
+
}, {
|
|
118
|
+
key: "setLiveStreamInfo",
|
|
119
|
+
value: function setLiveStreamInfo(liveStreamInfo) {
|
|
120
|
+
this['liveStreamInfo'] = liveStreamInfo;
|
|
121
|
+
}
|
|
122
|
+
}], [{
|
|
123
|
+
key: "initialize",
|
|
124
|
+
value: function initialize(obj) {}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Constructs a <code>MeetingInfo</code> from a plain JavaScript object, optionally creating a new instance.
|
|
128
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
129
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
130
|
+
* @param {module:model/MeetingInfo} obj Optional instance to populate.
|
|
131
|
+
* @return {module:model/MeetingInfo} The populated <code>MeetingInfo</code> instance.
|
|
132
|
+
*/
|
|
133
|
+
}, {
|
|
134
|
+
key: "constructFromObject",
|
|
135
|
+
value: function constructFromObject(data, obj) {
|
|
136
|
+
if (data) {
|
|
137
|
+
obj = obj || new MeetingInfo();
|
|
138
|
+
if (data.hasOwnProperty('islocked')) {
|
|
139
|
+
obj['islocked'] = _ApiClient["default"].convertToType(data['islocked'], 'Boolean');
|
|
140
|
+
}
|
|
141
|
+
if (data.hasOwnProperty('enddate')) {
|
|
142
|
+
obj['enddate'] = _ApiClient["default"].convertToType(data['enddate'], 'String');
|
|
143
|
+
}
|
|
144
|
+
if (data.hasOwnProperty('roommode')) {
|
|
145
|
+
obj['roommode'] = _ApiClient["default"].convertToType(data['roommode'], 'String');
|
|
146
|
+
}
|
|
147
|
+
if (data.hasOwnProperty('liveStreamInfo')) {
|
|
148
|
+
obj['liveStreamInfo'] = _LiveStreamInfo["default"].constructFromObject(data['liveStreamInfo']);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return obj;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Validates the JSON data with respect to <code>MeetingInfo</code>.
|
|
156
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
157
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>MeetingInfo</code>.
|
|
158
|
+
*/
|
|
159
|
+
}, {
|
|
160
|
+
key: "validateJSON",
|
|
161
|
+
value: function validateJSON(data) {
|
|
162
|
+
// ensure the json data is a string
|
|
163
|
+
if (data['enddate'] && !(typeof data['enddate'] === 'string' || data['enddate'] instanceof String)) {
|
|
164
|
+
throw new Error("Expected the field `enddate` to be a primitive type in the JSON string but got " + data['enddate']);
|
|
165
|
+
}
|
|
166
|
+
// ensure the json data is a string
|
|
167
|
+
if (data['roommode'] && !(typeof data['roommode'] === 'string' || data['roommode'] instanceof String)) {
|
|
168
|
+
throw new Error("Expected the field `roommode` to be a primitive type in the JSON string but got " + data['roommode']);
|
|
169
|
+
}
|
|
170
|
+
// validate the optional field `liveStreamInfo`
|
|
171
|
+
if (data['liveStreamInfo']) {
|
|
172
|
+
// data not null
|
|
173
|
+
_LiveStreamInfo["default"].validateJSON(data['liveStreamInfo']);
|
|
174
|
+
}
|
|
175
|
+
return true;
|
|
176
|
+
}
|
|
177
|
+
}]);
|
|
178
|
+
return MeetingInfo;
|
|
179
|
+
}();
|
|
180
|
+
/**
|
|
181
|
+
* Indicates whether the meeting is locked and that only the host can let people in
|
|
182
|
+
* @member {Boolean} islocked
|
|
183
|
+
*/
|
|
184
|
+
MeetingInfo.prototype['islocked'] = undefined;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* The scheduled end date of this meeeting
|
|
188
|
+
* @member {String} enddate
|
|
189
|
+
*/
|
|
190
|
+
MeetingInfo.prototype['enddate'] = undefined;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Indicates whether this is a normal meeting (up to four participants) or a group meeting
|
|
194
|
+
* @member {module:model/MeetingInfo.RoommodeEnum} roommode
|
|
195
|
+
*/
|
|
196
|
+
MeetingInfo.prototype['roommode'] = undefined;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @member {module:model/LiveStreamInfo} liveStreamInfo
|
|
200
|
+
*/
|
|
201
|
+
MeetingInfo.prototype['liveStreamInfo'] = undefined;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Allowed values for the <code>roommode</code> property.
|
|
205
|
+
* @enum {String}
|
|
206
|
+
* @readonly
|
|
207
|
+
*/
|
|
208
|
+
MeetingInfo['RoommodeEnum'] = {
|
|
209
|
+
/**
|
|
210
|
+
* value: "NORMAL"
|
|
211
|
+
* @const
|
|
212
|
+
*/
|
|
213
|
+
"NORMAL": "NORMAL",
|
|
214
|
+
/**
|
|
215
|
+
* value: "GROUP"
|
|
216
|
+
* @const
|
|
217
|
+
*/
|
|
218
|
+
"GROUP": "GROUP"
|
|
219
|
+
};
|
|
220
|
+
var _default = exports["default"] = MeetingInfo;
|