@@ -1541,73 +1541,4 @@ public function getHTTPQuery(): string
15411541
15421542 return $ this ->buildHTTPQuery ($ queries );
15431543 }
1544-
1545- /**
1546- * @return array<string, int|string|true|null>// Explicitly specify key and value types
1547- *
1548- * @deprecated this function is replaced by getApiData() and shall be removed
1549- * once new concept with BbbApiMapper-attribute is bullet prove
1550- */
1551- public function toArray (): array
1552- {
1553- return [
1554- 'name ' => $ this ->meetingName ,
1555- 'meetingID ' => $ this ->meetingId ,
1556- 'attendeePW ' => $ this ->attendeePassword ,
1557- 'moderatorPW ' => $ this ->moderatorPassword ,
1558- 'dialNumber ' => $ this ->dialNumber ,
1559- 'voiceBridge ' => $ this ->voiceBridge ,
1560- 'webVoice ' => $ this ->webVoice ,
1561- 'logoutURL ' => $ this ->logoutUrl ,
1562- 'record ' => !is_null ($ this ->record ) ? ($ this ->record ? 'true ' : 'false ' ) : $ this ->record ,
1563- 'duration ' => $ this ->duration ,
1564- 'maxParticipants ' => $ this ->maxParticipants ,
1565- 'autoStartRecording ' => !is_null ($ this ->autoStartRecording ) ? ($ this ->autoStartRecording ? 'true ' : 'false ' ) : $ this ->autoStartRecording ,
1566- 'allowStartStopRecording ' => !is_null ($ this ->allowStartStopRecording ) ? ($ this ->allowStartStopRecording ? 'true ' : 'false ' ) : $ this ->allowStartStopRecording ,
1567- 'welcome ' => !is_null ($ this ->welcomeMessage ) ? mb_trim ($ this ->welcomeMessage ) : '' ,
1568- 'moderatorOnlyMessage ' => !is_null ($ this ->moderatorOnlyMessage ) ? mb_trim ($ this ->moderatorOnlyMessage ) : '' ,
1569- 'webcamsOnlyForModerator ' => !is_null ($ this ->webcamsOnlyForModerator ) ? ($ this ->webcamsOnlyForModerator ? 'true ' : 'false ' ) : $ this ->webcamsOnlyForModerator ,
1570- 'logo ' => $ this ->logo ,
1571- 'copyright ' => $ this ->copyright ,
1572- 'muteOnStart ' => !is_null ($ this ->muteOnStart ) ? ($ this ->muteOnStart ? 'true ' : 'false ' ) : $ this ->muteOnStart ,
1573- // Commented to be removed 'guestPolicy' => $this->guestPolicy->value,
1574- 'lockSettingsDisableCam ' => !is_null ($ this ->lockSettingsDisableCam ) ? ($ this ->lockSettingsDisableCam ? 'true ' : 'false ' ) : $ this ->lockSettingsDisableCam ,
1575- 'lockSettingsDisableMic ' => !is_null ($ this ->lockSettingsDisableMic ) ? ($ this ->lockSettingsDisableMic ? 'true ' : 'false ' ) : $ this ->lockSettingsDisableMic ,
1576- 'lockSettingsDisablePrivateChat ' => !is_null ($ this ->lockSettingsDisablePrivateChat ) ? ($ this ->lockSettingsDisablePrivateChat ? 'true ' : 'false ' ) : $ this ->lockSettingsDisablePrivateChat ,
1577- 'lockSettingsDisablePublicChat ' => !is_null ($ this ->lockSettingsDisablePublicChat ) ? ($ this ->lockSettingsDisablePublicChat ? 'true ' : 'false ' ) : $ this ->lockSettingsDisablePublicChat ,
1578- 'lockSettingsDisableNotes ' => !is_null ($ this ->lockSettingsDisableNotes ) ? ($ this ->lockSettingsDisableNotes ? 'true ' : 'false ' ) : $ this ->lockSettingsDisableNotes ,
1579- 'lockSettingsHideUserList ' => !is_null ($ this ->lockSettingsHideUserList ) ? ($ this ->lockSettingsHideUserList ? 'true ' : 'false ' ) : $ this ->lockSettingsHideUserList ,
1580- 'lockSettingsLockedLayout ' => !is_null ($ this ->lockSettingsLockedLayout ) ? ($ this ->lockSettingsLockedLayout ? 'true ' : 'false ' ) : $ this ->lockSettingsLockedLayout ,
1581- 'lockSettingsLockOnJoin ' => !is_null ($ this ->lockSettingsLockOnJoin ) ? ($ this ->lockSettingsLockOnJoin ? 'true ' : 'false ' ) : $ this ->lockSettingsLockOnJoin ,
1582- 'lockSettingsLockOnJoinConfigurable ' => !is_null ($ this ->lockSettingsLockOnJoinConfigurable ) ? ($ this ->lockSettingsLockOnJoinConfigurable ? 'true ' : 'false ' ) : $ this ->lockSettingsLockOnJoinConfigurable ,
1583- 'lockSettingsHideViewersCursor ' => !is_null ($ this ->lockSettingsHideViewersCursor ) ? ($ this ->lockSettingsHideViewersCursor ? 'true ' : 'false ' ) : $ this ->lockSettingsHideViewersCursor ,
1584- 'allowModsToUnmuteUsers ' => !is_null ($ this ->allowModsToUnmuteUsers ) ? ($ this ->allowModsToUnmuteUsers ? 'true ' : 'false ' ) : $ this ->allowModsToUnmuteUsers ,
1585- 'allowModsToEjectCameras ' => !is_null ($ this ->allowModsToEjectCameras ) ? ($ this ->allowModsToEjectCameras ? 'true ' : 'false ' ) : $ this ->allowModsToEjectCameras ,
1586- 'bannerText ' => !is_null ($ this ->bannerText ) ? mb_trim ($ this ->bannerText ) : '' ,
1587- 'bannerColor ' => !is_null ($ this ->bannerColor ) ? mb_trim ($ this ->bannerColor ) : '' ,
1588- 'learningDashboardEnabled ' => !is_null ($ this ->learningDashboardEnabled ) ? ($ this ->learningDashboardEnabled ? 'true ' : 'false ' ) : $ this ->learningDashboardEnabled ,
1589- 'virtualBackgroundsDisabled ' => !is_null ($ this ->virtualBackgroundsDisabled ) ? ($ this ->virtualBackgroundsDisabled ? 'true ' : 'false ' ) : $ this ->virtualBackgroundsDisabled ,
1590- 'endWhenNoModeratorDelayInMinutes ' => $ this ->endWhenNoModeratorDelayInMinutes ,
1591- 'allowRequestsWithoutSession ' => !is_null ($ this ->allowRequestsWithoutSession ) ? ($ this ->allowRequestsWithoutSession ? 'true ' : 'false ' ) : $ this ->allowRequestsWithoutSession ,
1592- 'meetingEndedURL ' => $ this ->meetingEndedURL ,
1593- 'breakoutRoomsEnabled ' => !is_null ($ this ->breakoutRoomsEnabled ) ? ($ this ->breakoutRoomsEnabled ? 'true ' : 'false ' ) : $ this ->breakoutRoomsEnabled ,
1594- 'breakoutRoomsRecord ' => !is_null ($ this ->breakoutRoomsRecord ) ? ($ this ->breakoutRoomsRecord ? 'true ' : 'false ' ) : $ this ->breakoutRoomsRecord ,
1595- 'breakoutRoomsPrivateChatEnabled ' => !is_null ($ this ->breakoutRoomsPrivateChatEnabled ) ? ($ this ->breakoutRoomsPrivateChatEnabled ? 'true ' : 'false ' ) : $ this ->breakoutRoomsPrivateChatEnabled ,
1596- 'endWhenNoModerator ' => !is_null ($ this ->endWhenNoModerator ) ? ($ this ->endWhenNoModerator ? 'true ' : 'false ' ) : $ this ->endWhenNoModerator ,
1597- 'meetingKeepEvents ' => !is_null ($ this ->meetingKeepEvents ) ? ($ this ->meetingKeepEvents ? 'true ' : 'false ' ) : $ this ->meetingKeepEvents ,
1598- 'meetingCameraCap ' => $ this ->meetingCameraCap ,
1599- 'userCameraCap ' => $ this ->userCameraCap ,
1600- 'meetingExpireIfNoUserJoinedInMinutes ' => $ this ->meetingExpireIfNoUserJoinedInMinutes ,
1601- 'meetingExpireWhenLastUserLeftInMinutes ' => $ this ->meetingExpireWhenLastUserLeftInMinutes ,
1602- 'preUploadedPresentation ' => $ this ->preUploadedPresentation ,
1603- 'preUploadedPresentationName ' => $ this ->preUploadedPresentationName ,
1604- 'preUploadedPresentationOverrideDefault ' => !is_null ($ this ->preUploadedPresentationOverrideDefault ) ? ($ this ->preUploadedPresentationOverrideDefault ? 'true ' : 'false ' ) : $ this ->preUploadedPresentationOverrideDefault ,
1605- 'disabledFeatures ' => join (', ' , array_map (fn ($ disabledFeature ) => $ disabledFeature ->value , $ this ->getDisabledFeatures ())),
1606- 'disabledFeaturesExclude ' => join (', ' , array_map (fn ($ disabledFeatureExclude ) => $ disabledFeatureExclude ->value , $ this ->getDisabledFeaturesExclude ())),
1607- 'notifyRecordingIsOn ' => !is_null ($ this ->notifyRecordingIsOn ) ? ($ this ->notifyRecordingIsOn ? 'true ' : 'false ' ) : $ this ->notifyRecordingIsOn ,
1608- 'presentationUploadExternalUrl ' => $ this ->presentationUploadExternalUrl ,
1609- 'presentationUploadExternalDescription ' => $ this ->presentationUploadExternalDescription ,
1610- 'recordFullDurationMedia ' => !is_null ($ this ->recordFullDurationMedia ) ? ($ this ->recordFullDurationMedia ? 'true ' : 'false ' ) : $ this ->recordFullDurationMedia ,
1611- ];
1612- }
16131544}
0 commit comments